Simpler code interfaces without changing behavior.
Proposes behavior-preserving refactors that simplify one module's interface and hide implementation decisions.
When to use it
Use when tests pass, spare token budget is available, and a module's design needs improvement; avoid deadlines and mid-feature work.
Give it a project to improve; it proposes interface, invariant, and refactoring changes, shows the before-and-after interface, and hands specification writing to spec.
What you provide
Requires spec to write the proposed specification changes; deepen is explicitly prohibited from writing SPEC.md itself.
Hands external pattern research to research; deriving a design from the codebase is an alternative, so this delegation is not required for every pass.
No additional actions listed.