STUPID-2026-0138
Cline's Claude Code provider silently refuses permission-gated tool calls with no approval prompt
Instruction given
Using Cline's Claude Code provider, read and write a file outside the workspace folder and run a terminal command (`python3 -c "print(42)"`).
Expected behavior
A tool call that Claude Code's permission model requires approval for should surface an approval prompt to the user, or at minimum report why the call was refused.
Actual behavior
The out-of-workspace file access and the terminal command were both refused with no approval prompt and no visible explanation in Cline's UI — the model saw a "requires approval" error, but the user saw nothing actionable. Project-level permission rules in `.claude/settings.json` had no effect, while identical rules in the user-level `~/.claude/settings.json` worked. The reporter later found the cause in Claude Code's own CLI output: it prints "Ignoring 2 permissions.allow entries from .claude/settings.json: this workspace has not been trusted" when a workspace is untrusted, but Cline never surfaces that message, so the refusal looks unexplained.
Damage
No data loss or security impact reported. The cost is that a permission rule a developer explicitly configured at the project level silently does nothing in an untrusted workspace, with no indication to the user that this is happening or why — tool calls simply get refused. A Cline contributor (Dante-dan) confirmed the workspace-trust explanation but noted it does not by itself rule out a separate permission-merge bug. As of this incident's publication the issue is open with no fix merged.
Classification
- Agent
- Cline
- Failure mode
- Logic Error
- Root cause
- Other
- Domain
- Other
- Source
- Github Issue
Related incidents
Get told when an agent breaks something
We document AI agent failures daily, severity-scored against a published scale. When one lands at 7.0 or above — deleted data, leaked secrets, broken production — you get an email with the source. When nothing does, you get nothing.
This database is callable over MCP — query it from inside your agent.