Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Autopilot and Trust Settings Don't Seem to Work

Open ceponatia opened this issue 1 year ago • 17 comments

Operating System

linux

Kiro Version

0.1.6

Bug Description

I've tried adding numerous commands to my Trusted Commands list (pkill *, source *, bun *) and clicking "trust" within the chat interface, but it still asks every time.

EDIT: I removed the bit about "autocomplete" as on second read this appears to only be for code edits, not shell commands. Trusted Commands still do not work.

Steps to Reproduce

  1. Prompt a task in chat which requires Kiro to run any terminal command, with Autocomplete "on".
  2. Sonnet will run a command, such as 'source ~/.bashrc' and Kiro will prompt the user to allow or trust.
  3. Click 'Trust' and add either the root of the command or the full command (neither works).
  4. Send a chat prompt to run that same command, Kiro will prompt the user to accept or trust again even though it is listed in the Trusted Commands list.

Expected Behavior

Kiro should not repeatedly ask to run trusted commands.

Conversation ID

89e7dc24-e23f-49f4-ad33-9a712f9d8e47

Additional Context

Image

ceponatia avatar Jul 16 '25 13:07 ceponatia

+1

CriticalRange avatar Jul 16 '25 13:07 CriticalRange

+1

renatodossantosleal avatar Jul 17 '25 01:07 renatodossantosleal

can confirm. having the same issue with npm * still need to confirm EVERY npm command.

themazim avatar Jul 17 '25 10:07 themazim

Same problem here on Mac. I keep clicking "Run" (because "Trust" has no effect), so I can't do any other work meanwhile. It's very time consuming.

hgspch avatar Jul 19 '25 14:07 hgspch

I've ended up with a Keyboard Maestro macro, to click this damn button. Isn't it ridiculous ? 😆 Please fix it 🙏

Image

hgspch avatar Jul 20 '25 08:07 hgspch

Hey folks, thanks for reaching out. Wanted to get some additional information on the commands that the chat AI was trying to invoke? As if the commands are separated with a | , you would need to also trust the base of each command for the chat to not re-prompt the command. We are working on updating the documentation around this.

ykethan avatar Jul 24 '25 21:07 ykethan

Hey folks, thanks for reaching out. Wanted to get some additional information on the commands that the chat AI was trying to invoke? As if the commands are separated with a | , you would need to also trust the base of each command for the chat to not re-prompt the command. We are working on updating the documentation around this.

I no longer have access to Kiro to follow up on this since a waitlist was added and I recently reinstalled my OS. I can follow up once/if I am accepted.

ceponatia avatar Jul 24 '25 22:07 ceponatia

Hey folks, We've recently updated our documentation on trusted commands and the patterns that Kiro looks for when evaluating trusted command. Refer to the following documentation section for trusted commands providing this information https://kiro.dev/docs/chat/terminal/#trusted-commands

We will be closing this issue, but do reach out if you are still experiencing any issue.

ykethan avatar Jul 30 '25 19:07 ykethan

It's nice to update the doc, but this didn't fix the bug!

hgspch avatar Jul 31 '25 13:07 hgspch

Same problem here, already from the autopilot I added curl * like 100 times

fcostudios avatar Aug 13 '25 20:08 fcostudios

+1

4regab avatar Aug 27 '25 11:08 4regab

+1 this is still an ongoing problem.

goxodsgames avatar Aug 27 '25 13:08 goxodsgames

+1

compgeniuses avatar Aug 29 '25 20:08 compgeniuses

This has been going on since first day. Please prioritize?

macaw2000 avatar Sep 02 '25 17:09 macaw2000

The OP is on Linux. I have the problem on Mac (so close to Linux), but not on Windows. Maybe everyone here could specify their OS?

hgspch avatar Sep 03 '25 04:09 hgspch

+1 Windows 11.

I've tried to trust commands such as "aws logs get-log-events *" and it's unclear why this works for some AWS CLI commands and not others. Do I need to delete the 50 or so "aws logs get-log-events [a very long unique string]" that are before and after?

Many thanks!

Rob-El avatar Sep 05 '25 20:09 Rob-El

This issue has been automatically closed due to inactivity. It has been 7 days since we requested additional information.

If you still need help with this issue, please feel free to reopen it or create a new issue with the requested details.

github-actions[bot] avatar Jan 31 '26 00:01 github-actions[bot]