Skip to content

Agents ​

Day-one beginners can skip this — /curdx-flow:start orchestrates everything for you. Read this when you want to know why Flow splits roles instead of letting one model write requirements, code, and "looks good to me" all at once.

The role map ​

text
goal ─► research-analyst ─► product-manager ─► architect-reviewer ─► task-planner
                                                                       │
                                                                       ▼
                                                                 spec-executor
                                                                       │
                                                                       ▼
                                                                  qa-engineer
                                                                       │
                              spec-reviewer  ◄────  code-quality-reviewer
                                       │
                                       ▼
                              refactor-specialist
                                       │
                       triage-analyst (when goal is too big)
AgentOwns
research-analystSurfaces facts, risks, and assumptions before any code is written.
product-managerTurns the goal into requirements + acceptance criteria.
architect-reviewerOwns the technical design and file-scope decisions.
task-plannerSlices the design into bounded, individually verifiable tasks.
spec-executorImplements one task. Code only — never approves itself.
qa-engineerRuns the verify step. Records evidence into verificationBlocks.
spec-reviewerChecks the spec artifacts are coherent and complete.
code-quality-reviewerReviews code-quality risk independent of the implementer.
refactor-specialistUpdates spec files when implementation learning forces a change.
triage-analystDecomposes oversized goals into linked specs.

Why split roles at all ​

Complex tasks fail in three predictable ways. Each split exists to kill one of them.

Failure modeKilled by
Coding starts before facts are checkedresearch-analyst runs first and outputs research.md.
The original goal drifts mid-executionproduct-manager + architect-reviewer pin it into requirements.md / design.md.
Implementer says "it passed" with no proofspec-executor and qa-engineer are different roles; QA's evidence lands in state.

When to read individual pages ​

  • You're debugging a phase that misbehaved.
  • You maintain the @curdx/flow plugin itself.
  • You're curious which agent is responsible for what under the hood.

Otherwise, head back to Getting Started — you don't need to memorize the cast to ship.