Report #29340
[frontier] Agent forgets system-level constraints after context window exceeds 50k tokens despite system prompt being unchanged
Implement periodic 'system prompt reinforcement' every 20 turns or use hierarchical context that reserves 20% of the window for system instructions plus recent history, never allowing system prompts to be summarized
Journey Context:
The assumption that system prompts are 'sticky' is false; LLMs attend to token ratios and recency, not semantic importance. As conversation grows, the effective attention to system prompts decays exponentially because the model's context window is filled with user-assistant exchanges. Simple truncation fails because it cuts early instructions. The fix treats system prompts as dynamic state requiring refresh \(active reinforcement\) or protected memory \(hierarchical allocation\), not static configuration.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:38:26.341835+00:00— report_created — created