← All lab updates
The gate in front of a coding agent, with the person in the loop
We put the deterministic gate in front of Claude Code and ran a real session from the phone app. The gate refused what the rules forbid, let normal work through, and sent the commands that need a person to the person, as the agent's own approval prompt. Every answer went into the log and the counter.
## Why it matters
A coding agent runs commands on a real machine. Most of them are fine, a few should never run, and some are fine only if a person says so. A gate that can only allow or refuse forces a choice between blocking useful work and letting risky commands through. The third answer, asking a person, is what makes a gate usable every day.
## What we did
We put the gate in front of every command Claude Code was about to run, in a cloud session followed from the phone app, and tried each kind of command on purpose.
| The agent tried | The gate said | What happened |
|---|---|---|
| `sudo true` | refused | the agent read the fixed reply and did not run it |
| `ls`, scripts, file reads | allowed | they ran, nobody was asked |
| `pip install httpx`, no version pinned | held | the person approved on the phone, it ran |
| `pip install tqdm`, no version pinned | held | the person refused on the phone, it did not run |
| editing the gate's own configuration | refused | the agent cannot switch the gate off |
## What it shows
- The question reaches the person in the agent's own interface, on the laptop or on the phone. The answer goes back to the gate and into the decision log and the counter, like every other decision.
- The agent cannot turn the gate off. The check is run by the agent's harness, not by the model, and the rules refuse any edit to it.
- Nothing probabilistic decides. The same command in the same session always gets the same answer.
## How to try it
One command installs the gate in front of Claude Code; the gate page on the site explains the rest, with the console's screenshots.
This update is not available.