1.1 KiB
1.1 KiB
name, description, scope
| name | description | scope |
|---|---|---|
| deepen | Simplify module interfaces while preserving behavior when asked to deepen modules, improve their design, or hide leaked implementation decisions. | global |
Deepen a module
- Inspect the target module, callers, and existing behavior checks. Identify the concrete complexity exposed to callers with file/line evidence.
- Choose the smallest interface improvement that hides a real decision. Keep existing behavior and contracts unless the user authorized changing them.
- Refactor the selected boundary without unrelated cleanup or speculative layers. Update an existing spec only if its contract is affected; do not require a spec.
- Verify affected behavior under shared verification. Distinguish pre-existing failures from regressions rather than requiring the entire repository to be green before starting.
- Show the interface change, complexity hidden, and verification result.
Do not activate merely because token budget remains. Improve the requested scope; keep dependent changes coherent rather than imposing an arbitrary one-module limit.