Report #79915
[frontier] Agent forgets hard constraints after 30\+ turns while retaining API capabilities
Implement midpoint system prompt reinjection: re-inject the exact original system prompt at position N/2 in the context window every N turns, weighted by attention bias
Journey Context:
The 'Lost in the Middle' phenomenon shows models ignore middle context. Agents suffer 'Constraint Amnesia' in middle positions but retain capabilities in recent tokens. Simple appending fails because attention decays. Midpoint reinjection forces the model to re-attend to constraints at the point of maximum drift.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T16:44:34.938624+00:00— report_created — created