Your coding agent said no. Check what it built instead.

Coding agent refusals now reach code review as swapped scope, fallback models and session-to-session variance. Here is what reviewers should check.

Share
Your coding agent said no. Check what it built instead.

In an agent workflow, a refusal rarely ends the session. It changes what lands in the pull request.


The first three posts in this series were about the rules: Claude Code's games instruction, why a filter on programs is a new kind of filter, and whether OpenAI and Gemini draw the same line. This one is about the other end of the pipe. A team that ships code through an agent does not meet the refusal in a chat window. It meets the result in a pull request, often hours later, reviewed by someone who never saw the session.

A chat refusal is one event: the model says no, and you rephrase. In an agentic loop, the agent keeps working, and the refusal comes back in one of four shapes.

Four ways a "no" reaches review

A diagram of four ways a restricted request reaches a pull request: refused, swapped for something similar, answered by a fallback model, and variance between sessions, each with the review check that catches it

Diagram: ThinkReview.

  1. Refused. The agent stops and explains. Nothing lands. This is the easy case, because everyone can see it.
  2. Swapped. The agent builds something adjacent to the request and calls the job done.
  3. Fallback. A safeguard hands the turn to an older model, and the work continues there.
  4. Variance. The same request passes in one session and fails in the next.

The last three are the ones a reviewer has to catch.

The swap: a complete diff for a different ticket

Claude Code's games instruction is built to swap. The 2.1.317 text tells Opus 5.5 to build original games, games in a genre or with similar mechanics, and games from the user's own designs, and not a recreation of a specific existing game: "its name, characters, art, music, levels or look." When Addy Osmani explained the change, he said that if you ask for a copy, Claude should offer to build something similar instead.

That is a reasonable behavior in a conversation. In a pipeline, it means the agent can hand back a working build of something nobody asked for. Issue #107224 on the Claude Code repository shows the first step. Asked for a SuperTuxKart clone in Godot, in plan mode, Claude "accepted but reframed it as an original kart game with a new name," dropping every SuperTuxKart name and asset. The reporter called that a reasonable outcome. When he then explained that SuperTuxKart is GPL v3 and asked for the official karts and tracks, it refused outright.

The reviewer's question changes. Agent summaries describe what the agent decided to build. Read the diff against the ticket. If the ticket said "port our licensed assets" and the diff has new placeholder art and a new name, that is a scope change, and it should be treated as one before it merges.

The fallback: an older model in the middle of the session

The second shape has nothing to do with games. When Anthropic launched Opus 5.5, it said that most cybersecurity tasks will be re-routed to Opus 4.8. Its support page spells out the triggers: exploit generation, binary-based vulnerability scanning, and penetration testing. Secure coding, including scanning source code for vulnerabilities, stays on Opus 5.5.

Anthropic's support article explaining that Opus 5 and Opus 5.5 run classifiers on every request and fall back to Opus 4.8 for exploit generation, binary-based vulnerability scanning and penetration testing, while secure coding stays allowed

Source: Why Claude switched models in your conversation with Opus 5 or Opus 5.5, Anthropic.

Three details on that page matter for review:

  • The classifiers read more than your prompt. Memory, connector content, web search results, and files can trigger a fallback, so a repository can trip it without anyone typing a security request.
  • After a fallback, "the model picker stays on the less capable model for the rest of the conversation." Everything after the flagged turn may come from Opus 4.8.
  • In Claude Code, automatic switching is on by default once you pick Opus 5 or 5.5. The toggle is Switch models when a message is flagged under Config > MODEL & OUTPUT. With it off, a flagged request pauses the session instead.

Anthropic labels every fallback response with the model that answered. Claude Code 2.1.333 added that note to the VS Code extension too. That label is in the session. Unless someone carries it into the pull request description, the reviewer never sees it. A reviewer who assumes the whole branch came from the model in the team's settings may be wrong about half of it.

The variance: no today, yes tomorrow

The fourth shape is the hardest to manage, because nothing in the diff shows it. Charlie Major's 3 November test found Gemini CLI refusing a decompilation of a cartridge the user owned in 2 of 10 fresh sessions, and a personal port in 4 of 10. The same model through the API agreed every time.

Claude Code users report the same pattern. The author of issue #106167 says his commissioned board-game modules kept building after the rule shipped, and the refusals began only after he asked Claude whether the rule applied. Issue #113019 reports the games wording changing in the middle of a running session on 28 November. Anthropic has not confirmed that. Issue #106591 adds a wording problem: the refusal was presented as "a line I draw on my side," and the product instruction behind it came out only when the user asked why.

So a "no" in one session is not proof of a policy. A "yes" is not proof of permission either.

A team policy that fits on one page

None of this needs a new tool. It needs a few habits written down:

  • Name the model in the pull request. Note which model wrote the change, and whether any turn fell back. If a session fell back, say from which point.
  • Treat "something similar" as a scope change. If the agent substituted, the description says so, and the reviewer approves the substitution explicitly.
  • Do not argue licenses with the agent. The games instruction has no path for licensed, commissioned, or open-source work. Issues #106167, #107224, and #113019 all ask for one. A human decides whether the work is allowed, and records it.
  • Keep the transcript, then rerun once. A single refusal in a fresh session is data. Two in a row is a pattern worth a ticket.
  • Report false positives with a repro. Osmani asked for refusals of legitimate work, and the #106167 thread says Anthropic contacted the reporter and changed the prompts. For security work that keeps falling back, Anthropic points to its Cyber Verification Program.

Review the diff, whoever wrote it

Refusal rules will keep moving, and some of them will move from a server without a release note. The pull request is the one place where the result is fixed. ThinkReview reviews that diff on GitHub, GitLab, Azure DevOps, and Bitbucket, whichever model produced it, and the reviewing model is your choice in Model selection. It does not need to know the model that wrote the code changed halfway through. It reads the code that is actually there.

Newsletter

Want the next one?

Leave your email and I’ll send the post when it’s published. Models, agents, and the review work in between. No drip after that.

That didn’t go through. Check the address and try again.
You’re on the list. The next post will land in your inbox.

One email when we publish. Unsubscribe in a click.