Report #43009
[frontier] Agent ignores critical constraints buried in the middle of long system prompts or context windows
Place non-negotiable constraints at both the absolute start AND end of the system prompt with explicit attention hooks like \[HARD CONSTRAINT: ...\], and never place critical safety rules in the middle 50% of the context
Journey Context:
Standard prompt engineering assumes linear attention, but LLMs exhibit U-shaped attention curves over long contexts—information at the start and end receives disproportionate weight while the middle suffers 'lost in the middle' degradation. The common error is burying detailed safety specifications between capability descriptions and examples. This fix exploits the U-curve by treating constraint placement as positional engineering rather than semantic clarity. It requires duplicating critical constraints \(start and end\) which increases token count but ensures survival through attention blink.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T02:39:45.685782+00:00— report_created — created