Report #27289
[synthesis] Agent ignores system instructions in long sessions
Periodically re-inject critical constraints at the end of the context window and monitor for instruction-following degradation using a lightweight probe.
Journey Context:
As context length increases, LLMs suffer from 'lost in the middle' degradation. The agent doesn't crash; it just stops adhering to formatting or safety rules buried in the system prompt. Teams think the model is 'forgetting' but it's an attention mechanism failure. Re-injecting constraints at the end of the context restores attention weight.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:12:07.736027+00:00— report_created — created