| name | codex-orchestration |
| version | 0.1.0 |
| description | Orchestrate sc-compose sprint work where team-lead coordinates, comp is the sole developer, and quality-mgr enforces the QA gate. |
| depends_on | {"quality-mgr":"0.x","req-qa":"0.x","arch-qa":"0.x","rust-qa-agent":"0.x","simplification-reviewer":"1.x","test-auditor":"1.x"} |
Codex Orchestration
This skill defines the repo-local orchestration workflow for sc-compose.
Model
team-lead coordinates sprint sequencing, worktree assignments, and PR flow
comp is the sole developer for Codex-driven implementation work
quality-mgr runs the QA gate after each delivery
Preconditions
Before starting a sprint:
docs/requirements.md, docs/architecture.md, and docs/project-plan.md
define the sprint or phase review target.
- A worktree exists for the sprint branch under the repo’s worktree strategy.
- The target branch for the sprint is chosen from the current repo plan.
- The following prompts exist in
.claude/agents/:
quality-mgr.md
req-qa.md
arch-qa.md
rust-qa-agent.md
simplification-reviewer.md
test-auditor.md
sc-compose is available from the Homebrew install path for rendering the
bundled XML, JSON, and markdown templates.
Sprint Flow
team-lead assigns development to comp using dev-template.xml.j2.
Every dev assignment must include the sprint-plan document path as
sprint_doc, and that sprint document is the authoritative source for the
task. Assignment prose may summarize, but it must not replace or weaken the
sprint doc.
comp ACKs, implements, commits, pushes, and reports branch plus SHA.
- Before QA starts,
comp performs the normal repo validation sweep required
by the active assignment and fixes obvious local issues before handoff.
team-lead opens or updates the PR.
team-lead assigns QA to quality-mgr using qa-template.xml.j2.
Every QA assignment must include sprint_doc, and quality-mgr must treat
that sprint document as the authoritative QA scope source.
quality-mgr launches the reviewer set:
rust-qa-agent
req-qa
arch-qa
simplification-reviewer
- All blocking findings must be routed back to
comp via
fix-assignment.xml.j2 before another QA round begins.
- If QA passes and CI is green, merge may proceed.
- If QA fails,
team-lead routes concrete fixes back to comp using
fix-assignment.xml.j2. Fix assignments must also include sprint_doc,
and the sprint document remains authoritative if the task summary omits or
compresses details.
Plan Review Flow
team-lead completes /plan-hardening steps 1 through 5.
team-lead assigns plan QA to quality-mgr using qa-template.xml.j2
with review_type: plan_gate.
- The QA assignment must include the phase-plan document as
sprint_doc, and
that plan document is the authoritative scope source for plan QA.
quality-mgr treats review_type: plan_gate as docs-only review and
launches:
- If plan QA passes, the hardened plan is ready for implementation dispatch.
- If plan QA fails,
team-lead uses the normal codex-orchestration
triage-and-fix loop to route concrete fixes back to comp.
QA Coverage Rule
quality-mgr must extract every deliverable, acceptance criterion, deletion
target, required validation item, and expected artifact from sprint_doc
before launching req-qa
req-qa must independently treat sprint_doc as authoritative
req-qa must count deliverable completion and report a completion percentage
arch-qa must inspect sprint-doc structural gate artifacts directly when a
deliverable points to a boundary, packaging, release-tracking, readiness, or
validation gate
- QA cannot PASS unless deliverable completion is 100%
Phase-End Review
For extraction-readiness or phase-close reviews, use review-template.xml.j2
to assign a read-only review to comp.
For phase-ending QA routed through quality-mgr, the reviewer set is
mandatory:
rust-qa-agent
req-qa
arch-qa
simplification-reviewer
test-auditor
CI
Use standard GitHub CLI:
gh pr checks <PR> --watch
gh pr view <PR> --json mergeStateStatus,reviewDecision
Do not assume ATM-specific PR monitoring commands exist.
Assignment Templates
Use the templates in this skill directory:
dev-template.xml.j2
fix-assignment.xml.j2
qa-template.xml.j2
review-template.xml.j2
req-qa-assignment.json.j2
arch-qa-assignment.json.j2
flaky-test-qa-assignment.json.j2
sprint-plan.md.j2
Required Message Sequence
Every ATM task message must follow:
- ACK
- Work
- Completion summary
- Completion ACK by receiver