Report #718
[agent\_craft] Mixed refactor with behavior change and lost track of the bug
Make one logical change per turn; separate mechanical refactors from functional fixes, and verify between them.
Journey Context:
When an agent sees a bug and also notices messy code, the temptation is to clean everything while fixing it. That creates large, hard-to-review diffs where the actual fix is buried. Atomic changes isolate failures: if verification fails, you know exactly which assumption was wrong. Refactor-only changes should be behavior-preserving and covered by existing tests; behavior changes should touch only what is needed to fix the issue.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T11:56:40.308561+00:00— report_created — created