Skip to content

Commit 8088903

Browse files
committed
Step: Update user documentation.
1 parent fdbe4a7 commit 8088903

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

docs/user-guide.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This framework solves this problem by enforcing three core principles:
1414

1515
1. **The important things should be made explicit:** We keep track of everything important in Markdown files. Ideas are committed to `plans/`, research is summarized in `research/`, and all changes are logged in the `journal/`. This physical "long-term memory" prevents the agent from forgetting context.
1616
2. **Resist the urge to guess:** We favor explicit commands over implicit actions. If you want the model to make a plan, you use the `/plan` command, which invokes a carefully crafted workflow rather than relying on the agent's default behavior.
17-
3. **Delegate, delegate, delegate:** We use specialized sub-agents (`planner`, `researcher`, `writer`, `reviewer`). These agents run complex, multi-step tasks in private contexts, preventing their internal reasoning (e.g., browsing 20 web pages) from polluting the main session's context window.
17+
3. **Delegate, delegate, delegate:** We use specialized sub-agents (`planner`, `researcher`, `writer`, `reviewer`, `coder`). These agents run complex, multi-step tasks in private contexts, preventing their internal reasoning (e.g., browsing 20 web pages) from polluting the main session's context window.
1818

1919
---
2020

@@ -86,7 +86,7 @@ Your tool for project initialization.
8686

8787
Your roadmap manager.
8888

89-
- **How it works:** Manages a living `TASKS.md` document. Use it to `create` new tasks, `work` on existing ones, `report` on priorities, or `update` statuses.
89+
- **How it works:** Manages a living `TASKS.md` document. Use it to `create` new tasks, `work` on existing ones, `report` on priorities, or `update` statuses. In the `work` mode, it acts as an orchestrator, delegating granular implementation steps to the specialized `coder` subagent.
9090

9191
### `/commit`
9292

@@ -124,10 +124,11 @@ The approved plan is linked to a task. You trigger the execution:
124124
- **Pre-flight:** The agent verifies the tree is clean on `main`.
125125
- **Isolation:** A `feature/auth-integration` branch is created.
126126
- **Loop (Red-Green-Verify):**
127-
1. Agent writes a failing `test_auth_logic.py` based on the plan.
128-
2. Agent implements the minimal logic to pass.
129-
3. Agent runs `make test`. If successful, the step is committed.
130-
4. If it fails, the agent tries **one quick fix**. If it fails again, the change is **automatically reverted**, preserving the last stable state.
127+
The `/task` orchestrator breaks the plan into granular steps. For each step, it delegates to the **`coder` subagent**:
128+
1. **`coder`** writes a failing `test_auth_logic.py` based on the step.
129+
2. **`coder`** implements the minimal logic to pass.
130+
3. **`coder`** verifies with `make test`. If successful, the orchestrator commits the step.
131+
4. If it fails, the orchestrator reverts the step and reports the failure.
131132
5. The loop repeats for every granular step defined in the plan.
132133

133134
### **Step 4: Review & Integrate**

journal/2026-03-23.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@
2222
[2026-03-23T07:48:09] - Commit coder agent implementation plan.
2323
[2026-03-23T07:49:10] - Implement coder subagent for granular implementation delegation.
2424
[2026-03-23T07:49:55] - Refactor /task command to delegate granular steps to the coder subagent.
25+
[2026-03-23T07:50:31] - Update user documentation to reflect coder agent delegation in /task.

0 commit comments

Comments
 (0)