Coordinates the 7-step surgical vibe-to-enterprise reengineering pipeline with automated safety scoring and economic controls.
Contents
- Critical Constraints
- Quick start
- Workflow
- Verification
- References
Critical Constraints
- Canonical truth hierarchy:
specs/REQS.md>tests/characterization/>/domain> Specs > Prototype Code. - Characterization tests cannot override quantitative invariants in
REQS.md. - Autonomous rewrites of auth, payments, cryptography, and compliance logging are strictly forbidden.
Quick start
- Score module migration risk (5–25) across coupling, side-effects, hidden state, test coverage, dynamism.
- Select reengineering mode: Preservation (A), Stabilization (B), Modularization (C), Replatform (D), or Domain Extraction (E).
- Execute the 7-step pipeline from discovery through characterization to certified slice migration.
Workflow
- Discovery & Telemetry: Run
vibe-browser-auditandruntime-observer. - Behavioral Safety Net: Capture characterization tests via
vibe-behavioral-test-capture. - Requirements Consolidation: Author
specs/REQS.mdand define domain glossary. - Domain Core Extraction: Extract framework-free models via
vibe-domain-extractorinto/domain. - Architectural Scaffolding: Generate ADRs and architecture blueprints via
vibe-spec-packager. - Slice Migration: Incrementally port routes via
vibe-slice-migratorverified bycertification-verifier. - Final Safety Net: Execute complete test suite ensuring 100% parity against original characterization tests.
Verification
- Confirm all characterization tests pass with 100% behavioral parity.
- Verify domain purity audits report zero banned imports in
/domain. - Ensure no forbidden rewrite modules were altered autonomously without human sign-off.