logoalt Hacker News

mehmetkeremmtlyesterday at 7:24 PM2 repliesview on HN

The versioned filesystem is exactly what's missing when agents hallucinate and go off the rails. How fast are the rollbacks if an agent completely messes up the directory state?


Replies

ozkatztoday at 1:18 AM

very very fast: proportional to the count of objects modified, but not their size. Every commit represents a snapshot - an immutable listing of objects that represents the repository. reverting is essentially applying the inverse of the diff introduced by the reverted commit.

This is metadata only as the objects themselves are immutable.

gitaariktoday at 4:04 AM

Wasn't git invented for these kinds of things?