Trusted Commands don't work reliably
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
darwin
Kiro Version
0.4.0
Bug Description
I have a lot of comands in my Trusted Commands (both at the User and Workspace levels) that Kiro keeps prompting me if it can run.
It seems like the Trusted Commands only works some of the time.
I have added ./gradlew * and I'm still getting prompted to approve various ./gradlew commands.
Steps to Reproduce
- Add commands to the Trusted Commands (either manually or via accepting commands that Kiro proposes).
- Watch when Kiro repeatedly prompts you to execute commands that should be allowed.
Expected Behavior
The wildcards in the Trusted Commands should work.
Conversation ID
83f047fd-2d47-4700-9a0f-95df43ea2496
Additional Context
This is a small codebase.
I have tried manually adding commands to the Trusted Commands both at the User and Workspace level.
I have tried restarting Kiro several times also.
This might be related to #3415.
I have seen many wildcards not work.
./gradlew *
./gradlew test *
git *
etc.
In the Screenshots, some of those work some of the time, but it is definitely not reliable.
It almost seems like an LLM is evaluating the Trusted Commands list and not deterministic code. One would expect that it would be deterministic code that should be evaluating the Trusted Commands list.
(if it is not, I think we are in trouble).
Hey @jfiore-im, Thank you for bringing this to our attention. We've implemented improvements to trusted commands in v0.5.0 that should resolve this issue. Please upgrade to the latest version and let us know if the problem persists.
Hi 👋, we're closing this issue due to inactivity. If you're still experiencing this problem, please create a new issue with detailed information so we can investigate and provide the support you need.