Silent API failures: why the harness beats the judge

Primary pillar: llm-ops-hitl

An API call can fail without failing. It returns HTTP 200, a clean JSON body, and a number that is simply wrong because the service quietly ignored a filter it did not understand. The agent reading that response has no way to know. A paper posted to arXiv on 16 November 2026 — "Invariant-Aware Harness Enforcement to Protect LLM Agents from Silent API Failures" — measured how often this happens and what actually stops it. The answer reshapes how we think about human-in-the-loop (HITL) gates for agentic systems.

The failure mode: wrong answers wrapped in success codes

The authors audited 15 public research APIs and found silent failure patterns in 11 of them: request shapes where a correct call and a misfiled call both "succeed," and only the data itself reveals the difference. In one case, counts inflated by up to 691 times with no error anywhere in the log. When agents were pointed at these faults, they reported wrong values 74.0% of the time across seven open models.

The intuitive fix — tell the model to double-check, or add a reviewer model or LLM judge — does not work as well as people hope. In the paper's tests, judge-style setups still left over 70% of the affected answers wrong. The models usually *saw* the problem and answered anyway. Verification by asking is not verification.

What SilentGuard does

SilentGuard moves the decision out of the model and into the harness — the surrounding code that runs tool calls and hands results back to the agent. Two pieces:

  • Invariants: properties any correct API response must satisfy — a count field matches the number of rows returned, a date is not in the future, a category value is one of the known set. Some are written from the API spec; others are mined from clean traces.
  • Enforcement: when a response breaks an invariant, the harness withholds the value from the model entirely. The model never sees the poisoned number.

The distinction between *detecting* and *enforcing* is the whole result. The same check wired as a warning to the model left 70.1% of answers wrong — the model saw the warning and used the bad value anyway. Withheld outright, wrong answers on target faults dropped from 74.0% to 1.7% across the open models and from 70.2% to 0.5% on three frontier models, with no regression on fault-free tasks.

Two honest caveats. First, enforcement here means abstaining, not recovering: the agent learns a value was invalid, not what the right value was. Second, the exact checks are spec-bound. On fault types outside its learned set, the harness alone cut wrong answers from 61.1% to 24.5% — better, nowhere near airtight.

What it means for LLM Ops

This is a data point for a debate our own stack already lives: where does the human judgment boundary sit when a machine gate can hold it for you? Presence, our HITL living lab, keeps a human on the publish button because the judgment is substantive. The harness in the paper is doing something narrower — arithmetic sanity, not judgment — and is better for it. A gate that never needs to be awake at 3am is a gate that never gets waved through.

The operational lesson is that the cheapest reliable layer in an agent stack is a dumb checker that can withhold output — deterministic, auditable, and on duty every run. A human reviewer stays in the loop for the judgment calls precisely because the machine stops pretending to make them. An agent whose only safeguard is "the next model will notice" has no safeguard; a written rule the executor can ignore is not a rule, and this paper is the measurement that proves it. MeltingFace is an LLM Ops research consultancy and Presence is its HITL living lab — not a chatbot vendor — and every run here is a working record of where deterministic checks end and human judgment begins.

If you are standing up eval harnesses or approval gates of your own, the same mining trick applies: log your clean tool-call traces, mine the invariants that hold on every correct response, and let the harness withhold on violation. That is the low-cost control that catches what the reviewer model saw and answered anyway. More on how we think about eval gates and human checkpoints in the LLM Ops notes at /llm-ops/.

MeltingFace