Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Can't accept nor trust and accept commands

Open imDiFY opened this issue 1 year ago • 4 comments

Before opening, please confirm:

Operating System

linux (Debian 12)

Kiro Version

0.4.0

Bug Description

Symptoms

After some usage of Kiro, I can not accept nor trust and accept an executed command. The "Working..." indicator also disappears, and Kiro is basically useless with this error. Just to check if it's only accepting, I then tried rejecting the command, and didn't work too (probably because the command is already cancelled, might have some relation to #3564 as it appeared before this started to happen). In contrast to #3564 this always happens once it starts doing that, unless the command is in the trusted commands.

Screenshots

Command gets stuck Buttons are enabled but unresponsive
Conversation showing the command getting stuck with the buttons all being selectable. Conversation showing the 'Trust command and accept' button works but does not run the command and proceed with the conversation.

Steps to Reproduce

I can't really tell what it needs to reproduce this bug, but I imagine it has something to do with the "history" (on my installation, there's no real history implemented, the items show up but won't load) so:

  1. Create a project and do lots of stuff with Kiro, I had 3 specs and all with about 15 tasks with
  2. Get Kiro to run a command
  3. See "Waiting..." indicator disappear and command get stuck

Steps to "unstuck":

  1. Trust and accept (once you hit a considerable amount of accepted commands, it will get slower and take some time)
  2. "could you try again?"
  3. Command should get executed again
Conversation showing how to get the conversation unstuck by nudging with 'could you continue?'.

Expected Behavior

Kiro should have:

  • Not stopped "Working..." logic
  • Executed the command when accepted or after trusting and accepting

Conversation ID

ccedf67a-4b63-45ea-a491-648663b87539

Additional Context

Stuff I Tried

  • Reinstalling (apt purge kiro -y and then dpkg -i ./kiro.deb)
  • Switching to the distro-linux binary
  • Clearing allowed commands (had issues with adding commands being slow due to an insane amount of commands in there)

Installed and Enabled Extensions

  • bradlc.vscode-tailwindcss
  • christian-kohler.path-intellisense
  • dbaeumer.vscode-eslint
  • esbenp.prettier-vscode
  • mermaidchart.vscode-mermaid-chart
  • ms-azuretools.vscode-containers
  • ms-azuretools.vscode-docker
  • ms-python.autopep8
  • ms-python.black-formatter
  • ms-python.debugpy
  • ms-python.flake8
  • ms-python.isort
  • ms-python.mypy-type-checker
  • ms-python.pylint
  • ms-python.python
  • ms-vscode.live-server
  • ms-vscode.vscode-typescript-next
  • njpwerner.autodocstring
  • pflannery.vscode-versionlens
  • prisma.prisma
  • redhat.vscode-xml
  • redhat.vscode-yaml
  • ryanluker.vscode-coverage-gutters
  • streetsidesoftware.code-spell-checker
  • tamasfe.even-better-toml
  • vitest.explorer
  • yzhang.markdown-all-in-one

imDiFY avatar Oct 30 '25 00:10 imDiFY

Also having the same issue (although trusting and asking Kiro to re-run the task allows it to proceed but is NOT ideal). Hitting an untrusted command makes the conversation thread exit

MontySwan avatar Oct 30 '25 05:10 MontySwan

Have always had this issue. The only workaround I have found that works is allowing ALL commands by adding a single blank "*" entry to the allowed commands list and it stops asking for anything which is obviously not ideal.

huachuman avatar Oct 30 '25 14:10 huachuman

Have run into this as well, end up selecting "Run" just to keep things moving.

kmdmlc avatar Feb 18 '26 21:02 kmdmlc

Hi. We have implemented improvements in recent versions of Kiro. We recommend upgrading to the latest version to benefit from these enhancements. If you continue to experience issues after upgrading, please submit a new issue with detailed information about the problem.

AnilMaktala avatar Apr 15 '26 14:04 AnilMaktala