/awsh:adversarial-verificationfrom awsh
Prevents agents from falsely reporting success by enforcing blind A/B verification: capture evidence before and after a change, then have a fresh-context agent judge which is better without seeing the diff.
Ships in awsh. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
There is one failure that costs more agent-hours than any bug: the agent reads its own diff, decides it is correct, and reports success. Every expensive incident has that shape. A green healthcheck. An HTTP 200. A passing import. A test that goes green. All true, all at the same time as the feature being completely inert.
More care does not fix this. You cannot carefully notice a thing you are structurally unable to see, and an author is structurally unable to see their own change the way a stranger does. The fix is removing yourself from the judgement.
Capture evidence from a clean baseline → change one thing → recapture from the same baseline → have someone who cannot see your diff decide which side is better, without being told which is which.
1. capture(before) reset the world, record one observable per surface
2. critique fresh-context agents see ARTIFACTS ONLY — no code, no diff
3. rank pick 2-3 gaps; dedupe against the rejected ledger
4. build one gap per builder; builders do not commit
5. capture(after) same reset, same probes
6. verdict blind A/B, sides shuffled, key hidden
7. gate objective checks, raw exit codes, nothing summarised away
Accept only if every gate passes and every changed surface's blind verdict lands on
after. Otherwise revert and write the gap to a rejected ledger so the next round cannot
re-propose it.
A loop that never rejects is not measuring anything. Rejection is the system working.
Each of these cost a real run. Prose warnings did not prevent any of them — only a tool that refuses to proceed did.
A run was thrown out because before and after ran against a dirty state directory. They compared two different worlds, not two versions of the code.
→ The capture step performs the reset itself and refuses to record anything if the reset fails. Not "remember to reset first" — it cannot be skipped.
A UI check read computed styles twice and reported success while the screen was visibly
wrong. The same shape everywhere: an endpoint that returns 200 to an anonymous probe and
403 to a real session; a search that returns [] with HTTP 200; a mounted file that
grep shows as fixed while the running process still holds the old import.
→ Every surface declares its observable, and a surface that emits nothing is DEAD.
Identical captures differ by ~1% from timing alone. If you accept a 1% "improvement" you are accepting randomness and will do it forever.
→ Declare a noise floor. Anything below it is un-verdictable, and a verdict on an un-verdictable surface is discarded, not counted.
"All checks pass" is not the same as "all checks ran".
→ Record argv and the raw exit code for every gate, and fail on a missing gate, not only a failing one.
A judge who knows which side is the fix will rationalise toward it. Every time.
→ Shuffle the sides per surface and hide the key. The builder's reasoning goes in the commit message and is never shown to a judge.
Both block acceptance, and they must be reported separately. Conflating them is how "the checker is broken" gets filed as "the system is fine". Exit non-zero when you could not look. Silence is never a pass.
A chat assistant was inventing facts — confidently naming the wrong network port for its own components, a different wrong answer each time.
Reading the code found it quickly: the routing flag that enables retrieval was computed from exactly two detectors, neither of which matched a plain factual question. Obvious fix, small diff, clearly correct. Ship it.
The wave loop ran a control surface first — a question that did match one of the two detectors, and therefore should have retrieved. It came back with retrieval correctly routed, zero tools executed, and this answer:
"I couldn't find any references to
<that function>in the codebase. The function may not exist or may be named differently."
The function existed. The assistant had asserted a confident negative from a search that never ran.
So there were two defects, not one. Adding the missing detector would have routed every factual question into a path that also retrieves nothing — converting "the port is 8080" (obviously wrong) into "I could find no information about that" (authoritatively wrong). A clean diff, a plausible story, and worse for every user.
The real cause was three layers down and measurable in one command: the tool planner took 12-13 seconds against a 2-second timeout. It always lost. It picked exactly the right tools when allowed to finish. The timeout was swallowed at debug level, so nothing ever surfaced it, and the model was simply handed an empty tool list.
Someone had already found this once and moved the timeout from 0.5s to 2s — halving the gap on a 13-second problem, and leaving it silently broken.
The lesson is not "check more carefully." The author had read the code correctly and drawn a reasonable conclusion. It took a control surface, chosen in advance to be one that ought to pass, to prove the plan wrong before a line was written.
The vote is a tiebreak among plausible options, not the decision. Structure it so a persuasive-but-empty change cannot win:
accept = measurably_improved
AND no_regression_on_guard_surface
AND blind_votes_for_after >= blind_votes_for_before
If the numbers did not move, it does not matter how good it looked to three judges.
Use it when the change is broad or the feedback is untrustworthy:
if response.ok: with no else branchSkip it when a single failing test already answers the question. This is expensive, and spending it where a normal test suffices teaches people to route around it.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub aitherium/awdk --plugin awsh120 skills in this plugin
/acp-driveDrive any external ACP agent from your agent. The Agent Client Protocol lets one agent drive another. When your task needs a different model, a different tool surface, or a sandbox your loop doesn't have, you can hand a sub-problem to an external ACP agent — Claude Code (claude-agent-acp), Codex (codex-acp), Gemini CLI (gemini-cli), or any binary that speaks ACP on stdio — and read back its answer. Your memory, faculties and approval gate stay in charge; the external agent runs its own loop underneath./acp-serveExpose an AitherOS agent to ACP editors. ACP editors — JetBrains IDEs, Zed, VS Code, neovim, Obsidian — drive coding agents over the Agent Client Protocol. adk acp serve makes any AitherOS agent one of those agents: the editor spawns it as a subprocess, and every prompt, permission request and tool round-trip goes over stdio JSON-RPC. Your agent's approval gate maps onto ACP permission requests./adk-deepseek-coderOther plugins' skills for the same job