Phase 4 – Delivery and Factory Runs¶
This document shows how actual delivery works using Factory, platforms, and squads. It is written for architects, engineers, delivery leads, and project managers managing Factory-based delivery.
Phase 4 is where the Factory and Squads deliver real value. This phase demonstrates the delivery rhythm, Factory usage, platform integration, and communication patterns that ensure successful delivery.
Note
Delivery success depends on clear communication, regular feedback, and proper use of Factory and platform capabilities. Invest in these areas to ensure smooth delivery.
Objectives of Phase 4¶
The objectives of Phase 4 are to:
- Deliver Working Software - Generate and deploy microservices using Factory
- Integrate Platforms - Integrate Identity, Audit, and Config platforms
- Maintain Quality - Ensure code quality through Factory QA agents and human review
- Communicate Progress - Keep stakeholders informed of progress and blockers
- Handle Changes - Manage scope changes and new requirements
Delivery Rhythm and Cadence¶
Weekly/Bi-Weekly Cycles¶
Typical Sprint Cycle (2 weeks):
- Sprint Planning (Day 1)
- Review backlog and priorities
- Plan Factory runs for sprint
-
Assign work to Squad
-
Factory Runs (Days 1-10)
- Vision/Planning agents refine requirements
- Architect agents design bounded contexts
- Engineering agents generate code
-
QA agents validate quality
-
Review & Feedback (Days 5-10)
- Code review and feedback
- Architecture review
-
Customer feedback sessions
-
Deploy to Dev/Staging (Days 8-10)
- Deploy generated services
- Integration testing
-
Platform integration validation
-
Sprint Review (Day 10)
- Demo deliverables
- Gather feedback
- Plan next sprint
Squad Output Expectations¶
Starter SaaS Squad: - 2-3 microservices per month - Complete with tests, pipelines, documentation - Integration with platforms - Deployable to dev/staging
See: Squads Business Model for squad capacity.
See: Product Portfolio - Squads for squad details.
Using the Factory in Sprints¶
Sprint Planning with Factory¶
Use Vision/Planning Agents: - Refine user stories and epics - Break down features into bounded contexts - Prioritize work based on business value - Create product roadmap
See: Vision & Planning Agents for agent details.
Architecture Design¶
Use Architect Agents: - Design bounded contexts and service boundaries - Define APIs and event contracts - Create ADRs for key decisions - Select templates and libraries
See: Architect Agents for agent details.
Code Generation¶
Use Engineering Agents: - Generate microservices from templates - Implement domain logic - Create tests and pipelines - Generate documentation
See: Engineering Agents for agent details.
See: Getting Started with Factory for Factory usage.
Quality Validation¶
Use QA Agents: - Review generated code - Validate architecture compliance - Check test coverage - Identify issues and improvements
See: QA Agents for agent details.
Example: Agent Marketplace Microservice¶
Factory Run Flow:
- Vision Agent - Refines "Agent Marketplace" epic into user stories
- Architect Agent - Designs bounded context, APIs, events
- Engineering Agent - Generates microservice (Api, Application, Domain, Infrastructure)
- QA Agent - Reviews code, validates tests, checks compliance
- Human Review - Architect and customer review before merge
- Deploy - Deploy to dev environment for testing
Integrating Platforms¶
Identity Platform Integration¶
Integration Steps: 1. Provision Identity Platform tenant 2. Configure OAuth2/OIDC clients 3. Generate microservices with Identity integration 4. Test authentication flows 5. Deploy and validate
See: Identity Platform API Overview for API details.
See: Getting Started with Platforms for platform integration.
Audit Platform Integration¶
Integration Steps: 1. Provision Audit Platform tenant 2. Configure audit event schemas 3. Generate microservices with Audit integration 4. Test audit event emission 5. Validate audit queries
See: Audit Platform API Overview for API details.
Config Platform Integration¶
Integration Steps: 1. Provision Config Platform tenant 2. Define configuration structure 3. Generate microservices with Config integration 4. Configure feature flags 5. Test configuration retrieval
See: Config Platform API Overview for API details.
Communication and Status Reporting¶
Weekly Check-In Call¶
Agenda (30 minutes): - Review progress since last call - Discuss Factory runs completed - Review services created/updated - Identify risks/blockers - Plan next week's work
Status Report Template¶
Weekly Status Report:
- Factory Runs Completed: [Number] runs, [Services] generated
- Services Created/Updated: [List services]
- Platform Integration: [Status of platform integrations]
- Deployments: [Deployments to dev/staging]
- Risks/Blockers: [List any risks or blockers]
- Next Week Plan: [Planned Factory runs and deliverables]
Communication Channels¶
- Slack - Daily async communication
- Weekly Calls - Synchronous status updates
- Azure DevOps - Work items, PRs, commits
- Email - Formal communications, decisions
Handling Scope Changes¶
Change Request Process¶
- Capture Change - Document change request
- Assess Impact - Evaluate impact on scope, timeline, cost
- Re-Estimate - Update estimates for Factory runs and deliverables
- Update Roadmap - Adjust roadmap and priorities
- Get Approval - Get customer approval for change
- Update ADR/BDR - Document decision if architecture/business impact
Scope Change Considerations¶
- Factory Impact - Additional Factory runs needed?
- Squad Impact - Does it fit within squad capacity?
- Timeline Impact - How does it affect timeline?
- Cost Impact - Additional cost implications?
ADR/BDR for Major Changes¶
Create ADR if: - Architecture changes required - New patterns or technologies needed - Significant design decisions
Create BDR if: - Business model changes - Pricing or commercial changes - Strategic decisions
See: Decision Records Process for ADR/BDR process.
Important
Scope Control: Don't promise "free scope" just because Factory is fast. Every change has impact—assess it properly, re-estimate, and get approval. Factory accelerates delivery, but it doesn't eliminate the need for proper change management.
Related Documents¶
- Phase 3 – Contracting & Kickoff - Previous phase
- Phase 5 – Retrospective & Expansion - Next phase
- Getting Started with Factory - Factory usage
- Agent System Overview - Agent details
- Getting Started with Platforms - Platform integration
- Squads Business Model - Squad capacity