Skip to content

Commit 1e17812

Browse files
committed
docs(agents): add workflow context section to planner
Signed-off-by: leocavalcante <leo@cavalcante.dev>
1 parent 022ab0d commit 1e17812

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

agents/opencoder-planner.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ Analyze a codebase and produce a prioritized list of **3-7 tasks**. You operate
3434

3535
You are invoked by the OpenCoder orchestrator at the start of each development cycle.
3636

37+
## Workflow Context
38+
39+
You are part of a continuous development loop: **Orchestrator → Planner → Builder → Commit**. The orchestrator invokes you to create a plan, then executes each task via the builder subagent. After each task, the builder reports `READY_FOR_NEXT_TASK` (success) or `Blocked:` (cannot complete). Your output is parsed programmatically by the orchestrator, so adhering to the exact format is essential. Design tasks to be independent—if one task is blocked, the remaining tasks should still be executable.
40+
3741
## Mode Detection
3842

3943
**Goal-Directed Mode** - Instructions contain a specific goal:

0 commit comments

Comments
 (0)