Report #88307
[frontier] Ephemeral tool errors accumulate as permanent agent beliefs \(e.g., 'database is read-only' persists after fix\)
Wrap tool outputs in XML tags: for temporary state, for schema changes; strip blocks during context compression
Journey Context:
LLMs can't distinguish between 'the API returned an error' and 'the world is now different.' Without explicit temporal tagging, the model treats every tool result as ground truth indefinitely. XML delimiters survive tokenization better than JSON comments, and explicit stripping during summarization prevents shadow state accumulation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T06:48:18.356960+00:00— report_created — created