Skip to content

Commit 43e645a

Browse files
committed
docs: document retention tiers for agent memory
1 parent 72aee59 commit 43e645a

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

docs/retention-policy.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Retention Policy
2+
3+
Engram mixes hot retrieval, deduplication, and pruning. The storage policy should stay easy to reason about so memory quality does not drift over time.
4+
5+
## Hot tier
6+
7+
- Keep recent facts that are still likely to affect the next agent decision.
8+
- Prefer concise entries with clear timestamps and sources.
9+
- Rewrite duplicates into one stronger entry instead of stacking near-copies.
10+
11+
## Warm tier
12+
13+
- Move items here when they still matter for context but no longer need first-page retrieval.
14+
- Keep relationship pointers so the retrieval layer can promote them again if they become relevant.
15+
16+
## Cold or expired
17+
18+
- Demote notes that have not been referenced and no longer change behavior.
19+
- Drop low-signal fragments that fail both retrieval usefulness and audit value.
20+
21+
## Operator rule
22+
23+
A memory item should survive only if it changes what the agent would do next or explains why a past decision happened.

0 commit comments

Comments
 (0)