Always Allow prompt doesn't prompt the command being run
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
win32
Kiro Version
1.0.138
Bug Description
When prompted for approval of a command, choosing Always Allow yields a counter-intuitive request: "1" and "1 *" as opposed to the original command being run.
Steps to Reproduce
I don't have specific steps to reproduce, as it's an action generated by Kiro / autopilot. Once the command is attempted, I click Always Allow to see the unexpected values.
Expected Behavior
expected behavior is that the command being run would be in the fields, not the number 1.
Conversation ID
No response
Additional Context
No response
Thanks for reporting this issue! It's definitely unexpected to see "1" and "1 *" in the Always Allow prompt instead of the actual command being run — great catch with the screenshot. A maintainer will take a look at this shortly. We appreciate you helping us improve the experience! 🙌
I have the same issue
Thanks for raising this. The Always Allow confirmation dialog showing '1' and '1 *' instead of the actual command being approved is a trust dialog display bug — the option label is the picker index rather than the command string. Marking this as a bug to investigate further.
Seeing the same 1 / 1 * on Kiro 1.2.56, Windows 11 x64.
In the screenshot the command ends with 2>&1, and the generated pattern is 1. It looks like the 1 is being picked up from the trailing 2>&1 rather than from the actual command (python ...), so the saved rule doesn't match what was run, which probably explains why it keeps re-prompting.
We've seen the same kind of broken pattern with other commands that start with or contain special characters ((, $, [, redirects). Looks related to #7611, and the repeated-prompt side of it shows up in #10355 and #11838.
Also raised with the Kiro team via AWS support case 179162738300618.