How uday-vashist/springphoenix works
SpringPhoenix is a Spring Boot modernization assurance pipeline: it analyzes the legacy User and Product domains, records a coverage baseline and knowledge gaps, verifies modernization, checks test strength, and reports impact. Its Python orchestrator runs the three assurance stages sequentially per domain while dispatching domains concurrently. The Java application is the modernization target, not the main runtime workflow shown here. README capabilities such as coverage gates and mutation guardrails are included, but their underlying build configuration was not sampled; those links are therefore limited to documented behavior.
Main entry points: concurrent_orchestrator.py Concurrent dispatch · modernization_subagent.py Modernize verify · impact_report_generator.py Impact reporting · knowledge_gaps_scanner.py Knowledge scanner
Components 19
Java target
- Spring Boot app
src/main/java/com/example/legacy/SpringPhoenixApplication.java - User and Product
src/main/java/com/example/legacy/model - Repositories
src/main/java/com/example/legacy/repository - Services
src/main/java/com/example/legacy/Service - Controllers
src/main/java/com/example/legacy/controller
Assurance pipeline
- Baseline stage
baseline_subagent.py - Modernize verify
modernization_subagent.py - Concurrent dispatch
concurrent_orchestrator.py
Analysis and checks
- Coverage parser
parser.py - Baseline writer
reporter.py - Knowledge scanner
knowledge_gaps_scanner.py - Coverage gate
pom.xml - Mutation guardrails
pom.xml
Reports
- Impact reporting
impact_report_generator.py - Baseline snapshot
reports/baseline.json - Knowledge gaps
reports/knowledge_gaps.md - Pipeline timeline
reports/pipeline_timeline.json - Impact report
reports/impact_report.md
Other components
- Engineer
Connections 24
- Engineer → Concurrent dispatch: starts pipeline
- Engineer → Baseline stage: runs baseline
- Engineer → Modernize verify: runs verification
- Controllers → Services: delegates requests
- Services → Repositories: accesses data
- Repositories → User and Product: persists entities
- Baseline stage → Coverage parser: parses JaCoCo
- Coverage parser → Baseline writer: returns metrics
- Baseline writer → Baseline snapshot: writes snapshot
- Baseline stage → Knowledge scanner: scans source
- Knowledge scanner → Knowledge gaps: appends findings
- Modernize verify → Knowledge scanner: rescans source
- Modernize verify → Spring Boot app: verifies build
- Modernize verify → Coverage gate: runs coverage checks
- Modernize verify → Mutation guardrails: runs mutation checks
- Concurrent dispatch → Knowledge scanner: dispatches scans
- Concurrent dispatch → Coverage parser: reads coverage
- Concurrent dispatch → Mutation guardrails: reads mutation results
- Concurrent dispatch → Pipeline timeline: writes timings
- Concurrent dispatch → Impact reporting: completes stages
- Impact reporting → Baseline snapshot: reads snapshot
- Impact reporting → Knowledge gaps: reads findings
- Impact reporting → Pipeline timeline: reads timings
- Impact reporting → Impact report: writes report