Auto run trusted command
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
darwin
Kiro Version
0.1.15
Bug Description
Even after adding the command to the white list, sometimes the agent still asks for approval
Steps to Reproduce
- Open Kiro
- Have an agent hook to compile and run an application after file changes
- have some commands on the trusted list (eg, mvn *, lsof *, cd *,...)
- A command is required to run that starts with
mvn - The agent asks for approval to run (or add to trusted commands, or cancel, etc)
Expected Behavior
The trusted command should be run without approval
Conversation ID
11b8d20b-55dd-46af-8eb2-7a5e591422b5 de0f867c-79bc-42ae-80f2-c276bf9fe3f9 f3911800-1750-4a62-a1bf-aca70801066f fa6513be-e76d-4b88-a1b6-467e2f4e21f5
Additional Context
No response
100% I get this all the time with python * as a Trusted Command
I'm experiencing this as well. Sometimes all the trusted commands reset between sessions and sometimes in the same session.
+1 to this.
Hey folks, wanted to get some additional information on this issue. could you provide us the commands the chat was trying to invoke? additionally, was the command added on workspace or user settings? We are currently tracking issues with trusted command on https://github.com/kirodotdev/Kiro/issues/22
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.