[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:
@@ -62,6 +62,9 @@ flowchart LR
|
||||
Custos and Mark, not to this repository: a Custos change that adds `rosea-android` (`CN=Rosea Domi`, only
|
||||
`mnovak/Rosea`, pipeline `release`) and its install on this PC, or Mark's *Create Android key* by hand.
|
||||
`fabrica-release.md` said "Custos makes the key on the first release". It was wrong, and is corrected here.
|
||||
**Answered 2026-11-25:** Custos 0.25's Android grant (`mnovak/*`, given by Mark) makes `rosea-android` at its
|
||||
first signature. So the `apk` step lists no `keys:`: preflight refuses a listed key that does not exist yet,
|
||||
which stopped the first v0.1.0 run (r9j7b2sqmzdjg) before it built anything.
|
||||
- **A7. The certificate is forever.** Once a player installs an APK signed with `rosea-android`, every update must
|
||||
carry the same certificate (CLAUDE.md §8). The CN names the product, *Rosea Domi*, and the name is still provisional.
|
||||
The key outlives a rename: a renamed app keeps the old CN, and no player sees it.
|
||||
|
||||
@@ -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`.
|
||||
Reference in New Issue
Block a user