Phases/Phase 2
Phase 2

Scale Out

Extract the remaining three services — Workforce, Communications (production), and Reporting (CQRS) — completing the full microservices decomposition.

19.0
Effective MM
M5–7
Duration
×2.0
AI Multiplier
9.5 MM
Raw Capacity
-6.0 MM
Overhead
19.0 MM
Effective
5
Services Live

AI Application in This Phase

What AI Does

AI batch-migrates using patterns proven in Phase 1. Template reuse → each service faster. AI generates CQRS read models from existing SQL queries for Reporting. ~75% AI-generated code.

Expected Impact

Save ~3 weeks boilerplate. Reporting CQRS models generated almost entirely by AI from legacy SQL. Comms event handlers generated from specifications.

Key Deliverables

Workforce + Allocation service live (Month 6)
Communications service promoted to production (Month 7)
Reporting CQRS service live (Month 7)
React 18 dashboards for Workforce and Reporting
Event schema governance enforced
All 5 per-service databases operational

Week-by-Week Breakdown

PeriodD1 – Tech LeadD2 – Sr BackendD3 – BackendD4 – FullstackD5 – FE/DevOpsOutput
M5 W1–2Architecture review + tech debtWorkforce business logic reviewComms API (email/SMS/push)Workforce business logic + testsReact: Workforce UIComms 30%, Workforce 60%
M5 W3–4Comms architecture + ACL improvementsComms event triggersComms template engine migrationWorkforce CDC + cutover prepReporting analysis + scaffoldComms 60%, Workforce 80%
M6 W1–2Workforce cutover (5% → 100%)Comms event-driven triggersComms integration testsReact: Comms UIReporting data aggregation✅ Workforce LIVE
M6 W3–4Reporting CQRS architecture designReporting query APIsComms CDC + cutover prepReact: Reporting dashboards startReporting scheduled jobsReporting 50%, Comms 90%
M7 W1–2Comms cutover (5% → 100%)Cross-service integration testsReporting scheduled reportsReact: Reporting dashboardsProduction monitoring setup✅ Comms LIVE
M7 W3–4Reporting cutover (5% → 100%)Performance baseline measurementBug fixes across servicesReact: cross-module integrationLoad testing preparation✅ Reporting LIVE

Services (3)

Exit Criteria / Go-No-Go Gate

Workforce: 100% traffic, schedule/leave APIs verified
Communications: email/SMS/push all functional, event-driven triggers active
Reporting: CQRS read models serving dashboards, scheduled reports generating
All 5 services live and interconnected via Event Bus
Cross-service integration tests passing
React 18 pages live for Workforce, Comms, and Reporting

Milestones (3)

M6
Workforce Go-Live
Workforce + Allocation service in production.
M7
Comms + Reporting Go-Live
Communications promoted to production. Reporting CQRS service live.
M7
All 5 Services Operational
Complete microservices decomposition — only Payment remains in monolith.

Risk Notes

Phase 2 has the highest parallelism — 3 services in flight simultaneously. Key risk: Comms + Reporting go-live compressed into M7. If Workforce slips → defer Reporting to Phase 3. Scope lever: Reporting is NICE-TO-HAVE if timeline is tight.