Skip to content

Pipeline Flow

Pipeline Flow

Overview Diagram

Phase Table

18 phases in execution order. Phases may be skipped based on effort level (flow template).

#Phase IDDescriptionActorArtifact
1setupInit workspace, write request.md, detect effort, set templateOrchestratorrequest.md, state.json
2phase-1Situation Analysis — read-only codebase mappingsituation-analystanalysis.md
3phase-2Investigation — deep-dive research, edge casesinvestigatorinvestigation.md
4phase-3Design — architecture and approacharchitectdesign.md
5phase-3bDesign Review — AI quality gatedesign-reviewerreview-design.md
6checkpoint-aHuman review of designUserapproval / revision
7phase-4Task Decomposition — numbered task listtask-decomposertasks.md
8phase-4bTasks Review — AI quality gatetask-reviewerreview-tasks.md
9checkpoint-bHuman review of tasksUserapproval / revision
10phase-5Implementation — TDD per task (sequential or parallel)implementerimpl-N.md
11phase-6Code Review — per task, up to 2 retriesimpl-reviewerreview-N.md
12phase-7Comprehensive Review — cross-cutting concernscomprehensive-reviewercomprehensive-review.md
13final-verificationFull build + test suite verificationverifierfinal-verification.md
14pr-creationCreate PR via gh pr create (summary.md not yet available)OrchestratorPR URL
15final-summaryGenerate summary.md with PR number, execution stats, improvement reportOrchestratorsummary.md
16post-to-sourcePost summary to GitHub/Jira issueOrchestratorissue comment
17final-commitUpdate PR body with summary.md, amend last commit, force-pushOrchestrator
18completedPipeline done

Effort Levels and Skipped Phases

EffortFlow TemplateSkipped Phases
Slightphase-2 (Investigation), phase-4 (Task Decomposition), phase-4b (Tasks AI Review), checkpoint-b (Tasks Checkpoint), phase-6 (Code Review)
Mstandardphase-4b (Tasks AI Review), checkpoint-b (Tasks Checkpoint)
Lfull(none)

Sequence Diagram — Orchestrator / MCP Server Interaction

Revision Loop Detail

Design (phase-3/3b) and Tasks (phase-4/4b) phases support revision loops when the AI reviewer returns a REVISE verdict. Maximum 2 revisions per loop.

Implementation Loop Detail

Each task goes through implementation (phase-5) and code review (phase-6). Failed reviews retry up to 2 times.

Released under the MIT License.