3 ms·
This happens with everything LLMs write - code comments, readmes, user facing UI text, etc. It just can't help but include every irrelevant detail from the cont
by stratts 2mo ago
This happens with everything LLMs write - code comments, readmes, user facing UI text, etc. It just can't help but include every irrelevant detail from the context.
It's definitely gotten worse over time as well. Looking at older README files I generated using Opus/Sonnet 4.5, its actually quite shocking how clear and concise they are. Whereas eg, Opus 5 will write paragraphs and paragraphs about random things I prompted, or a partial solution that was then scrapped for something else.
My theory is that the increasing strength in performing long-context tasks has led to this particular quirk.
- viccis 2mo ago>It just can't help but include every irrelevant detail from the context. The worst is when it walked through a dozen or so questions, and it decides to litter comments with "Per answer 7, ..." with no further context.
- black_knight 2mo agoI have in my Claude.md that comments must be diegetic, if needed at all. This seems to have helped. And it is then something which gets checked by agents in code review.
- killix 2mo ago[flagged]