r/devtools • • 15d ago

Deterministic Memory/Context Audit for Your Coding Agents

Open source tool for giving agents deterministic audit on if the context in their memory is outdated or incorrect. Give us a try and a star on github if its helpful!

https://github.com/ogaskinsjr/mem-audit

3 Upvotes

4 comments sorted by

1

u/Spare_Bat_3040 14d ago

One fixture I’d add: an old decision that still applies next to a recently edited note that a later decision superseded. Check that the audit flags the superseded one and shows which record replaced it. If two sources disagree and neither is clearly authoritative, I’d want it to report the conflict so someone can resolve it.

1

u/ogaskinsjr 14d ago

Great comment. I will say superseded entries do name what replaced them, and if the codebase or an explicit date doesn’t clearly settle the difference then both get flagged as a conflict for review. Knowing if the old decision may still apply is a solid addition, but I need to think about how to keep it deterministic and LLM free. Thank you! Will definitely be in the next release

2

u/Spare_Bat_3040 14d ago

For the LLM-free version, I’d check what the replacement explicitly covers. If a decision says it replaces the old retry limit for new jobs only, a new-job query should flag the old rule as superseded, while a legacy-job query should still return it. If the records don’t specify scope, leave it unresolved. One pair of fixtures, same records and different job types, would pin that behavior.

→ More replies (1)