What problem does it solve?
Plan a refactor as an ordered, commit-grain Tasks Plan with structural acceptance criteria (test suite green at every step, no behaviour diff, named module/coupling invariants). Output is a feature-shaped plan that /night can execute end-to-end. Trigger when the user says "/refactor", asks "plan a refactor of X", "extract Y from Z", "split this module", "rename across the codebase", or describes a structural change with no user-visible feature behind it.
Core Features & Use Cases
- The planner produces a Tasks Plan composed of commit-grain tasks, each with acceptance criteria that guarantee tests stay green and the overall behaviour remains unchanged.
- It enables end-to-end execution via /night, providing a clear hand-off between planning, execution gates, and PR workflow for structural changes.
- It supports triggers based on natural-language prompts to initiate planning of refactors such as module extraction, renames, or dependency cleanups.
Quick Start
Say /refactor with your goal to generate a deterministic, commit-grain Tasks Plan that keeps main green.