Silicyte

Measurement · 2026-10-21 · cause and fix 2026-10-23

Refusal uptime: did your agents’ guardrails actually run?

Claude Code runs each pre-tool guardrail as a separate process with a timeout, and by default a guardrail that times out lets the action through. The agent’s result looks the same as if the guardrail had allowed it. The timeout is logged, but nothing reports it as a share of the actions the guardrail should have checked. On one operator’s fleet of Claude Code agents, one guardrail was absent on 29.8% of the calls it existed to check.

Measured on one Windows laptop with 8 logical CPUs, from 30 Sep to 21 Oct 2026: 3,844 sessions and 261,254 tool calls. Forecasts were written down before each measurement, and every count was computed twice by independent methods. Prepared with AI assistance; not peer reviewed.

Did not reproduce off this laptop (4 Nov 2026). On clean public GitHub runners (Windows and Linux, 4 vCPUs), synthetic load with replicas of the same guards gave 0.0000 absence at a 15 s budget, median of 3 repeats, in every cell up to 24 agents, including with antivirus scanning and the Git Bash layer. The 29.8% figure belongs to this one laptop, not to agent fleets in general. Silicyte’s current work is a pre-registered self-improvement test (silicyte-0119); this page stays as earlier work. Runs and data: loadtest-results.

The design

To the agent, a timeout and a clean pass look the same.

Claude Code gives every pre-tool guardrail a timeout. If the guardrail does not answer in time, the action goes through unless the hook sets onFailure: "block", an opt-in added in v2.1.295. The transcript records the timeout, but the agent’s tool result is the same as if the guardrail had run and allowed it.

This is a documented design choice that keeps agents fast. It is not a vulnerability. It does mean that whether a guardrail ran has to be measured, because the absence of a refusal does not show it.

The measurement

One guardrail was absent on 29.8% of the calls it existed to check.

The fleet was about ten Claude Code sessions, with their sub-agents, run by one operator on one Windows laptop with 8 logical CPUs. Guardrail budgets were 10 to 15 seconds, the operator’s choice (the documented default is 600 s), and onFailure was not set. Across 3,844 sessions and 261,254 tool calls, from 30 Sep to 21 Oct 2026, we counted how often each guardrail was absent on the calls it existed to check.

Guardrail Calls it existed to check Absent Share absent
Compute guard (gpu_before_cpu, 15 s) 103,85030,92929.8%
Polling guard (no_poll, 10 s) 40,28324,12159.9%

For the compute guard, 30,761 of the 30,929 calls on which it was absent returned a result that was not a refusal. The compute guard’s absence was forecast before the read at 0.20 (band 0.05 to 0.50); it came in at 0.298.

Load

Absence rose with the number of agents running at once.

For the compute guard, counting agents as transcripts active in the same 10 minutes: with one running, absence was 0.2% (5 of 2,258). With 11 or more it was 53.1% (28,569 of 53,831), and with 30 or more it was 79.2%. Agent count is our proxy for load; CPU, memory and disk were not measured.

Guardrail absence by number of agents running at once Guardrail absent, % of calls 60% 50% 40% 30% 20% 10% 0% 0.2% 0.5% 4.4% 7.6% 53.1% 1 2-3 4-6 7-10 11 or more Agents running at once
Share of calls on which the guardrail was absent, by the number of agents running at once. Bars are drawn to scale on a 0 to 60% axis. One operator’s fleet, 30 Sep to 21 Oct 2026.

The same rise held within single days (on 18 Oct, from 2.0% of 51 calls to 70.0%) and within single sessions: of 82 sessions that ran at both low and peak load, 61 were absent more often at peak (per-session means 2.3% vs 37.6%). The rise from one agent to eleven or more was forecast before the read at +0.25 (band +0.05 to +0.60); it came in at +0.529.

