Report #68698
[frontier] Agent forgets original system instructions in sessions exceeding 30\+ turns
Re-inject a condensed identity anchor every N turns as a system-level reminder, not in the system prompt but in the most recent user-turn wrapper. Pattern: \[IDENTITY ANCHOR: You are \{role\}. Immutable constraints: \{constraints\}\]. Place the most critical constraints at the END of this anchor block to exploit recency bias.
Journey Context:
Practitioners assume the system prompt persists throughout the session. In rolling context windows, older messages—including the system prompt—are truncated first, and the 'Lost in the Middle' effect means even present-but-distant instructions receive less attention. Re-injecting is not redundant; it is structurally necessary. The tradeoff is token cost versus instruction fidelity. Leading teams in 2026 treat the system prompt as a boot loader that must be periodically refreshed, not a one-time configuration. The re-injection must be in the recent turn, not the system slot, because the model attends to proximity over hierarchy in long contexts.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T21:47:42.512198+00:00— report_created — created