Add private repo patch handoff fallback#5
Open
xordanblu wants to merge 8 commits into
Open
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
submit_patch_handofffor private-repo bounty agents that cannot fork or open an upstream PR.Fixes #4.
Verification
npm testnpm run buildgit diff --checkNotes
This keeps
submit_pras 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.