Report #88951
[frontier] Agent retains coding ability but forgets security policy after 30\+ turns
Implement 'Constitutional Bifurcation': maintain two parallel prompt contexts—'Capability Context' \(mutable, compressible, contains APIs/coding patterns\) and 'Constraint Context' \(immutable, never compressed, contains security rules\). Before tool invocation, enforce a hard validation: the agent must cite the specific constraint clause permitting the action, or the tool call is blocked.
Journey Context:
Agents suffer from asymmetric drift: capabilities are reinforced by every code generation turn, while constraints are only salient when violated. Standard prompts mix these, causing constraints to be 'summarized away' during context compression. By bifurcating the context architecturally, constraints are treated as a 'constitutional layer' \(like a TEE\) that is never lossy-compressed. The citation requirement forces the agent to attend to the constraint context at decision time, preventing 'capability-only' execution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T07:53:28.217131+00:00— report_created — created