codex-orchestration
Orchestrate atm-core sprint work where team-lead coordinates, arch-ctm is the sole developer, and quality-mgr enforces the QA gate.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Orchestrate atm-core sprint work where team-lead coordinates, arch-ctm is the sole developer, and quality-mgr enforces the QA gate.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Team-lead drives plan hardening after the current plan state already exists in repo docs.
Repair ATM teammate coordination after same-session compaction or resume when atm-dev still exists on disk and the saved leadSessionId still matches the current SESSION_ID, but named-teammate ATM reachability is broken.
Session initialization for the team-lead identity. Confirms identity and detects whether a full team restore is needed. Only run when ATM_IDENTITY=team-lead.
Run or inspect the Phase Z smoke harness for atm-core. Use when implementing or operating `just smoke`, `just smoke fast`, or `just smoke thorough`, when rendering `reports/smoke/*`, when checking the frozen Phase Z row map, or when triaging smoke findings against retained logs and report artifacts.
Create, manage, scan, update, and clean up git worktrees for parallel development with protected branch safeguards. Use when working on multiple branches simultaneously, isolating experiments, updating protected branches (main/develop), or when user mentions "worktree", "parallel branches", "feature isolation", "branch cleanup", "worktree status", or "update main/develop".
Reusable QA orchestration skill for GitHub PRs. Use for multi-pass QA, CI monitoring, and template-driven findings and final quality reports.
| name | codex-orchestration |
| version | 0.1.0 |
| description | Orchestrate atm-core sprint work where team-lead coordinates, arch-ctm is the sole developer, and quality-mgr enforces the QA gate. |
| depends_on | {"quality-management-gh":"1.x","quality-mgr":"0.x","req-qa":"0.x","arch-qa":"0.x","flaky-test-qa":"0.x","rust-qa-agent":"0.x","rust-best-practices-agent":"0.x","rust-service-hardening-agent":"0.x"} |
This skill defines the repo-local orchestration workflow for atm-core.
team-lead coordinates sprint sequencing, worktree assignments, and PR flowarch-ctm is the sole developer for Codex-driven implementation workquality-mgr runs the QA gate after each deliveryBefore starting a sprint:
docs/requirements.md, docs/architecture.md, and docs/project-plan.md
define the sprint or phase review target..claude/agents/:
quality-mgr.mdreq-qa.mdarch-qa.mdflaky-test-qa.mdsc-rust.claude/skills/:
quality-management-gh/quality-mgr must read:
.claude/assets/sc-rust/quality-mgr/quality-mgr.rust.mdquality-mgr must also read:
.claude/skills/quality-management-gh/SKILL.mdsc-compose is available for rendering the JSON and markdown templates.team-lead assigns development to arch-ctm 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.arch-ctm ACKs, implements, commits, pushes, and reports branch plus SHA.arch-ctm performs a self-directed Rust best-practices sweep on
the integration branch using the same review_targets planned for QA-1 and
fixes all RBP findings found there. This is a developer cleanup step, not a
QA surprise.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:
req-qaarch-qarust-qa-agentrust-best-practices-agentrust-service-hardening-agentflaky-test-qa when test instability risk is presentrust-best-practices-agent and
rust-service-hardening-agent. All RBP and service-hardening findings from
QA-1 must be fixed before merge — merge gate is 0B+0I+0m with no
exceptions and no backlog deferral. QA-1 findings route back to arch-ctm
via fix-assignment.xml.j2 before QA-2, following the standard
triage-and-fix path.team-lead first runs /triaging-findings to correlate the
findings across worktrees and determine the promoted fix branch.team-lead routes concrete fixes back to
arch-ctm 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.team-lead completes /plan-hardening steps 1 through 5.team-lead assigns plan QA to quality-mgr using qa-template.xml.j2
with review_mode: plan.sprint_doc, and
that plan document is the authoritative scope source for plan QA.quality-mgr treats review_mode: plan as docs-only review and launches:
req-qaarch-qarust-best-practices-agentrust-service-hardening-agentteam-lead uses the normal codex-orchestration
triage-and-fix loop to route concrete fixes back to arch-ctm.quality-mgr must extract every deliverable, acceptance criterion, deletion
target, required validation item, and expected artifact from sprint_doc
before launching req-qareq-qa must independently treat sprint_doc as authoritativereq-qa must count deliverable completion and report a completion percentagearch-qa must inspect sprint-doc structural gate artifacts directly when a
deliverable points to a boundary, packaging, release-tracking, readiness, or
validation gateFor extraction-readiness or phase-close reviews, use review-template.xml.j2
to assign a read-only review to arch-ctm.
For phase-ending QA routed through quality-mgr, the reviewer set is
mandatory:
req-qaarch-qarust-qa-agentrust-best-practices-agentrust-service-hardening-agentflaky-test-qaUse standard GitHub CLI:
gh pr checks <PR> --watchgh pr view <PR> --json mergeStateStatus,reviewDecisionDo not assume ATM-specific PR monitoring commands exist.
Use the templates in this skill directory:
dev-template.xml.j2fix-assignment.xml.j2qa-template.xml.j2review-template.xml.j2req-qa-assignment.json.j2arch-qa-assignment.json.j2flaky-test-qa-assignment.json.j2.claude/skills/quality-management-gh/Use the Rust assignment templates from:
.claude/assets/sc-rust/quality-mgr/templates/Every ATM task message must follow: