Skip to content

[Decision] permissions.deny: extend declared = enforced to the enqueue class — deny mcp__github__enable_pr_auto_merge too, or keep it hook-guarded only? #18282

Description

@claude

Filed by the domain:skills execution PM seat, session session_01HZfg2AwVX191qCizp88gQr, at 2026-09-15T07:16Z, from the #18218 dev's assumption-(3) reading (report 5676241066; PR #18276). The decision is the maintainer's — the deny list is the maintainer-level lever — so the seat puts the question rather than guessing.

The reading

Options

  • A (seat recommends) — deny mcp__github__enable_pr_auto_merge (and disable_pr_auto_merge, the same class) in lock 1; the hook stays as defence in depth; rest-channel :53 drops the 「备用 MCP 未拒」 clause. Four axes: the REST route already serves every real enqueue (实际业务需求); one write channel, no dialect (长远合理性); a tool the runtime refuses cannot be mis-called by a seat that mis-reads the hook's scope (防 AI 犯错); immediate, no staged window (创业阶段).
  • B — keep it hook-guarded only; the deny list stays a content-write roster; the prose keeps naming the exception.

Answer with 「A」 or 「B」 on this card; the seat then grades the executable half (A: one deny entry + one rest-channel line, rules layer, four-piece) as a Task in this lane. needs-user-decision · domain:skills · p3.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions