Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Good question, this was actualy the biggest problem!

The why is stored in 3 places:

1. In the repository. We use Keep the Why: every decision that is not obvious will become an entry in context/ with the reason next to the code - https://github.com/oliver-zehentleitner/maity/tree/main/cont... - a linter in CI proofs it. An agent which use this files is reading the why. That survives every compaction, because its not in the agent context but in the repo. CI renders this to a read only dashboard for humans: https://maity.dev/keep-the-why-dashboard I like this because every agent with access to the code has also access to the full project memory, so agents even if they dont know each other can share all relevant information with no extra infrastructure.

2. On the card. The agent that claimed writes checkpoints and notes into the card. Reviews are added as messages to the card. Everyone who takes the card sees the full history.

3. In the memory of the Hub. Every agent has an own memory and additional a role memory. For example all reviewer share one role memory. After compaction the agent has a resume command that sends over a full briefing.

Is this enough? In most cases yes. It lacks if an agent does not write down something important. Therefore we have a lead agent who cares that nothing important is only stored in the chat. There is also a role "keep the why steward" who can care about this in big fleets. Since the "why" is always committed together with the code it helps the reviewers and the reviewers take care the coder delivers the needed "why".

 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: