An orchestration pattern is a work schema

A pattern defines roles, transferred artifacts, responsibility boundaries, verification criteria, and completion conditions. The role may be performed by the main session, a subagent, a fresh session, or a person; the process logic matters more than the label.

A durable workflow can be described as role → artifact → check.

PatternUse whenFirst artifact
Planner → Executor → VerifierThe task is understood and needs implementation plus controlPLAN.md
Researcher → Implementer → ReviewerAn unfamiliar system needs discovery firstCODEBASE_NOTE.md
Reproducer → Fixer → Regression reviewerA defect needs causal evidenceEVIDENCE_LOG.md
Parallel researchers → SynthesizerIndependent questions can be explored concurrentlyRESEARCH_DIGEST.md

Choose the pattern by risk

  1. Name the decision the workflow must support.
  2. Split discovery, implementation, and verification.
  3. Assign one owner to each artifact.
  4. Define how contradictions return to the owner.
  5. Set a stop condition before the next handoff.
  6. Review the final diff and evidence independently.

Handoff contract

Input: <artifact and scope>
Owner: <role>
Output: <artifact or report>
Evidence: <file, command, test, or observation>
Unknowns: <explicit list>
Stop: <condition>
Next owner: <role>

Canonical lesson source · JavaRush

Open JavaRush material