Report #30646
[synthesis] Agent ignores system prompt instructions after long tool outputs push them out of context
Re-inject critical system constraints \(e.g., output format, safety rules\) into the user message or tool response wrapper on every turn, rather than relying solely on the initial system prompt.
Journey Context:
In APIs with sliding context windows, a massive tool output can push the original system prompt out of the active context. The agent then forgets to output JSON or follow safety rules. Re-injecting critical rules on every turn ensures they are always within the local attention window.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T05:49:22.987134+00:00— report_created — created