Hacker News new | ask | show | jobs
by smarkov 49 days ago
> In May 2026, Anthropic averaged around 2,500 code changes merged per day; as of September, we merged over 30,000 per day.

> The history of our main branch alone is almost 100 GB

What value do you get from carrying around all of that history? Your code is changing so rapidly that it looks absolutely nothing like it did a year ago, so at what point are you going to want to see what it looked like back then and every single change that happened to it since? Wouldn't you benefit more from creating a tool that can semantically truncate history entries that are no longer relevant, since even with scn your history will continue to grow out of control?

2 comments

Legal argument is already a strong one, but I feel that the training data in there must be invaluable. Such a mass of shipped features, regressions, refactors, complete rewrites and pivots, all with full internal history, is a goldmine. Whether archiving and switching branch might be in order, that's a fair discussion though.
I think your lawyers might have a word with you, too. Source code history is more than just a record for developers. It's also a historic record that can become relevant in legal disputes.
While true, if the 100GB of history that isn't important anymore is dragging you down, create a new repo with today's code and move from there, then archive the old history for e.g. legal reasons.
Relevant, yes. Advantageous, maybe.

If you're Anthropic, you probably don't want a 100Gb of haystack lying around in which a damning needle might be found.