Properties
category: reference tags: [process, agents] last_updated: 2026-03-13 confidence: high
Agent Workflow
How Claude Code orchestrates work on wikibot.io using delegated subagents.
Roles
Orchestrator (the main Claude Code session) — reads task specs, tracks progress, coordinates across tasks, relays concerns to the human, commits/pushes code, updates the wiki. Does NOT write implementation code directly.
Manager (general-purpose subagent, one per task) — follows the proceed workflow end-to-end for a single task. Writes all code. Has access to all tools including Task, so it can spawn its own sub-agents.
Groucho (Plan subagent) — reviews the manager's proposed approach before implementation. Flags issues, suggests alternatives, answers architectural questions.
Chico (general-purpose subagent) — code review after implementation. Rates issues as critical, important, or minor.
Zeppo (general-purpose subagent) — security and infrastructure review after implementation. Same rating scale.
Proceed Workflow (per task)
Each manager follows this sequence:
- Plan with Groucho. Describe the proposed approach. Groucho reviews and flags issues.
- Implement. Write code, parallelize independent operations.
- Review with Chico and Zeppo (in parallel). Fix any issues rated "critical" or "important".
- Report back to the orchestrator with results, concerns, and any questions for the human.
Orchestrator Responsibilities
- Read task specs from the wiki.
- For each task, launch a general-purpose manager agent with:
- Full task spec (deliverables, acceptance criteria)
- Context about existing infrastructure (resource IDs, file paths, patterns)
- Instructions to follow the proceed workflow
- Use
isolation: "worktree"for code changes
- Use
run_in_backgroundfor independent tasks so they run in parallel. - When a manager returns with a question for the human:
- Relay the question to the human
- Get the answer
- Resume the manager agent with
resume: <agentId>(preserves full context)
- When a manager completes:
- Review its output
- Commit and push the code
- Update the wiki
Question Relay Protocol
When a manager agent encounters a decision that needs human input:
- Manager stops and returns with the question clearly stated.
- Orchestrator relays the question to the human (via text or AskUserQuestion).
- Human answers.
- Orchestrator resumes the manager with the answer.
- Manager continues from where it left off.
Other managers running in parallel are not blocked.
Manager Prompt Template
When launching a manager, the orchestrator's prompt should include all of the following:
You are a phase manager for the wikibot.io project. Follow the /proceed
workflow: plan with Groucho, implement, review with Chico and Zeppo,
fix critical/important issues, report back.
## Task: {task_id} — {task_title}
**Target:** {repo} at {path}
**Branch:** Create `{branch_name}` from `main`
**Context — existing infrastructure:**
{bullet list of relevant infra: deployed resources, file paths, URLs,
Pulumi config, related repos}
**Description:**
{from task spec}
**Deliverables:**
{from task spec}
**Acceptance criteria:**
{from task spec}
**Important notes:**
{task-specific guidance, gotchas, references to other code}
- Do NOT use `git add -A` — stage specific files only
- When done, do NOT push. Report back with results.
**Documentation:** When you are done, write your results to the dev wiki
using the `mcp__dev-wiki-container__write_note` tool. Create or update
the page `Dev/{task_id} Summary` with:
- Status and acceptance criteria results
- Architecture decisions with rationale
- Files changed
- Concerns or open questions
- Test results
Key elements the orchestrator must not forget:
- Infrastructure context — resource IDs, URLs, file paths the manager will need
- Coordination notes — what other managers are running in parallel, which files to avoid
- Documentation step — managers write their own results to the dev wiki
Invoking the Workflow
The orchestrator uses the /proceed skill to load the workflow instructions, then follows the delegation model above. The key rule: the orchestrator coordinates, managers implement.