Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Trusted Commands don't work reliably

Open jfiore-pg opened this issue 1 year ago • 3 comments

Before opening, please confirm:

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

  1. Add commands to the Trusted Commands (either manually or via accepting commands that Kiro proposes).
  2. Watch when Kiro repeatedly prompts you to execute commands that should be allowed.
Image Image Image

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.

jfiore-pg avatar Oct 25 '25 18:10 jfiore-pg

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).

jfiore-pg avatar Oct 25 '25 18:10 jfiore-pg

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.

AnilMaktala avatar Nov 05 '25 22:11 AnilMaktala

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.

AnilMaktala avatar Jan 08 '26 15:01 AnilMaktala