--- name: autonomous-sdlc description: Coordinates evidence-driven Codex software work across planning, architecture, implementation, testing, release and operations, with staged native subagents and a role-routed specialist-skill library. No background agent runtime. --- # Autonomous SDLC This is a Codex skill, not a scheduler, MCP server or autonomous runtime. Read repository `AGENTS.md`, local policies and existing CI before working. Existing permissions, branch rules and orchestration are authoritative. ## One task contract For multi-step work, follow [TASK_PROGRESS_PROTOCOL](references/TASK_PROGRESS_PROTOCOL.md): reconcile the current issue/PR and checklist, preserve user-authored progress, and keep acceptance criteria, status and evidence in one source of truth. Use stable IDs when there are multiple criteria, dependencies, delegation or a resume need; keep a small fix inline. Mark GitHub checkboxes complete **only after VERIFIED evidence**. Never claim a write that did not succeed. Use [task progress template](assets/templates/task_progress.md) when the task needs a durable checkpoint. Follow [the behavioral contract](references/BEHAVIOR_CONTRACT.md). ## Practical execution and critical challenge Follow [operational challenge protocol](references/OPERATIONAL_CHALLENGE.md). For authorized tasks, perform real edits and tests rather than stopping at recommendations. Challenge unsupported user or agent assumptions with evidence, and use bounded independent subagent critique only when uncertainty or risk justifies its cost. A single integration owner resolves disagreements using tests and acceptance criteria; do not claim a debate or execution that did not occur. ## Integrated execution Use [the integrated workflow](references/WORKFLOW_RULES.md) as the operating model and [stage contracts](references/STAGE_CONTRACTS.md) as its gates. The gates expand the six-stage artifact-handoff lifecycle—Plan → Design → Build → Test → Deploy → Maintain—into Discover → Design → Plan → Build → Verify → Review → Deliver → Observe. Role templates are task-scoped execution helpers, not a requirement to spawn one agent for each lifecycle function. Select the lightest depth that covers the task's risk. A localized, reversible task stays inline; structured work uses one acceptance map and bounded work units; high-risk work adds design, rollback and independent verification. **One coordinator owns the lifecycle.** For Structured and High assurance tasks, use Codex's native subagent threads for the stages specified in [the workflow](references/WORKFLOW_RULES.md): dispatch a planner for decomposition, an architect for real design decisions, builders for bounded implementation units, then independent verification/review as required. When a distinct delivery-readiness handoff is useful, dispatch `release` to prepare revision-specific evidence; the coordinator retains approval and delivery authority. Wait for each required handoff, integrate its evidence in the parent thread and only then advance the gate. Use native thread orchestration, not a shell-launched `codex exec` process. Custom role TOML files improve role consistency but are not required: when absent, assign the role contract to an available native subagent. Direct tasks stay inline; recovery runs only after a failed gate; observer runs after delivery when an outcome is observable. If native delegation is unavailable or disabled, perform the gates in the current agent without claiming subagents ran. This skill defines the orchestration policy; Codex executes the agent calls. It does not provide a separate engine, schedule background work or persist state by itself. Specialist skills are just-in-time methods for a concrete gap, not additional lifecycle owners. Use the [central skill library](references/SKILL_LIBRARY.md) to route by task context and lifecycle role, then confirm runtime availability for entries that are not bundled. Load only the selected method and route its useful output into the same acceptance/evidence map; do not run a fixed stack of skills. Follow [contextual skill acquisition](references/SKILL_ACQUISITION.md) only when the current request, applicable standing authorization and workspace policy cover the exact scope. Use native capabilities when no safe and authorized specialist fits. For security work, prefer focused review; a full audit requires explicit authorization and safe isolation. At each gate, record only material progress and apply [quality protocol](references/QUALITY_PROTOCOL.md). A failed gate follows the [recovery matrix](references/RECOVERY_MATRIX.md); verify each acceptance criterion against actual evidence. Scale documentation using [templates](assets/templates). The final handoff uses [HANDOFF_TEMPLATE](references/HANDOFF_TEMPLATE.md) and includes exact revision, evidence, unresolved risks and next action. Do not claim background persistence.