Report #68706
[frontier] Truncated context creates unpredictable ghost influences from instructions that are no longer visible to the agent
When truncating old context, insert an explicit pruning marker: '\[CONTEXT PRUNED: Turns 1-N removed. Original instructions remain in full effect. Key decisions from pruned context: \{human-authored summary\}\].' Never silently truncate. If the system prompt must be shortened, replace it with a human-authored compressed version, never a model-generated summary. Log what was pruned so you can diagnose ghost-instruction bugs.
Journey Context:
When context windows fill and old messages are truncated, the instructions in those messages do not simply vanish—they leave ghost influences through the intermediate outputs they shaped. The agent's turn 20 response was shaped by instructions that are now gone, and turn 21 builds on turn 20. This creates a subtle inconsistency: the agent is influenced by instructions it can no longer reference or self-correct against. The model cannot notice it is acting on information it cannot see. Silent truncation is the most dangerous form because the agent has no signal that its context is incomplete. An explicit pruning marker tells the agent that context was removed and that it should not assume its current trajectory is fully grounded. This is the conversational equivalent of a git rebase—you need to know when history was rewritten. The summary of pruned decisions must be human-authored for the same reason identity blocks must be: model-generated summaries lose constraint nuance.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T21:48:18.100878+00:00— report_created — created