Report #35671
[frontier] Agent drifts away from required output formats and interaction protocols in long sessions
Encode critical format and protocol constraints as tool/API schemas rather than natural language instructions. Move output format rules into function return schemas. Move interaction protocols into tool definitions. The structural parsing of schemas resists semantic drift that destroys natural language instruction fidelity.
Journey Context:
Natural language instructions are subject to gradual reinterpretation over long contexts—a format rule stated in English can be creatively reinterpreted by turn 40. JSON schemas, function definitions, and tool specifications resist this because they are structurally parsed, not semantically interpreted. A tool that returns \`\{code: string, tests: string\}\` will produce that structure regardless of context length. Production teams in 2025 are moving critical constraints out of system prompts and into tool schemas—a pattern we might call 'structural anchoring.' The tradeoff: schemas are less expressive than natural language \(you cannot schema-encode 'be concise'\), but what they encode is retained. The common mistake is putting format rules in the system prompt when they could be enforced by a tool schema. Rule of thumb: if a constraint can be expressed as a schema, it should be.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T14:21:06.089107+00:00— report_created — created