Orch Refine Code orchestrates a behavior-preserving refactor where existing tests serve as the safety net while code structure is improved. It confirms tests are green before touching code, plans the restructure, and executes small steps like extracting modules, removing duplication, killing dead code, reducing nesting, and renaming for clarity. It delegates dead-code and duplication sweeps to the refactor-cleaner agent and stops at restructure plan and pre-commit gates. Reach for it when code structure should improve without changing any behavior.
Key Features
Behavior-neutral restructuring steps
Pre-restructure test verification and gated checkpoints
Privacy & Security
Data Collection
This tool follows industry-standard security practices and only collects data necessary for functionality.