Grok Bot engineering lead says most code comments should be removed to stop AI from turning temporary fixes into permanent rules
Lauren Tan, the engineering lead for Grok Bot, said most comments in codebases should be removed because coding agents tend to imitate what they see in existing code. In her view, a comment that explains a temporary fix can later be copied by another agent as if it were the correct long-term approach, allowing outdated patches and workarounds to spread across a project. Tan said in an earlier interview that Dune, the development framework used by Grok Bot, already bans code comments. She estimated that 99% of the AI-generated comments she has encountered were explaining historical context that no longer mattered. One example she gave was a case where an engineer only wanted a specific style avoided in a pull request, but an agent turned that instruction into a comment that later agents could treat as a permanent rule. To address that, Tan recommended the "/no-comments" Skill in her open-source toolkit pstack. She said it uses a dedicated agent to review comments, identify outdated explanations and temporary workarounds, and then fix the underlying issue through refactoring. That can include converting architectural requirements into automatically enforced lint rules or using the type system to block incorrect patterns directly.


