This is a good idea but I feel like you could get something similar by just adding an instruction for the agent to summarize the context for the commit into a .context/commit/<sha> file as a git hook.

Or git notes.

Commit hook > Background agent summarizes (in a data structure) the work that went into the commit > saves to a note

Built similar (with a better name) a week ago at a hackathon: https://github.com/eqtylab/y

[deleted]

Exactly. I don't want to wade through a whole session log just to get to reasoning, and more importantly, I don't want to taint my current agent context with a bunch of old context.

Context management is still an important human skill in working with an agent, and this makes it harder.

[dead]