Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| eded64d36e | |||
| 18b6c81772 | |||
| be15a8536c | |||
| a2176563eb | |||
| 69f8b74c9d | |||
| 4cff831b76 |
+1
-1
@@ -8,7 +8,7 @@ One row per feature, with its analysis document (CLAUDE.md §5.1). Gaps live in
|
||||
| Released through Fabrica: `.fabrica/` (app, release and e2e pipelines, tests, Aula pictures), the Aula page's words, the version check, the APK signed in Custos, `domi-rosea://open` from the installer, the showcase pictures on demo data, the phone target | Platform track | Merged to `main` (9b8eb70). Not published: the first release waits for the author (G-F1, G6.1) | [fabrica-release.md](features/fabrica-release.md) | [feature-fabrica-release.md](reviews/feature-fabrica-release.md) |
|
||||
| @domi/ui: the shared buttons and the town search field, vendored v1.5.0 (CPAL-1.0); the licence credit at the foot of every screen | Platform track | Built on `feature/domi-ui`; the look is Mark's to judge from the pictures | [domi-ui.md](features/domi-ui.md) | [feature-domi-ui.md](reviews/feature-domi-ui.md) |
|
||||
| Atrium Domi adoption: the inventory (Tauri calls, data, network, accent, icon) and the plan for steps 1–8 of Atrium's Appendix A | Platform track | Plan merged (f4efc9e); step 1 = `domi-app.toml` alone (`feature/atrium-door`), the door skipped by Mark's ruling | [atrium-adoption.md](features/atrium-adoption.md) | [docs-atrium-adoption.md](reviews/docs-atrium-adoption.md), [feature-atrium-door.md](reviews/feature-atrium-door.md) |
|
||||
| The APK for a release, tested on the Wave 10 through the phone queue: `reset: uninstall`, `maxMinutes`, the e2e pipeline's `phone` step, the release APK built and verified | Platform track | Merged (f5d8d2c); the phone test passed on the Wave 10 through the queue, 1 of 1 (2026-11-21). Blocked: `rosea-android` does not exist (G-F7); publication (G-F1) | [android-release-apk.md](features/android-release-apk.md) | [feature-android-release-apk.md](reviews/feature-android-release-apk.md) |
|
||||
| The APK for a release, tested on the Wave 10 through the phone queue: `reset: uninstall`, `maxMinutes`, the e2e pipeline's `phone` step, the release APK built and verified | Platform track | Merged (f5d8d2c); the phone test passed on the Wave 10 through the queue, 1 of 1 (2026-11-21). Blocked: `rosea-domi-android` does not exist (G-F7); publication (G-F1) | [android-release-apk.md](features/android-release-apk.md) | [feature-android-release-apk.md](reviews/feature-android-release-apk.md) |
|
||||
| Keep her safe in the apps: true words, Android's own save screen, the page kept between the system bars | Platform track | Merged to `main` 2026-11-17; built on this machine, not distributed. Closes G-T4 and, on Android, G-T5 | [keep-her-safe-apps.md](features/keep-her-safe-apps.md) | [feature-keep-her-safe-apps.md](reviews/feature-keep-her-safe-apps.md) |
|
||||
| Four versions, one garden: the Tauri 2 shell (`apps/rosea-tauri`) for Android, iOS and desktop beside the PWA; a Windows build and an Android debug APK run on the tablet | Platform track | Merged to `main` 2026-11-17; built on this machine, not distributed. iOS needs a Mac (G-T1); *Keep her safe* in the apps is a release blocker (G-T4) | [tauri-platforms.md](features/tauri-platforms.md) | [feature-tauri-platforms.md](reviews/feature-tauri-platforms.md) |
|
||||
| Workspace, contracts, gates, PWA shell | 0 | Merged to `main` 2026-11-01 (`d11d242`); built, not deployed. Phase 0 gate still open | [phase0-workspace.md](features/phase0-workspace.md) | [feature-phase0-workspace.md](reviews/feature-phase0-workspace.md) |
|
||||
|
||||
@@ -77,7 +77,7 @@ Svelte codebase, the apps through a Tauri 2 shell. Analysis:
|
||||
| ~~G-T0~~ | ~~No shell, no app on any platform~~ | Closed 2026-11-17 on `feature/tauri-platforms`: `apps/rosea-tauri`; Windows `.exe` + NSIS installer built and checked (watered, closed, reopened, still watered); Android debug APK verified with `aapt2` (no permission, no backup) and checked on the WAVE 10C, Android 16, offline by construction. 40 shell tests; 14 of 14 drills caught. |
|
||||
| G-T1 | iOS | Open. Needs macOS + Xcode, the iOS Rust targets, an Apple developer account. `pnpm tauri:ios` refuses elsewhere. |
|
||||
| G-T2 | macOS and Linux desktop builds | Open. Each on its own system; macOS signing/notarisation. |
|
||||
| G-T3 | Release signing (Android keystore, Windows certificate); AAB; stores | Narrowed 2026-11-19 on `feature/fabrica-release`: the release pipeline signs the installer with Custos's `domi-code-signing` and the APK with `rosea-android` through `custos-sign`; no key in the repository (`fabrica-release.md` F4). **Still open:** `rosea-android` does not exist and Custos (0.22.0 here, 0.24.0 too) will not make it: it is not in Custos's `ANDROID_APPS` (`android-release-apk.md` A6, G-F7); no signature made yet (the first release waits, G-F1); AAB and stores (Phase 6). |
|
||||
| G-T3 | Release signing (Android keystore, Windows certificate); AAB; stores | Narrowed 2026-11-19 on `feature/fabrica-release`: the release pipeline signs the installer with Custos's `domi-code-signing` and the APK with `rosea-domi-android` through `custos-sign`; no key in the repository (`fabrica-release.md` F4). **Still open:** `rosea-domi-android` does not exist and Custos (0.22.0 here, 0.24.0 too) will not make it: it is not in Custos's `ANDROID_APPS` (`android-release-apk.md` A6, G-F7); no signature made yet (the first release waits, G-F1); AAB and stores (Phase 6). |
|
||||
| ~~G-T4~~ | ~~Keep her safe inside the apps — release blocker~~ | Closed 2026-11-17 on `feature/keep-her-safe-apps`: the apps say *She lives in this app, on this device, until the app is removed…* and ask no browser; Android saves through its own save screen by a narrow Kotlin bridge (no plugin, no IPC, no permission) and says *She is in that file now.*; Windows downloads. Seen on the tablet (2 of 2) and on Windows (3 of 3); 572 unit tests; every drill caught after one test was tightened. |
|
||||
| ~~G-T5~~ | ~~Bringing her back from a file inside the apps~~ | Closed on Android 2026-11-17: the round trip on the tablet, *Everything in that file is already here.* Windows not driven. |
|
||||
| G-T6 | WebView2's own traffic not measured for Rosea | Open. Flags from Amicitia's measurement are set; measure before a desktop release. |
|
||||
@@ -89,12 +89,12 @@ Svelte codebase, the apps through a Tauri 2 shell. Analysis:
|
||||
|
||||
| Id | Gap | Status / evidence |
|
||||
|:--|:--|:--|
|
||||
| G-F1 | The first release is not published | **Decided by the author, 2026-11-25: publish** ("Yes, remove G6.1 from Rosea's CLAUDE.md and release Rosea v0.1.0, desktop and APK."). v0.1.0, desktop and APK, through Fabrica; closed when the hub's run publishes it. |
|
||||
| ~~G-F1~~ | ~~The first release is not published~~ | **Closed 2026-12-02:** v0.1.1 published by the hub's run `r59y647cfcpw9` (https://gitea.marek-novak.cz/mnovak/Rosea/releases/tag/v0.1.1): the installer (Authenticode, domi-code-signing), the APK (rosea-domi-android), a minisig for each and SHA256SUMS (domi-release), the notes and the Aula pictures. Mark decided to publish on 2026-11-25. v0.1.0 is a tag only: its runs were refused at preflight and nothing was published under it. |
|
||||
| G-F2 | Canalis Part B: no capability is served | Open by decision (F6): no capability found that neither writes into her nor reads her; Canalis keys need Custos, which a player does not have. |
|
||||
| G-F3 | No showcase videos | Open: Pensum `kkpy69`, once Fabrica docs/37 is on `main`. |
|
||||
| G-F4 | `domi-rosea://` not seen working | Open: the hook is tested as text; no installer was run on this PC (it writes the real registry). |
|
||||
| ~~G-F5~~ | ~~The `phone` target has not run~~ | **Closed 2026-11-21:** `fabrica tests run --target phone` through the hub's queue, run `20261121-101158-uckm` 1 passed 0 failed on the Wave 10 (debug APK `bd59ff908125…`, commit f5d8d2c); the planted-fault drill `20261121-102500-crkf` failed as it must. The e2e pipeline's `phone` step still waits for the hub's e2e runner (Mark). Earlier: narrowed 2026-11-21 (`android-release-apk.md`): `reset: uninstall`, `maxMinutes: 20`, and the e2e pipeline's `phone` step (`device: Wave 10`) puts it in the hub's queue. **Still open:** the Wave 10 is not paired in Fabrica (`fabrica devices list`: *connected (not paired in Fabrica)*), so the step cannot get its phone; pairing is the Fabrica session's. |
|
||||
| G-F7 | No key signs the APK | Open (`android-release-apk.md` A6): `rosea-android` is not in Custos's `ANDROID_APPS`, so the release's `apk` step stops at `no_key`. Custos's change (or Mark's *Create Android key*), then the release. The unsigned release APK builds and verifies. **Narrowed 2026-11-22:** Custos 0.25.0's table still has no Rosea row. Its *Android grant* makes the key on a release's first signature, from the repo's own `release` pipeline (signing.rs test `the_android_grant_makes_an_apps_key…`). Per the Aula session, Custos 0.25.2 is installed and Mark gave the grant for `mnovak/*`. This is unverified until the first signature. |
|
||||
| ~~G-F7~~ | ~~No key signs the APK~~ | **Closed 2026-12-02:** Mark made `rosea-domi-android` in Custos (PR #11 named it in the code and the pipeline). The v0.1.1 run `r59y647cfcpw9` signed `rosea-domi-0.1.1-arm64.apk` with it, and its `apk` step passed (custos-sign verifies with apksig). This key is Rosea on Android for good. |
|
||||
| G-F6 | PWA updates have no host | Open with G0.13: the service worker and *Refresh* are built; nothing serves the PWA. |
|
||||
|
||||
## Atrium Domi — adoption (`atrium-adoption.md`)
|
||||
|
||||
@@ -32,7 +32,7 @@ flowchart LR
|
||||
spec --> run
|
||||
run --> phone(("Wave 10"))
|
||||
unsigned --> rel
|
||||
rel --> custos["Custos: custos-sign apk, key rosea-android"]
|
||||
rel --> custos["Custos: custos-sign apk, key rosea-domi-android"]
|
||||
custos --> mini["minisign (domi-release), SHA256SUMS"]
|
||||
```
|
||||
|
||||
@@ -55,14 +55,19 @@ flowchart LR
|
||||
(`NDK_HOME`, which the Tauri CLI needs and this PC does not set). A local build also puts Cargo's target folder,
|
||||
`TEMP` and `ANDROID_USER_HOME` under `D:\build\rosea`. The pipelines keep Cargo's target in the checkout, because
|
||||
the installer's artifact glob is there.
|
||||
- **A6. Signing: `rosea-android` does not exist, and Custos will not make it.** Custos creates an Android key on an
|
||||
- **A6. Signing: `rosea-domi-android` does not exist, and Custos will not make it.** Custos creates an Android key on an
|
||||
app's first release only for the apps in its `ANDROID_APPS` table (`apps/desktop/src-tauri/src/signing.rs`). In
|
||||
0.24.0 that table holds Postea, Culina and Liber, and Mark's PC runs 0.22.0, which holds Postea only. Rosea's `apk`
|
||||
step would stop at `no_key`, as Culina's and Liber's did on 2026-11-20. Two fixes exist, and both belong to
|
||||
Custos and Mark, not to this repository: a Custos change that adds `rosea-android` (`CN=Rosea Domi`, only
|
||||
Custos and Mark, not to this repository: a Custos change that adds `rosea-domi-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.
|
||||
- **A7. The certificate is forever.** Once a player installs an APK signed with `rosea-android`, every update must
|
||||
**Answered 2026-11-25:** Custos 0.25's Android grant (`mnovak/*`, given by Mark) makes `rosea-domi-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.
|
||||
**Answered again 2026-12-02:** Mark made the key himself, named `rosea-domi-android`, and keeps that name. Every
|
||||
mention below and the code now say `rosea-domi-android`, and the `apk` step lists it in `keys:` again.
|
||||
- **A7. The certificate is forever.** Once a player installs an APK signed with `rosea-domi-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.
|
||||
|
||||
@@ -74,7 +79,7 @@ flowchart LR
|
||||
| The release APK phones home | the APK | `android.ts verify` reads the built APK with `aapt2` and refuses any permission or backup flag. It runs in the release pipeline's `android` step and in every local build. |
|
||||
| Someone made reachable | none | No network feature. The APK asks for no `INTERNET` permission, so the kernel refuses every socket. |
|
||||
| A tester's place on the phone | the spec | The spec chooses *Not now*, so no town is ever chosen on the phone. |
|
||||
| A release signed with a stand-in key | signing | The `apk` step names `rosea-android` only, through Custos, and refuses `CUSTOS_PIPE` (sign-apk.ts). There is no fallback to a debug or local keystore. A missing key stops the release. |
|
||||
| A release signed with a stand-in key | signing | The `apk` step names `rosea-domi-android` only, through Custos, and refuses `CUSTOS_PIPE` (sign-apk.ts). There is no fallback to a debug or local keystore. A missing key stops the release. |
|
||||
| An untested APK published | the release | The phone test is a pipeline of its own: phones are leased per run, and the release must not hold the phone for two hours. Until the e2e pipeline's `phone` step has passed on a commit, that commit is not tagged (process, §5). |
|
||||
|
||||
## 4. Gap analysis and the designed solution
|
||||
@@ -85,7 +90,7 @@ flowchart LR
|
||||
| No pipeline put the phone run in the queue | `e2e.yaml` gains `apk` (`pnpm tauri:android`) and `phone` (`device: Wave 10`). | It has not run: the Wave 10 is not paired in Fabrica (below). |
|
||||
| The release pipeline's Android step lacked the NDK and put Gradle on C: | `NDK_HOME` and `GRADLE_USER_HOME` in `release.yaml`'s env. | none |
|
||||
| The release APK was never built | Built here with caches on D:, then checked by `android.ts verify` (§5). | Not signed (A6). |
|
||||
| `rosea-android` | Named as Custos's change (A6). | **Custos's and Mark's.** |
|
||||
| `rosea-domi-android` | Named as Custos's change (A6). | **Custos's and Mark's.** |
|
||||
| The Wave 10 is not paired in Fabrica | `fabrica devices list` shows `WAVE 10C connected (not paired in Fabrica)`. `pass::resolve` then finds no phone named *Wave 10*, and the step fails before it runs. | **The Fabrica session's** (Pipelines → Workshop → Devices → Pair a phone). |
|
||||
| Publication | The repository is public, so a release is public. Mark removed G6.1 (the legal check) and said to release on 2026-11-25. | **Mark's**, answered (`fabrica-release.md` F1). |
|
||||
|
||||
@@ -100,5 +105,5 @@ flowchart LR
|
||||
| Install, open, first screen, water, close, reopen, still watered | e2e, real phone | `fabrica tests run --target phone` through the hub's queue (the e2e runner is not yet added, so not the pipeline step) | done 2026-11-21: run `20261121-101158-uckm` **1 passed, 0 failed** (7.9 s; waited 12 s in the queue) on the Wave 10, Android 16, debug APK sha256 `bd59ff908125…`, commit f5d8d2c |
|
||||
| The phone test fails when persistence is wrong | e2e drill | planted `Days of care 2`, run through the queue, restored by copy | done: run `20261121-102500-crkf` **0 passed, 1 failed**, received `Days of care1` after the reopen |
|
||||
| The spec never reaches for a phone outside the queue | e2e | `test.skip` without `FABRICA_TESTS_PACKAGE` and `ANDROID_SERIAL` | by construction |
|
||||
| The signed APK verifies with `rosea-android`'s certificate | release | the `apk` step (custos-sign verifies with apksig) | **not run**: no key |
|
||||
| The signed APK verifies with `rosea-domi-android`'s certificate | release | the `apk` step (custos-sign verifies with apksig) | **not run**: no key |
|
||||
| What the debug test cannot prove about the release APK | manual | install the signed release APK on the Wave 10 once, water, close, reopen | after the key exists |
|
||||
|
||||
@@ -48,7 +48,7 @@ flowchart LR
|
||||
desktop --> approve{"Custos card<br/>(Mark)"}
|
||||
android --> approve
|
||||
kit --> approve
|
||||
approve --> sign["Authenticode (domi-code-signing)<br/>APK (rosea-android, custos-sign)<br/>minisign (domi-release)"]
|
||||
approve --> sign["Authenticode (domi-code-signing)<br/>APK (rosea-domi-android, custos-sign)<br/>minisign (domi-release)"]
|
||||
sign --> publish["Gitea release + signed SHA256SUMS"]
|
||||
publish -. "only once Mark decides (F1)" .-> aula["Aula page /rosea/"]
|
||||
publish --> update["Fabrica Update all<br/>(Mark's PC)"]
|
||||
@@ -89,12 +89,12 @@ nothing of Fabrica's.
|
||||
| Version | How an installed copy reaches the next release | Why not the other way |
|
||||
| :-- | :-- | :-- |
|
||||
| Windows | Fabrica *Update all* on Mark's PC (Fabrica docs/16): the signed `SHA256SUMS` checked against `domi-release`, the installer run with `/S /UPDATE` in place. A player runs the next installer over the old one (`installMode: currentUser`, same identifier): the WebView2 data folder, and so her rose, stays. | `tauri-plugin-updater` is a network feature and a plugin in the shell; §2 allows neither until one is reviewed for what it sends. An update check would tell a server, daily, that this person plays. No `latest.json` is published, so nothing waits for an updater that does not exist. |
|
||||
| Android | The next APK, signed with the same `rosea-android` key and a higher `versionCode` (Tauri derives it from the version), installs over the old one and keeps her. A player gets it from the Aula page; the test phone gets each debug build from its `android` target. | An in-app check needs the `INTERNET` permission, which the APK must not ask for while Rosea has no network feature (§2; `android.ts verify` refuses any permission). |
|
||||
| Android | The next APK, signed with the same `rosea-domi-android` key and a higher `versionCode` (Tauri derives it from the version), installs over the old one and keeps her. A player gets it from the Aula page; the test phone gets each debug build from its `android` target. | An in-app check needs the `INTERNET` permission, which the APK must not ask for while Rosea has no network feature (§2; `android.ts verify` refuses any permission). |
|
||||
| PWA | The service worker: a new bundle is a new worker, offered with *A new version of the garden is ready.* and *Refresh* (calm-refresh.md, G0.10). | Nothing to add here until it has a host (F2). |
|
||||
| iOS | Not built (G-T1: needs a Mac). | — |
|
||||
|
||||
- **F4 — Signing through Custos only.** Authenticode with `domi-code-signing` for the installer;
|
||||
the APK with `rosea-android` through `custos-sign apk` (corrected 2026-11-21, `android-release-apk.md` A6:
|
||||
the APK with `rosea-domi-android` through `custos-sign apk` (corrected 2026-11-21, `android-release-apk.md` A6:
|
||||
Custos does NOT make this key; it must be added to Custos's `ANDROID_APPS` or made by hand; a `run` step that names it in `keys:` so preflight checks it);
|
||||
`domi-release` signs each file's minisign signature and `SHA256SUMS`. No key, password or token is
|
||||
in the repository, a pipeline file or a log (G-T3). Each key's scope must name `mnovak/Rosea` exactly:
|
||||
|
||||
@@ -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`.
|
||||
@@ -0,0 +1,29 @@
|
||||
# Review — `fix/rosea-domi-android-key`
|
||||
|
||||
**What:** the APK is signed with Mark's Custos key `rosea-domi-android`, not `rosea-android`.
|
||||
Mark made the key himself under that name and keeps it (relayed by Aula, 2026-12-02). Two release runs
|
||||
of v0.1.0 (`r9j7b2sqmzdjg`, `rwyv2j3bazfv9`) were refused at preflight for `rosea-android`, a key
|
||||
that was never made.
|
||||
|
||||
**Changed:** `APK_KEY` in `sign-apk.ts` and its test. The `apk` step now lists `keys: [rosea-domi-android]`
|
||||
again: the key exists, so preflight can check it (PR #10 removed the list only because the key didn't
|
||||
exist yet). The pipeline header, A6 in `android-release-apk.md`, `fabrica-release.md`, GAP G-F7,
|
||||
FEATURES and HANDOVER use the new name. Earlier reviews and lessons keep the old one as history.
|
||||
|
||||
## Findings
|
||||
|
||||
1. **The name is forever.** An APK signed with this key *is* Rosea on Android. No APK has been signed with
|
||||
either name yet (G-F7 is still open), so changing it now costs no player anything. After v0.1.1 it can
|
||||
never change again. The comment in `sign-apk.ts` says so.
|
||||
2. **Scope.** custos-sign still asks for `mnovak/Rosea`, the `release` pipeline and a tag. Whether Mark's key
|
||||
allows that scope is Custos's to check at the card. *Not verified here*, since this session can't see the
|
||||
vault. If the scope differs, the `apk` step fails at signing, not at preflight.
|
||||
3. **Does the test fail on the old name?** `sign-apk.test.ts` pins `--key rosea-domi-android` and
|
||||
`APK_KEY`. Putting `'rosea-android'` back fails both assertions.
|
||||
4. **Soul, privacy, reachability, offline:** nothing a player sees changed.
|
||||
5. **Not verified:** that preflight passes with the new name. That is shown only by the v0.1.1 run on the hub.
|
||||
|
||||
**Scope:** one constant, its test, one pipeline step and the docs that name the key.
|
||||
|
||||
**Gate (D:, 2026-12-02):** lint 0, typecheck 0, `pnpm test` 646 passed (schema 19, identity 5, release 8,
|
||||
cpu-guard 13, storage 70, content 88, art-prep 80, tauri 92, ui 92, engine 179); `fabrica artifex check` 0 problems.
|
||||
@@ -4,7 +4,7 @@
|
||||
# CLI) runs every gate of CLAUDE.md §5.5 on a clean checkout, the e2e and offline suites against the BUILT PWA,
|
||||
# takes the Aula pictures on demo data (e2e/aula.spec.ts), and builds the Windows installer and the Android APK.
|
||||
# Nothing is signed before Mark's card. Then: Authenticode on the installer (domi-code-signing); the APK through
|
||||
# custos-sign with rosea-android (NOT made by Custos on its own: android-release-apk.md A6, until then `no_key`); a minisign
|
||||
# custos-sign with rosea-domi-android (Mark's key in Custos); a minisign
|
||||
# signature for each (domi-release); the release with SHA256SUMS signed by domi-release.
|
||||
# No updater and no latest.json: the apps make no network call of their own (CLAUDE.md §2). Mark's PC updates
|
||||
# through Fabrica's Update all; a player installs the next file over the old one (F3).
|
||||
@@ -82,8 +82,10 @@ steps:
|
||||
files: ["**/*-setup.exe"]
|
||||
- id: apk
|
||||
needs: [approve]
|
||||
# The key is Mark's `rosea-domi-android` in Custos (made by him; 2026-12-02), so preflight checks it again. The
|
||||
# name `rosea-android` was never made: runs r9j7b2sqmzdjg and rwyv2j3bazfv9 were refused for it.
|
||||
run: pnpm --filter @rosea/tauri sign:apk ${{ version }} ${{ commit }}
|
||||
keys: [rosea-android]
|
||||
keys: [rosea-domi-android]
|
||||
artifacts: ["target/release/rosea-domi-*-arm64.apk"]
|
||||
- id: minisign
|
||||
needs: [sign, apk]
|
||||
|
||||
+30
-5
@@ -2,7 +2,32 @@
|
||||
|
||||
Rewritten at the end of each session (CLAUDE.md §5.1).
|
||||
|
||||
## Latest — 2026-11-23: @domi/ui, the shared look, and the credit
|
||||
## Latest — 2026-12-02: v0.1.1, the first release
|
||||
|
||||
- **Published:** https://gitea.marek-novak.cz/mnovak/Rosea/releases/tag/v0.1.1, by the hub's release run `r59y647cfcpw9` at `18b6c81`.
|
||||
- Windows: `Rosea Domi_0.1.1_x64-setup.exe`, Authenticode with `domi-code-signing`.
|
||||
- Android: `rosea-domi-0.1.1-arm64.apk`, signed with **`rosea-domi-android`**, Mark's key in Custos. It is Rosea on
|
||||
Android for good: every later APK must be signed with it.
|
||||
- Each file has a minisig, and SHA256SUMS is signed with `domi-release`. The notes and 9 Aula pictures are attached.
|
||||
- Mark's cards: one code (932 135) covered `sign` and `minisign`. The `apk` step raised none.
|
||||
- **How it got there:**
|
||||
- G6.1 (the legal check of the look) was removed by Mark's own words on 2026-11-25 (PR #9).
|
||||
- @domi/ui went in after its phone test on the Wave 10 through Fabrica's queue (PR #8; run `20261125-133208-trjl`).
|
||||
- The `apk` step's preflight list first named a key that didn't exist (PR #10). Mark's key is
|
||||
`rosea-domi-android` (PR #11).
|
||||
- v0.1.0 is a tag on `8d7027c` only. Its runs (`r9j7b2sqmzdjg`, `rwyv2j3bazfv9`) were refused at preflight, and
|
||||
nothing was published under it.
|
||||
- **Dispatching:** the hub doesn't start a release on a tag push. Dispatch it with `POST /api/runs`
|
||||
`{"repo":"mnovak/Rosea","pipeline":"release","ref":"vX.Y.Z"}`, with the token from
|
||||
`custos-claude get fabrica-hub-token` held in a variable and never printed. Or use `fabrica deploy rosea`, which
|
||||
bumps, tags and follows.
|
||||
- **Still open:** the Aula page needs the server's `modules/aula.nix` to list Rosea (not this repository's). The PWA
|
||||
has no host (G0.13). iOS needs a Mac (G-T1).
|
||||
- **The 90 % rule (Mark, 2026-11-25):** no build or test while CPU or RAM is at 90 % or more. Drives: 90 % at first,
|
||||
95 % for D:, E: and F: from 2026-12-02. Check first and wait. It is not in CLAUDE.md yet: that needs Mark's own yes
|
||||
in this repository's session.
|
||||
|
||||
## Earlier — 2026-11-23: @domi/ui, the shared look, and the credit
|
||||
|
||||
- **`feature/domi-ui`**: Rosea's buttons and her town search wear @domi/ui v1.5.0 (CPAL-1.0). On Android the town field is an editable box, so no Autofill request goes to Google.
|
||||
- It is vendored unchanged into `packages/domi-ui` by the design system's `tools/vendor.mjs`.
|
||||
@@ -51,7 +76,7 @@ Rewritten at the end of each session (CLAUDE.md §5.1).
|
||||
restore as the `rosea-rose` file, additive only. R4 (Rust in the shell) and R1 are Mark's, along with *free* and
|
||||
*today* (G-AT1).
|
||||
- **Code waits** for Atrium's `docs/APP_CONTRACT.md` v0 (the Aula session says when). Visual changes wait for `@domi/ui`.
|
||||
- **The key:** Custos 0.25's *Android grant* (Mark, `mnovak/*`, per Aula) should make `rosea-android` at the first
|
||||
- **The key:** Custos 0.25's *Android grant* (Mark, `mnovak/*`, per Aula) should make `rosea-domi-android` at the first
|
||||
signature (G-F7, unverified).
|
||||
- **The release:** still waits for Mark's own yes in this session to remove G6.1 from CLAUDE.md. The request
|
||||
reached this session only through the Aula session, and CLAUDE.md is not edited on a relayed request.
|
||||
@@ -65,7 +90,7 @@ Rewritten at the end of each session (CLAUDE.md §5.1).
|
||||
- **The phone test passed** through the hub's queue (`fabrica tests run --target phone`): run
|
||||
`20261121-101158-uckm`, 1 passed, 0 failed, on the Wave 10. A planted fault failed as it must. The e2e pipeline's
|
||||
`phone` step still waits for the hub's e2e runner (Mark).
|
||||
- **Blocked on the key:** `rosea-android` does not exist, and Custos will not make it, because it is not in Custos's
|
||||
- **Blocked on the key:** `rosea-domi-android` does not exist, and Custos will not make it, because it is not in Custos's
|
||||
`ANDROID_APPS` (0.22.0 here, 0.24.0 too). This corrects `fabrica-release.md` F4. It needs a Custos change or
|
||||
Mark's *Create Android key* (G-F7).
|
||||
- **Still the author's:** publication (G6.1, G-F1).
|
||||
@@ -75,14 +100,14 @@ Rewritten at the end of each session (CLAUDE.md §5.1).
|
||||
- **Rosea is a Fabrica app** (`feature/fabrica-release`, PR mnovak/Rosea#1): `.fabrica/` (app, the
|
||||
`release` and `e2e` pipelines, `tests.yaml` with `web` and `phone`, `aula.yaml`), `AULA.md`, the brief
|
||||
and the 0.1.0 notes, `scripts/check-version.mjs`, the APK signed in Custos (`sign:apk`,
|
||||
`rosea-android`), `domi-rosea://` from the installer, the pictures on demo data (`pnpm aula:shots`).
|
||||
`rosea-domi-android`), `domi-rosea://` from the installer, the pictures on demo data (`pnpm aula:shots`).
|
||||
Analysis: [`.agents/features/fabrica-release.md`](.agents/features/fabrica-release.md). Review:
|
||||
[`.agents/reviews/feature-fabrica-release.md`](.agents/reviews/feature-fabrica-release.md).
|
||||
Rosea is in Fabrica's workspace and `deploy.json` on this PC.
|
||||
- **No release was made.** The Gitea repository is public, so a release is public, and G6.1 comes
|
||||
first. The author's choice is open (G-F1): publish anyway, make the repository private first, or wait.
|
||||
- **Before the first release, in Custos (Mark):** `domi-code-signing` and `domi-release` scoped to
|
||||
`mnovak/Rosea`; `rosea-android` is made by Custos on the first APK signature; back the vault up.
|
||||
`mnovak/Rosea`; `rosea-domi-android` is made by Custos on the first APK signature; back the vault up.
|
||||
- **Not run:** the `phone` target (only through Fabrica's phone queue); no installer was run, so
|
||||
`domi-rosea://` is tested as text only (G-F4).
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@rosea/tauri",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"private": true,
|
||||
"license": "CPAL-1.0",
|
||||
"type": "module",
|
||||
|
||||
Generated
+1
-1
@@ -2614,7 +2614,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rosea-shell"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
dependencies = [
|
||||
"tauri",
|
||||
"tauri-build",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "rosea-shell"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
license = "CPAL-1.0"
|
||||
description = "The Tauri 2 shell of Rosea Domi: a window around the built game, and nothing else."
|
||||
edition = "2024"
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
* What the release asks custos-sign to do with the Android APK (fabrica-release.md F4). Kept
|
||||
* apart from the script that runs it so the arguments can be tested without Custos.
|
||||
*
|
||||
* The key `rosea-android` lives in Custos only; custos-sign holds no key material either. Its
|
||||
* scope is exactly `mnovak/Rosea`, the release pipeline, a tag (Custos makes the key on the first
|
||||
* release, behind Mark's first-signature card).
|
||||
* The key `rosea-domi-android` lives in Custos only (Mark made it under that name, 2026-12-02);
|
||||
* custos-sign holds no key material either. Its scope is exactly `mnovak/Rosea`, the release
|
||||
* pipeline, a tag. The name is forever: an APK signed with it is Rosea on Android for good.
|
||||
*/
|
||||
export const APK_KEY = 'rosea-android';
|
||||
export const APK_KEY = 'rosea-domi-android';
|
||||
export const REPO = 'mnovak/Rosea';
|
||||
|
||||
/** Where Gradle leaves the release APK of `tauri android build --apk --target aarch64`, from src-tauri. */
|
||||
|
||||
@@ -13,13 +13,13 @@ const COMMIT = 'a'.repeat(40);
|
||||
const pkg = JSON.parse(readFileSync(join(fileURLToPath(new URL('..', import.meta.url)), 'package.json'), 'utf8')) as { scripts: Record<string, string> };
|
||||
|
||||
describe('signArgs', () => {
|
||||
it('asks for rosea-android, scoped to mnovak/Rosea, the release pipeline and a tag', () => {
|
||||
it('asks for rosea-domi-android, scoped to mnovak/Rosea, the release pipeline and a tag', () => {
|
||||
const args = signArgs({ version: '0.1.0', commit: COMMIT, unsigned: 'in.apk', out: 'out.apk' });
|
||||
expect(args).toEqual([
|
||||
'apk', 'in.apk', '--out', 'out.apk', '--key', 'rosea-android', '--repo', 'mnovak/Rosea', '--pipeline', 'release',
|
||||
'apk', 'in.apk', '--out', 'out.apk', '--key', 'rosea-domi-android', '--repo', 'mnovak/Rosea', '--pipeline', 'release',
|
||||
'--commit', COMMIT, '--trigger', 'tag', '--run', 'rosea-v0.1.0', '--version', '0.1.0', '--step', 'apk'
|
||||
]);
|
||||
expect(APK_KEY).toBe('rosea-android');
|
||||
expect(APK_KEY).toBe('rosea-domi-android');
|
||||
});
|
||||
|
||||
it('refuses a version or a commit that is not one', () => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@rosea/app",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"private": true,
|
||||
"license": "CPAL-1.0",
|
||||
"type": "module",
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
"name": "rosea",
|
||||
"private": true,
|
||||
"license": "CPAL-1.0",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"type": "module",
|
||||
"packageManager": "pnpm@9.12.3",
|
||||
"engines": {
|
||||
|
||||
Reference in New Issue
Block a user