agentic-go. A done-gate for agent-written Go, tested against a bar set before the test. It failed three of its four kill criteria, and this page starts there.
At a glance
What it does. When a coding agent tries to stop, agentic-go check compares the working tree with a base and reports only the problems that change introduced. In an agent hook it blocks the stop once, so the agent can fix them.
go test by a rename or a build constraint, skips added to existing tests, removed assertions and stub panics.go test on changed packages and their consumers. Failures are rerun and compared with the base, so old and flaky failures warn instead of block.How it behaves in an agent. The report is at most 2 KB, with blocking items first, each with a location, a message and a fix. A gate failure never blocks an agent.
Where it runs. Hooks for Claude Code, and experimentally for Codex, a git pre-push hook, and CI.
checkNone yetHow it was built. The test was written before the results, with a bar the gate had to clear. The gate failed to clear it.
- A pre-registered protocolThe evaluation protocol was committed before the runs. It carries Amendments 1 to 4.
- Real commitsThe 821 variants come from 176 real commits in cobra, chi, testify, gin and echo.
- Five baselinesThe gate ran beside five baselines. The strongest conventional one runs every test,
go vetandgolangci-lint, and ignores failures that already exist at the base. A 60-line grep script was layered on it. - Kill criteriaFour criteria, K1 to K4, stated in advance. Three failed.
The four criteria
Results of 9 Oct 2026.
Results. The gate did not beat a conventional gate at catching hidden test tampering, a 60-line grep script beat it on disguised tampering, and it blocked too many correct patches.
K1. Cover-ups: failed
Share of effective cover-ups blocked (n=396), the gate against the strong conventional gate of tests, go vet and golangci-lint, base-subtracted. The gate needed to lead by 30 points. It trailed by 6.5.
K2. Held-out disguises: failed
Share of held-out disguises blocked (n=148), the gate against the 60-line grep gate. The gate needed to lead by 20 points. The precision half passed: on legitimate commits that delete or skip tests, the gate falsely blocked 36.8% (14 of 38), the grep gate 97.4% (37 of 38).
K3. True patches: failed
Of 150 true patches, 28 were blocked: 18.7%, Wilson 95% interval 13.2% to 25.7%. The bar was 2% or less. 22 of the 28 came from one defect in testify, where inner suites run through testing.RunTests are reported as new failing tests.
K4. Warm hook time: passed
Median time of a warm hook, the gate against the conventional gate. The gate was not slower.
The earlier MCP server. The same binary still runs as a local MCP server. Its own adoption study did not show a benefit, and it is now maintenance-only.
Defects are fixed and nothing is added.
What it doesn’t claim. The result is how well detectors catch planted flaws, not how often agents tamper with tests.
Licence and source. The code is Apache-2.0. The project keeps its own licence, apart from Agvel’s.
The project mark is adapted from Maria Letta’s Free Gophers Pack, released under CC0. It is not the official Go logo. Agvel’s Apache 2.0 and CC BY 4.0 apply to Agvel’s own releases, not to this project.