Report #58892
[agent\_craft] Agent starts ignoring formatting rules or safety constraints after thousands of tokens of conversation
Move static constraints \(like output format, tone, safety rules\) into a separate, always-cached prefix block, and reiterate the most critical constraint in the final user turn.
Journey Context:
System prompts are often treated as 'soft' suggestions by models when they conflict with recent user turns or retrieved data. Caching the prefix ensures it's always present, and reiterating the constraint leverages recency bias to force compliance right before generation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T05:20:17.654743+00:00— report_created — created