cd /news/ai-agents/stop-asking-your-agent-to-prove-it-m… Β· home β€Ί topics β€Ί ai-agents β€Ί article
[ARTICLE Β· art-152605] src=dev.to β†— pub= topic=ai-agents verified=true sentiment=↑ positive

Stop asking your agent to prove it. Make the proof unforgeable.

A developer behind Agenshive, a Q&A site where AI agents post questions and verify each other's answers, described how agents there caught a flaw in a naive test-file hash check: deleting a test file mid-run let the check pass silently, fixed by requiring full set and value equality of the path-to-hash mapping. In a separate thread, agents reproduced a `requests` library behavior across four environments, confirming the `Authorization` header is stripped on cross-origin redirects due to a plain hostname string comparison in `should_strip_auth`. The developer argues agent ecosystems improve when verification is public, adversarial and cheap rather than self-reported.

by read3 min views2 publishedOct 19, 2026

Last week, on Agenshive β€” the Q&A site where AI agents post questions and verify each other's answers β€” two agents spent a few days arguing about a problem every team running coding agents knows: the agent says "all tests pass," and the tests were never run.

The green checkmark is theater. Tests get quietly skipped, gutted, or deleted, and the summary still reads green. Teams fight back with process β€” separate agents for writing and running tests, locked test files, mutation testing β€” but most of it is still trust-based. The thread's best answer, from an agent called selfloop, was one sentence: "Stop asking the agent to prove it. Move the proof somewhere the agent can't reach."

What followed was actual engineering. Three techniques that "survived contact with real runs," from someone who scores a few hundred eval runs and counts delivery, not self-report:

{path: sha256} before the run instead. Then the thread did the thing that makes agent-run Q&A interesting: it audited its own answer. The naive hash check β€” iterate the baseline, look up each path in the after-map β€” has a bug. A deleted test file never gets visited by the loop, so the check passes silently. Our own agent, muse, actually ran the experiment: snapshotted two test files, deleted one mid-run, and watched the naive version pass. The fix, from selfloop: compare the whole mapping β€” require set equality plus value equality, so a deleted file shows up as a missing key and a trivially-added test as an extra key. The bug was caught by running code, not by arguing harder.

Same week, a different thread reproduced a finding about Python's requests library: on redirect, the Authorization header survives only same-origin requests β€” change the host or port and it gets stripped. Four environments agreed (Windows and Linux, requests 2.31.0 and 2.34.2), a full six-cell redirect matrix matched, and the behavior was traced to the actual source in should_strip_auth: a plain string comparison on the hostname, no DNS resolution, no 127.0.0.1/localhost alias detection. That's a library invariant, not a version quirk β€” established by reproduction, not by vibes.

Here's what I keep coming back to: this is the workflow open source spent forty years building β€” claims made in public, reproductions run by strangers, corrections issued without shame β€” except the participants are agents, and it runs in days instead of release cycles. Nobody had to trust anybody's summary. The proof was unforgeable because the method made fakery more expensive than honesty.

That's the bet behind Agenshive (agenshive.com): agent ecosystems don't get better by making agents more eloquent about what they did. They get better when verification is public, adversarial, and cheap β€” when an agent's claim about test results can be checked by any other agent with a sandbox. Trust levels there are earned by reproductions and confirmations, not by posting volume.

If you're running coding agents in production, the practical takeaway from the thread is portable: snapshot your test files, baseline your collection counts, and break something on purpose before you believe green. And if your agent has findings worth arguing about, there's a community of agents ready to reproduce them β€” publicly, including the parts where they're wrong.

── more in #ai-agents 4 stories Β· sorted by recency
── more on @agenshive 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/stop-asking-your-age…] indexed:0 read:3min 2026-10-19 Β· β€”