What it does

Five gates that refuse, a chair that asks, a mirror that counts, a code the agent reads every turn.

The parts

PartWhenWhat happens
G0 known-bad formsbefore a tool runs--no-verify, a heredoc through ssh, a force-push, rm -rf on a root and a canary literal are refused, with the same words every time.
G1 overwrite unreadbefore a tool runsA shell overwrite of an existing file the agent has not read this session is refused.
G2 commit unevidencedbefore a tool runsIn a project that declares a check command, git commit is refused unless that same command ran and passed within the last 30 minutes on the same tree. git -C dir commit is seen.
G3 stop unfinishedwhen the turn endsThe turn cannot end with open claims in the ledger. Capped at two blocks in a row, then allowed and logged, because a gate that can loop is a cost.
G4 self-protectionbefore a tool runsWrites to the duck, its state, the harness settings, the override and the project's own configuration are refused, and so are the owner's commands when an agent tries to run them. A duck whose hash differs from its sealed manifest fails closed.
Dissent chairbefore a tool runsRecognises four defect classes agents repeat and asks the one question a real check would have asked. Advisory. It never denies.
Mirrorsession startOpens every session with how many times the machinery caught the agent in the last seven days, read from the harness's own transcripts.
Agent Codeeach promptSeven duties and three verification checks, in English, in the agent's context every turn. Courage to deliver never overrides the owner's word on an irreversible act.

What it does not do