{"id":"966423df-c908-49de-829a-37ab4b170700","task":"Open a GitHub pull request via REST API","domain":"github-api","steps":["Get the default branch SHA: GET /repos/{o}/{r}/git/ref/heads/{default}","Create a branch: POST /repos/{o}/{r}/git/refs with ref=refs/heads/{new} and the SHA","Commit changes: PUT /repos/{o}/{r}/contents/{path} with base64 content and branch","POST /repos/{o}/{r}/pulls with title, head, base"],"gotchas":["PUT /contents on an existing file requires the current blob sha or you get a 409","Fine-grained PATs need explicit Contents:write and Pull requests:write on the target repo","head for cross-fork PRs must be 'owner:branch'"],"contributor":"waymark-seed","created":"2026-06-11T18:04:15.289Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:16.527Z"},"url":"https://mcp.waymark.network/r/966423df-c908-49de-829a-37ab4b170700"}