My agent's context window holds its history — why does it still miss what's actually in there?
5 min read
Because "in the context window" and "in the answer" are two different claims, and the gap between them is where the bug lives. The item is on the page the model was shown. The model did not use it. The question is not whether the window is big enough — it is why a fact sitting in visible text failed to cross from present to operative.
The first thing to do when this happens is split the failure into its two possible kinds, because they have different fixes and sending the user to the wrong layer wastes time.
The first kind is a window-content failure: the item was never in the assembled payload. Your tool returned three results, the conversation was truncated at a token limit, or a system prompt overrode a user instruction and the item got cut. The fix is at the plumbing layer — check what was actually sent, not what you assume was sent. Log the prompt. Look at the raw bytes. If the fact is not there, no amount of prompt engineering will recover it.
The second kind is a retrieval/salience failure: the item is in the visible context, the model has access to it, and it still does not surface under the current framing. The fact is buried in a long paragraph, it is phrased in a way the model's attention weights do not pick up, or it sits at low positional priority and gets outranked by more recent or more prominent tokens. The fix is at the presentation layer — how the item is placed, restated, and signalled as load-bearing.
Distinguishing the two is the method. Take the item that went missing and present it in three different forms, then observe which form makes it appear in the answer.
Form one: leave it exactly where it is. Mid-paragraph, no emphasis, no restatement. This is your baseline — if it already fails here, you know the problem is present-but-unseen.
Form two: restate it as a plain, standalone sentence. "The budget is AED 3,700." No surrounding context, no hedging, no subordinate clause doing the work. This tests whether the item was there but not salient enough to be parsed.
Form three: name it as the thing that must not change. "The budget is AED 3,700. This number is fixed and must be preserved in any answer." This tests whether the failure was a priority-weighting problem — the model read the item but treated it as one more detail among many rather than as a constraint.
If the miss survives form two and form three — the fact is present, plain, and explicitly flagged, and the model still does not use it — then it is a content problem. The item was not in what you sent, no matter what you thought the window held. If the miss resolves under form two or three, it is a presentation problem. The fact was there; the framing did not carry it.
This is my proposed diagnostic, not a measured result from any single paper. It works because it isolates the variable: you are not changing the fact, only its presentation and priority, and you are watching which change produces the fix.
The structural intuition that makes this worth checking comes from a recent preprint on speculative decoding — Zeng and Zanette's "Speculative Decoding Is Less Speculative Than You Think" (arXiv:2611.27891, submitted 20 November 2026, v1, no peer review, no independent replication). Its subject is how a drafter allocates limited computation across the candidate continuations a target model might generate. The transferable observation is narrow: how computation is distributed over visible tokens at inference time is a designed engineering step, not a neutral pass-through. A model does not attend uniformly to everything in its window. It allocates. That allocation is a variable, and the variable has a direction — which means the way you place an item in the context can change whether it gets the computation it needs to survive into the answer. The paper supports exactly that structural point and nothing more. It does not measure whether any particular user's context item will or will not surface, and its empirical scope is decoding throughput, not retrieval fidelity.
Source: Speculative Decoding Is Less Speculative Than You Think
The SentX model card states, as product guidance for Victoria specifically, that the brief works best when it says what must not change, when it names which part of a multi-part task matters most, and that users should repeat details that must remain exact. These are not accuracy guarantees — the card is a first-party product disclosure, not an independent certification, and it states plainly that answers can contain incorrect facts and citations. But as a user-side practice, "declare the must-survive items and signal priority" is the presentation half of the fix above, expressed in the language of how you write the prompt rather than how you build the retrieval pipeline. If your agent's context is the window, your brief is the salience knob.
Source: Victoria AI Model Card: Evidence and Known Limits
The limit on all of this is straightforward: the restatement test tells you which layer the failure is in, not why the model's attention allocation is what it is. That is a different investigation, and for most deployments the practical answer is the same either way — if the fact must survive, do not let one buried sentence be the only thing carrying it. State it plainly. Name it as fixed. If that does not make it appear, the problem is not in the window. It is in what you sent.
Sources
- Speculative Decoding Is Less Speculative Than You Think — arXiv (Zeng & Zanette)
Supported claims and limits
- v1 preprint submitted 20 Nov 2026, labeled Preprint, no peer-review or replication status stated
- Subject is decoding efficiency: how limited drafting computation anticipates the target's path and how DICE allocates computation toward continuations more likely to be used, not context utilisation or retrieval fidelity
- Victoria AI Model Card: Evidence and Known Limits — SentX
Supported claims and limits
- Card states Victoria works best when the brief names what must not change and which part of a multi-part task matters most; users should repeat details that must remain exact
- Card is a first-party product disclosure, not an independent certification; it states answers can contain incorrect facts, citations or calculations