Establish the product and its foundation
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.
Stage 1. Stakeholder Engagement & Requirements
The Product Engineer leads direct human stakeholder engagement to understand needs, outcomes, workflows, constraints, and success criteria. For subsequent iterations, understand and prioritize requested corrections, refinements, or additions. UX participates where user workflows or experience needs warrant it; the Architect joins selectively for technical implications. The Product Engineer communicates sufficiently clear requirements for architectural decisions.
AI support or transcripts are optional in this human-to-human activity. Understanding stakeholder intent comes first; AI-assisted specification generation follows in Stage 2. Resolve consequential business decisions with their authorized owners.
Stage 2. Parallel Foundation Activities: Specification Generation, UX Direction, Architecture Setup
Three activities proceed in parallel, informed by the requirements understood in Stage 1:
Specification Generation. The Product Engineer translates business requirements into structured specifications using text-based AI, conversational AI, or other agent-assisted workflows. Escalate consequential open decisions. Agents maintain this context as implementation evolves; perfected prose or universal document sign-off is not a prerequisite.
UX Direction. The UX Designer establishes visual direction, interaction patterns, accessibility constraints, and design principles. Reuse existing design systems and components where appropriate, or establish new foundations where none exist. One or two representative screens may suffice; novel, complex, or accessibility-sensitive interactions may need deeper design and research.
Architecture Setup. The Architect selects suitable organizational SHAPE templates or boilerplates, approved stacks, frameworks, libraries, patterns, and reusable components. Where established patterns are insufficient, document application-specific decisions and justified reusable-asset opportunities, including guidance in architecture.md. Authentication, performance, scalability, technical constraints, and enforced execution permissions may need attention. The Architect remains available during implementation; no separate Architecture Readiness Review is introduced.
The Product Engineer coordinates these activities so that design, requirements, and technical constraints inform each other and provide sufficient direction for implementation.
Stage 3. Implementation & Iterative Refinement
Stage 3 in both cycles uses the same iterative subprocess:
- Prompt / Specification Input. The Product Engineer provides specifications, instructions, and refinements.
- Agentic Code Generation. Coding agents generate or modify production code within approved technical boundaries.
- Functional Testing & UX Review. The Product Engineer evaluates the working implementation, with the UX Designer involved where needed and test execution authorized by a human.
Repeat this loop until the Product Engineer considers the implementation ready for Architecture Review. The implementation agent continuously maintains the current specification as the software evolves. Specifications need not be perfected before working software is generated.
Use bounded increments and explicit creative/UX, structural, functional, and content latitude. Broader experiments require deliberate agreement. Read Defining Agentic Latitude.
Stage 4. Architecture Review
Architecture Review is standard in both cycles. The Architect reviews the actual implementation against the agreed architecture, enterprise standards, and technical constraints. Review depth is proportionate and can be brief for straightforward changes.
When corrections are required, the Product Engineer directs coding agents to implement them and the Architect verifies the corrections as appropriate. Repeat implementation and review as needed. Architectural review is distinct from human business acceptance.
Stage 5. UAT & Approval
Stakeholders validate the initial working functionality through the organization's UAT process and approve it or request corrections. The Product Engineer coordinates refinement and the necessary reviews and checks. Human approval establishes the first approved product baseline; the corresponding approved specifications become the regression baseline for subsequent iterations.
This milestone is distinct from production release. Further development, refinements, corrections, and enhancements follow Cycle 2 immediately after the initial baseline is approved, even when more work is required for production readiness.
A cycle, not a ceremonial sequence
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.