claude code source
Assuming it’s real, the claude code source is a pretty interesting read for all manner of roadmap and product reasons:
… But forget all that, here’s my favorite part of the code:
const negativePattern =
/\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|fucking? (broken|useless|terrible|awful|horrible)|fuck you|screw (this|you)|so frustrating|this sucks|damn it)\b/
I guess they are listening to all the profanity we (ok, I) sling at the LLM. Ha!
(link to file - may get taken down, but at this point the streisand effect is in full swing, so I’m sure some mirror will not be hard to find.)
Apr 2, 2026, 9:40 AM