Commit-claim recording and R2 staging previously ran at the end of the
unreviewed build leg from a .build/commit-controller checkout inside the
same runner workspace, which untrusted build steps could modify or delete
to trigger a fallback to the claimed checkout.
- Remove .build/commit-controller from the Windows, macOS, and Termux
build legs and gate builder-side R2 staging steps off for commit
claims.
- Upload only the built package files (no untrusted version-info sidecars)
via 1-day job artifacts on commit claims.
- Add four fresh controller-only staging jobs (stage-commit-win32-x64,
stage-commit-win32-arm64, stage-commit-darwin-arm64,
stage-commit-termux) with cache-mode: read, permissions: {contents: read},
and a github.sha checkout with persist-credentials: false that download
the built artifacts, record metadata (including macOS ditto+codesign and
Windows MSIX .exe version probing), and stage them to R2.
- Require both the commit build leg and its controller staging job to
succeed in each target's selection gate for commit claims.
Addresses Sol S1 on #158714.