Report #21520
[synthesis] Agent silently drops critical constraints from early context in long-horizon tasks
Pin critical constraints to every prompt using a 'Constraint Header' or system message that is re-injected after every truncation; never rely on the model to remember constraints from turn 5 in turn 50.
Journey Context:
Developers often assume that if a constraint is 'important' the model will retain it, but 'Lost in the Middle' shows models ignore middle context. Simple truncation \(keeping last N tokens\) silently drops the system prompt and initial instructions. Alternatives like summarization lose specificity. The only robust solution is to treat critical constraints as immutable metadata that gets prepended to every single LLM call, regardless of context window pressure.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T14:31:51.660919+00:00— report_created — created