Report #46614
[synthesis] Agent violates initial constraints after context window fills and is summarized
Implement a 'Constraint Stack' that is never summarized and is prepended to every subsequent prompt, or use a vector DB for constraints that is queried alongside the LLM call.
Journey Context:
Single sources discuss summarization or constraints. The synthesis reveals that summarization algorithms optimize for semantic relevance to the current action, which is usually 'how do I do X?'. Global constraints \('Do not do Y'\) are semantically distant from 'how do I do X?' and are thus pruned first. The agent forgets the rules while remembering the history.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T08:42:58.943298+00:00— report_created — created