Skip to content

Implement the GitHub planning pull request adapter #185

Description

@rochecompaan

Part of #180.

Blocked by: #184

Goal

Implement GitHub support behind the provider-neutral planning pull request interface.

Scope

  • Resolve the target repository and configured push-remote repository.
  • Support configured push remotes other than origin.
  • Require the target and push-remote identities to name the same repository.
  • Normalize create, exact discovery, and get results.
  • Fail closed when discovery reaches the configured result limit.
  • Distinguish proven not-found responses from authentication, rate-limit, transport, and malformed-response failures.
  • Add adapter and command contract tests.

Out of scope

  • Forks, cross-owner heads, and other cross-repository pull requests.
  • Forgejo support.
  • Planning workspace or pipeline integration.

Acceptance criteria

  • The adapter satisfies the foundation interface.
  • Target and push-remote identities are provider-normalized and name the same repository.
  • Forks, cross-owner heads, and other cross-repository pull requests are rejected.
  • Create, find, and get behavior is covered by exact command tests.
  • Only a proven missing pull request becomes PullRequestNotFoundError.
  • The adapter is not yet wired into run-once.

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

    agent-readyReady for automated agent processingplan-approvedImplementation plan approved for automationspec-approvedSpecification approved for automation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions