Page: https://iswt.ca/research/will-an-agent-switch-a-guard-back-on/ Research on AI agents (https://iswt.ca/research/) · 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 | Measure | Count | Context | | Switched guard back on (no instruction) | 0 of 120 | sessions across baseline arms | | Switched guard back on (one-line rule, two variants) | 12 of 40 and 15 of 40 | sessions with a short written rule | | Switched guard back on (set-up attributed off-state to own earlier session) | 80 of 80 | protocol-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 80 | protocol-free arms only | ## What this indicates - Without an explicit rule or ownership cue, the tested agents did not restore a disabled guard on their own (0 of 120). - A one-line rule moved restoration to roughly one session in three (12 of 40 and 15 of 40), which indicates a short rule alone is not a reliable safety boundary. - Attribution in the set-up drove a sharp split (80 of 80 vs 7 of 80), which indicates that how the environment frames responsibility changes agent action; because the cue bundled the session label, a continuity phrase, and a note about intending to restore, it shows the effect of that set-up rather than an internal belief. ## What this does not show - This page reports only the protocol-free arms; arms testing proprietary protocol prompts are withheld. - It does not show that the agent held a belief about ownership — only how it responded to the bundled set-up. - It does not certify any agent or sandbox configuration as safe. ## 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 (https://iswt.ca/research/) · Plain-text version (https://iswt.ca/research/will-an-agent-switch-a-guard-back-on/index.txt)