AI Agents Book

Primitive of the day · 2026-11-08

qa-gate-read-only-caller-decides

A QA gate reports and exits nonzero - it never deletes, edits, or regenerates the artifacts it judges; the caller decides remediation.

When this applies

Inserting an automated quality gate between pipeline stages.

Preconditions

Do this

The gate reads inputs, writes a report plus exit code, and lists failing items; mutation and regeneration decisions stay with the caller or the human.

What you should see

Gates are safe to run anytime; no destructive surprises; judge and executor stay separated.

How it fails if ignored

Gates that delete 'bad' outputs destroy evidence, break reruns, and couple judgment to remediation.

Do not use when

NOT for self-healing pipelines explicitly designed to auto-remediate (make that a separate, logged stage).

Kind: discipline. Part of the skill Local VLM image pipeline QA. Free to reuse in your own agent skills.

Get the whole skill

All 5 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.