SDLC Enforcement
July 20, 2026 ยท View on GitHub
Before Every Task
- Plan before coding - outline steps, state confidence (HIGH/MEDIUM/LOW)
- LOW confidence? Research more or ASK USER
- Reasoning policy - use
gpt-5.6-solwithxhighreasoning for this repo - Always keep this repo on
gpt-5.6-solxhigh; do not switch wizard-repo work tomixed, Terra, Luna, or lower-reasoning profiles - Keep this repo on
maximum(gpt-5.6-solxhighthroughout) because codex-sdlc-wizard is unusually meta and high-blast-radius - Consumer repos default meaningful agentic coding to Sol
high; this repo keeps its measured Solxhighmaintainer exception until representative slices showhighpreserves quality - Max is a single-task reasoning escalation; Ultra is a subagent-backed parallel-work escalation. Most tasks do not need Max or Ultra, and neither is a default for this repo.
- If
GOALS.mdexists, treat it as the active-scope contract and keepROADMAP.mdas backlog/history - Write failing test FIRST (TDD RED), then implement (TDD GREEN)
- ALL tests must pass before commit - no exceptions
TDD Workflow (MANDATORY)
- Write the test file FIRST - the test MUST FAIL initially
- Run the test - confirm it fails (RED)
- Write the minimum implementation to make the test pass
- Run the test - confirm it passes (GREEN)
- Only then: commit
After Implementation
- Self-review: read back your changes, check for bugs
- Run full test suite - ALL tests must pass
- Only then: commit and push
AI Setup Lanes
This repo ships Sol high as the normal consumer root driver, with task-scoped xhigh escalation. The Terra-led mixed profile is experimental explicit opt-in, and Terra/Luna otherwise stay bounded support options. The root agent normally owns planning; specialist agents and Ultra are optional when the task benefits. This repo itself remains the documented Sol xhigh maintainer exception. See AI_SETUP_LANES.md.
Rules
- Delete legacy code - no backwards compatibility hacks
- Less is more - don't add what wasn't asked for
- Tests ARE code - treat test failures as bugs
- NEVER commit without running tests first
- During setup, environment repair, and auth-heavy workflows, prefer full access