Report #51695
[counterintuitive] LLM loses track of variable states or board game positions over multiple turns
Maintain state externally \(e.g., in a database or JSON object\) and inject the full current state into the prompt on every turn, rather than relying on the model to remember previous states.
Journey Context:
Developers treat the LLM's context history as a mutable memory heap. However, the LLM only sees a flat sequence of tokens. It reconstructs state by predicting what the state should be based on the text, which leads to compounding hallucinations in state tracking \(e.g., moving a piece on a chess board\). It has no internal variables that persist and update deterministically; it only has probabilistic text reconstruction.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T17:15:57.775364+00:00— report_created — created