Epic Run Skill
Use this skill only from the root session. The root session must resolve the committed kickoff
artifact and delegate its invocation prompt to the project custom agent epic-orchestrator.
The root-invocation hook records the authorization receipt consumed when that agent starts.
Use the epic slug or path supplied in the invoking user request.
Procedure
- Resolve a bare slug to
docs/features/epics/<epic-slug>/; resolve a supplied path to its containing epic home. - Require
docs/features/epics/<epic-slug>/epic-kickoff.md.- If it is absent, stop before delegation. Direct the user to run
epic-planfirst or, for a manually authored epic, invokeepic-orchestrate <manifest-path>.
- If it is absent, stop before delegation. Direct the user to run
- Validate the kickoff's
## Invocation Prompt, manifest reference, integration branch, per-feature plan paths, preflight evidence, and current Git state. Derive optional missing hashes from Git; fail closed on actual drift. Invokevalidate_orchestration_artifactsforepic-planner-statewithrequire_ready_for_execution: trueand the explicit workspace root. Do not delegate until that canonical repository-aware gate succeeds. - Delegate the invocation prompt to
epic-orchestratorand applyepic-orchestrate. - Reuse the existing integration branch. Every child resumes at atomic execution from its committed plan path. Do not repeat promotion, research, feature documents, planning, or preflight.
- If
artifacts/orchestration/epic-orchestrator-state.jsonalready tracks this epic, resume from its durablenext_stepinstead of restarting. - Worktree children must be launched through
.codex/scripts/launch-epic-child-wave.ps1; do not replace the launcher with nativespawn_agent. - Copy the validated planner checkpoint's
max_parallel_featuresinto the epic-orchestrator checkpoint before constructing the first execution launch specification.
Wave scheduling, fan-in, worktree cleanup, epic-status.md, final PR creation, CI validation,
and completion are governed entirely by epic-orchestrate.