Build1 distinct publisher2 min readPublished
The gate is a few lines of Python, and the engineering sits in whatever populates response.confidence and in whether your incident mix resembles the one where that 60 percent was measured.
The Engineer · Build desk

Compiled by The EngineerSomething wrong?How this is made
Read the fallback config as a latency budget. The primary `customer_api.search` gets a 30-second timeout and two retries, `cache.lookup` gets five seconds and none, and the last hop is a template message [10]. If `retries: 2` means two attempts after the first, the chain can burn 30 seconds three times plus five before the user sees the template, which is 95 seconds [1]. A 95-second wait to be told the system cannot help is its own incident class. The shape of that config is right. The numbers in it are a workload assumption, and you have to re-derive them against your own dependency latencies.
The gate is two vetoes on one object: `should_respond` returns False when `response.confidence` is under the threshold, and again when `response.missing_context` is set [5]. Look at what neither condition inspects. One of the failures in the author's log is an agent that produced correct output and attributed it to the wrong source document [9]. That response carries high confidence and no missing context, so it passes both checks and ships. An uncertainty channel catches absence of knowledge. Misplaced provenance needs a separate check against the retrieved span.
The 60 percent [8] is a claim about one incident population, and the author reports it from agents doing customer support, data extraction and workflow automation for enterprises [19]. For the number to move, two things have to hold. Your incidents have to be dominated by confident-wrong answers rather than tool failures or stale retrieval, and you need the held-out, human-labelled set the threshold was calibrated against [7]. The signal has a bill attached too. Token-level entropy assumes your endpoint hands back per-token probabilities, and self-consistency means re-running the same query several times and measuring variance, which multiplies inference cost on every request including the ones that end in a refusal [6].
There is a seam between the two snippets worth noticing. `AgentTrace` stores `confidenceScores` as a keyed map alongside a list of uncertainty snapshots [17], while the gate reads a single scalar [5]. Somewhere between those two representations is an aggregation rule, and that rule decides whether the threshold means anything.
The strongest part of the post is not the gate. It is the admission that isolated evals looked perfect and production did not [13], and that the difference only showed up once the harness modelled a cold cache, 0.3 latency jitter, 50 concurrent users and injected dependency failures [14]. That harness is what reclassified 30 percent of the errors as timeout cascades, where a call timed out, retried, and the retry added to the load that caused the timeout [16]. No prompt reaches that. Circuit breakers do.
Ranked by verification strength, evidence, and original report placement.
The author writes that after the 96th failed deployment he stopped asking the LLM to be more careful and started asking it to be honest about what it did not know, and that the difference was in the architecture around the model rather than the prompt.
By iteration 40 the pattern was clear to the author: most failures were caused not by the model's capabilities but by missing constraints and poor feedback channels.
The author states the agent was failing because the system could not distinguish between 'I don't know' and 'I'm confident but wrong'.
The ProductionSimulation harness warms a cold cache, injects latency with jitter=0.3, simulates 50 concurrent users, and injects failed dependencies.
The simulation measures p99 latency, error rate, hallucination rate, and fallback_triggered as fallback_count divided by total_requests.
The first version had the agent respond to every query even when it lacked sufficient information, generating confident, plausible-sounding answers that looked good in development and caused problems in production.
Distinct publishers with included, body-backed reporting in this cluster.
dev.to
1 article · August 29, 2026
Follow any of these and your For You feed starts watching them — no settings page required.
build
SWE-Bench does not measure the job: why agent scores are the wrong readiness signal1 distinct publisher
build
157 agent runs, 18 configurations, and the one variable nobody actually tested1 distinct publisher
build
A "Done." is a claim about the world, not a sentence you can grade1 distinct publisher
build
Six weeks of agent-run ops: the failures were plumbing, not the model1 distinct publisher
Evidence-backed comparisons of source perspectives and observed adoption signals. Read the methodology
Which Builder, Operator, and Investor concerns the observed source mix emphasized—not a truth score.
Evidence, demonstrated adoption, hype gap, incentives, and confidence are assessed independently, each on its own current evidence. How these are measured.
One engineer's log, no data behind it
What is checkable here is the code and configuration, which dev.to publishes in full and which a reader can reason about directly — that is why the 95-second worst case falls out of the YAML without anyone's help. What is not checkable is every number the headline rests on. There is no incident tally, no window, no validation set, no repository, and no second observer of the deployment. The claim that a threshold was calibrated against human judgment is exactly as verifiable as the claim that it was not.
One deployment, and it is anonymous
Adoption amounts to one practitioner saying his enterprise agents run this way. No customer is named, no scale is given beyond 50 simulated users in a test harness, and nobody else in this reporting says they run an uncertainty gate or a fallback chain of this shape. The pattern may well be widespread; this story is not where that gets established.
The ratio travels further than its receipts
Overstatement here is structural rather than promotional. The prose is unusually modest — it keeps insisting the fix was systems work, not cleverness — but three unanchored percentages do the persuading, and a percentage with no denominator will always sound like a finding. The gap widens when you notice the piece markets a four-line guard clause while the difficulty lives in populating one float, and when a resilience design that can hold a request for a minute and a half is presented purely as a win.
Reputation, not a product
Nothing is being sold in this post — no framework, no vendor, no funding round, not even a named model. What is being built is standing: the piece is a cross-post from the author's own site, opens by asserting enterprise shipping experience, and rewards the writer in proportion to how hard-won the lessons sound. That pressure pushes toward round, dramatic ratios and away from the caveats, which is roughly the distortion the numbers show.
Clear account, nothing to check it against
We can be fairly confident about what this story says and about the engineering logic of its artifacts; the code and configuration are specific and internally consistent, and the failure modes it names are ones anyone running agents recognises. We can be barely confident about its results, because a single anonymous self-report leaves no route to verification. Read the mechanisms as credible and the percentages as one team's arithmetic.