惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
爱范儿
爱范儿
量子位
博客园 - 聂微东
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
GbyAI
GbyAI
MyScale Blog
MyScale Blog
IT之家
IT之家
P
Proofpoint News Feed
M
MIT News - Artificial intelligence
The Cloudflare Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Hugging Face - Blog
Hugging Face - Blog
The Register - Security
The Register - Security
Microsoft Security Blog
Microsoft Security Blog
博客园_首页
MongoDB | Blog
MongoDB | Blog
F
Fortinet All Blogs
博客园 - 三生石上(FineUI控件)
Y
Y Combinator Blog
雷峰网
雷峰网
V
Visual Studio Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
博客园 - 叶小钗
D
DataBreaches.Net
B
Blog
B
Blog RSS Feed
大猫的无限游戏
大猫的无限游戏
aimingoo的专栏
aimingoo的专栏
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
小众软件
小众软件
腾讯CDC
T
Threat Research - Cisco Blogs
SecWiki News
SecWiki News
Martin Fowler
Martin Fowler
D
Docker
Cisco Talos Blog
Cisco Talos Blog
T
Tenable Blog
Webroot Blog
Webroot Blog
宝玉的分享
宝玉的分享

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Verify the Work, Not the Report: a coding agent's success claim is just a claim
Vasyl Tretiakov · 2026-06-24 · via DEV Community

A sub-agent's success report is generator output, not ground truth. Verify the work yourself, and reward the agent that refuses a false premise.

In one session this spring I sliced a workspace-wide rename across a handful of sub-agents, dispatched them one at a time, and validated each commit myself before sending the next. That one habit caught three confident, wrong reports in a single afternoon.

The first was a pass that wasn't a compile. A slice came back green, and the build check it cited had finished in 0.34 seconds. A third of a second is not a compilation of a large workspace; it is a cached echo of an earlier one. A real build, run by hand, took 2.4 seconds and genuinely passed — but the report had no way of knowing that, because it was reading the cache, not the code.

The second was a test result that could not exist. A slice reported 121 passing tests from a build target that, run as the report described it, errors out with did not match any packages. A command that fails to resolve its target cannot also count 121 green tests. The number was real; the command attached to it was not. Run the correct way — against the right manifest — the tests did pass. The work was sound. The account of how it was checked was fiction.

The third was a half-applied change reported as done. A rename swept cleanly through every surface the compiler can see and stopped there, leaving the identifiers and comments it cannot see untouched, and reported the sweep complete. The residue surfaced only because a separate check flagged the old term still living in the code.

My own note from that session, verbatim:

I'm re-validating every sub-agent commit myself rather than trusting the reports. This session alone caught a stale-cache "pass," a mislabelled build target, and a half-applied tree — all recovered without damage.

Here is the part that matters, and that the cynical reading misses. In all three cases the work was fine. The compile passed, the tests passed, the rename was finishable in one clean recovery commit. The unreliable artifact was never the code. It was the report.

A report is weaker evidence than the output

I have argued before, in Compiling the Process, that the cheap way to make a high-throughput, low-consistency generator reliable is to put a deterministic verifier in front of it and exploit the asymmetry: checking an output is far cheaper than producing a correct one. A compiler is one instance of that pattern; a test suite is another.

A self-report sits at the wrong end of the same asymmetry. It is the generator narrating its own output — a lossy summary produced by the same process that produced the work, with no independent signal behind it. That makes it strictly weaker evidence than the output it describes. You can re-run the output. You cannot re-run a sentence.

This is not a quirk of one toolchain. Huang and colleagues, in Large Language Models Cannot Self-Correct Reasoning Yet (ICLR 2024), found that "LLMs struggle to self-correct their responses without external feedback, and at times, their performance even degrades after self-correction." A model asked to grade its own reasoning, with nothing external to check against, does not reliably improve and sometimes gets worse. Birgitta Böckeler makes the practitioner's version of the same point about tests: "the agent also generated the tests. So maybe then I have to think about feedback for the test." A verifier the generator authored is not independent of it. A self-report is the limit case — the generator grading itself with no separate signal at all.

So the discipline that everyone already accepts for code applies just as hard one level up. We do not trust agent-written code without a check. We should not trust an agent-written status claim without one either.

Verify the real signal, not the claim

"Verify the report" is easy to nod along to and easy to do wrong. Re-reading the agent's summary more carefully is not verification; it is reading the same fiction twice. Verification means re-running the genuine signal yourself and reading what the system actually returns.

