Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Keeps on asking for trusted commands

Open zqyr opened this issue 1 year ago • 12 comments

Before opening, please confirm:

Operating System

darwin

Kiro Version

0.1.25

Bug Description

This issue was first reported two weeks ago. Even when a base command is in list of Trusted Commands, Kiro keeps on prompting for permission to Trust the command.

Steps to Reproduce

Not Applicable

Expected Behavior

The commands should run without user intervention, as they are part of Trusted Commands

Conversation ID

460c6d13-f565-4814-8bed-168f84fc064b 45e3f644-7edd-4076-b731-6e011f895d49 d7b94a3b-ee3f-440a-89b5-0268e22e7640 f0b6163a-e254-4371-a278-4dae2aebf470 e02558b1-8271-46a7-84bd-479623287d76

Additional Context

No response

zqyr avatar Aug 01 '25 06:08 zqyr

Hi @zqyr , thanks for opening this issue. Would you be able to provide an example of a command that required your permission when the base command was trusted?

There are some patterns within commands which require manual review, which are documented here.

jordanvn avatar Aug 01 '25 15:08 jordanvn

hello, i am also facing the same issues as well, i am on windows,

Image

shared are the commands, especially the php commands, and i even created a PS script that can be exxecuted to run php commands, and added that to auto approve, but still, same problem. so annoying

compgeniuses avatar Aug 02 '25 04:08 compgeniuses

Hi @zqyr , thanks for opening this issue. Would you be able to provide an example of a command that required your permission when the base command was trusted?

There are some patterns within commands which require manual review, which are documented here.

This screenshot should help to grasp an understanding of how Kiro asks for permission to run/trust a command (left side chat session) even when that command is already in list of Trusted Commands in the Trust Center (top buffer on right side).

Image

zqyr avatar Aug 02 '25 06:08 zqyr

it doesn't matter if there is already a command in the allowed list, he keeps asking for permission further and it's already very tiring!

for example, the first time he asked for permission to execute a command in docker, I allowed him all docker commands at once.: docker *

and he immediately asks for permission to execute another docker command, I allow any commands from the docker console again, but in the next message (using another docker command) he asks for permission again.

of course, I'm sorry, but this doesn't look like autopilot, but it looks like "beat the user to death with your identical questions and don't let him leave the PC"!!!

gitmeatarru avatar Aug 02 '25 12:08 gitmeatarru

still having this issue, makes the experience not so 'auto' as it should

franciscoracosta avatar Aug 13 '25 19:08 franciscoracosta

its a very painful ituation, all other agents work in autonomony but wirk kiro, i must be there to approve every command

compgeniuses avatar Aug 14 '25 08:08 compgeniuses

Updated the steering doc for it to bypass this https://kiro.dev/docs/chat/terminal/#dangerous-patterns

Edit: Feels more autopilot now.

nithin-murali-arch avatar Aug 15 '25 19:08 nithin-murali-arch

Updated the steering doc for it to bypass this https://kiro.dev/docs/chat/terminal/#dangerous-patterns

Edit: Feels more autopilot now.

didnt happen or work with me, can you share what exactly you did

compgeniuses avatar Aug 16 '25 02:08 compgeniuses

As a programmer, that free vibe coding plan was enough for me lol!

Where's the vibe if you can't get away from your PC? as soon as the commands start in the terminal, you need to confirm each one, and there can be a lot of them in a minute of time!

there is also real life, it's a pity that many people forget about it.

gitmeatarru avatar Aug 16 '25 08:08 gitmeatarru

As a programmer, that free vibe coding plan was enough for me lol!

Where's the vibe if you can't get away from your PC? as soon as the commands start in the terminal, you need to confirm each one, and there can be a lot of them in a minute of time!

there is also real life, it's a pity that many people forget about it.

I replied in wrong issue thread, anyway I see you using Kiro to work with docker, which needs more work in the terminal

My usage was different. I'll code the backend, API etc.. and with my logic ask AI to create me the UI and UX Basicaly I use flutter so only for testing it'll ask me permision.

I can understand it's very painful to give run, run all the time. I hope Kiro team will fix that! (I'll delete that command as I replied in wrong thread)

AlexMattyou avatar Aug 16 '25 09:08 AlexMattyou

Most simple fix for this is to add "*" in the list of trusted commands this will never ask for permissions again. But beware that this allows kiro to execute any command without apporval.

Rohan-Abhilash avatar Oct 30 '25 05:10 Rohan-Abhilash

Closing this issue as it was reported against an older version of Kiro (v0.x or early v1.x) and has had no activity in several months.

Kiro has shipped significant improvements since these versions, including stability fixes, new features, and major changes across v1.0, v1.1, v2.x, and the current v2.23.x releases. The behavior described here may already be resolved.

If this is still affecting you on the latest version, please open a new issue at https://github.com/kirodotdev/Kiro/issues/new with your current version (kiro-cli --version or Help > About in the IDE), your OS, and steps to reproduce. The latest version is available at https://kiro.dev/downloads/ or via kiro-cli update.

Thank you for taking the time to report this.

AnilMaktala avatar Sep 24 '26 13:09 AnilMaktala