logoalt Hacker News

causaltoday at 6:58 PM6 repliesview on HN

I'm amazed at how much of what my past employers would call trade secrets are just being shipped in the source. Including comments that just plainly state the whole business backstory of certain decisions. It's like they discarded all release harnesses and project tracking and just YOLO'd everything into the codebase itself.

Edit: Everyone is responding "comments are good" and I can't tell if any of you actually read TFA or not

> “BQ 2026-03-10: 1,279 sessions had 50+ consecutive failures (up to 3,272) in a single session, wasting ~250K API calls/day globally.”

This is just revealing operational details the agent doesn't need to know to set `MAX_CONSECUTIVE_AUTOCOMPACT_FAILURES = 3`


Replies

CharlieDigitaltoday at 7:06 PM

Comments are the ultimate agent coding hack. If you're not using comments, you're doing agent coding wrong.

Why? Agents may or may not read docs. It may or may not use skills or tools. It will always read comments "in the line of sight" of the task.

You get free long term agent memory with zero infrastructure.

show 5 replies
semiquavertoday at 8:17 PM

Most large private codebases look like this. Anthropic did not expect the source to leak.

JambalayaJimbotoday at 7:14 PM

I guess they weren't expecting a leak of the source code? It's very handy to have as much as possible available in the codebase itself.

pixl97today at 7:00 PM

Project trackers come and go, but code is forever, hopefully?

yaloktoday at 8:43 PM

vibe-coded all the way through

treexstoday at 7:13 PM

well yeah since they tell claude code the business decisions and it creates the comments