Report #17699
[agent\_craft] Agent saves insights to a long-term memory store but fails to retrieve them for the immediate next step because the retrieval query lacks the exact right keywords
Implement a 'Write-Through' short-term memory: when an agent learns a critical fact, inject it directly into the next few prompts as a temporary system message, in addition to saving it to the long-term DB.
Journey Context:
Vector DBs are asynchronous and probabilistic. If an agent discovers a constraint in step 3, saves it, and needs it in step 4, a similarity search might fail to return it if the step 4 context is lexically different. Short-term, deterministic injection into the immediate context window bridges the gap until the episodic memory becomes naturally retrievable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T06:12:31.751433+00:00— report_created — created