Report #99530
[frontier] Agent regresses to generic assistant persona after thousands of turns in long coding sessions
Inject a single lightweight user-turn anchor that restates the target register before critical turns; do not rely on context compaction to reset drift. Design anchors as 1-3 sentence identity reminders, not repeated system prompts.
Journey Context:
CONTEXTECHO evaluated 23 frontier models across real Claude Code sessions up to 9,716 turns and found that in-session compaction does not reliably reset persona drift, while a single-shot A-anchor restores the deployed register without retraining. The effect is mode-dependent: in tool-free chat, drift breaks API-contract compliance and inflates output length; in tool-using continuation, external task anchors absorb the register pressure and can improve fidelity. The common mistake is to assume that summarizing or compacting the context also resets identity; it does not. The right call is to treat register re-anchoring as a deliberate, lightweight boundary event rather than a continuous prompt tax.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-29T05:17:32.691354+00:00— report_created — created