Comment by lifis

10 days ago

This seems easily solved with a tool use hook that calls git add .; git commit a -m "<tool description>", specifying an alternate .git directory if desired

but then you would have to commit each tool and action of the agents, which is polluting the git history and also huge overhead (at least imo)