Gates that waited on people — only 33 of 175 review findings were fixed
This is part 5 of the AX Journey series. Of the five things I put in place from June to October 2026 while leading AX at a development organization that builds services for pharmacies, this piece covers the fourth: the Gate Keeper. If the first three steps gave AI rules and knowledge, this step is the door that stops their output before it reaches production.
The development organization originally had two gates: review, where someone else reads the code before it is merged, and QA (quality inspection), where someone clicks through the screens. People did both, so everything waited on people. When reviewers were busy, code stalled; when no one could inspect, releases slipped.
Even the findings that arrived after the wait were rarely fixed. A count in October showed that of 175 review findings, 33 had actually been fixed. The findings remained, but nothing required answering them before moving on.
So the gates changed in two ways. Merging and promotion happen only after findings are answered and screen inspection passes, and routine work is finished by bots outright.
An AI review lands within 23 seconds of a PR opening
![“AI PR review” comment on a GitHub PR — risk grade low (12/100), a collapsed score rationale, and findings F1 and F2 [P0] and F3 [P2], each giving the file name and line number, what is wrong and how to fix it in one paragraph](/insights/ax-journey-gate-keeper-ai-review.webp)
A PR (pull request) is a review request that says “here is what I changed, please check it” before the changed code is merged into the main line. Whether a developer or an AI opens a PR, the signal goes to a shared server, where Codex, OpenAI’s coding AI, starts the review. Codex only reads the code; it does not change it.
The review arrives as a comment within 23 seconds of the PR opening. At the top is a risk grade (a score based on the paths and size of the changed files), and below it the findings follow with numbers such as F1 and F2. Each finding is one paragraph: which file and line, what is wrong and how to fix it.
Findings also carry a priority. P0 and P1 are important findings that must be either fixed or answered with a reason; P2 is a lower-priority finding. The wait for a human reviewer shrank to 23 seconds, and because findings always share the same format, the recipient can act on them immediately.
The merge button stays blocked until findings are answered

Adding a review alone repeats the 33-out-of-175 pattern. So a required check was added. A required check is an automated check that must pass before the merge button works, like a form that cannot move up until every approval box is signed. Merging means actually combining the changes in the review request into the main code.
When there are important findings, the PR author must post a resolution comment. For each finding number they write “fixed” or “not applied” with a reason of at least ten characters, and if fixed, also the name of the test that confirmed it. Until that comment exists, the merge box keeps showing the required check as pending, even if build and tests have passed.
It did not block from day one. For two weeks from October 1, reviews were posted but merges were not blocked. After watching the findings for those two weeks, the required check was applied to 47 repositories on October 13. A repository is the storehouse that keeps each service’s code version by version.
The announcement to the team that day had three lines. People wait for the checks to finish and confirm success. AI fixes the findings and pushes again. To start, pull the rules and open a new session.
Screen inspection: AI clicks through scenarios and judges too

The second gate is screen inspection. Even if the code is right, a broken screen is a failure to the customer. This gate runs as an automated inspection called qa-agentic.
Claude writes the scenario first. A scenario is a script of the order in which a person would click through the screens, such as “log in → tap the Scan tab → check that the notice appears.” Accounts and servers are chosen from a predefined list. AI then operates real web, Windows, Android and iOS devices according to the script and saves a screenshot as evidence at every step.
Judgment happens twice. A small judging model makes a first call from fixed rules and on-screen text, and Claude looks at the screen itself to decide pass or fail. Unclear cases go to a person. In the October 22 inspection of PillCheck’s five tabs, all 10 verdicts were handed to people for confirmation; the system does not pass anything it is unsure about.
The order is fixed too. New screens go first to a development server (a practice server separate from the live service) for inspection, and only after the results are reviewed do they move up. When 30 scenarios (74 steps) ran on the test server on October 5, the verdicts were 76 passes and 3 failures, and the 8 bugs found over two days were assigned owners and deadlines.
Bots finish routine work — first, decide whether it can be undone

If the gates are about stopping, this part is about taking work off people’s hands. When a pharmacy inquiry arrives, the bot first looks for evidence in the KB pages covered in the previous part and checks whether the same pharmacy asked again within 30 days. Then it asks one question: if this goes wrong, can it be undone?
The bot finishes only what can be undone: refreshing a drug photo, turning one ad off or back on. Anything involving money or judgment, such as mileage, order cancellation, card payments, inquiries with no basis in the KB, or repeat inquiries within 30 days, becomes a task in Jira (a work-tracking tool) with an owner and goes to a person.
Two threads from October 16 show the difference. Inquiry #1598, asking for a drug photo update, was handled by the bot within a minute, including a completion comment on the board. A similar inquiry, #1597, had no photo to apply, so the bot stopped and handed it to an owner, who resolved it 18 minutes later.
Before going live, 43 inquiries from the previous 30 days were replayed. Nine were work the bot would finish, 11 would go to people, and 23 were outside automation. After confirming that the bot would touch only nine, it went live on September 17.
| Branch | Examples | Who finishes it |
|---|---|---|
| Reversible | Drug photo refresh · turning one ad off or on | Bot handles it and posts a completion comment |
| Irreversible or needs judgment | Mileage · order cancellation · card payment · no KB basis · repeat inquiry within 30 days | Jira task + owner → a person |
From Slack request to reply in 29 minutes, with two button presses

Requests from colleagues follow a fixed flow too. At 17:00 on October 21, a developer asked over Slack for the AI review to stop counting auto-generated files.
At 17:03 a secretary bot message arrived, visible only to the person who received the request: a reply draft, a one-line task and four buttons — Send, Edit and send, Discard, Proceed with work. At this point the requester knows nothing yet; nothing goes out until a person chooses.
After “Proceed with work” was pressed, a result draft arrived at 17:08 with what was changed, the values actually checked and what remained. At 17:29 “Send” was pressed and a done reply appeared in the requester’s thread. From request to reply took 29 minutes, and the person’s part was two button presses and checking the result.
What the gates made possible — a teammate’s PR touching the production database
The value of the gates shows in risky changes. A team member, working with an agent (an AI worker that handles several steps on its own), opened a PR with a script to clean up the production database. The AI review gave it a risk grade of 70/100 and flagged a P1 finding: the script could also undo changes made by administrators.
The agent reproduced the problem, fixed it, confirmed it with tests and posted the resolution comment. The review → fix → review loop ran six times, and on October 15, after passing the required check, 2,462 lines were merged. Since this team member started real-world trials on August 25, they have merged eight PRs: one to the admin site and seven to the pharmacy site.
On October 20 it was decided to apply this approach to everyone in non-developer roles. The goal of these safeguards fits in one sentence: “to keep non-developers from breaking the system, so they can build without fear.” The gate is not a door that stops people but a safety net that lets them try without fear.
Try this today — one check that warns before it blocks
You do not have to raise every gate at once. This organization followed the same order: pick one recurring finding, run it for two weeks as a check that only warns, and make it required once it proves useful.
Teams that work with code can start on GitHub. In the repository’s Settings, go to Branches or Rules, create a rule for the default branch, and add the check under “Require status checks to pass”; merges are then blocked until it passes. For the first two weeks, leave that box off and just watch the results.
Teams without code can do the same. Pick one item that keeps going missing from a report, and before submitting, ask an AI to “check whether this item is there and tell me if it is missing.” Count how often it triggers over two weeks, and once the evidence builds up, make it a submission requirement.
The next part covers the last of the five steps: recursive improvement, where retrospective jobs every morning revise the rules and the KB.