Skip to content

kurt permission check blocking claude code yolo mode #94

@dkrevitt

Description

@dkrevitt

Noticed when working in CC on a kurt project (not kurt-core), that when skipping permissions it kept asking me for permissions on every edit.

Looks like the culprit is:

Found the issue. Your .claude/settings.json has a PreToolUse hook that intercepts all Edit|Write|Update operations (line 16-23). It  
  sends a request to a local Kurt approval service at http://127.0.0.1:8765/api/approval/pretool, and the fallback when that service is
   unavailable is:                                                                                                                     
                                                                                                                                       
  "permissionDecision": "ask"                                                                                                          
                                                                                                                                       
  This hook overrides Claude Code's built-in permission mode. Even with "bypass permissions" enabled, the hook explicitly returns      
  "ask", which forces a permission prompt on every edit.                                                                               
                                                                                                                                       
  Two options to fix this:                                                                                                             
                                                                                                                                       
  1. If you want the Kurt approval service to control permissions: Make sure the service is running (KURT_WEB_API_URL or               
  http://127.0.0.1:8765). When it's running, it presumably returns "allow" for approved operations.                                    
  2. If you just want edits to go through without prompts: Change the fallback from "ask" to "allow" in the hook's error case. In      
  .claude/settings.json line 20, change:                                                                                               
                                                                                                                                       
  permissionDecision\":\"ask\"                                                                                                         
  2. to:                                                                                                                               
  permissionDecision\":\"allow\"                                                                                                       
                                                                                                                                       
  Want me to make that change, or would you prefer a different approach? 

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions