Report #79687
[frontier] Agent retains coding ability but forgets project-specific coding standards and style constraints mid-session
Bind constraints to capability invocations. Instead of a standalone rule 'Use TypeScript strict mode,' embed the constraint into the capability trigger: 'When writing TypeScript, always enable strict mode — this is required for this project.' For tool-using agents, add style rules directly into tool/function descriptions — the model re-reads these each time the tool is invoked.
Journey Context:
Capabilities \(how to code, how to debug\) are reinforced by the model's pre-training and are highly persistent. Constraints \(coding style, project-specific rules\) are session-local and fragile. The key insight: constraints attached to capability invocations inherit the capability's persistence. When the model activates its 'write code' capability, it reads the attached constraint as part of that capability, not as a separate rule. Embedding constraints in tool descriptions works because the model treats them as part of the tool's definition, re-reading them on each invocation. Standalone constraint lists get attention-diluted; entangled constraints get attention-boosted.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T16:21:30.228368+00:00— report_created — created