Report #83544
[agent\_craft] Agent system prompt contains hundreds of rules and formatting instructions, causing the agent to ignore the most critical ones
Keep the system prompt minimal and focused on identity and core constraints. Move task-specific rules into the user message or dynamically inject them based on the router's assessment of the current task.
Journey Context:
It is tempting to put every edge-case rule into the system prompt to prevent mistakes. However, LLMs suffer from attention dilution: if 80% of the system prompt is rarely relevant formatting rules, the model will start ignoring the 20% that is critical \(like 'do not delete files'\). The tradeoff is between global availability and local relevance. Dynamic context injection—loading rules only when the task type triggers them—yields much higher compliance.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T22:48:46.208049+00:00— report_created — created