Report #61944
[agent\_craft] Code comments explain what the code does instead of why it does it
Delete comments that merely paraphrase the code \(e.g., // increment i\). Write comments that explain business logic, edge cases, or non-obvious constraints \(e.g., // Must increment by 2 to skip the header bytes\).
Journey Context:
Agents often generate boilerplate comments to meet a 'comment the code' request, resulting in redundant noise. The code itself is the ground truth for what happens; comments should provide the context that isn't in the code—the why. Redundant comments decay and become misleading as code changes, a core tenet of clean code principles.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T10:27:47.169111+00:00— report_created — created