A Linux server pinned to 8 cores, running synthetic agents with replicas of the same guards (not Claude Code itself), showed zero absence even at 48 agents (22,824 runs). On the workstation, per-call process start cost was measured on 23 Oct and removing it fixed this fleet (next section), but it is not shown to be the whole cause. On clean public Windows runners (4 vCPUs, 25 Oct), synthetic load, about 1 GB of free memory, antivirus real-time scanning and a Git Bash launch layer each made guards slower and stacked: 95th-percentile time at 24 agents was 2.7 s with none of them, 4.6 s with scanning, and 6.8 s with scanning and the shell layer. In the median run none pushed a guard past 10 s. Two single runs did, briefly: 4 of 113 calls past 15 s (slowest 21.3 s) at 4 agents with about 1 GB free, and 2 of 185 past 10 s at 24 agents with scanning and the shell layer. Nothing on the runners came near the laptop’s sustained absence, so whatever else the laptop adds (the real agent sessions, the cloud-synced folder) is untested. (Corrected 25 Oct, 22:24 ET: this paragraph said none passed 10 s; that held for the median run only.) The runs, their pre-registered gates and their data are public: loadtest-results.

Cause and fix · 2026-10-23

The guardrails timed out while starting. Running them in one process fixed it.

On this fleet every shell call started five guardrails at once, each one its own Python process. We timed the start-up itself, with bursts of tool calls fired together on the same laptop. With 4 calls at once, a call’s guardrails took 24.5 s to finish at the 95th percentile; with 8 at once, 36.3 s. Both are past the 10 to 15 s budgets, which is the load curve above. It also explains the independence row below: the guards on one host failed together because they were all waiting on the same start-up.

The fix runs every guardrail inside a single dispatcher process per call, each guard’s own code unchanged. Replayed on 145 tool calls (140 real calls from the fleet and 5 built to be refused), the dispatcher returned the same decision and the same refusal text on all 145. At 8 calls at once its 95th percentile was 2.5 s, 0.069 of the old figure. The pass threshold, 0.50, was registered before the measurement.

Tool calls at once Five guard processes, p95 One dispatcher, p95
18.3 s0.9 s
424.5 s1.0 s
836.3 s2.5 s

Limits: one laptop, synthetic bursts of calls fired together, six rounds per setting. The old form was launched without the shell layer the agent harness puts in front of each guardrail, so its real cost was higher than shown.

After the fix, on live traffic: absent on 0 of 2,211 calls.

The fix went live on this fleet at 11:37 ET on 23 Oct. Over the next nine hours, across 8 sessions, the transcripts recorded 0 guardrail timeouts or errors on the 2,211 calls the guardrails existed to check (Wilson 95% interval 0 to 0.17%). Counted independently, the dispatcher’s own log shows it ran on 2,214 calls, within 3 of the transcript count for every tool, with no guard errors and 35 refusals applied. The gate, registered before the read, was failures on at most 2% of at least 2,000 calls.

Then the heavy load came back, up to 48 agents at once: absent on 5 of 8,055 shell calls, against 53.1% before. Far lower, not zero.

Those nine hours never reached 11 agents at once, so we registered a second gate before looking: failures on at most 2% of at least 500 calls made while 11 or more agents were active. By 14:24 ET on 25 Oct that load had recurred, peaking at 20, and the guardrails were absent on 0 of the 1,184 calls they existed to check. We re-read the whole period that evening, to 21:10 ET, after hours of multi-agent runs that reached 48 agents at once. At 11 or more agents the compute guard’s shell calls were absent on 5 of 8,055 (0.062%; Wilson 95% upper bound 0.15%), against 53.1% before the fix; at 30 or more, on 1 of 4,117, against 79.2%.

Calls made in the same ten minutes share one machine state, so they are not independent and a per-call bound overstates the evidence. Ten-minute windows are a weak unit too: before the fix, 83 of 423 busy windows were already clean (a window-level test we registered failed its gate, clean share 0.196 against 0.10); after it, 33 of 36 were. Longer runs are the strict unit. Before the fix, none of the 21 sustained busy episodes (five or more consecutive ten-minute windows at 11 or more agents) was clean. After it, 3 of 5 were. We registered that re-read before looking, with the gate that every sustained episode be clean, and it failed: two episodes let 5 shell calls through unchecked. In one, at 25 to 30 agents, 3 calls’ guardrails timed out after 36.8 to 56.1 s against the 30 s budget; in the other, at 16 agents, the dispatcher returned an error on 2. At this load the fix cut absence by about three orders of magnitude. It did not remove it.

