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
| Harness | Status | How |
|---|---|---|
| Cursor | untested | Implement in a stop or beforeShellExecution hook. Untested. |
| Claude Code | untested | Implement in a Stop hook. Untested. |
| Grok Build | untested | Implement in PreToolUse on commit. Untested. |
| Codex | untested | Untested. |
| AGENTS.md generic | untested | Untested. |
By model family
| Claude | untested |
| GPT | untested |
| Grok | untested |
| Gemini | untested |
Sponsor slot: your verification tool here, one sponsor per week. Details
Proof of the week
One verification pattern every week, adapted per harness and model. No spam.