Menu

Guard Jobs Are Free: Four Agents, Three Human Gates, and Zero Model Calls on a Bad Request
📰

Guard Jobs Are Free: Four Agents, Three Human Gates, and Zero Model Calls on a Bad Request

DEV Community: github·Michael Kaminski·about 6 hours ago
#upYzVd4U
#devtogithub#technology#devto#dev#agent
Long article (736 words) — no AI summary yet.
Reading 0:00
15s threshold

Originally published on michael-kaminski.io .

A feature of five stories costs sixteen model runs in my software-delivery pipeline: one for the product agent, then five each for dev, QA and acceptance. A request that fails the Definition of Ready costs zero, because the check that fails it is a bash script that runs before any model is invoked.

The conclusion first: put the preconditions in a guard job, not in the prompt. A guard job is free, it is deterministic, and it fails in a way the issue timeline records. A precondition written into a prompt costs a model call to evaluate and is honoured most of the time.

The shape

Four agents, each owning exactly one gate, with no authority over the others' work. The product agent asks whether this is a real, sliced, testable feature; it cannot write code. The dev agent turns one story into one pull request with tests; it cannot start from an unrefined issue. The QA agent asks whether the tests actually prove the criteria; it cannot fix the code.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.