Ping Qiu 6dffc0cc60 ci: run PR review gates read-only from a separate base checkout (#1013)
Merge note (batch b6; pull_request_target spec-trace workflow has a startup_failure, so its checks run locally):
- One Test run (47206535775) succeeded (go test (linux), process-level tests (real binaries)) on the integration tree 2b51fa97 = main e8b56283 + #1013 #1008  in this order; these squash merges reproduce that tree, verified after the last one.
- spec-trace-check.sh and public-text-check.sh, run with main's scripts against this head and body: both exit 0.
- Code review ACCEPT on 57ec9ee8 under the stated contract: the spec-trace and post-merge-review workflows run on pull_request with read-only permissions on hosted runners and check out the base branch's validators, so they give authors early feedback; they are advisory, and the merge gate runs the base branch's checks locally before every merge.
- Workflow review: both gate workflows, test.yml and the base-checkout test script reviewed at this exact head (review 6177749775).
- Security review ACCEPT on 57ec9ee8: nothing from the PR is executed; the base is checked out separately, the head is read as objects only, title and body pass through the environment, and the token is contents:read.
2026-12-03 13:48:31 -08:00
Languages
Go 84.8%
Rust 7.6%
Shell 2.7%
templ 1.5%
Java 0.9%
Other 2.2%