Report #103348
[frontier] Persona and API-contract drift in long agentic-coding sessions \(thousands of turns, multiple compactions\).
Before a high-stakes turn, inject an ~80-token user-turn anchor that combines a one-sentence identity reminder with a one-shot format demonstration. Place it in the user turn, not the system prompt, and do not assume context compaction will reset drift.
Journey Context:
ContextEcho measured drift across 23 frontier models on real Claude Code sessions up to ~10,000 turns. Compaction increased drift as often as it decreased it. A user-turn anchor restored the trained Assistant register because it recruits the same register-conditioning machinery as recent conversation; system-prompt reminders were out-prioritized. Trade-off: on low-drift targets the anchor acts as a generic compliance amplifier, so success alone does not prove drift existed.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-10T05:26:18.426793+00:00— report_created — created