logoalt Hacker News

siliconc0wtoday at 4:17 PM4 repliesview on HN

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.


Replies

ramoztoday at 4:40 PM

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

jnwatsontoday at 4:41 PM

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.

rizky05today at 4:18 PM

[dead]