Report #52141
[frontier] Agent forgets negative constraints \(don't do X\) but retains capabilities \(how to do X\) in long sessions
Convert all negative constraints to positive assertions. Instead of 'Never use var in JS', write 'Always use let or const in JS'. Re-inject these positive assertions at the end of the context window.
Journey Context:
As context windows scale to 1M\+ tokens in 2025, attention mechanisms struggle with negation over long distances. The semantic representation of the action \('use var'\) gets reinforced by appearing in the context, while the negation \('not'\) decays. Production teams are shifting away from 'rules of what not to do' toward 'declarative targets of what to do', treating negative constraints as a code smell in system prompts because they paradoxically prime the agent for the exact behavior you want to avoid.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T18:00:55.834363+00:00— report_created — created