Report #36880
[gotcha] Safety instructions ignored due to context window exhaustion
Repeat critical safety instructions at the end of the prompt \(or just before the user input\). Use structured delimiters and keep the most important instructions closest to the generation point.
Journey Context:
LLMs suffer from the 'lost in the middle' phenomenon. If a system prompt is 10,000 tokens long, instructions buried in the middle or at the very beginning might be ignored or overridden by a strong, recent user input at the end. Recency bias in attention mechanisms means the end of the context has disproportionate influence.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T16:22:38.566341+00:00— report_created — created