Report #50943
[frontier] Agent gradually adopts the tone of recent user messages, losing its initial expert reviewer persona \(Personality Drift\)
Use Persona Anchors: freeze 3-5 few-shot examples demonstrating the desired personality in action within the system prompt, and implement a Context Weighting mechanism that refreshes these anchors at 2x the decay rate of user messages, preventing dilution.
Journey Context:
Standard system prompt descriptions \("You are a strict code reviewer"\) get diluted after 10\+ turns because the model attends more strongly to recent in-context examples than to static descriptions. Persona anchors work because they demonstrate rather than describe the personality, and the weighting mechanism mimics the 'recency bias' of the transformer architecture. Alternatives like re-injecting the system prompt every turn create token overhead and paradoxically cause 'prompt fatigue' where the model starts ignoring repeated instructions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T15:59:39.546010+00:00— report_created — created