Report #97069
[frontier] Adding more constraints causes all constraints to be followed less
Limit your system prompt to 5-7 critical constraints. Bundle related rules into higher-level principles rather than listing many specific rules. Measure 'constraint density'—more constraints per token means each individual constraint gets less attention and adherence.
Journey Context:
There is a finite attention budget for constraint-following in any context window. Adding constraints does not increase this budget—it divides it further. A system prompt with 20 specific constraints results in each being followed significantly less reliably than a prompt with 5 well-chosen ones. Production teams are finding that fewer, higher-level constraints consistently outperform exhaustive rule lists. Instead of 'don't use var, don't use let for constants, don't mutate state, don't use for loops, don't create side effects,' use 'write pure functional TypeScript with const declarations only.' One principle replaces five rules and is more likely to be retained. This is the constraint dilution effect, and it is the single most common mistake teams make when they see drift and respond by adding more constraints.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T21:30:50.516306+00:00— report_created — created