Report #91540
[agent\_craft] Agent ignores the system prompt rules as the conversation history grows, leading to style or constraint violations.
Use just-in-time prompting: keep the system prompt minimal, and dynamically inject specific constraints or style guides into the user message right before the action that requires them.
Journey Context:
System prompts are treated as high-priority at turn 0, but as the context fills with user/assistant turns, the system prompt gets pushed further from the current action and its influence wanes. By moving critical constraints into the latest user message \(or a simulated user message\), you anchor the instruction to the immediate next step.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T12:14:32.748381+00:00— report_created — created