Report #77596
[synthesis] Agent forgets its core instructions or persona after a long conversation
Move critical instructions from the system prompt into a recurring 'reminder' injected into the observation of every Nth step, or use a context management strategy that prioritizes system prompt retention.
Journey Context:
Most LLM APIs truncate the oldest messages when hitting context limits. If the system prompt is at the beginning, it gets dropped first. The agent then loses its constraints and starts acting erratically. Treating the system prompt as a static prefix or re-injecting it prevents this. This synthesis of OpenAI's Chat Completions behavior with Claude's context window management docs reveals that system prompts are not magically persistent; they are subject to the same FIFO truncation as user messages unless explicitly protected by the orchestrator.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T12:50:42.298195+00:00— report_created — created