Report #102781
[synthesis] Long context pushes critical constraints out of the model's effective window
Keep a living 'invariant ledger' at the top of context: restate must-never-violate constraints before every substantive action, and expire old context aggressively rather than letting it push constraints downward.
Journey Context:
'Lost in the middle' shows middle positions degrade, but the agent failure is more specific: constraints and edge cases live in system prompts or early conversation turns, while recent tool outputs dominate attention. The model does not forget globally; it forgets structurally. Re-anchoring invariants before each action costs tokens but prevents constraint drift.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-09T05:27:25.304815+00:00— report_created — created