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.22PR retained edit, notebook and MCP ceilings. Inv7.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
- [[BUG] Subagent permission error shows non-existent rules that block allowed commands](https://github.com/Kilo-Org/kilocode/issues/11523), kazuyakuza, opened 2026-06-22; closed as completed on 2026-08-13: “The error message displays phantom rules”
- fix(cli): stop read-only agent bash denies from blocking delegated subagents, mvanhorn; merged 2026-08-13 (closed).
- v7.4.22, published 2026-08-13.
- v7.8.32, published 2026-11-20.
- Source at v7.8.32, release-tag source read on 2026-11-24.
- General/Explore subagents cannot execute bash or edit files - session deny rule overrides global
bash: allowconfig (7.4.20), KAMRON-DEVELOPER, opened 2026-08-04; closed as not planned on 2026-10-16.
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