Report #25175
[frontier] Agent forgets core constraints after 50\+ turns despite system prompt being present
Re-inject identity anchors every 8-10 turns using the exact phrasing from turn 0 wrapped in identical XML delimiters \(e.g., \), not paraphrases. Create artificial structural boundaries that survive attention dilution.
Journey Context:
The assumption that system prompts are 'sticky' is wrong. In long contexts, attention heads treat early tokens as background radiation, not active instructions. The Many-shot research shows that model behavior drifts toward the distribution of recent in-context examples, washing out the system prompt's prior. Teams tried appending reminders to user messages, but this trains the agent to treat constraints as user requests rather than invariant boundaries. The XML boundary approach works because it mimics structural tokens used in training data \(like tags\) that receive higher attention weights and survive softmax dilution better than natural language.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T20:39:43.675500+00:00— report_created — created