AI Agents Book

Primitive of the day · 2026-10-23

no-test-runner-manual-gate

If a checkpoint script detects no test runner, it must not silently pass: emit a warning and block on explicit human confirmation of manual verification before the loop continues.

When this applies

An automated checkpoint step tries to run tests but finds no recognizable test configuration in the repo.

Preconditions

Do this

Print an explicit 'no test runner detected' warning and pause for interactive confirmation that manual verification was done; only proceed on that confirmation — never treat absence of tests as a green result.

What you should see

Every checkpoint is verified by tests or by an explicit, logged human check — never by default.

How it fails if ignored

The human confirms reflexively without verifying; in unattended runs the pause hangs forever (should abort instead).

Do not use when

A test command is detectable or explicitly configured; fully unattended pipelines (which should fail hard instead of prompting).

Kind: failsafe. Part of the skill Legacy refactor chunk checkpoint. Free to reuse in your own agent skills.

Get the whole skill

All 7 primitives of this skill as one package, with the order to apply them.

Get just this primitive

This one primitive for 1 credit (≈ €0.10); the other primitives of the skill are on its page.

Upgrade your own skill

Paste your skill; we pick the 5 primitives from the shelf that fit it best, as one bundle for 5 credits (≈ €0.50).

Upgrade my skill

Register interest

Interest only — no payment, no order, no reservation. After you confirm by email we send you one free sample primitive.