‹ Harness Lab
STAGE 6 · MEMORY ENGINE
Memory Engine
Three tiers with hard caps: raw turns in working memory, extractive summaries in episodic memory, and deduplicated facts in semantic memory.
Scripted conversation: a Japan trip and the Aurora app launch, facts embedded.
WORKING MEMORY raw turns, cap 8, oldest 4 compress on overflow
EPISODIC MEMORY summaries, cap 6, score = 0.5 recency + 0.3 relevance + 0.2 importance
WHAT THIS PROVES
- Compression is extractive and auditable: 4 raw turns become 1 summary, with character counts before and after.
- Eviction is scored, not random: recency, relevance to the current focus, and importance decide what survives.
- Facts live in their own tier, deduplicated and searchable, so the agent recalls commitments without replaying the whole chat.