Separately, 5 absences fell in one standby episode: the laptop went into standby between 02:56 and 03:21 ET on 25 Oct, in the middle of calls. A timeout that counts wall-clock time would fire the moment the machine wakes, so the call goes ahead unchecked. That is a second way for a guardrail to vanish, and no timeout setting fixes it; only a guardrail that blocks on failure, or a host that does not sleep under agents, does. (Corrected 25 Oct, 22:24 ET: this section said all post-fix absences came from the standby; the evening re-read found 7 more under load.)

Limits: one laptop, and a before/after comparison rather than a randomized one. The change also raised the budget from 10 to 15 s to 30 s and dropped a shell launch layer, so the controlled evidence for the cause is still the bench above. Sessions run under other accounts are not counted, so agent counts are a lower bound.

Control integrity

Presence is one of four numbers per guardrail.

Whether a guardrail ran is not the only question. We report four numbers for each guardrail and call the set its control integrity.

Number Question Measured
Presence Did the guardrail run? Absent on 29.8% of the calls it existed to check.
Coverage Did it watch every path? 20.5% of 931 protected writes went through a shell path the guard never watched. 38.8% got no verdict at all.
Independence Did the guards fail independently? When the compute guard was absent, the polling guard on the same machine was absent too 99.86% of the time (91.0% the other way round). Guards on one host failed together.
Override How often do agents override the guard? 81.6% of 461 refusals were re-issued with the guard’s own sanctioned override. 95.4% of 18,588 override uses came before any refusal.

A wrong prediction

We predicted covert routing-around on 20% of refusals. It happened on 0.7%.

Before reading the data we predicted that, after a guard refused, agents would reach the same effect through a path the guard does not watch on 20% of refusals. It happened after 4 of 603 refusals across the three guards (0.7%, from a five-call detector, so a lower bound). The forecast was wrong by a wide margin. These agents took the guard’s sanctioned override openly instead.

Growth, an extrapolation from one fleet

On its trend, this fleet’s busy hours reach 30 agents by 26 Nov 2026.

Over the measured period, guard timeouts doubled every 2.8 days. Busy-hour concurrency (the mean of a day’s six busiest 10-minute windows, 10.4 agents on 21 Oct) doubles every 23.8 days. Peak windows already pass 30. On its trend the busy-hour mean reaches 30, where absence was 79%, by 26 Nov 2026.

An extrapolation from one fleet. The 26 Nov 2026 date takes one operator’s trend and projects it onto that fleet’s own measured curve. It is not a measurement, and it is not a forecast for any other fleet.

Audit

Audit frameworks ask whether controls kept operating.

PCI DSS 4.0.1 requirement 10.7.2 says: “Failures of critical security control systems are detected, alerted, and addressed promptly.” SOC 2 Type 2 asks whether controls operated effectively over the period.

Refusal uptime is the share of the calls a guardrail existed to check on which the guardrail was present, computed per guardrail.

Related

Related work.

Claude Code’s own OpenTelemetry hook events count cancelled hooks. The AISIX gateway counts bypasses. Breach-and-attack simulation validates security controls the same way.

Claude Code v2.1.295 added an opt-in onFailure: 'block'.

Method

Method and limits.

Where a number was forecast before the data was read, this page says so; the others were not pre-registered. Every count was computed twice by independent methods. This page was prepared with AI assistance and is not peer reviewed. The full technical note, with every number and its limits, is in the probe’s repository.

The measurements come from one operator’s fleet of Claude Code sessions on one Windows laptop with 8 logical CPUs, from 30 Sep to 21 Oct 2026. The Linux comparison used synthetic agents running replicas of the guards. The 26 Nov 2026 date is an extrapolation from one fleet. Nothing here describes the security of any vendor’s product.

Your turn

Compute refusal uptime for your own agents.

The open-source probe computes refusal uptime per guardrail from your own Claude Code transcripts. It runs locally and is standard-library Python. A canary wrapper makes guard presence observable.