Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Trusted Commands is not working.

Open calvin-oen opened this issue 10 months ago • 3 comments

Before opening, please confirm:

Operating System

macOS 15.6.1

Kiro Version

Version: 0.8.0

Bug Description

Trusted Commands is not working. agent always ask for review command like

npm run test Payment/Embed/handlers/__tests__/ConfirmHandler.property.test.js

when trusted list includes

npm run *
npm run
npm run test *
npm run test
npm test
npm test *
Image Image Image

Steps to Reproduce

example 1

  1. ask kiro agent to run test
  2. trust "npm run *"
  3. ask kiro agent to run test again
  4. kiro agent still ask user to review command

example 2

  1. edit "Kiro Agent: Trusted Commands" to trust command
  2. ask kiro agent to run test
  3. kiro agent still ask user to review command

Expected Behavior

kiro should skip user review and run trusted command

Conversation ID

No response

Additional Context

No response

calvin-oen avatar Jan 05 '26 06:01 calvin-oen

I am facing the same issues. Having to approve same/similar commands 100s of times. e.g wc -l, tail, cat....

lokeshgithub avatar Jan 25 '26 19:01 lokeshgithub

Devs please prioritize this. IT'S SO ANNOYING.

It really feels like this is a regression bug of some sort or this feature was not well tested.

jcollum-nutrien avatar Mar 27 '26 15:03 jcollum-nutrien

+1, it is so annoying, can we have this fixed.. https://kiro.dev/docs/cli/chat/permissions/ https://kiro.dev/docs/cli/reference/built-in-tools/#execute-shell-commands seems to not working for CLI

stm29 avatar Apr 15 '26 08:04 stm29