Fail-Closed Evidence Gates: Tooling That Refuses Bad Conclusions

A research workbench for RL-adaptive LLM inference treats evidence as a workflow state: mandatory decision logs, SHA-256 workload traceability, comparability regimes, claim-status labelling, and gates that fail closed instead of letting weak conclusions through.

Engineering Lab

Systems engineers are used to validation that fails closed: a request that cannot be proven well-formed is rejected, not half-processed. Research tooling rarely gets the same discipline. Benchmarks run, numbers come out, and the conclusions quietly become slide-deck material regardless of whether the measurement was comparable, repeated, or honestly labeled.

RAPID, an in-progress research workbench for RL-adaptive parallelism in multi-GPU LLM inference, takes the opposite starting point: the instrument refuses to produce admissible evidence until the evidence meets declared standards. This post documents the design rules it encodes — all of which apply to any system that turns measurements into claims.

Rule 1: A gate PASS is a workflow state, not a scientific result

The evidence gate checks presence, hashes, comparability metadata, and repeat counts. What it never checks is hardware truth or data honesty — and it says so in its own output. A PASS means "this run is structurally admissible for comparison," nothing more. Declaring the limit inside the tool prevents the most dangerous failure mode of research automation: a green checkmark being read as a scientific endorsement.

Rule 2: Decision overhead is mandatory, even when it is zero

An RL controller that changes parallelism at runtime pays a cost for deciding and reconfiguring. The natural temptation is to measure the benefit and ignore the cost. The workbench encodes the opposite: the decision and reconfiguration overhead metrics exist in the required schema, and the decision log — the record of every controller action — *may be empty but may not be absent*. A policy can only claim a win once its own bookkeeping is on the table.

Rule 3: Comparability is a declared regime, not a vibe

Controller gain is confounded by run-to-run variance. So admissibility has hard preconditions: at least 3 repeats per configuration, coefficient of variation within a declared bound, and metadata sets that prove the model, engine name and version, execution target, and workload manifest hash were identical across compared runs. Every run is SHA-256-linked to its workload manifest, and workloads are split into disjoint train, validation, and test request-ID sets at the trace level. If any of that does not line up, the comparison is not admissible — regardless of how good the numbers look.

Rule 4: Simulation is labeled forever

Local CPU runs cannot evidence GPU-side benefit. So execution target is a required field, and claim status — measured on real accelerators versus simulated — is derived from it and attached to the result permanently. A simulated run is never relabeled, aggregated away, or presented next to GPU numbers without its status. This sounds obvious; most benchmark spreadsheets in the wild fail exactly this test.

Rule 5: External baselines stay external

Reproducing published baselines is expensive, so the temptation is to cite published numbers as if they were measured in the same conditions. The workbench treats published baseline values as metadata only — always labeled external, never rendered as a head-to-head result. A comparison that was not run is not a comparison.

Rule 6: Novelty is refused by construction

The prior-art screening pipeline cannot certify global novelty: its dossier gate is built to return "allow claim of global novelty: false" — always. What it *can* do is narrower and honest: detect overlap between a hypothesis and screened literature through two independent reviewer invocations with a conservative union rule (any detected overlap wins, disagreement never approves), verified by exact page-quote matching against extracted PDF text, plus mandatory review of the highest-ranked potential counterexamples. A tool that structurally cannot grant the claim its users want is a tool that stays trustworthy.

Rule 7: Refuse to overwrite archived evidence

Experiment execution runs researcher-authored code as argument-list subprocesses with per-seed log capture — and refuses to overwrite archived seed artifacts. Rerunning an experiment after seeing its results is one of the quietest ways research becomes storytelling; making the bad path physically hard is cheaper than policing it.

The general lesson

Every one of these rules is a boundary design: explicit inputs, explicit validity checks, explicit refusal states, and honest empty states. The difference between a benchmark script and a research instrument is the same as the difference between a form handler and a production API — the second one treats its inputs as adversarial and its outputs as claims.

No GPU measurement exists in this workbench yet, and none is claimed. The tooling milestone state is published exactly as it is: implemented, passing where it passes, with a known integration defect being fixed. An instrument that reports its own incompleteness this precisely is the only kind worth trusting with results later.