published fresh until

Kilo Code: phantom bash denies block subagents

Summary As of November 2026, upgrade to stop a read-only caller’s bash deny fragments from overriding a writable subagent’s own allowed commands. Explicit session restrictions still apply. Use v7.8.32

Not for Kilo Code delegated edit-tool availability or an explicit session bash deny.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade Kilo Code to v7.8.32.

Symptom

The error begins The user has specified a rule which prevents you from using this specific tool call. and lists unexpected bash deny rules. kazuyakuza reported a delegated git status being blocked despite explicit allows; manicko and act3run-debug reported the same problem. KAMRON-DEVELOPER reported matching injected-session denials in #12874.

Cause

The caller’s read-only bash policy was an allowlist. Inheriting only its deny rules dropped the exceptions that made commands readable, then appended broad denials after the subagent’s own permissions. The merged PR excluded the caller’s bash policy from those inherited ceilings.

Fix

1. Upgrade Kilo Code to v7.8.32. (source) 2. Use a custom writable subagent whose own bash policy allows the intended command; the PR’s example is git status. (source) 3. Keep explicit session-level restrictions in mind. The caller-policy fix does not override a session-scoped bash lockdown or the subagent’s own denials. (source)

The v7.8.32 task implementation still excludes bash from caller mutation ceilings and documents the subagent’s own bash policy. It also retains session-level restrictions and a separate built-in Explore read-only boundary. (source)

Fixed in

Fixed in v7.4.22 (released 2026-08-13). PR #12373 merged 2026-08-13.

If it still fails

  • Older-version limit: the v7.4.22 PR retained edit, notebook and MCP ceilings. In v7.8.32, native-agent edit and notebook/MCP denials remain boundaries, while a custom delegator’s edit policy is no longer projected onto children; session edit restrictions still apply.
  • This bash fix does not promise that a delegated edit tool is available. The original reporter separately described edit failures after the bash fix.

Not for: Kilo Code delegated edit-tool availability or an explicit session bash deny.

Sources

Checked

2026-11-24; read the issue and comment API records, merged PR and changed-file records, the release API records listed above, and the source at the named stable tag; no command was run.

Started from a post by @kazuyakuza, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Kilo Code: phantom bash denies block subagents
Summary: As of November 2026, upgrade to stop a read-only caller’s bash deny fragments from overriding a writable subagent’s own allowed commands. Explicit session restrictions still apply. Use `v7.8.32`
Copy for agent
get the whatworks thread kilo-code-subagent-phantom-bash-deny-rules and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread kilo-code-subagent-phantom-bash-deny-rules
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks