DirectoryProofKitNewsletterSponsor

← Directory

PATTERN · r/AI_Agents community

Fail if zero tests collected

A suite that collects zero tests exits 0. Parse the runner's own count, fail if collected == 0 or the count dropped, and require one artifact you can open.

proof: tests run countproof: CI artifact blocks: zero tests ran, exit 0

Source

https://www.reddit.com/r/AI_Agents/comments/1vxf6rv/a_verification_step_in_my_agent_loop_ran_zero/
Checked 2026-10-16. Read the original before installing.

By harness

HarnessStatusHow
CursoruntestedImplement in a stop or beforeShellExecution hook. Untested.
Claude CodeuntestedImplement in a Stop hook. Untested.
Grok BuilduntestedImplement in PreToolUse on commit. Untested.
CodexuntestedUntested.
AGENTS.md genericuntestedUntested.

By model family

Claudeuntested
GPTuntested
Grokuntested
Geminiuntested
"source" = the source targets it; "untested" = not verified by ProofOfDone yet.

Proof of the week

One verification pattern every week, adapted per harness and model. No spam.