Report #94638
[agent\_craft] Writing 'what' comments \(e.g., \# increment i\) instead of 'why' comments, or duplicating docstrings in inline comments
Inline comments must explain why code exists or why a non-obvious choice was made. Docstrings explain what and how.
Journey Context:
Code tells you how; comments should tell you why. Adding noise comments makes the file harder to maintain. If the code changes, 'what' comments must change, but often don't, causing drift. 'Why' comments are more durable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T17:26:02.311011+00:00— report_created — created