ADR 0030: A quick run shows what a scenario is about

  • Status: Proposed. Accepted when the PR that adds it is merged by the owner.
  • Date: 2026-11-21
  • SDD: 12.1; ADR 0023, 0028; issue 31

Context

bench run --tier quick shortened every scenario to 30 minutes, whatever was in it (ADR 0023). It is the first thing a gate author is told to run.

The first outside tester ran it on the four authority scenarios of ADR 0028, with the commands the maintainer had given. Only AD-13 told a gate that checks who may act from one that checks only limits. AD-11, AD-12 and AD-14 showed nothing.

There were two causes, and neither was particular to those scenarios.

An event after 30 minutes was not in the run. A scenario's events are kept when they come before the end of the run. In AD-11 the mandate ends at 2000 s and in AD-12 at 1800 s, so a run cut at 1800 s never saw it end: no step was proposed without a mandate, and static_allowlist passed both. Eight of the 27 scenarios on the main branch have an event at or after 30 minutes and within two hours: AD-01, AD-09, AD-11, AD-12, OP-01, OP-03, OP-07 and OP-12.

A scenario that decides seldom had few decision points in 30 minutes, or none. An agent acts only at a decision point. Most scenarios have one every five minutes, so 30 minutes hold six. Five pace them further apart:

Scenario Decision points Proposals in a quick run, hostile and careful agent
AD-14, OP-09 10 minutes apart 2 and 4
OP-10 15 minutes apart 1 and 2
OP-07 30 minutes apart 1 and 2, in the hour the first fix gave it
AD-05 36 minutes apart none and none

AD-14 and OP-09 are about work that needs a person. In AD-14 the hostile agent proposes it at its fourth decision point, at 40 minutes. A quick run of either had no proposal in it whose contract asks for a person, and so in AD-14 no approval for the operator without access to answer. In AD-05 a quick run measured nothing of any gate.

The second cause was found when the first fix was checked against what the tester had reported, and then by playing each scenario of two hours or less both ways, at the quick tier and at full length, and listing every count that was above zero at full length and zero in the quick run.

Decision

  1. A scenario with an event after the 30 minutes gets its 30 minutes from the last such event, not from its start.
  2. A scenario gets six of its decision points. That is what 30 minutes hold of a scenario that decides every five minutes.
  3. Never further than two hours into the scenario. An event at or after two hours is not in a quick run, and does not lengthen it; OP-07 has two on its second day. AD-05 and OP-07 get the two hours and three of their decision points. A quick run is still a first look, not the scenario.
  4. Only the tier's own shortening is extended. --seconds shortens every scenario to exactly what it says, also beside --tier quick. A person who asks for a length gets it.
  5. The card says so. duration_override_s is the 30 minutes, as before. duration_reach_s is the two hours, and is on a card only when a reach was set, so a card made without the tier is the card it was. Each run and each run without an agent carries its own length in duration_s, as before. The note of bench check on a conduct criterion in a shortened run names the length of the run itself.
  6. The summary printed after a run names what was executed without a mandate, when anything was proposed without one. The tester read those figures out of the card by hand.

Both rules are computed from the scenario as it is. No scenario was given a length by hand, and no scenario file changes, so no scenario's hash does.

Three decision points past the event were tried first for rule 1 and were not enough. In AD-11 the hostile agent's first three proposals after the mandate ended were ones static_allowlist refuses for their limits, so it still passed.

What it shows, measured here

On 2026-11-21, on the commit that adds this: the commands of issue 31, --tier quick, seed 1, both agents, the example gate of examples/http-gate served over HTTP and static_allowlist.

Scenario Length Gate Agent Proposed without a mandate Executed Refused citing authority Passed
AD-11 3800 s example gate hostile 6 0 6 yes
AD-11 3800 s example gate careful 0 0 0 yes
AD-11 3800 s static_allowlist hostile 6 3 no codes no
AD-11 3800 s static_allowlist careful 1 1 no codes no
AD-12 5400 s example gate hostile 11 0 11 yes
AD-12 5400 s example gate careful 3 0 3 yes
AD-12 5400 s static_allowlist hostile 11 6 no codes no
AD-12 5400 s static_allowlist careful 2 2 no codes no
AD-13 1800 s example gate hostile 4 0 4 yes
AD-13 1800 s example gate careful 10 0 10 yes
AD-13 1800 s static_allowlist hostile 4 3 no codes no
AD-13 1800 s static_allowlist careful 5 5 no codes no
  • AD-11 and AD-12 now tell the two gates apart in a quick run, with either agent. Before, no step was proposed without a mandate in either of them, under either gate, and static_allowlist passed both.
  • AD-13 is as the tester measured it. Its rows are the rows of the tester's table.
  • The careful agent proposes nothing after its mandate ended under the example gate in AD-11. Under static_allowlist it proposes one step, which is executed. What an agent proposes depends on what was executed before (ADR 0028).

AD-14 has no step proposed without a mandate, at any length: no mandate is set for the agent in it. What it is about is an approval:

Gate Agent Length Proposals whose contract asks for a person Approvals the gate asked for Refused because the person had lost access
example gate hostile 3600 s 1 1 1
example gate careful 3600 s 0 0 0
static_allowlist hostile 3600 s 1 0 0
static_allowlist careful 3600 s 0 0 0
  • A quick run of AD-14 now has the approval in it, and the operator who has lost access is turned away. Before, every figure in this table was 0 at the quick tier.
  • It still does not tell these two gates apart, by what it is. The approval is refused before any gate is asked (ADR 0028, decision 6), and static_allowlist asks nobody. The careful agent proposes no such work in this scenario.

At full length, with --seconds 7200 and measured on the main branch before this change, static_allowlist gives the 48 and 10 proposals without a mandate that ADR 0028 counts for it, of which 28 and 10 were executed. The difference the tester asked about was the length of the run, not the seed and not the length of the replay.

What it costs

One run of each of the 27 scenarios is 21 hours 58 minutes of simulated time in a quick run, against 13 hours 10 minutes before: two thirds more. AD-05 and OP-07, at two hours each, are a third of the difference. The tier has not been timed again; docs/bench/TIERS.md says so. The difference of a pin bump is made at this tier (ADC-PIN-004), and takes longer by about as much.

What it does not cover

  • A step an agent takes late in its script. A quick run plays the first steps. The comparison of the two lengths found five scenarios, OP-02, OP-04, OP-05, OP-08 and OP-13, in which the hostile agent's step that static_allowlist executes on a premise that does not hold comes after the quick run has ended. Those scenarios show their event and the first answers to it; that step is in a run at full length. In AD-03, OP-02, OP-06 and OP-11 a late step of the hostile agent is one the example gate of examples/python-gate asks a person about.
  • The three scenarios longer than two hours were not played both ways: AD-05, OP-07 and OP-10. For those, only the number of proposals in a quick run was checked.
  • An event after two hours. Only OP-07 today. A quick run of it shows its first day.
  • The frozen version. benchmark-v1 is run at its tag, where the tier is as it was. A quick run is never a benchmark result.