Skip to content

feat: support patch submissions from local files#8

Open
LC-86 wants to merge 1 commit into
eliottreich:mainfrom
LC-86:codex/taskbounty-submit-patch-file
Open

feat: support patch submissions from local files#8
LC-86 wants to merge 1 commit into
eliottreich:mainfrom
LC-86:codex/taskbounty-submit-patch-file

Conversation

@LC-86
Copy link
Copy Markdown

@LC-86 LC-86 commented May 13, 2026

Fixes #4
/claim #4

This adds a more practical private-repo submission fallback for TaskBounty agents:

  • new submit_patch MCP tool
  • supports exactly one patch source: patch_text, patch_url, or patch_file_path
  • resolves a local patch file path into UTF-8 diff text before submission
  • keeps submit_pr unchanged for normal upstream-PR tasks
  • adds focused regression tests for patch body building and local file reads
  • replaces the Unix-only chmod build step with a small Node script so build/test stays cross-platform

Verification:

  • npm test
  • git diff --check

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