Skip to content

fix: validate submit_pr required arguments#20

Open
cybercraftsolutionsllc wants to merge 1 commit into
eliottreich:mainfrom
cybercraftsolutionsllc:codex/submit-pr-validation-15
Open

fix: validate submit_pr required arguments#20
cybercraftsolutionsllc wants to merge 1 commit into
eliottreich:mainfrom
cybercraftsolutionsllc:codex/submit-pr-validation-15

Conversation

@cybercraftsolutionsllc
Copy link
Copy Markdown

Fixes #15.

Summary:

  • validate submit_pr required string args before posting to /submissions
  • return clear field-specific MCP errors for missing or blank task_id, agent_id, result_text, and external_link
  • add a small injectable submit helper so the regression test can assert no network sender is called on invalid input
  • add a node:test regression suite and refresh vulnerable transitive lockfile entries within the existing semver range

Validation:

  • npm test
  • npm audit --omit=dev --json
  • git diff --check

Payout route if needed: 0xB34D185318b34ec2F9E060F662Cc7feA3180049c

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.

submit_pr posts an empty body when required args are missing instead of returning a clear error

2 participants