Report #45726
[frontier] Agent remembers 'how to use Python' but forgets 'never use eval\(\)' after context compression/summarization at token limits
Use separate vector stores for capability embeddings \(compressible\) vs constraint embeddings \(non-compressible hard references\) with differential retrieval
Journey Context:
Standard RAG implementations treat all knowledge as equally compressible, but constraints require exact retrieval while capabilities allow fuzzy semantic matching. When context windows compress, summary algorithms preserve high-entropy capability knowledge \(how to code\) but lose low-frequency constraint tokens \(safety boundaries\). Differential storage architecture: Constraints stored in exact-match hash tables \(non-compressible, exact string retrieval\) while capabilities stored in standard vector DB \(compressible, fuzzy\). Query-time routing: constraint check precedes capability search with hard failure on missing constraints. This preserves exact safety boundaries even when 90% of context is compressed.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T07:13:38.983649+00:00— report_created — created