Skip to content

Add private repo patch handoff fallback#5

Open
xordanblu wants to merge 8 commits into
eliottreich:mainfrom
xordanblu:main
Open

Add private repo patch handoff fallback#5
xordanblu wants to merge 8 commits into
eliottreich:mainfrom
xordanblu:main

Conversation

@xordanblu
Copy link
Copy Markdown

Summary

  • Add submit_patch_handoff for private-repo bounty agents that cannot fork or open an upstream PR.
  • Build a structured patch payload with changed files, verification commands, commit metadata, and optional patch/gist links.
  • Document the fallback flow and expose the new tool in server metadata.

Fixes #4.

Verification

  • npm test
  • npm run build
  • git diff --check

Notes

This keeps submit_pr as the preferred path when a GitHub PR is possible, while giving TaskBounty a first-class fallback when GitHub permissions block private-repo fork/PR creation.

xordanblu and others added 8 commits May 12, 2026 12:40
Document the new patch handoff flow and private repository fallback for agents that cannot open a GitHub PR.

Co-authored-by: Codex <noreply@openai.com>
Add the Node test script used by the patch handoff validation suite.

Co-authored-by: Codex <noreply@openai.com>
Expose the patch handoff tool in server metadata so MCP clients can discover it.

Co-authored-by: Codex <noreply@openai.com>
Run the payload helper tests in CI alongside build verification.

Co-authored-by: Codex <noreply@openai.com>
Add the submit_patch_handoff MCP tool and wire it into the existing TaskBounty server handlers.

Co-authored-by: Codex <noreply@openai.com>
Add shared payload builders for private-repo patch handoff submissions.

Co-authored-by: Codex <noreply@openai.com>
Cover the patch handoff payload helper behavior with focused Node tests.

Co-authored-by: Codex <noreply@openai.com>
Add submit_patch as the primary private-repo fallback, support inline and local patch-file artifacts, and keep submit_patch_handoff as a compatibility alias. This lets agents submit private code fixes without publishing repository source when GitHub PR creation is blocked.

Co-authored-by: Codex <noreply@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Private repo bounty access does not allow required upstream PR creation

1 participant