tailtest-verifier

A read-only failure triage helper for tests. It examines the source and test involved in a failure and classifies the problem as a real bug, an incorrect test, a flaky test, or an environment problem.

In plain words
What is it for?
Use it when a test scenario fails and you need a short root-cause verdict. It does not modify source files or tests.
Why use it?
It helps distinguish faulty application logic from a bad expectation, nondeterministic behavior, or missing infrastructure. This prevents changing correct code just to satisfy the wrong failure.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/avansaber/tailtest/verifier
Clone the repo
git clone --depth 1 https://github.com/avansaber/tailtest
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 223 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00031 $0.00223
Opus 5 $0.00015 $0.00112
Sonnet 5 $0.00006 $0.00045
Haiku 4.5 $0.00003 $0.00022

Measured 2d ago against content hash d8864ac7bb64, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tailtest-verifier scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/verifier.md · 20 lines

What it actually says

Given a failing scenario, read the source file and the test file, then classify the failure as exactly one of:

  • real-bug -- the source code has incorrect logic; the test is exposing a genuine defect
  • wrong-test -- the test itself is incorrect (wrong expectation, wrong fixture, or wrong assertion); the source code is correct
  • flaky -- the failure is non-deterministic (timing, randomness, or ordering); infrastructure issue, not logic
  • env -- missing dependency, misconfigured test setup, or external service unavailable; source code is not at fault

Report a one-line root cause: {classification}: {one sentence explanation}.

Never modify any file. Hand the verdict back to the main thread for the user to decide whether to fix.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 20 lines · 31 tokens per session scan A d8864ac7bb64

Subscribe to this mod's changes

tailtest-verifier is an agent published in the GitHub repository avansaber/tailtest (10 stars, last pushed 2mo ago), licensed MIT. It adds 31 tokens to every session and 223 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

ap-implementer

L3 executor - G4 IMPLEMENT. Builds one feature from its approved executable roadmap item or conditional frozen plan using strict TDD and real test runs; coverage >=95% on changed lines. Reports PLAN-CONFLICT rather than improvising.

Spielewoy/autoprompt-skill · 52 tokens

ap-manager

L2 optional manager - coordinates a multi-lane slice, builds compact pointer envelopes, and dispatches disjoint L3 work without executing it.

Spielewoy/autoprompt-skill · 32 tokens

ap-scope-coordinator

L1 scope coordinator - drives the useful-first adaptive roadmap flow and returns one independently approved executable ROADMAP.md before build.

Spielewoy/autoprompt-skill · 30 tokens

ap-framework-generator

L3 executor - FRAMEWORK GENERATE. When the SELECTOR returns MISS, generates a one-off custom framework for the exact task shape - classifies the orthogonal axes, composes the gate sequence from the GATE-LIBRARY with the correct axis-specific gate, emits the gen- leaf with the BLOCKED invariant verbatim, binds an…

Spielewoy/autoprompt-skill · 93 tokens

ap-framework-validator

L4 terminal leaf - FRAMEWORK VALIDATE (HRN-5). A fresh, default-FAIL juror that proves a GENERATED framework is SOUND before any gate runs. Checks the HRN-5 default-FAIL checklist - every gate mapped, exactly one terminal DONE with negatives looping UP, the BLOCKED invariant verbatim, a non-empty acceptance set. PASS…

Spielewoy/autoprompt-skill · 93 tokens

ap-juror

L4 terminal leaf - G7 SIGN-OFF. One independent sign-off panel seat that saw none of the intermediate work. Binary PASS/FAIL on opened evidence; default-FAIL. A FAIL naming a P0/P1 blocker is NOT arbitrable into PASS.

Spielewoy/autoprompt-skill · 58 tokens