Problem
The framework stops at code review (Phase 7). There's no phase for:
- Generating CI/CD pipelines (GitHub Actions, GitLab CI)
- Infrastructure-as-Code (Terraform, CloudFormation, K8s manifests)
- Environment-specific deployment configs
- Database migration execution plans
Proposed solution
Add Phase 8: Deploy that generates deployment artifacts from specs and manifest:
8a. CI/CD Pipeline Generation
- Generate pipeline config per service based on
tech_stack.ci_cd in manifest
- Include: lint → test → build → docker push → deploy stages
- Generate pipeline for the planning repo itself (spec validation, contract checks)
8b. Infrastructure-as-Code
- Generate K8s manifests / Helm charts from service definitions in manifest
- Generate Terraform for cloud resources (databases, message brokers, caches)
- Use the
environments section in manifest to generate per-env configs
8c. Database Migration Plan
- Coordinate migration order across services based on dependency graph
- Generate a migration execution script respecting service dependencies
Output
phases/8-deploy.md — deployment plan and generated artifact locations
- Per-service:
ci/ directory with pipeline configs
- Root-level:
infrastructure/ directory with IaC
Problem
The framework stops at code review (Phase 7). There's no phase for:
Proposed solution
Add Phase 8: Deploy that generates deployment artifacts from specs and manifest:
8a. CI/CD Pipeline Generation
tech_stack.ci_cdin manifest8b. Infrastructure-as-Code
environmentssection in manifest to generate per-env configs8c. Database Migration Plan
Output
phases/8-deploy.md— deployment plan and generated artifact locationsci/directory with pipeline configsinfrastructure/directory with IaC