Autopilot and Trust Settings Don't Seem to Work
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
- Prompt a task in chat which requires Kiro to run any terminal command, with Autocomplete "on".
- Sonnet will run a command, such as 'source ~/.bashrc' and Kiro will prompt the user to allow or trust.
- Click 'Trust' and add either the root of the command or the full command (neither works).
- 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
+1
+1
can confirm. having the same issue with npm * still need to confirm EVERY npm command.
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.
I've ended up with a Keyboard Maestro macro, to click this damn button. Isn't it ridiculous ? 😆 Please fix it 🙏
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.
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.
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.
It's nice to update the doc, but this didn't fix the bug!
Same problem here, already from the autopilot I added curl * like 100 times
+1
+1 this is still an ongoing problem.
+1
This has been going on since first day. Please prioritize?
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?
+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!
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.