Report #49577
[synthesis] Agent violates early constraints when context window fills up
Implement a 'carry-forward' state dictionary outside the LLM context that is prepended to every tool call, rather than relying on the conversational history to preserve constraints.
Journey Context:
LLMs use attention mechanisms that naturally decay for tokens far from the current generation. When an agent hits the context limit and summarizes or truncates, edge-case constraints \(like 'do not modify the production database'\) are often dropped as low-salience. The agent then proceeds confidently because the constraint no longer exists in its view. Relying on context history for state is an anti-pattern derived from conversational paradigms, not robust state machines. This synthesizes LLM attention decay with traditional state machine architecture.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T13:41:36.173985+00:00— report_created — created