AI proceeds with execution and attempts policy bypass without proper user clarification
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
win32
Kiro Version
0.1.42
Bug Description
When encountering an error, a policy restriction, or an ambiguous situation, the AI does not stop to prompt the user for a clear next step. Example: While running a TypeScript script, the AI hit a PowerShell execution policy restriction. Instead of stopping, it attempted to bypass the policy using:
powershell -ExecutionPolicy Bypass -Command "npm run type-check"
Switching shells to avoid the restriction entirely by running:
cmd /c <command>
inside PowerShell, likely as a workaround to force execution despite the policy.
Even when it asks the user to run the command, the AI should either stop entirely or ask for explicit clarification — not attempt to bypass restrictions automatically.
Steps to Reproduce
- Trigger an AI task that involves running a TypeScript script under a restrictive PowerShell execution policy.
- Observe AI behavior when the policy restriction is hit.
- Notice it tries to bypass restrictions with ExecutionPolicy Bypass or cmd /c.
Expected Behavior
- Stop execution upon encountering a policy restriction or ambiguous step.
- Ask the user for explicit clarification or approval before continuing.
- Never attempt to bypass restrictions without user consent.
Conversation ID
93886587-a9aa-48bf-ae3d-6325ae8f1064 737c2fb8-f82d-4919-a631-e7e3de957912 532e2cbc-2a8c-4821-a0bf-963d1b88a1e7 3a7e2ec1-20c1-4966-99c7-ccc7306bfcde
Additional Context
No response
We're closing this issue due to inactivity. This issue hasn't received any community engagement or updates since it was reported.
If you're still experiencing this problem with the latest version of Kiro, please feel free to open a new issue with:
- Current Kiro version
- Steps to reproduce
- Any relevant logs or screenshots
Thank you for your contribution to making Kiro better!