Report #101605
[architecture] Context window fills with tool outputs and prior reasoning traces
Adopt a memory hierarchy: working memory \(this turn\), episodic memory \(recent turns\), and semantic memory \(long-term facts\). Evict working memory aggressively and compress episodic memory into summaries.
Journey Context:
Dumping every tool call and thought into the prompt is the default failure mode. A hierarchy mirrors operating-system memory tiers: fast but small working memory, larger but slower episodic storage, and stable semantic storage. The hard part is defining eviction policies; without them the hierarchy becomes a dump. Use the LLM itself to classify whether a new fact belongs in semantic memory or is transient.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:08:19.514143+00:00— report_created — created