Skip to content

Approved assisted permission still triggers notification events of type permission_prompt #5417

Open

Description

@hoxell

Describe the bug

When running with assisted permission enabled, even if the permission request is automatically approved, any hooks registered for notification > permission_prompt will fire.

Afaict, this means there's no hook config that can be used to notify a user if and only if the permission request is waiting on input from them.

For instance, this hook will be triggered unconditionally:

{
  "version": 1,
  "hooks": {
    "notification": [
      {
        "bash": "redacted.sh",
        "matcher": "permission_prompt",
        "timeoutSec": 10
      }
    ]
  }
}

Affected version

GitHub Copilot CLI 1.0.109

Steps to reproduce the behavior

No response

Expected behavior

I was expecting an automatic approval to suppress the permission_prompt since the prompt is handled internally.
If a user needed to tap into the permission flow unconditionally, there's the permissionRequest event.

Additional context

No response

Activity

  1. added theissue type on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions