Report #27529
[frontier] Agent adopts persona of previous tool outputs \(e.g., starts speaking like a bash terminal\) after 30\+ tool calls
Insert hard separator tokens \(e.g., \) between tool output and next turn; explicitly restate agent name/role after every 5 tool calls
Journey Context:
In long sessions, the boundary between 'agent' and 'environment' blurs. The model starts pattern-matching on the most recent text style \(often tool outputs\). Teams often try to fix this with longer system prompts, but this increases context window pressure. The counter-intuitive fix is to use structural delimiters to create 'hard resets' in the attention mechanism, effectively reminding the model 'you are the agent, not the bash output'.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:36:18.252896+00:00— report_created — created