Skip to content

AI Compass / Knowledge cards

Checks the agent cannot bypass

checkpoints and gates

Checked Automation Prompting

A checkpoint is a small, individually checkable piece of a large task. A gate is a check that every checkpoint must pass before work continues. Shopify described this pattern on 21 September 2026 for its internal tool Helix. AI LABS rebuilt it in Claude Code.

What it is for

An AI agent can overlook or reinterpret a rule in an instruction. It cannot get past a gate. This way quality comes from the process, not from hope.

Steps

  1. An orchestrator (the agent that distributes the work) breaks the undertaking into small checkpoints.
  2. Gate 1, behaviour: Automated tests prove that the checkpoint does what it should.
  3. Gate 2, interface: The result is compared with the template.
  4. Gate 3, adversarial review: Dedicated review agents look specifically for bugs in the code. At Shopify there are two independent reviewers who must both agree. The AI LABS rebuild uses one reviewer and one agent that fixes the bugs.
  5. Gate 4, human: At the end, a person signs off.
  6. A stop hook keeps the agent in the process until all gates are passed. A hook is a script that Claude Code runs automatically at fixed points. Every subagent starts with fresh context.
  7. What the person notes becomes a new checkpoint and lands in a learning file that all agents read.

Limits

Open alternative: According to AgentConn there is an open-source rebuild, helix-loop (MIT licence, skill package for Claude Code with a stop hook). It is still early and has not been tested for this card.

Sources

Status

Checked 2 October 2026, extended 9 October and 11 October 2026 · Maturity new (method described, rebuild available, Helix not available)

Want to try this with your team? That’s what the AI Lab is for. See the AI Lab