Manuscript Offprint

arXiv:2610.07359

Evaluate the Stack, Not the Layer: Do Deterministic and LLM Gates for Agent Actions Fail Independently?

Chenglin Yang

Chenglin Yang ID^{ID}

University of Lancashire

yangchenglin802@gmail.com

Abstract—Runtime gates for agent tool calls are stacked on the assumption that their errors multiply. We test it on 1,119 labelled agent actions from three corpora, without an adaptive adversary. The stack has one deterministic rule layer and four LLM judges, three of them re-collected with the served model recorded on every call. We read each stack as a number of multiplication-equivalent layers, nmultn_{mult}, with its floor under perfect coupling. Under the STRICT miss definition (escalation to a human scored as not stopped), any two judges compose to about 1.2 to 1.4 layers ( φ\varphi median +0.430, 6 of 6 pairs significant, floors 1.02 to 1.17). The rule layer plus one judge composes to 1.86 to 2.09 layers ( φ\varphi median +0.014, 0 of 4 significant, floors 1.01 to 1.09). Under PRIMARY (escalation scored as caught) the bands are 1.21 to 1.57 and 1.80 to 2.13. Intervals separate on the pooled data, point estimates split on each corpus, and a third-vendor judge lands in the judge band. Solo accuracy does not predict what a layer adds: a cloud rule pack lowers the rule layer's solo miss rate by 20% and adds no new joint coverage. The difficulty share of judge coupling is not identifiable: 31.8% to 61.8% depending on the probe and the miss definition. One judge tier was served by an unrequested model version in 50 of 112 batches, concentrated on the external corpus. That event overturned a pre-declared analysis rule, and the scoring of review verdicts reversed five conclusions. We report both.

Index Terms—agent safety, runtime enforcement, defence in depth, LLM-as-judge, correlated failure

I. INTRODUCTION

An agent with tool access can delete a production database or push a credential to a public repository in a single call [1]. Deployments therefore gate each proposed action before it executes. A common stack has a deterministic rule layer that matches patterns in the action text, one or more LLM judges that read the action and return a verdict, and sometimes a human reviewer [2], [3]. The stack is justified by a multiplication argument. If the rule layer misses 13.4% of the actions labelled block in our corpora and one judge misses 10.5%, independent errors would give a joint miss rate near 1.4%. The safety question this paper answers is whether stacked action gates have the independence that argument assumes, and what each layer adds once the stack is measured as a whole. The measurement is over labelled corpora of authored actions, without an adaptive adversary; Section II-A states what that covers.

On our corpora the argument holds for one kind of pair and fails for another. The rule layer and the judge above miss 1.3% of block cases together (7 of 560), close to the multiplication prediction. Two judges that each miss 10.5% alone would be predicted to miss 1.1% together; they miss 5.2% (29 of 560). These rates use the PRIMARY miss definition of Section II. The difference between the two pairs is the subject of this paper.

Failure correlation inside a defence stack has been measured before. The one prior study we found measured it for a seven-layer single-turn jailbreak-defence stack in which every member is a function of one target model [4]. It describes its scope as single-turn jailbreak only, excludes injection-targeted rows from its measurement by design, lists correlation across agentic settings as unmeasured, and collects its correlations under an adaptive adversary. Action gates differ in two ways that bear on correlation. A rule layer over action text consumes no model output, and the judges are black-box models from several vendors that receive the actions directly, in the assume-compromise setting Parallax names [3]. We measure the same statistic, with the same difficulty stratifier, in the setting that study excludes and without its adversary.

The paper makes a three-part argument. First, it defines an instrument. The number of multiplication-equivalent layers, nmultn_{mult}, reads an observed joint miss rate as the number of independent layers that would produce it, each failing at the stack's geometric-mean miss rate (Section III). Second, it shows that the instrument in current use fails (Section IV). Solo accuracy, the number reported for a gate measured alone, does not predict what the gate adds to a stack. Adding a cloud rule pack cuts the rule layer's solo miss rate from 0.139 to 0.111. It adds zero new joint coverage on top of three judges under either definition and moves the rule layer toward the judge band on nmultn_{mult}. A 50-pattern blocklist with a solo miss rate of 0.857 still adds nine cases under STRICT. Third, it reports what the new instrument reads (Section V). Under STRICT, any two judges compose to 1.22 to 1.44 layers above floors of 1.02 to 1.17. The rule layer plus one judge composes to 1.86 to 2.09 layers above floors of 1.01 to 1.09. The two bands separate on the pooled data; on each corpus the point estimates split and the intervals overlap. Four comparison collections give the same structure: the archived panel that preceded this one, a panel collected with a project-memory index in the judges' system context, a single-case check against batched judging, and a fifth judge from a third vendor (Section VI).

Our data do not separate judge coupling from shared difficulty. We stratify each judge pair by a leave-both-out difficulty score, the construction the prior study uses. The test for a shared surface mechanism runs in the direction opposite to that hypothesis. The share of coupling attributable to difficulty ranges from 31.8% to 61.8% with the choice of difficulty probe and miss definition (Section V-D). Difficulty alone can produce coincident failures between independently built components [5], [6], and the residual cannot be read as evidence of a shared mechanism.

Two evaluation conventions changed conclusions during this study. One judge returns the verdict review on 47 of 560 block cases, the rule layer on 3, and the other three judges on 2 to 17. Whether review counts as a catch or as a miss reversed five conclusions, each time in the direction that favoured the deferring judge (Section V-F). Every result is therefore reported under both accounting rules, PRIMARY and STRICT (Section II). Separately, one re-collected judge tier was served by a version other than the one requested in 50 of its 112 batches, 36 of them with no trace except the per-call served-model field. The change fell unevenly across the corpora (Section VI-D). The archived verdicts have no such field.

This paper contributes:

  • a measurement of failure correlation among action gates on 1,119 labelled actions from three corpora, with one rule layer and four judges under one case-text condition, three judges re-collected with per-call provenance, and both miss definitions reported throughout (Sections II and V);

  • the instrument nmultn_{mult} with its floor and normalised reading, positioned against the beta factor and the Kish effective sample size, and a two-dimensional reading of stack value, mechanism class by in-domain competence, whose empty corner is stated as a falsifiable prediction (Sections III and IV);

  • a difficulty-versus-mechanism decomposition with a second implementation, replicating the prior stack measurement’s non-identifiability finding in the setting that study excludes (Section V-D);

  • two evaluation conventions that reverse conclusions, a primary judge panel with per-call provenance and system-level blinding, and four comparison collections including a fifth judge from a third vendor (Sections V-F and VI);

  • a public artifact with the per-layer verdicts, the per-call provenance records, the analysis scripts, the pre-registration and audit summaries, including the conclusions withdrawn during analysis.

Sections VII, VIII and IX give related work, discussion and limitations.

References (44)