A living book about agentic workflows, agent orchestration, and agentic scaffolding
This playbook describes the GH-AW issue-management lifecycle used in this repository.
Issue Routing Decision, Daily Research Updates, and Weekly Editorial Quality Pass are disabled in GitHub Actions. Intake acknowledges new issues and labels them for manual triage. The weekly scheduler is inactive. The workflow definitions remain available if maintainers decide to resume them.
[opened] -> acknowledged -> triaged-fast-track -> assigned -> closed
\-> triaged-for-research -> assigned -> closed
At any stage, any agent may reject by explaining the reason, adding rejected, and closing the issue.
| Stage | Trigger | Workflow file | Labels in | Labels out | Result |
|---|---|---|---|---|---|
| Intake ACK | issues.opened |
.github/workflows/issue-intake-ack.yml |
(none) | acknowledged |
Issue acknowledged and routed when routing is active |
| Routing decision | workflow_dispatch (from intake ACK) |
.github/workflows/issue-routing-decision.lock.yml |
acknowledged |
triaged-fast-track or triaged-for-research |
Agentic routing decision posted when enabled |
| Fast-track delivery | issues.labeled |
.github/workflows/issue-fast-track-close.lock.yml |
triaged-fast-track |
assigned (or rejected) |
PR opened and issue closed |
| Research pass | issues.labeled (triaged-for-research) |
.github/workflows/issue-research-pass.lock.yml |
triaged-for-research |
(none by default) | Research comment posted |
| Phase 1 dispatcher | issue_comment.created (research completion comment) |
.github/workflows/issue-phase1-dispatch.yml |
triaged-for-research |
(dispatch only) | Selects engine in order Codex -> Claude -> Copilot |
| Phase 1 execution (selected engine) | workflow_dispatch |
.github/workflows/issue-phase1-*.lock.yml |
triaged-for-research |
(none by default) | Posts phase 1 long-task analysis |
| Phase 2 dispatcher | issue_comment.created (phase 1 completion comment) |
.github/workflows/issue-phase2-dispatch.yml |
triaged-for-research |
(dispatch only) | Selects engine in order Claude -> Codex -> Copilot |
| Phase 2 execution (selected engine) | workflow_dispatch |
.github/workflows/issue-phase2-*.lock.yml |
triaged-for-research |
(none by default) | Posts phase 2 long-task delivery plan |
| Assignment dispatcher | issue_comment.created (phase 2 completion comment) |
.github/workflows/issue-assignment-dispatch.yml |
triaged-for-research |
(dispatch only) | Dispatches assignment workflow, then assigns and mentions all available coding agents for phase-3 handoff |
| Assignment + close | workflow_dispatch |
.github/workflows/issue-assignment-close.lock.yml |
triaged-for-research |
assigned |
Posts assignment summary and closes issue |
| Weekly editorial quality pass | schedule, workflow_dispatch |
.github/workflows/weekly-editorial-quality.lock.yml |
(n/a) | (n/a) | Paused |
Slow-track downstream handoffs are comment-driven and dispatcher-based, so they do not depend on intermediate status labels. Configure GH_AW_GITHUB_TOKEN as a fine-grained PAT restricted to this repository with Issues, Pull requests, and Contents set to Read and write.
Phase-3 implementation handoff policy:
suggestedActors and determines availability of openai-code-agent, anthropic-code-agent, and copilot-swe-agent.Internet research policy:
Engine fallback policy for slow-track phases:
OPENAI_API_KEY (Codex), then ANTHROPIC_API_KEY (Claude), then COPILOT_GITHUB_TOKEN (Copilot).ANTHROPIC_API_KEY (Claude), then OPENAI_API_KEY (Codex), then COPILOT_GITHUB_TOKEN (Copilot).triaged-fast-track for small, low-risk, clearly scoped changes.triaged-for-research for broad, unclear, or high-impact requests.triaged-fast-track.Workflow source files are maintained in .github/workflows/*.md and must be compiled to .lock.yml with gh aw commands.
When a workflow source file changes:
.lock.yml.