Project memory for AI agents

When I hand work to another AI session, I want it to find the current decision, the evidence behind it and the check that would prove it wrong. I keep that information near the code so I can follow the same trail during review.

Keep current decisions separate from work history

I keep short, durable guidance for what still applies. Work history records what I tried, what failed and which tests ran. I link a durable entry to the relevant change or test result so a later session can check it against the current code.

When a decision changes, I mark the old entry as superseded and point to its replacement. Imagine a service that first required retries to stop after one attempt. If a later release introduces safe deduplication, an agent should find the new policy and still be able to explain which version used the old one.

Use a handoff that another session can verify

Decision
What applies now and which component or version it applies to.
Evidence
The code, test or source that supports it, including any unresolved contradiction.
Invalidation condition
The change that should trigger a fresh check.
Next check
The smallest concrete action that confirms the decision still holds.

Test updates and missing information

I start a new session with the project notes and ask three questions. What applies now? What applied before the change? What can you establish about a case the notes never covered? I check that the answers cite the right evidence and that the last answer identifies the gap.

LongMemEval distinguishes knowledge updates, temporal reasoning and abstention. Those distinctions are useful when old decisions still appear in search results alongside current guidance.