[repo] ReleaseFirstApkKey: The apk step lists no keys, because Custos makes rosea-android only at its first signature and preflight refused the first run

This commit is contained in:
2026-11-25 14:17:09 +01:00
parent 8d7027c563
commit 4cff831b76
3 changed files with 25 additions and 2 deletions
@@ -0,0 +1,19 @@
# Review — `fix/release-first-apk-key`
**What:** the release pipeline's `apk` step no longer lists `keys: [rosea-android]`. The first v0.1.0 run
(`r9j7b2sqmzdjg`) was refused at preflight: "Custos has no key rosea-android (step apk)". Custos 0.25 makes that
key only at its first signature, under Mark's Android grant.
## Findings
1. **Does the step still get its key?** `keys:` is only a preflight check (Fabrica docs/23_preflight.md: "Preflight
checks that such a key exists; its scope is the script's to state"). `sign-apk.ts` still asks custos-sign for
`rosea-android`, scoped to `mnovak/Rosea` and the `release` pipeline, and `sign-apk.test.ts` still pins that.
Culina's and Medicus's pipelines leave the key out for the same reason.
2. **What is lost:** after the first release, a missing key is caught at the `apk` step, not seconds before the
build. *Deferred:* put `keys: [rosea-android]` back once the key exists, after v0.1.x is published.
3. **Soul, privacy, reachability, offline:** no code that reaches a player changed.
4. **Test honesty:** `fabrica artifex check` passes (2 pipelines, 0 problems). Nothing tests the preflight list.
What proves it is the next hub run getting past preflight, which is not yet run.
**Scope:** one YAML step, its header comment, and A6 in `android-release-apk.md`.