Symptom
Edits keep arriving with verbose comments after the project instructions and memory say not to add them. The linked issue does not give an error string.
Evidence what you'll see
- The report says a mandatory rule in
CLAUDE.mddoes not reliably stop it, and memory entries do not stop it either. - Examples in the report restate the code or narrate the chat. One of them is
CHANGED:style narration, and the report also showsAsked, never assumed — no path may fall back to the column default. - A comment says a direct request to remove the comments still leaves them in place.
Why it happens
The report's account is that verbose comments are the out-of-the-box default, and that default is stronger than a project instruction. There is no maintainer diagnosis on the issue. Instructions lose because the next edit is free to comment again. A check that runs on the edit itself can reject the new comments in that same turn, which a paragraph in CLAUDE.md cannot do.
Affected versions
The report's version field is 2.1.228. The linked issue does not name an operating system. The report says Accept Edits was on, and that it happens on every session.
Fix steps
0 of 3 done
Your check marks stay in this browser only.
How to check it worked
- Ask for a small change that would usually arrive commented. The hook comment says the edit is blocked with the
file:linelist and the comments are removed in that turn. The comment's own run of one prompt reported 15 comment lines without the hook and 2 with it.
If it still fails
- The issue is open. The linked issue does not name a release that changes the default.
- A comment says that pointing at the comments and asking for a cleanup still leaves them, including comments longer than the code they describe.
- The hook comment also offers
npx github:swarm-t3/nocomment statsto print, from local transcripts, what share of added lines are comments.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change
Hit an error we don't cover? Submit it