Coordinate a feature or bug request from intake through promotion, planning, execution, validation, and review by selecting the correct small or large path and delegating to migrated Codex specialists when available.
Top-level delivery orchestration workflow for Codex.
Always apply:
policy-compliance-orderfeature-promotion-lifecyclerepo-automation-adapteratomic-plan-contractacceptance-criteria-trackingpr-context-artifactspr-base-branch-merge-baseUse as needed:
csharp-change-budget-routerpowershell-change-budget-routerfeature-reviewatomic-planneratomic-executorfeature-reviewerspawn_agent, treat all three required delegated specialists as available,Canonical checkpoint path:
artifacts/orchestration/orchestrator-state.jsonPersist and reuse these fields exactly:
objectivechange_budget_estimatepath_selectedpromotion-typeshort-namerelativeFilelong-nameissue-numfeature-folderwork-modeplan-pathcompleted_stepsnext_steplast_updatedstep5_statusstep6_statusstep7_statusstep8_statusstep9_statusstep10_statusdelegation_receiptsblocked_reasonFor small-path runs, also persist:
bootstrap_modephase0_execution_summarysmall_path_qc_summarysmall_path_audit_artifactsresume_after_manual_bootstrapStatus enums:
step5_status / step6_status / step7_status / step8_status / step9_status / step10_status MUST use one of:
not-applicablependingdelegatedverifiedblockedBlocked-reason enum:
blocked_reason MUST be one of:
nonespawn_agent_unavailabledelegation_launch_faileddelegate_no_receiptdelegate_contract_incompletevalidator_faileduser_requested_stopDelegation receipt schema:
delegation_receipts MUST be a list of objects with:
stepagent_nameagent_idskill_sourcestarted_atcompleted_atresult_signalartifact_pathsRequired-delegation step map:
atomic-planneratomic-executoratomic-executorfeature-revieweratomic-planneratomic-executorfeature-revieweratomic-plannernext_step.csharp-change-budget-router.powershell-change-budget-router.Use the small path only when the applicable language router clears it.
Required behavior:
${work-mode} to minor-audit.feature-promotion-lifecycle as the source of truth for lifecycle variables, branch naming, and ${plan-path} resolution.repo-automation-adapter.${feature-folder}/issue.md must exist${feature-folder}/spec.md must be absent${feature-folder}/user-story.md must be absentatomic-planner to create or revise the minimal plan at ${plan-path}.
DIRECTIVE: MINIMAL-AUDIT PLAN REQUIRED${plan-path} to be updated in placePREFLIGHT: ALL CLEARstep5_status to verified before continuingstep5_status to blocked, set blocked_reason, and stopatomic-executor to execute Phase 0 only.
step6_status to verified before branchingstep6_status to blocked, set blocked_reason, and stop${feature-folder}/issue.md and persist plan or acceptance-criteria checkoffs before review.
atomic-executor for validation and checklist updatesstep9_status to verified before continuingstep9_status to blocked, set blocked_reason, and stopfeature-reviewerstep10_status to verified before continuingstep10_status to blocked, set blocked_reason, and stopatomic-planner, execute the remediation plan, and re-run reduced review until the gate is clean.blocked_reason and stopUse the large path for any request that exceeds or bypasses the small-path router.
Required behavior:
${work-mode} to:
full-feature for feature workfull-bug for bug workfeature-promotion-lifecycle as the source of truth for lifecycle variables, branch naming, and ${plan-path} resolution.repo-automation-adapter.spec.md and user-story.md when the selected work mode requires thematomic-planner to finalize ${plan-path} and require PREFLIGHT: ALL CLEAR.
Hard enforcement for Step 7:
atomic-planner -> atomic-executor for preflight validation.${plan-path} in place and MUST NOT create additional plan.*.md files for revisions.plan-path and final PREFLIGHT: ALL CLEAR.step7_status to blocked, set blocked_reason, and stop.step7_status to verified only after delegate output and validator checks pass.atomic-executor to execute the approved plan.
Hard enforcement for Step 8:
step8_status to blocked, set blocked_reason, and stop.step8_status to verified only after delegate output and validator checks pass.feature-reviewer for post-implementation review.
Hard enforcement for Step 9:
pr-base-branch-merge-base unless an explicit base was already supplied.repo-automation-adapter when they are missing or stale relative to the current branch state.${feature-folder}.step9_status to blocked, set blocked_reason, and stop.step9_status to verified only after delegate output and validator checks pass.blocked_reason and stopDo not claim mission completion until all of the following are true:
${feature-folder} and ${plan-path} are known when lifecycle setup was requireddrmCopilotExtension.* directly from this workflow.repo-automation-adapter for host-specific lifecycle steps.