Skip to content

Catalog coverage audit: missing gh commands #85

Closed as not planned
Closed as not planned

Description

@JounQin

Audit

Compared gh 2.102.0's command tree with GH_ACTIONS on 2026-11-04.

Current catalog:

pr:view pr:list pr:diff pr:create pr:edit pr:close pr:comment pr:review pr:review-by-id
issue:create issue:edit issue:comment
run:view run:list

Every gh command not listed is an unknown gh action; gcb pr/gcb issue are the same catalog shell, and there is no raw pass-through by design.

Real gaps, by priority

P0 — read paths agents need

  • issue:view — gh issue view <number>
  • issue:list — gh issue list
  • pr:checks — gh pr checks <number>
  • pr:status — gh pr status
  • run:view --log already exists; run:watch is a separate follow-up.

issue:view/issue:list are the biggest hole: the catalog can create/edit/comment on issues but cannot read them back.

P1 — lifecycle and operations

  • pr:ready — mark a draft ready
  • pr:reopen — tracked in Catalog: add issue close/reopen and pr reopen #84 with issue close/reopen
  • pr:update-branch — update a PR branch
  • pr:revert — revert a merged PR
  • pr:lock / pr:unlock — lock conversation
  • issue:lock / issue:unlock — lock conversation
  • issue:pin / issue:unpin
  • run:cancel — cancel a run
  • run:rerun — rerun a failed run
  • run:watch — wait for a run

P2 — whole domains not exposed

  • release: view, list, create, edit, upload, download, delete
  • workflow: list, view, run, enable, disable
  • label: list/create/edit/delete
  • search: issues/PRs/code/repos
  • repo:view / repo:list / repo:sync (the current gcb repo only has the person-authored fork path)

Each action needs its GitHub endpoint documentation, catalog entry (command, flags, positionals, permissions, timeout, hostUser/appUser), and tests. The generic host action route already carries --as-user <login> once the action exists.

Intentional exclusions

These are not gaps to fill without a separate decision:

  • pr:merge — merge is a human action guarded by branch protection.
  • gh api — raw API bypasses the catalog and allowlist.
  • auth, config, secret, ssh-key, gpg-key, variable, ruleset — host/account administration; the container holds no credentials.
  • repo delete/archive/edit/rename/transfer, issue delete/transfer — destructive repository/issue administration.
  • extension, alias, copilot, codespace, gist, project — outside this tool's scope.
  • pr checkout — the container already has the checkout; the credential helper serves git.

Existing records

Activity

  1. git-credential-broker commented on Nov 10, 2026

    @git-credential-broker
    Contributor

    Audit refresh: all P0 read paths are now present (issue:view/list, pr:checks/status). P1 is complete except the remaining P2 domains. This PR adds pr:revert; release/workflow read actions, label CRUD and repo-scoped search are also in place. Still missing: release create/edit/upload/download/delete, workflow run/enable/disable, search code/repos, and repo view/list/sync.

  2. git-credential-broker commented on Nov 10, 2026

    @git-credential-broker
    Contributor

    Correction: this audit is an inventory, not a mandate to mirror every gh command. The workflow write actions added in #130 are being reverted in #131, and the uncommitted release:create/delete changes were discarded. P2 domains stay unplanned until a concrete agent workflow needs one and its permission cost is justified; I will not add catalog entries for coverage alone.

  3. git-credential-broker commented on Nov 10, 2026

    @git-credential-broker
    Contributor

    Closing this audit. P0 (issue view/list, pr checks/status) and P1 (pr:revert) are implemented. The remaining P2 domains are intentionally not planned: the catalog is curated by concrete agent need, not gh command coverage, and workflow write actions were reverted in #131. A future use case should open a focused issue with the permission cost.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions