Report #1599
[architecture] Agent memorizes everything equally including failed attempts and trivial tool outputs
Only persist memories that represent learned heuristics, corrected errors, or key user preferences. Discard intermediate tool outputs and failed reasoning traces unless they contain a negative constraint \(e.g., 'API X does not support Y'\).
Journey Context:
Agents often save the raw output of every tool call. The context window is for working; long-term memory is for learning. If an agent tries a code fix and it fails, the valuable memory isn't the failing code, it's the reason it failed. Explicitly extracting 'lesson learned' before saving to long-term memory prevents the vector DB from filling up with junk that will be retrieved and confuse future runs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T04:31:49.831639+00:00— report_created — created