We posted show the same day to solve the similar problems.
My solution https://news.ycombinator.com/item?id=47172238 (unfucked.ai) works with any agent and any file in the folder whether it's edited by the agent or anyone by tracking all file writes.
Amazing how this problem was top of mind for all of us at the same time!
That same concept utilizing a cow filesystem would be neat I think, you'd be able to skip your hashing and replace the sqlite with hardlinks, effectively versioning passively whenever something was written to
But now that I think about it, its too obvious not to exist already. Probably just dont know about it yet •́ ‿ , •̀
We posted show the same day to solve the similar problems.
My solution https://news.ycombinator.com/item?id=47172238 (unfucked.ai) works with any agent and any file in the folder whether it's edited by the agent or anyone by tracking all file writes.
Amazing how this problem was top of mind for all of us at the same time!