ci(release): sign Android helper releases from the protected release environment
Summary
Nightly releases run release.yml from main and check out the 0.22 SHA. #5341 removes the committed Android helper signing key on 0.22. After it, scripts/build-android-helper.sh signs with AGENT_DEVICE_ANDROID_KEYSTORE, and with AGENT_DEVICE_ANDROID_HELPER_RELEASE=1 it fails instead of using a throwaway key. This PR gives main's publishing jobs that keystore and marker.
Merge order: this PR first, then #5341. The reverse order lets a nightly publish a throwaway-signed helper.
Required before merge (maintainer): create GitHub environment release with protection rules, and add the environment secrets ANDROID_HELPER_KEYSTORE_BASE64 and ANDROID_HELPER_KEYSTORE_PASSWORD there. Until both exist, nightly and stable runs stop at the signing step.
Before / after
Before: with #5341 merged, a nightly from main would sign with a dev key and publish a helper nobody can update.
After: the release.yml build job runs in release for nightly and stable (none for dry-run), sets the marker, and runs setup-android-helper-signing from the workflow commit (.release-tools), so a 0.22 source without that action still works. release-android-snapshot-helper.yml runs in release and builds only github.ref; its checkout_ref input is removed. The publisher gets no secrets.
Validation
Head 9f46ad65b8; CI pending.
pnpm exec vitest run --project unit-core test/ci/release-workflow.test.ts test/repo-guards/release-assets.test.ts: 56 passed.
Production delta: about +40 workflow lines, no package code.
Residual risk: main's own helper script keeps its committed key until the 0.22 change reaches main.