Skip to content

Trusted Commands is not working. #4743

@calvin-oen

Description

@calvin-oen

Before opening, please confirm:

Operating System

macOS 15.6.1

Kiro Version

Version: 0.8.0

Bug Description

Trusted Commands is not working.
agent always ask for review command like

npm run test Payment/Embed/handlers/__tests__/ConfirmHandler.property.test.js

when trusted list includes

npm run *
npm run
npm run test *
npm run test
npm test
npm test *
Image Image Image

Steps to Reproduce

example 1

  1. ask kiro agent to run test
  2. trust "npm run *"
  3. ask kiro agent to run test again
  4. kiro agent still ask user to review command

example 2

  1. edit "Kiro Agent: Trusted Commands" to trust command
  2. ask kiro agent to run test
  3. kiro agent still ask user to review command

Expected Behavior

kiro should skip user review and run trusted command

Conversation ID

No response

Additional Context

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions