← Back to capsules
DevOps AI CodeReview Backend

Two human gates my AI can't skip

Published on October 26, 2026

𝗧𝘄𝗼 𝗵𝘂𝗺𝗮𝗻 𝗴𝗮𝘁𝗲𝘀 𝗺𝘆 𝗔𝗜 𝗰𝗮𝗻'𝘁 𝘀𝗸𝗶𝗽

My AI agent plans, writes tests, codes and even reviews itself… but there are two moments where it stops and asks me 🛑

It wasn't like that at first. The flow closed the ticket after the commit: it audited a decision that had already been made and recorded it based on what the dev said. That was bureaucracy, not control 😅 That's when I learned that a 𝗵𝘂𝗺𝗮𝗻 𝗴𝗮𝘁𝗲 after the fact is useless: it has to come before.

This is how the flow for every ticket ended up in my harness:

→ 𝗣𝗹𝗮𝗻: checks that the ticket has verifiable criteria (if not, it stops and escalates), creates the branch and builds the plan. An independent reviewer checks it

👤 𝗚𝗮𝘁𝗲 𝟭: I review and approve the plan

→ 𝗜𝗺𝗽𝗹𝗲𝗺𝗲𝗻𝘁: TDD for each criterion, type, lint and format checks, and verifiers that try to refute each criterion

→ 𝗔𝗽𝗽𝗿𝗼𝘃𝗲: it shows me the exact list of files and the commit message

👤 𝗚𝗮𝘁𝗲 𝟮: I run local tests and it only commits with my explicit approval

→ Then come the AI review in the pre-commit hook, CI, and another dev's approval on the PR

Why right there? 💻

→ Approving the 𝗽𝗹𝗮𝗻 is cheap: changing course before writing code costs minutes; after, it costs hours

→ Approving the 𝗰𝗼𝗺𝗺𝗶𝘁 is the last moment where you still get to decide. After that, everything is "fixing"

→ And the agent can't do it for me: only the 𝗲𝗻𝗴𝗶𝗻𝗲 changes the ticket's state, and a 𝗵𝗼𝗼𝗸 blocks editing it by hand

AI speeds things up a lot. But the decisions that matter are still mine 💪

Part 3 of the series about my agent harness 🚀

Where in your flow do you put the human? Before writing code, before the commit, or only at the PR? Tell me 👇

Keep flying, Champions! ✈️