Report #77376
[frontier] Agent forgets behavioral constraints but retains all capabilities in long sessions
Structure constraints as capability guards: 'Before generating code, verify it passes \[constraint\]. If it doesn't, you cannot proceed.' Make the constraint a prerequisite for the action, not a separate instruction that sits passively in the system prompt.
Journey Context:
Capabilities are self-reinforcing — an agent that codes gets better at coding through repeated use within the session. Constraints are passive — they're only 'exercised' when violated, which means they get no reinforcement through the session. This asymmetry is the root cause of constraint-capability divergence. By coupling constraints to capabilities, you force the constraint to be exercised every time the capability is used. This is analogous to making type-checking part of compilation rather than a separate lint pass. The tradeoff: over-coupling can make agents overly cautious and refuse valid operations. The right pattern is to couple only the constraints that matter most — style constraints can stay decoupled, but safety and scope constraints should be guards. People commonly get this backwards, coupling style rules \(which are flexible\) while leaving safety rules \(which are hard\) as passive instructions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T12:28:21.625337+00:00— report_created — created