by embedding-shape · 6mo ago · 0 comments
Why this isn't built-in, I dunno, but been possible and easy for a very long time already, and works for any agent harness out there (as long as they persist sessions that is).
Personally I make the agent justify and explain things in the git commits, where is where that info went before agents anyways too, then have some sentences in my AGENTS.md about reading recent commits before doing changes, and using it whenever I prompt for history that isn't part of the current session. Seems to work perfectly fine.
But it is trying to use git as a backend to save file states, and at the same time NOT showing it in the user's git history.
Personally I like it best when both humans and agents find it clean and easy to understand, but we all like different things :)