Two cycles, one product model
Cycle 1 runs once to establish a new product and its first human-approved baseline. Cycle 2 covers every subsequent iteration, including continued development before production release. Both cycles use the same iterative implementation subprocess; spec-based regression testing begins in Cycle 2 against previously approved functionality.
An Iterative Development Process
Development begins with human direction, whether through a conversational prompt or formal specification. Coding agents implement changes, update current-state specifications, and maintain tests. Human review drives further refinement.
Follow requirements intake, agent implementation, stakeholder review, and specification-based testing. Tests are prepared automatically but executed only with human authorization. The illustration summarizes iteration; the five-stage initial cycle and six-stage subsequent-iteration cycle below remain authoritative.
Cycle 1: Initial Product Development
Cycle 1 is executed once to establish a new product and its initial human-approved baseline. Its five stages establish technical foundations and functioning software; the first implementation may contain substantial functionality or, for a smaller application, the entire initial application.
There is no approved baseline for spec-based regression testing during Cycle 1. Unit, integration, functional, and other appropriate testing still apply, with human-authorized execution. Initial approval is not production release: subsequent Cycle 2 iterations may be needed to reach production readiness.
Cycle 2: Enhancements and Subsequent Iterations
Cycle 2 covers every iteration after the initial baseline is approved, including corrections, refinements, and enhancements before or after production release. Its six stages protect previously approved functionality while evolving the product. It begins immediately after initial approval and is not limited to maintenance or post-production work.
What the cycles share
Both cycles use Stage 3 to repeat Prompt / Specification Input → Agentic Code Generation → Functional Testing & UX Review until the Product Engineer considers the implementation ready for Architecture Review. Agents maintain the current specification while the Product Engineer and, where needed, UX evaluate working software.
Architecture Review is standard and may lead to corrections and re-review. Humans authorize test execution and retain acceptance decisions. Current specifications evolve continuously; approved regression baselines change only after appropriate human validation and approval.
From Requirements to Verification
SHAPE derives automated tests from documented requirements and acceptance criteria, rather than simply validating the existing implementation. Agents maintain tests as requirements evolve, but humans control test execution and determine whether the resulting functionality is accepted.
See the Spec-Based Testing practitioner guide for requirements, acceptance criteria, derived tests, authorized execution, and human acceptance. Passing results provide evidence; they do not automatically constitute product acceptance.
Where the process ends
Each iteration ends at UAT and approval, rather than automatically at production release. Cycle 1 establishes the initial baseline; Cycle 2 repeats for all subsequent work, including development toward production readiness. Deployment and operations remain subject to enterprise processes and continuing Product Engineer ownership.
The outcome-driven loop
Human stakeholder engagement → AI-assisted specifications → iterative implementation and functional/UX review → Architecture Review and corrections → spec-based regression checks in Cycle 2 → UAT and approval. The initial baseline comes from Cycle 1 approval; later approvals update the relevant baseline. No universal specification-document approval gate is introduced.