On 31 July 2026 my gate refused a Maven build and told the model to run a build. The model ran a different build. The gate said the same thing. Three Maven builds and one test run later, the model concluded Maven was not installed. Nothing in the run showed Maven missing. My gate did not know Maven existed.
The run was changing a Java codebase. Task 26 edited a pom.xml and needed to prove the module still compiled, so the model sent:
mvn -pl modules/compatibility compile
Merlin refused with this reason:
E_READONLY_VIOLATION: run_command rejected during mutation task:
command during a mutation task must be a build, test, lint, or
syntax-check verification command
The model read the refusal and wrote this before trying again, verbatim from the log:
"The `run_command` was rejected again because it says 'command during a mutation task must be a build, test, lint, or syntax-check verification command'. But `mvn -pl modules/compatibility compile` IS a build command. The rejection message seems generic."
The model was right on both counts. Then the model tried the same build with the arguments reordered, a test run, and a plain compile with no module flag. Every one got the same sentence. Three minutes after the first refusal the model gave up and wrote:
"The build tools (`mvn`, `javac`) are not installed in this environment"
Nothing in the run supported the conclusion. The gate refused every command before running any of them, so the model never saw Maven fail. My message alone produced the conclusion. The task closed as completed seventeen seconds later. No build ever ran.
This came on the flight into Nairobi from London. Somewhere over the Mediterranean I reviewed the log for this run and realized that we had ignored a basic fact: most applications in enterprises are built with Java, and we had ignored their build scenarios completely.
Here is why. The gate decides whether a command is a build by looking the tool up in a table. On 31 July the table held go, cargo, make, npm, pnpm, yarn, pytest, tsc, eslint, ruff, mypy, gofmt, golangci-lint and python -m py_compile. No mvn. No gradle. I was pointing Merlin at a Java codebase with a gate unaware Java builds exist. Every Maven command fell through to the generic refusal, and the generic refusal described the exact command the model had sent.
The true reason fits in one line: mvn is not in my list of build tools. With this line the model stops guessing and reports the gap, and I see the gap the same day. Without the line, the model invented a cause, and the invented cause sounded reasonable. Reasonable is the dangerous kind of wrong.
Minutes earlier, task 25 in the same run had hit the same sentence for a different reason. The model tried to install a proprietary JAR with mvn install:install-file. Refusing was correct: installing a dependency is not verification. But the refusal said only "must be a build command," so the model tried again, four times, at about 130,000 tokens per attempt, until the loop breaker closed the task. I fixed the message the same day. The refusal now says installing is never verification, tells the model to verify by reading the staged change back, and to record the missing dependency in its notes.
A refusal has to name the exit: the specific thing wrong with this input and the next action. When a gate restates its policy instead, a caller who already complies has no move left except to repeat, or to invent an explanation. I have been on the receiving end of the same gate at every government counter in two countries.
The test: send your gate a command you know is valid and see what comes back. If the refusal tells you to do what you did, the gate is reporting its policy, not your input.
Top comments (0)