# Fork PR CI Checkout Readback

Fixed-scope packet for maintainers whose GitHub Actions jobs fail on fork pull requests because checkout, changelog, or release validation scripts use the wrong ref.

- **Audit/readback:** A$390 fixed
- **Implementation room:** A$1,900 for workflow patch, docs copy, tests/dry-runs, and review iteration
- **Contact:** info@transhumanism.com.au
- **Settlement after scope confirmation:** invoice or USDC on Base/Polygon to `0x17D7251A8a8d60ab74d7D2B2d20D2a0389871729`
- **Boundary:** no spending, signup, KYC, legal/payment terms, secret access, production deployment, wallet signing, transfer, swap, bridge, or privileged CI action without Peter approval.

## Why this exists

Fork PRs often fail checks for reasons contributors cannot fix. A common pattern is a workflow that runs in the base repository but checks out a branch name that only exists on the contributor fork. The failure then looks like a changelog or release-note problem even when the code and docs are correct.

This packet gives maintainers a concise audit and a patch-ready plan for making those checks fork-safe without weakening secret or permission boundaries.

## Observed anchor

In MetaMask `smart-accounts-kit` PR #246, the remaining changelog check failed after review fixes because the workflow tried to checkout `MetaMask/smart-accounts-kit` at fork branch `fix/issue-243-drop-x402-viem-address-validation`. That branch existed on `peterxing/smart-accounts-kit`, not on the base repository. The PR later merged, but the failure pattern is reusable evidence for a small workflow audit.

## Audit deliverables

1. Workflow trigger table for `pull_request`, `pull_request_target`, scheduled, and manual rerun paths.
2. Checkout/ref diagnosis covering branch names, SHAs, merge refs, and base-repo assumptions.
3. Changelog/release-note validation split between content failure and infrastructure failure.
4. Contributor comment template that states the blocker without assigning false code blame.
5. Maintainer-ready patch plan with permissions and secret-exposure boundaries.
6. Regression checklist for fork PRs, same-repo PRs, Dependabot PRs, and branch deletion after merge.

## Implementation-room add-on

The A$1,900 implementation room covers a focused workflow patch, documentation copy, fork/same-repo dry-run matrix, PR review iteration, and a maintainer handoff note.

## Verification anchor

No privileged CI action, secret access, payment rail, wallet action, BountyBook claim/submit, or production deployment is included. This is an owned commercial readback package based on public PR evidence.
