Skip to content

Provide a role-scoped GitHub gateway for Docker automations #558

Description

@neubig

Desired Behavior

Provide a repository-scoped GitHub gateway for Docker automations. The trusted control plane retains the GitHub credential, while triage, implementation, review, and watchdog workers receive separate role tokens. This is the independently reviewable permission boundary used by the software-factory recipe in #556.

Acceptance Criteria

  • Role allowlists restrict writes to issue readiness, factory implementation branches, exact-commit review evidence, or guarded merge according to the selected role.
  • Private repository snapshots are available for exact commits without handing the GitHub credential to a worker.
  • Merge rejects changed heads, stale bases, missing acceptance statuses, failing/pending checks, and conflicts, and includes the reviewed SHA in the merge request.
  • Workers cannot administer/delete repositories, write main directly, force push, or invoke an unguarded merge.
  • Authorization and fail-closed merge tests pass without credentials or network access; setup documents the trust boundary and limits.

ready-for-dev: scope and acceptance criteria are defined.

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

    enhancementNew feature or requestready-for-devScoped for contribution; managed by repository readiness checks.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions