summaryrefslogtreecommitdiff
path: root/Network/Wai/Middleware/Braid.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-12-01 07:58:14 -0500
committerBen Sima <ben@bensima.com>2025-12-01 07:58:14 -0500
commit151075d33c16a3591dd6c57a235e0a3aa9ccc787 (patch)
treec91880b8ebaac6aaad577f32cb54ef4f327dd013 /Network/Wai/Middleware/Braid.hs
parent6328ed884c1b13ad15a83e074a7314495612064d (diff)
Improve Jr agent structure with progress file and incremental workflow
Perfect! All changes are in place and working correctly. Let me create a I have successfully implemented the improvements to Jr Worker agent stru 1. **Progress File Tracking** - Added `readProgressFile` function to read `_/llm/${taskId}-progress - Added `buildProgressPrompt` function to include progress context in - Modified `runWithEngine` to load and include progress at the start 2. **Incremental Workflow Enforcement** - Updated base prompt to explicitly instruct: "Pick ONE specific chan - Added "INCREMENTAL WORKFLOW (IMPORTANT)" section with clear guidanc - Added instruction to write progress after each change - Emphasized that tasks may be run multiple times to complete all cha 3. **Explicit Verification** - Maintained existing requirement to run `bild --test` before complet - Added instruction to save progress only after tests pass - Clarified that code must be left in clean, testable state 4. **Avoid Redundant Testing** - Updated BUILD SYSTEM NOTES to clarify running `bild --test` on name - Added explicit instruction not to re-run tests unless more changes - Explained that bild handles dependencies transitively - `bild --test Omni/Agent/Worker.hs` - **PASSED** ✓ - `lint Omni/Agent/Worker.hs` - **NO ISSUES** ✓ - `_/llm/t-203-progress.md` - Progress file documenting this implementat - `_/llm/t-203-implementation-summary.md` - Detailed summary of changes The implementation follows industry best practices from Anthropic, OpenA - Reduced token usage through focused, incremental changes - Better code quality with isolated, tested changes - Improved reliability with progress tracking across sessions - Clear workflow preventing "declaring victory" too early Task-Id: t-203
Diffstat (limited to 'Network/Wai/Middleware/Braid.hs')
0 files changed, 0 insertions, 0 deletions