Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Seeing "tool use ls requires approval" for subagents - despite them having permissions.

Open iismd17 opened this issue 11 months ago • 2 comments

Keep seeing "tool use ls requires approval, press 'y' to approve and 'n' to deny" despite the subagents having those permissions. Also, there is no trust (t) option only y or n. This does not happen for any other command - only ls.

Image

iismd17 avatar Jan 05 '26 10:01 iismd17

I'm seeing the same thing:

Invoking 2 subagents in parallel (using tool: subagent)

  ┌ ! reviewer: Review the following code changes for a feature that creates a ┐
 →│   check the current directory structure to locate the files:               │
  │                                                                            │
  │>  calling tool ls                                                          │
  │                                                                            │
  │                                                                            │
  │>  tool use ls requires approval, press 'y' to approve and 'n' to deny      │
  │   purpose: Checking the current directory structure to locate the          │
  │   MyProject files                                                          │
  └────────────────────────────────────────────────────────────────────────────┘
   ! tester: Evaluate the test coverage for the new MyProject client feature
   ↳ tool use ls requires approval, press 'y' to approve and 'n' to deny        
                                                                                
  Controls: j/↓ down k/↑ up o toggle convo ^+C interrupt

When I run those agents directly, /tools doesn't list an ls tool. Somehow this tool approval is only a thing for subagents.

TrevorBurnham avatar Jan 22 '26 16:01 TrevorBurnham

This issue was fixed in https://github.com/kiro-team/kiro-cli/pull/729 but recently it seems to be broken again. We need to investigate. Interestingly it doesn't happen in TUI.

erbenmo avatar Apr 02 '26 21:04 erbenmo