Skip to content

GitHub integration: read-only branch-protection and ruleset evidence unavailable for independent review #38811

Description

@shugong-heaotang

Problem

In Codex Desktop, an independent review workflow needs to verify a repository protection policy without making any GitHub changes. The required read-only evidence is:

  • branch-protection details and the full ruleset body;
  • bypass actors;
  • the selected ref, commit and tree identity in the same review session.

The repository administrator can read basic repository/ref/tree metadata, but the independent-review connection receives 403 Resource not accessible by integration for protection-detail endpoints. This prevents a reviewer from independently confirming the policy and therefore blocks a safety-sensitive, append-only materials-registry workflow.

Expected behavior

Expose documented, read-only access to the above protection/ruleset/bypass/ref/commit/tree evidence for an authorized repository reviewer, or document the supported Codex Desktop/GitHub App permission model and a supported alternative evidence path.

Actual behavior

Protection-detail readback returns 403 in the independent review connection. No repository mutation, upload, permission change, or protected-ref change was attempted.

Environment

  • Codex Desktop on Windows native
  • Private GitHub repository
  • Read-only review workflow

No repository name, source files, credentials, or customer data are included in this report.

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

    Labels

    appIssues related to the Codex desktop appauthIssues related to authentication and accountsenhancementNew feature or requestsafety-checkIssues related to safety and abuse checks

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions