How vikramadityatheking/legacy-codebase-modernizer works
This repository is a browser-hosted legacy-code modernization demo. A user supplies or selects legacy source, the UI classifies it, and a documented four-agent workflow extracts business logic, generates Python/FastAPI, reviews security, and validates parity. Security findings can return the candidate to the Architect for revision. The UI presents generated code and review artifacts alongside architecture, metrics, evaluation, and deliverables tabs. The README is the only available relationship evidence; implementation details and internal call paths in index.html could not be verified.
Main entry points: index.html Code workspace · samples Legacy sample library
Components 17
Browser workspace
- Code workspace
index.html - Source classifier
index.html - Results dashboard
index.html
Modernization agents
- Archeologist
index.html - Structured logic map
index.html - Architect
index.html - Python / FastAPI output
index.html
Review and results
- Security Warden
index.html - Security findings
index.html - Validation Critic
index.html - Parity and drift review
index.html - Review artifacts
index.html - Metrics and evaluation
index.html - Deliverables tab
index.html
Model and inputs
- Legacy sample library
samples - Gemini API
Other components
- User
Connections 19
- User → Code workspace: provides source
README.md - Legacy sample library → Code workspace: loads sample
README.md - Code workspace → Source classifier: classifies source
README.md - Source classifier → Archeologist: routes source
README.md - Archeologist → Structured logic map: extracts rules
README.md - Structured logic map → Architect: hands off
README.md - Architect → Python / FastAPI output: generates code
README.md - Python / FastAPI output → Security Warden: submits candidate
README.md - Security Warden → Security findings: produces review
README.md - Security findings → Architect: returns for remediation
README.md - Python / FastAPI output → Validation Critic: reviews revised output
README.md - Validation Critic → Parity and drift review: checks parity
README.md - Python / FastAPI output → Results dashboard: surfaces output
README.md - Security findings → Review artifacts: surfaces review
README.md - Parity and drift review → Review artifacts: surfaces review
README.md - Results dashboard → Metrics and evaluation: shows metrics
README.md - Results dashboard → Deliverables tab: shows deliverables
README.md - Code workspace → Gemini API: calls generateContent
README.md - Code workspace → Gemini API: refreshes models
README.md