What problem does it solve?
Reversa-writer transforms extracted legacy knowledge into formal, traceable specifications that an AI agent can use to reimplement functionality without needing the original code.
Core Features & Use Cases
- Folder-per-unit contract generation: Produces per-unit output with requirements.md, design.md, and tasks.md in the configured output folder.
- Granularity-aware unit structure: Generates specs by module, endpoint, use-case, hybrid module+use-cases, feature, or custom folders based on config.toml and surface.json.
- Controlled output completeness: Conditionally adds optional artifacts such as contracts.md, flows.md, edge-cases.md, decisions.md, and questions.md according to doc_level and discovered context.
Quick Start
Run reversa-writer after Reversa extraction artifacts are present so it reads .reversa/state.json, .reversa/config.toml (and config.user.toml if present), and .reversa/context/surface.json, then generates unit specification folders under the configured output_folder.