Skip to content

[FEATURE]: Configure permission prompt default response and confirmations #29105

@tkemperman

Description

@tkemperman

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Add TUI config for permission prompt behavior.

Related issue #19528 asks for disabling the extra Allow always confirmation. A broader config would also let users choose the default selected response and keep extra confirmations only for risky actions.

Proposed shape:

{
  "permission_prompt": {
    "default_response": "always",
    "confirmation": {
      "default": "never",
      "permission": {
        "bash": {
          "rm *": "always",
          "git push*": "always"
        }
      }
    }
  }
}

This keeps permission rules separate from prompt behavior:

  • permission still decides whether a tool is allowed, denied, or asks.
  • permission_prompt.default_response only controls which prompt response is selected by default.
  • permission_prompt.confirmation only controls whether a second confirmation dialog is shown after the user selects a response.

The default behavior should stay unchanged unless users opt into the new config.

Metadata

Metadata

Assignees

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