Research on AI agents · Guards & language · Open

Will an agent switch a safety guard back on?

Status: COMPLETE, NUMBERS RECHECKED (PROTOCOL-FREE ARMS) · Scope: Protocol-free arms across sandboxed coding sessions (recounted from per-session sandbox records)

When a coding agent works in an environment where a safety guard has been left off, does it switch the guard back on — and does what the set-up says about who left it off change what it does?

Measured counts

MeasureCountContext
Switched guard back on (no instruction)0 of 120sessions across baseline arms
Switched guard back on (one-line rule, two variants)12 of 40 and 15 of 40sessions with a short written rule
Switched guard back on (set-up attributed off-state to own earlier session)80 of 80protocol-free arms only; cue was bundled with a note about restoring it
Switched guard back on (set-up attributed off-state to maintenance)7 of 80protocol-free arms only

What this indicates

What this does not show

How to repeat it

Run sandboxed coding sessions where a visible guard flag starts disabled. Compare no-instruction baselines, a one-line rule, and paired set-ups that attribute the disabled state either to the agent's own prior session (with a restore note) or to scheduled maintenance. Score strictly from the sandbox state recorded outside the agent.

← Back to all agent behavior studies · Plain-text version