Legacy modernization · R&D in progress
Legacy Modernization Spec Factory
A read-only pipeline that inventories a legacy codebase, discovers business features and produces modernization specs. Every spec waits for human approval and is locked by a SHA-256 hash.
Why we built it
The problem
Legacy rewrites fail when teams rebuild what they do not understand. Business rules live in old code, forms and menus, and in the memory of a few people.
The Spec Factory is our research into the first, safest half of modernization: reading a legacy application, starting with Visual FoxPro, and turning it into specifications a person reviews and approves. It deliberately does not generate new code.
How it works
Step by step
- 01
Inventory
Read-only scan of the legacy repository to build a file inventory.
- 02
Discover features
Reconstruct a catalog of business features from the source.
- 03
Choose
A person selects which feature to specify next, from a dashboard.
- 04
Specify
A coding agent in read-only mode drafts a Feature Modernization Specification. Python validates the structured output and renders it as Markdown.
- 05
Approve
The specification is held for human review. Approval is recorded against a SHA-256 hash of the exact version approved.
Design choices
Decisions that matter
Read-only by design
The AI can read the legacy code but has no ability to change it.
Humans approve, hashes prove it
Each approved specification is tied to a SHA-256 hash, so any later change is detectable.
Validated, not trusted
AI output must pass schema validation before it is rendered. Reviews check source line citations.
Generation stays blocked
Ticket publishing and application code generation are intentionally not built until the specification step is proven.
Technology
Built with
- Python
- Streamlit dashboard
- Read-only coding agent
- JSON schema validation
- SHA-256 approvals
- 77 automated tests
What's next
Status: r&d in progress
- Run discovery against a full Visual FoxPro application with forms and menus
- Human review of the discovered feature catalog
- Tighten source line citations based on review findings
Have an AI use case that needs to work in production?
Book a 30-minute call with a senior engineer. You'll leave with a clear next step, whether or not we work together.