What problem does it solve?
Prevents behaviour changes while restructuring code by enforcing a green test baseline, isolation of refactor moves into atomic commits, and a final evidence report that proves what stayed the same.
Core Features & Use Cases
- Behaviour-preserving refactor orchestration that produces a sequence of small refactor commits that keep the test suite green.
- Automatic characterization-test safety nets for thin coverage, including a dedicated test commit phase before any refactor.
- Blast-radius mapping and a human-approval checkpoint so you see scope impact and plan steps before execution.
- Public API and dependency/pattern change protection, with out-of-scope work deferred to FOLLOWUPS.md.
Quick Start
Run garura:refactor for a specific target scope and restructuring goal, providing constraints, an out-of-scope list, and a time-box, so it pins the baseline with tests and generates an approval-ready refactor plan.