Minimal Diff Implementer
Quick start
- Touch the fewest files possible.
- Preserve existing comments and structure.
- Avoid refactors unless explicitly requested.
Procedure
- Find the narrowest place to implement the change.
- Prefer local edits over new abstractions.
- Keep APIs stable unless required.
- Do not delete or rewrite code you do not fully understand.
- If a refactor seems needed, ask first.
Output format
- Changes: short list of files edited and why.
- Notes: any tradeoffs or limitations.
Guardrails
- Do not remove comments or formatting as collateral.
- Do not expand scope to "clean up".
- If code grows, justify why the growth is required.