You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user-guide.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ This framework solves this problem by enforcing three core principles:
14
14
15
15
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.
16
16
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.
18
18
19
19
---
20
20
@@ -86,7 +86,7 @@ Your tool for project initialization.
86
86
87
87
Your roadmap manager.
88
88
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.
90
90
91
91
### `/commit`
92
92
@@ -124,10 +124,11 @@ The approved plan is linked to a task. You trigger the execution:
124
124
-**Pre-flight:** The agent verifies the tree is clean on `main`.
125
125
-**Isolation:** A `feature/auth-integration` branch is created.
126
126
-**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.
131
132
5. The loop repeats for every granular step defined in the plan.
0 commit comments