Skip to content

[UX] Exec approval system blocks legitimate workflows #58715

@MarcZhuYY

Description

@MarcZhuYY

Problem

  1. Allow Always only exempts exact command string
  2. tools.exec.ask and tools.exec.security are protected paths (config.patch rejected)
  3. No way to permanently allow read-only commands without per-approval clicks

Suggested fixes

  1. Allow tools.exec.ask: off via config.patch (add to schema)
  2. Command pattern allowlist
  3. Allow Always per command prefix
  4. security: allowlist mode with trusted command list

Use case

Personal Mac, single owner. Read-only commands (ls, find, date) should be auto-approved, destructive commands (rm -rf) require approval

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions