Observation Is Locking: When Should LLM Agents Refuse to Look?

A study reveals that LLM agents struggle to foresee the observational side effect of 'reading is locking'; dense reminders partially mitigate this but with a model-capability threshold.
'Seen Is Set in Stone' investigates whether language-model agents can make correct decisions in scenarios with irreversible observational side effects. Across 60 trap-record worlds, DeepSeek Flash rarely falls into traps, while Claude Haiku 5.5, GPT-6 Luna, Claude Sonnet 5.5, and GPT-4o-mini read trap records in a quarter to three-quarters of rounds and failed. The first three can act optimally without locking, indicating a failure of prospective inhibition rather than reasoning. Rule-level reminders cut trap reading by one-third to one-half; per-record reminders nearly eliminate errors; GPT-4o-mini shows no improvement, suggesting a capability threshold.
Introduction: When a Single Glance Becomes an Irreversible Cost
In most agent benchmarks, observation is assumed to be a safe operation—reading a record may cost time or money, but it never makes any option disappear. In the real world, however, acquiring information often comes with side effects: once you have looked at a fact, it may become "locked" and can no longer be changed. A study titled Seen Is Set in Stone: Do LLM Agents Know When Not to Look? zeroes in on exactly this blind spot, testing whether language-model agents can resist looking at the critical moment.

The study designs an elegant test environment: the agent can read a record and is then granted a single opportunity to travel back in time; but anything already read stays true, so reading a record may lock in a fact that was supposed to change. The testbed contains 60 audited worlds spanning three families, each paired with an exact solver. The results reveal an unsettling pattern: several mainstream models repeatedly fail when they need to avoid reading trap records, and simple reminders significantly improve performance—but not for every model.
Test Design: The Game of Time Travel and Fact Locking
The core mechanism of the study is not complicated, yet it strikes directly at the heart of agent decision-making. The agent faces a series of records and can choose to read or skip each one. The read operation itself is safe, but the problem is this: after reading, the agent gets one chance to travel back in time and modify a fact in the past. However, the facts contained in any record that has already been read are "set in stone"—no matter what happens after the time travel, that fact cannot be changed. This means that if the agent reads the very record it later needs to modify, it has single-handedly given up its most important option.
The 60 worlds in the testbed are divided into three families, and each world is audited to guarantee the presence of an explicit trap record. An exact solver provides the optimal policy for each world, allowing the researchers to measure the agent's performance deviation precisely. This design upgrades the "cost of observation" from the traditional resource consumption (time, money) to "option elimination," which is closer to certain real-world scenarios: for example, in a negotiation, once you learn a quote in advance, you can no longer "pretend not to know" in order to push for better terms; or when debugging code, once you inspect an intermediate state, you can no longer fall back to the hypothesis space you had before observing.
Time travel and fact locking are the two core components of the experimental mechanism in this paper. Time travel refers to the agent receiving a single "return to the past" opportunity after completing a round of reading, at which point it can re-choose the value of some fact; fact locking stipulates that the contents of any record that has already been read cannot be changed after the time travel. This pair of mechanisms transforms the traditional "observe–act" decision into a three-stage game of "observe–lock–travel back," giving the act of reading itself an irreversible option-elimination effect. From a decision-theoretic perspective, this resembles "irreversible investment" or the "sunk cost of information acquisition": once information is acquired, the strategy space that existed only in the unacquired state is lost. The researchers use an exact solver to compute the optimal policy for each world precisely in order to distinguish between two fundamentally different sources of error: "failing because of insufficient reasoning ability" versus "failing because of a lack of prospective inhibition."
Model Performance: Who Fell into the Trap, and Who Avoided It?
The experimental results show clear differences across models. According to the original paper's data, DeepSeekAd Flash "rarely reads trap records," exhibiting strong restraint. In contrast, Claude Haiku 5.5, GPT-6 Luna, Claude Sonnet 5.5, and GPT-4o-mini read trap records in a quarter to three-quarters of rounds, causing the task to fail. In other words, in more than a certain proportion of tests, these models failed to foresee the consequences of "reading is locking."
More interestingly, the first three models (Claude Haiku 5.5, GPT-6 Luna, Claude Sonnet 5.5) are able to achieve optimal performance when there is no locking mechanism, and they do read the records they actually need. This shows that they do not misunderstand the task; rather, they fail to strike the right trade-off between "needing to read" and "needing to preserve the right to modify." After falling into a trap, they almost always abandon the locked modification, or attempt to modify it while declaring "this will fail"—the latter meaning that although the model knows the fact has been locked, it still performs an action that is doomed to be ineffective.
GPT-4o-mini struggles even more: no intervention helps it improve. This suggests that smaller or older models may have a fundamental deficit at the metacognitive level, preventing them from effectively using reminders to correct their behavior.
Metacognition in the agent context refers to the model's ability to monitor and regulate its own cognitive processes, including "knowing what it knows" and "knowing when it should not take a certain cognitive action." The "prospective inhibition" examined in this paper is precisely a subcomponent of metacognition: before reading a record, the model must proactively assess "whether this observation will eliminate my option to modify that fact in the future." This differs from the reasoning and planning abilities examined in traditional benchmarks—the latter focus on "can you compute the correct answer given the information," while the former focuses on "are you aware that acquiring the information itself changes the structure of the problem." GPT-4o-mini shows no improvement under any reminder intervention, suggesting that metacognitive ability may have a threshold related to model scale or training method; meanwhile, the first three models "can infer what will be locked yet cannot consistently remember it," indicating a dissociation between metacognitive "knowledge" and "execution," analogous to the gap in human psychology between "knowing a rule" and "applying it in context."
The Power of Reminders: What Can a Single Sentence Change?
The most practically valuable finding in the study comes from the reminder intervention. After adding a single reminder to the rules (for example, "reading a record locks that fact"), the first three models' trap-reading behavior decreased by one-third to one-half. When the same reminder appeared on every record, most trap readings were eliminated, an effect "comparable to notes that directly state what each record locks."
This result reveals a key insight: these models are able to infer what a given record will lock, but this inference reliably translates into action only when they are reminded at each record. In other words, the models possess the capacity to "know," but lack the stability to "consistently remember." The role of the reminder is not to provide new information but to maintain an anchor for attention.
Interestingly, GPT-4o-mini is indifferent to any intervention, showing that the effectiveness of reminders has a threshold tied to model capability. In addition, the study verifies the robustness of the effect: after rewording the rules, the above phenomena still hold, ruling out incidental results caused by specific phrasing.
Prompt injection and attention anchors: The reminder intervention in this paper is essentially a lightweight prompt-engineering technique—inserting a natural-language warning into the system prompt or next to each record, without modifying model weights or task structure. The study finds that rule-level reminders only partially reduce trap reading, whereas per-record reminders almost completely eliminate errors. This difference can be explained by "attention decay": in long contexts or multi-step decisions, the model's attention to early rules is diluted as steps progress, and per-record reminders essentially re-anchor attention at every decision point. Notably, the reminders do not provide information the model did not already know (the first three models can already infer what will be locked); their effect is purely to maintain the persistence of attention. This differs from the mechanisms of "chain-of-thought prompting" or "self-reflection prompting": the latter attempt to elicit new reasoning steps, whereas the former merely prevents existing knowledge from being forgotten over time. This finding has a direct implication for agent deployment: in scenarios dense with irreversible operations, binding key constraints to each operation point is more reliable than stating them once in the system prompt.
Analysis and Implications: The Metacognitive Shortcoming of Agents
The significance of this study extends beyond a single benchmark. It points out a systemic blind spot in current agent evaluation systems: we assume by default that observation is free and side-effect-free, but in real decision-making, information acquisition often changes the structure of the game. A model that can score highly on standard tasks may make irreversible mistakes in scenarios where "observation is action."
Judging from model behavior, the failure mode does not stem from a lack of logical reasoning ability—the first three models can act optimally when there is no locking, and they can correctly recognize the locked state after reading a trap. The problem lies in "prospective inhibition": the model struggles to proactively assess, before acting, "whether this observation will eliminate my key option." This resembles the situation in which humans regret impulsively checking a phone message, but humans can constrain themselves through habits or external rules, whereas models currently can only rely on dense reminders.
For agent developers, a direct recommendation is this: in tasks involving irreversible observation, inject "the side effects of observation" into the prompt as an explicit rule, and preferably repeat the reminder before every operation that might trigger locking. At the same time, when selecting a model, consider its responsiveness to metacognitive reminders—not every model can benefit from a single warning.
Conclusion
Seen Is Set in Stone uses a clean experimental design to raise a question worth pondering: do agents know when they should not look? For now, the answer is no—at least for most models. They can learn the rules but struggle to remember the boundaries of the rules at every step. Reminders can alleviate this but cannot cure it. This may point toward a more fundamental direction: future agent architectures need built-in modeling of the "cost of observation," rather than merely responding passively to external reminders.
One-line Summary
A study reveals that LLM agents struggle to foresee the observational side effect of "reading is locking"; dense reminders partially mitigate this but there is a model-capability threshold.
Paragraph Summary
Seen Is Set in Stone investigates whether language-model agents can make correct decisions in scenarios where "observation has irreversible side effects." The study constructs 60 worlds containing trap records; after reading a record, the agent gets a chance to travel back in time, but the fact that has been read is locked and cannot be modified. Results show that DeepSeek Flash rarely falls into traps, while Claude Haiku 5.5, GPT-6 Luna, Claude Sonnet 5.5, and GPT-4o-mini read trap records in a quarter to three-quarters of rounds and failed. The first three models can act optimally without the locking mechanism, indicating that the failure stems from a lack of prospective inhibition rather than insufficient reasoning ability. Rule-level reminders reduce trap reading by one-third to one-half, and per-record reminders almost completely eliminate errors; GPT-4o-mini shows no improvement under any intervention, suggesting a capability threshold for the effectiveness of reminders.
Related articles

Jensen Huang Testifies Before Congress: Key Takeaways on Chip Export Controls
NVIDIA CEO Jensen Huang faces questioning from the U.S. House Foreign Affairs Committee on AI chip export controls, commercial interests, and national security.

Tencent WorkBuddy in Practice: Building an AI Automated Testing Workbench with SKILL Capabilities
Based on Bilibili creator Baili Yang's sharing, this article analyzes how Tencent WorkBuddy AI agent desktop workbench can be used for automated testing: the shift from AI-assisted to AI-led, the relationship among large models, agents, and SKILL capabilities, zero-configuration installation and permission control, and practical ideas for building a personal AI automated testing workbench.

Adding Authentication to Remix SaaS Apps: A Practical Guide to WorkOS AuthKit
Based on the official WorkOS AuthKit guide, this article covers the full approach to integrating authentication in Remix or React Router SaaS apps, including session management, protected routes, multi-tenant organizations, enterprise SSO, and SCIM sync, and analyzes its engineering value for SaaS teams.