The stale-cache pass is the sharp lesson. The tell was not in the words of the report — those said green, confidently. The tell was the 0.34-second timing, which a real build of that workspace cannot achieve. The fix was to force a genuine compile and read its true duration and exit. The mislabelled target is the same shape: the giveaway was that the cited command could not have produced the cited number, so the number had to come from somewhere the report wasn't naming. In both, the resolution was the same boring move — run the actual command, against the actual target, and read the actual output, rather than the prose about it.

Worth keeping honest about: the verifier can be fooled too. In the stale-cache case my own tooling briefly misled me — the editor's diagnostics were surfacing phantom errors from a mid-edit snapshot, exactly as stale as the cache that produced the false pass. A verifier is only as trustworthy as the freshness of the signal it reads. The defense is to anchor on something the generator could not have produced by accident: a real build time, a real exit code, a real test count from a command that actually resolved.

The inverse virtue: reward the refusal

The same skepticism that distrusts a false success has to cut the other way too, or it curdles into "assume the agent is always wrong." It is not a trust problem. It is an evidence problem. And the cleanest evidence an agent can produce is sometimes the report you least want: your premise is false, and I will not proceed.

In a later build session, two of six delegated tasks came back not as code but as refusals — each because the live codebase contradicted the task's stated premise. One task fixed a count at eight; the agent computed it against current code and found twenty-four, then stopped rather than implement against a number it could see was wrong. Another assumed an existing enforcement check was coarse; the agent traced it and found it had been precise since the day it shipped, reverted its half-built change to a clean tree, and bounced the task back to the design stage. Neither guessed. Both surfaced the contradiction and asked.

That reframes the boundary between deciding what to build and building it. The build stage is not only where code gets written; it is the first place a plan meets live code, which makes it a premise-falsification checkpoint. Its most valuable output, some fraction of the time, is a falsified premise rather than a commit. The usual trigger is an operator's skeptical question. In one case a name had been bothering me, I pushed on it, and the reply came back "You're right on both halves — verified," followed by the evidence and a decision to route the change back to design rather than improvise it.

So the orchestrator's job is symmetric. Distrust the confident success until you have re-run it, and protect the honest refusal instead of overriding it. Both are the same verifier doing the same work: separating a claim from the ground truth it is supposed to describe.

The rule, and why it travels

The operating rule is small. Independently verify after every sub-agent commit. Re-run the genuine signal, not the agent's summary of it. Size each verification so it stays cheap relative to the work — the asymmetry is the whole point, and it collapses the moment checking costs as much as redoing. Treat DONE and PASS as claims awaiting a check, never as facts. And when an agent comes back with a falsified premise instead of a commit, count that as the system working.

None of this is specific to one stack. Anthropic's 2026 Agentic Coding Trends Report frames the shift bluntly: "Software development is shifting from writing code to orchestrating agents that write code." Any orchestrator delegating to a probabilistic generator inherits the same problem. The reports come back; the reports are generator output; and the only thing that converts a report into knowledge is a verifier the reporter did not author.

Honest limitations

This is "trust, but verify," which is old enough to be a proverb. I am not claiming the principle. The only thing new here is where it points — at the agent's status claims, not just its code — and the observation that the verification is cheap enough, against a deterministic signal, to run after every single commit rather than as an occasional audit.

I also want to be precise about what failed, because the easy reading overclaims. In every case above, the work's substance was sound. The model was not a bad worker and was not being willful; it produced a lossy summary of its own output, which is what a low-consistency generator does. The unreliable thing was the report as a piece of evidence, not the code it described. An essay that concluded "agents can't be trusted to do the work" would be drawing the wrong lesson from these receipts.

The discipline only pays while verification stays cheaper than the work — the cost test from Gates Earned From Failure applies here too. If re-validating a result costs as much as producing it, the asymmetry is gone and you are just doing the work twice. The cases that pay are the ones with a fast, deterministic signal to re-run: a compile, a test count, a gate's exit code.

And the usual scope caveat: this is one solo-directed codebase of roughly 150,000 lines, with sub-agents drawn from a single model family, observed across hundreds of development sessions. The receipts are many; the weak point is elsewhere. It is one codebase, one model family, and there is no controlled study against which to measure how often the failure fires versus how often the check catches it.

A claim is not a check

The thread running through all of it: a report is a claim, and a claim earns trust only from a verifier the claimant did not author. That is the rule for the agent's code. It is the same rule for the agent's account of its code. Re-run the work, read the real signal, and treat the honest refusal as worth more than the confident pass.

I write about the intersection of Contact Center systems and AI-assisted engineering, and I take on a small amount of consulting and delivery work in that space — find me on LinkedIn.

References


Published at vasyltretiakov.dev.