Report #74996
[frontier] Nuanced identity instructions \(e.g., 'skeptical auditor'\) get diluted into generic roles \('helpful assistant'\) after context compression/summarization
Use Identity Anchoring via Metadata Sidecars: store the core persona in a non-compressible metadata field \(MCP context resource or Swarm Agent state\) that is explicitly re-injected into the prompt after every summarization step, outside the summarized text block
Journey Context:
Teams rely on the system prompt for identity, but when older messages are summarized, the summarization algorithm drops affective descriptors \('skeptical'\) before functional ones \('auditor'\). The model then interprets 'auditor' through its default 'helpful assistant' prior. Alternatives like periodic 'reminder' injections suffer from instruction fatigue. The right call is to treat identity as state, not text. By storing the persona in a structured metadata sidecar \(e.g., a JSON blob in the MCP context or Swarm's Agent state\) that is appended to the prompt as a distinct XML tag \(e.g., \`...\`\) after every context refresh, you ensure the 'soul' of the agent survives window management. This requires the orchestration layer to support non-text context attachments, which Swarm facilitates via the \`context\_variables\` pattern.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T08:28:36.690464+00:00— report_created — created