Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d38c3ce6f8 | |||
| 4d3f790600 | |||
| 3c0124b188 | |||
| dc49209e17 | |||
| 56f266a5b9 | |||
| b947ac3723 | |||
| 1cb1ffb8c8 | |||
| 666c78f5fe | |||
| 6f1920e91b | |||
| 578aa44f23 | |||
| 2b1ac99fbe | |||
| eded64d36e | |||
| 18b6c81772 | |||
| be15a8536c | |||
| a2176563eb | |||
| 69f8b74c9d | |||
| 4cff831b76 | |||
| 8d7027c563 | |||
| f942d4efd8 | |||
| 82e5213b2f |
+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,13 +89,15 @@ Svelte codebase, the apps through a Tauri 2 shell. Analysis:
|
||||
|
||||
| Id | Gap | Status / evidence |
|
||||
|:--|:--|:--|
|
||||
| G-F1 | The first release is not published | Open, **the author's decision**: the repository is public, so a Gitea release and the Aula page are a public release, which G6.1 holds back. The pipeline, the kit and the words are ready; the tag waits. |
|
||||
| ~~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. |
|
||||
| ~~G-F8~~ | ~~Aula does not list the Windows installer~~ | **Closed 2026-12-02:** Aula lists only `[A-Za-z0-9._-]+-setup.exe`, and v0.1.1's was `Rosea Domi_0.1.1_x64-setup.exe`. PR #13 renames it after `tauri build`; v0.1.3 (run `r9v6601at1pc5`) published `RoseaDomi_0.1.3_x64-setup.exe`, signed. Aula reported it live after a resync (29 projects, 0 problems): `/rosea/release/v0.1.3/RoseaDomi_0.1.3_x64-setup.exe` answers 200. |
|
||||
| G-F9 | Notes lose an unpublished tag's changes | Open: `fabrica notes` counts from the highest earlier tag. `v0.1.2` was deleted for that reason (HANDOVER); `v0.1.0` still makes v0.1.1's notes omit PRs #8 and #9. Delete a tag whose release fails, or teach Fabrica to count from the last published release. |
|
||||
|
||||
## Atrium Domi — adoption (`atrium-adoption.md`)
|
||||
|
||||
@@ -107,7 +109,7 @@ Svelte codebase, the apps through a Tauri 2 shell. Analysis:
|
||||
|
||||
| Id | Gap | Status / evidence |
|
||||
|:--|:--|:--|
|
||||
| G6.1 | A legal check of the look: a child on a small round planet with a rose is the book's best-known image, and its estate holds trademarks | Open, **before any public release**. The author accepted the risk on 2026-11-17 (CLAUDE.md §8); the guards are STYLE.md S2, S6, §3b and review points 10–11. |
|
||||
| ~~G6.1~~ | ~~A legal check of the look: a child on a small round planet with a rose is the book's best-known image, and its estate holds trademarks~~ | **Removed by the author, 2026-11-25, without a check.** His words, typed in Rosea's own session: "Yes, remove G6.1 from Rosea's CLAUDE.md and release Rosea v0.1.0, desktop and APK." CLAUDE.md §8 says so on `docs/remove-g6-1`. The risk stays his, accepted on 2026-11-17; the guards (STYLE.md S2, S6, §3b, review points 10–11) are now the only defence. |
|
||||
|
||||
## Design questions — answered
|
||||
|
||||
|
||||
@@ -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,9 +90,9 @@ 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 | G6.1: the repository is public, so a release is public, and a legal check of the look comes first. | **Mark's** (`fabrica-release.md` F1). |
|
||||
| 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). |
|
||||
|
||||
## 5. Verification matrix
|
||||
|
||||
@@ -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)"]
|
||||
@@ -79,6 +79,7 @@ nothing of Fabrica's.
|
||||
is a public release (G6.1). The tag is therefore made only after Mark answers. Until then the run is
|
||||
made locally (`fabrica run release --step page`, which signs as a dry run). The Aula entry for the
|
||||
server's `modules/aula.nix` is written down in the handover, not added.
|
||||
**Answered 2026-11-25:** Mark removed G6.1 and said to release v0.1.0, desktop and APK.
|
||||
- **F2 — One part, `desktop`; no `server` part.** The release pipeline makes both apps (Windows and
|
||||
Android). The PWA's host is still the author's open question (G0.13: GitHub Pages under `/Rosea/`),
|
||||
and a server part would be a NixOS module on the server, which is not this repository's to change.
|
||||
@@ -88,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,20 @@
|
||||
# Review — `docs/release-0-1-3`
|
||||
|
||||
**What:** the record of v0.1.3: HANDOVER's latest section, plus GAP rows G-F8 (closed: Aula can list the installer)
|
||||
and G-F9 (open: release notes lose an unpublished tag's changes).
|
||||
|
||||
## Findings
|
||||
|
||||
1. **Every claim names its evidence:** the run id `r9v6601at1pc5`, the published file names and sizes read from
|
||||
the Gitea release, the desktop step's `installer:` log line, the published notes, and the SHA256SUMS lines.
|
||||
2. **G-F9 is new, found while preparing v0.1.3:** the generated notes would have listed only PR #14. The v0.1.0
|
||||
tag already did this to v0.1.1's notes. It stays open: the fix belongs in a habit (delete a tag whose release
|
||||
fails) or in Fabrica, not in this repository.
|
||||
3. **What I did not verify,** as stated in HANDOVER: the downloaded files against SHA256SUMS, and Aula showing the
|
||||
installer.
|
||||
4. **Soul, privacy, reachability, offline:** documents only.
|
||||
|
||||
**Gate:** lint:copy 29 files, 0 problems. No code changed, so no tests were rerun.
|
||||
|
||||
**Follow-up (`docs/aula-lists-installer`):** Aula reported the installer live (resync 29 projects, 0 problems;
|
||||
the file answers 200). HANDOVER and G-F8 now say so, attributed to Aula. Not checked from here.
|
||||
@@ -0,0 +1,30 @@
|
||||
# Review — `docs/remove-g6-1`
|
||||
|
||||
**What:** CLAUDE.md §8 and §3 no longer hold a release back for a legal check of the look (G6.1). The
|
||||
gap is struck through in GAP_ANALYSIS with the author's words. G-F1 records his decision to publish.
|
||||
The comments in `.fabrica/`, STYLE.md's note, `fabrica-release.md` F1 and `android-release-apk.md`
|
||||
say the same.
|
||||
|
||||
**Whose decision:** Mark's own words, typed in Rosea's session on 2026-11-25: *"Yes, remove G6.1 from
|
||||
Rosea's CLAUDE.md and release Rosea v0.1.0, desktop and APK."* An earlier request reached this session
|
||||
only as a message from another session. That message was not acted on (CLAUDE.md is not changed because
|
||||
a peer asked), and this branch was made only after his own yes.
|
||||
|
||||
## Findings
|
||||
|
||||
1. **The risk does not go away with the check.** The book's estate holds trademarks, and the
|
||||
gardener on a round planet is the book's best-known image. *Fixed:* the trap row in §8 stays, and
|
||||
it now says the guards (STYLE.md S2, S6, §3b, review points 10–11) are the only defence. A review
|
||||
that weakens one of them is a blocker. Nothing in the art rules changed.
|
||||
2. **The history should stay readable.** If the row were simply deleted, a later reader would not know
|
||||
that a check was ever planned or why it was dropped. *Fixed:* G6.1 is struck through, not removed,
|
||||
and says who removed it and when. `planet-garden.md` keeps its original wording, because it records
|
||||
the decision as it was made then.
|
||||
3. **G-F1 is not closed by a sentence.** It closes only when the hub's run has published v0.1.0.
|
||||
*Deferred:* the row says "decided" and gets its evidence after the release.
|
||||
4. **Soul, privacy, reachability, offline:** no code changed. These are words in documents and comments
|
||||
only, and nothing reaches a player.
|
||||
5. **Test honesty:** no test reads these lines. `pnpm lint:copy` does not scan `CLAUDE.md` or
|
||||
`.agents/`. Not verified: none needed, since no product copy changed.
|
||||
|
||||
**Scope:** documentation and comments only, seven files. Nothing was built or released on this branch.
|
||||
@@ -0,0 +1,34 @@
|
||||
# Review — `fix/board-test-timeout`
|
||||
|
||||
**What:** the v0.1.2 release runs `r1ahwf1m23cdr` and `rm56nbzfchx5d` both stopped at the `test` step, on one
|
||||
test: `art-prep` *art/placeholders/ holds exactly what the generator makes* timed out at vitest's default 5 s
|
||||
(8.7 s in the first run, 5.4 s in the second). Every assertion that ran passed; the work was only slow. The test
|
||||
reads the 169 SVG stand-ins in `art/placeholders/` and compares each with what the generator makes, while turbo
|
||||
runs nine other suites on the same runner, in a checkout it has just fetched, so every file is read for the first
|
||||
time. Run alone on D:, it takes 230 ms.
|
||||
|
||||
**How:** that one test gets `{ timeout: 30_000 }`, as `tools/release` already does for its slow suites
|
||||
(`copy.test.ts` 60 s, `version.test.ts` 30 s), with a comment giving the measured times.
|
||||
|
||||
## Findings
|
||||
|
||||
1. **Is a longer timeout hiding a real slowdown?** No assertion changed. The test still fails when one stand-in
|
||||
differs from the generator's output (drill below). 30 s is about three times the slowest time measured on the
|
||||
runner. A test that takes that long would be a new finding.
|
||||
2. **Why not a global `testTimeout`?** That would loosen every test in the package, including ones that should
|
||||
stay fast. Only the test that reads files gets the longer limit.
|
||||
3. **Why not just dispatch again?** That was tried: the second run failed on the same test. Under the runner's
|
||||
load, the time sits around the limit, so a retry is a coin toss.
|
||||
4. **The release:** tag `v0.1.2` points at `666c78f`, which does not have this fix. Nothing was signed or
|
||||
published from either run. Which tag carries the release is the author's call (HANDOVER).
|
||||
5. **Soul, privacy, reachability, offline:** a test file only. Nothing a player sees changed, and the bundle is
|
||||
not rebuilt by this change.
|
||||
|
||||
**Test honesty:** with `app-icon-maskable.svg` changed (an attribute added), the test fails in 64 ms on the
|
||||
content comparison (`expected '<svg data-drill="1"…' to be '<svg xmlns=…'`), not on time. The drill ran on D:
|
||||
and was reverted.
|
||||
|
||||
**Gate (D:, 2026-12-02):** lint 0, typecheck 0, lint:copy 0 problems; `pnpm test` 653 passed (schema 19, identity 5,
|
||||
release 8, cpu-guard 13, storage 70, content 88, art-prep 80, tauri 99, ui 92, engine 179).
|
||||
|
||||
**Not verified:** the test's time on the hub runner with this change. The next release run measures it.
|
||||
@@ -0,0 +1,34 @@
|
||||
# Review — `fix/installer-name`
|
||||
|
||||
**What:** the Windows installer is published as `RoseaDomi_<version>_x64-setup.exe`, not
|
||||
`Rosea Domi_<version>_x64-setup.exe`. Aula makes an installer public only when its name matches
|
||||
`[A-Za-z0-9._-]+-setup.exe` (Aula docs/14_feed.md), which is also the form Atrium Domi expects. So v0.1.1's
|
||||
installer never appeared on Aula, while its APK did (reported by Aula, 2026-12-02).
|
||||
|
||||
**How:** `tauri build` still names the file after `productName`. Then `scripts/installer-name.ts` renames it,
|
||||
in the same `build:desktop` command, before the release's `desktop` step collects `*-setup.exe`. The names and the
|
||||
pattern live in `src/installer-name.ts`, where the test can reach them without a build.
|
||||
|
||||
## Findings
|
||||
|
||||
1. **Why not change `productName`?** It is also the window title, the install folder and the uninstall
|
||||
entry Atrium finds her by. A new `productName` would make the next installer a second app beside the
|
||||
first, and a player who updates would have two roses. Only the file is renamed. *Not done:* the
|
||||
installer's own wizard text still says "Rosea Domi", which is right.
|
||||
2. **An older installer left in the folder.** The release step publishes every `*-setup.exe` in
|
||||
`bundle/nsis/`. The rename deletes any other installer there (build output only) and fails unless exactly
|
||||
one remains with an accepted name. Tested with an old Tauri-named file and an old renamed one beside the
|
||||
new one.
|
||||
3. **The signing steps** (`sign`, `minisign`, `publish`) match `**/*-setup.exe`, so they find the renamed
|
||||
file. *Not verified until the v0.1.2 hub run.*
|
||||
4. **Test honesty:** with the space put back (`${PRODUCT_NAME}` unchanged), 4 of the 7 new tests fail
|
||||
(drill run on D:, then reverted). The `build:desktop` order is pinned by a test, and `domi-app.test.ts` was
|
||||
loosened only to allow what follows `tauri build`.
|
||||
5. **AULA.md** names the new file, so a player following the page finds it.
|
||||
6. **Soul, privacy, reachability, offline:** nothing a player sees inside the game changed.
|
||||
|
||||
**Not verified:** a real `tauri build` here (it is the hub's step), and Aula showing the installer once v0.1.2
|
||||
is published.
|
||||
|
||||
**Gate (D:, 2026-12-02):** lint 0, typecheck 0, lint:copy 0 problems; `pnpm test` 653 passed (schema 19, identity 5,
|
||||
release 8, cpu-guard 13, storage 70, content 88, art-prep 80, tauri 99, ui 92, engine 179).
|
||||
@@ -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.
|
||||
+2
-2
@@ -3,8 +3,8 @@
|
||||
# tag. No server part: the PWA's host is still the author's question (GAP_ANALYSIS G0.13), and a server part is
|
||||
# a NixOS module on the server, not this repository's (F2). The colour is --rose.
|
||||
# aula: true means the releases carry Aula's kit. The page appears on Aula only once the server's
|
||||
# modules/aula.nix lists Rosea, and that waits for the author: the look's legal check comes before any public
|
||||
# release (CLAUDE.md §8, GAP_ANALYSIS G6.1; fabrica-release.md F1).
|
||||
# modules/aula.nix lists Rosea. The author decided to publish on 2026-11-25 and removed the look's legal check
|
||||
# (GAP_ANALYSIS G6.1, G-F1; fabrica-release.md F1).
|
||||
name: Rosea
|
||||
icon: flower
|
||||
color: "#b4485e"
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
# 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).
|
||||
# The repository is public, so `publish` is a public release: the tag waits for the author (G6.1, F1).
|
||||
# The repository is public, so `publish` is a public release; the author decided to publish on 2026-11-25 (F1).
|
||||
# Playwright's browsers are in F:\ms-playwright (CLAUDE.md §3: never C:); nothing is downloaded during a release.
|
||||
name: release
|
||||
on:
|
||||
@@ -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,7 +30,7 @@ does not even ask for the permission to use the internet.
|
||||
|
||||
## Installing
|
||||
|
||||
- **Windows:** run `Rosea Domi_<version>_x64-setup.exe`. It installs for you alone, with no
|
||||
- **Windows:** run `RoseaDomi_<version>_x64-setup.exe`. It installs for you alone, with no
|
||||
administrator rights.
|
||||
- **Android:** install the `.apk` (Android 7 or newer). Your phone will ask you to allow installing
|
||||
apps from where you downloaded it.
|
||||
|
||||
@@ -299,7 +299,7 @@ pnpm aula:shots # builds, then the Aula pictures on dem
|
||||
fabrica artifex check # the pipelines, tests.yaml, aula.yaml and the brief
|
||||
fabrica tests run --target web # the e2e specs as Fabrica's target (build first)
|
||||
fabrica tests run --target phone # the debug APK on the test phone, ONLY through Fabrica's phone queue
|
||||
fabrica deploy rosea --part desktop # a release: bump, tag, the hub's run, Mark's Custos cards. Public: G6.1 first
|
||||
fabrica deploy rosea --part desktop # a release: bump, tag, the hub's run, Mark's Custos cards (public)
|
||||
|
||||
# Not yet — they arrive with their first feature:
|
||||
cargo test --manifest-path services/lucerna/Cargo.toml # Phase 4 onward
|
||||
@@ -609,7 +609,7 @@ No timestamp finer than a day, no precise location, no free text, no link to the
|
||||
| **Location makes people findable** | Coarse cells next to a sparse population identify a house. Cell size must adapt to density, traces must be delayed and auto-deleted, and stranger contact is consent-only (§5.6). |
|
||||
| **The library as a scam channel** | If any field lets a sender attach free text, a lonely recipient can be manipulated. The id-only contract (§6.1) is the defence. |
|
||||
| **Copyright through the back door** | An image prompt "in the style of" the book's drawings, a fox or rose that looks like the original, or a famous line "paraphrased" too closely. All forbidden (§5.6); the art pipeline checks likeness (`docs/ART.md`). |
|
||||
| **A child on a small round planet with a rose** *(a risk the author accepted, 2026-11-17)* | It is the book's most recognisable image, and its estate holds trademarks. The author chose it knowingly. Keep every guard (STYLE.md S2, S6, §3b, review points 10–11: the gardener is the player's own, in work clothes, never a scarf, coat, cape, suit or crown; the planet is a cultivated garden, never volcanoes, baobabs or a lone lamp post), and **a legal check of the look comes before any public release** (G6.1). |
|
||||
| **A child on a small round planet with a rose** *(a risk the author accepted, 2026-11-17)* | It is the book's most recognisable image, and its estate holds trademarks. The author chose it knowingly. Keep every guard (STYLE.md S2, S6, §3b, review points 10–11: the gardener is the player's own, in work clothes, never a scarf, coat, cape, suit or crown; the planet is a cultivated garden, never volcanoes, baobabs or a lone lamp post). The legal check of the look that used to come before release (G6.1) was **removed by the author on 2026-11-25**: he releases with the risk accepted, and the guards are now the only defence, so a review that weakens one is a **blocker**. |
|
||||
| **Medical claims in a store listing** | One word like *heal* in marketing copy can pull the product toward medical-device rules. `lint:copy` also runs on store text kept in the repo. |
|
||||
| **IndexedDB is evictable** *(predicted; answered by `keep-her-safe.md`)* | WebKit can discard origin storage after seven days without interaction — exactly the shape of a player who drifted away and comes back. Call `navigator.storage.persist()` where it exists, prompt iOS players to install, and make export-my-rose a first-class feature. A player returning to find their rose gone is the cruellest bug this product could have. |
|
||||
| **The stale service worker** *(answered by `calm-refresh.md`)* | A precached shell keeps serving old JS to a player who has "updated". Detect a waiting worker and offer an explicit, calm *refresh* control. |
|
||||
|
||||
+51
-5
@@ -2,7 +2,53 @@
|
||||
|
||||
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.3, the installer Aula can list
|
||||
|
||||
- **Published:** https://gitea.marek-novak.cz/mnovak/Rosea/releases/tag/v0.1.3, by the hub's run `r9v6601at1pc5` at
|
||||
`56f266a`.
|
||||
- Windows: **`RoseaDomi_0.1.3_x64-setup.exe`**, with no space. Aula lists only `[A-Za-z0-9._-]+-setup.exe`, so
|
||||
v0.1.1's `Rosea Domi_…` never appeared there. `tauri build` still names it after `productName`, then
|
||||
`scripts/installer-name.ts` renames it in the same `build:desktop` (PR #13). `productName` stays "Rosea Domi": it is
|
||||
also the window title, the install folder and the uninstall entry.
|
||||
- Android: `rosea-domi-0.1.3-arm64.apk`, signed with `rosea-domi-android`. Minisigs and SHA256SUMS signed with
|
||||
`domi-release`; the notes and the Aula pictures are attached.
|
||||
- Mark's card: code 053 785 for `minisign`. `approve`, `sign` and `apk` raised none.
|
||||
- **v0.1.2 does not exist.** It was tagged on `666c78f`, and both of its runs (`r1ahwf1m23cdr`, `rm56nbzfchx5d`)
|
||||
stopped at `test`: art-prep's placeholder comparison timed out at 5 s on the runner (8.7 s, then 5.4 s; 230 ms run
|
||||
alone). That test now has 30 s (PR #14). Mark chose v0.1.3 and had the `v0.1.2` tag deleted, because `fabrica notes`
|
||||
counts from the highest earlier tag and would otherwise have left PR #13 out of the notes. **Lesson:** a tag that
|
||||
is never published should be deleted, or the next release's notes lose its changes. `v0.1.0` still has this
|
||||
problem: v0.1.1's notes omit PRs #8 and #9.
|
||||
- **Aula lists it (reported by Aula, 2026-12-02):** after a resync (29 projects, 0 problems),
|
||||
`/rosea/release/v0.1.3/RoseaDomi_0.1.3_x64-setup.exe` answers 200. Rosea's Windows download is live.
|
||||
- **Not verified:** the published files against SHA256SUMS (only the list was read).
|
||||
|
||||
## Earlier — 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 +97,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 +111,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 +121,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,13 +1,13 @@
|
||||
{
|
||||
"name": "@rosea/tauri",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.3",
|
||||
"private": true,
|
||||
"license": "CPAL-1.0",
|
||||
"type": "module",
|
||||
"description": "The Tauri 2 shell: the Android, iOS and desktop apps around apps/rosea's built game (dist-tauri/). Imports no package.",
|
||||
"scripts": {
|
||||
"dev": "tsx scripts/icons.ts && tsx scripts/domi-app.ts && tauri dev",
|
||||
"build:desktop": "tsx scripts/icons.ts && tsx scripts/domi-app.ts && tauri build",
|
||||
"build:desktop": "tsx scripts/icons.ts && tsx scripts/domi-app.ts && tauri build && tsx scripts/installer-name.ts",
|
||||
"build:android": "tsx scripts/android.ts prepare && tauri android build --debug --apk --target aarch64 && tsx scripts/android.ts verify",
|
||||
"build:android-release": "tsx scripts/android.ts prepare && tauri android build --apk --target aarch64 && tsx scripts/android.ts verify src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release-unsigned.apk",
|
||||
"sign:apk": "tsx scripts/sign-apk.ts",
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* After `tauri build`: renames the NSIS installer to its published name (src/installer-name.ts), so
|
||||
* the release step's `*-setup.exe` finds one file, and its name has no space.
|
||||
*
|
||||
* tsx scripts/installer-name.ts in src-tauri/target/release/bundle/nsis/
|
||||
*/
|
||||
import { existsSync, readdirSync, renameSync, rmSync } from 'node:fs';
|
||||
import { join, resolve } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import { INSTALLER_PATTERN, installerName, tauriInstallerName } from '../src/installer-name.js';
|
||||
import { gameVersion } from './domi-app.js';
|
||||
import { SRC_TAURI } from './tauri.js';
|
||||
|
||||
/**
|
||||
* Renames the version's installer in `dir` and removes any other installer there (an older build's,
|
||||
* which the release's `*-setup.exe` would otherwise publish too). Returns the new path. Fails if the
|
||||
* built file is missing, or if anything but the one accepted installer is left.
|
||||
*/
|
||||
export function renameInstaller(dir: string, version: string): string {
|
||||
const from = join(dir, tauriInstallerName(version));
|
||||
const name = installerName(version);
|
||||
const to = join(dir, name);
|
||||
if (!existsSync(from)) throw new Error(`no installer to rename: ${from}`);
|
||||
for (const f of readdirSync(dir)) {
|
||||
if (f.endsWith('-setup.exe') && f !== tauriInstallerName(version)) rmSync(join(dir, f));
|
||||
}
|
||||
renameSync(from, to);
|
||||
const left = readdirSync(dir).filter((f) => f.endsWith('-setup.exe'));
|
||||
if (left.length !== 1 || left[0] !== name || !INSTALLER_PATTERN.test(name)) {
|
||||
throw new Error(`expected only ${name}, found: ${left.join(', ')}`);
|
||||
}
|
||||
return to;
|
||||
}
|
||||
|
||||
if (process.argv[1] && resolve(process.argv[1]) === fileURLToPath(import.meta.url)) {
|
||||
const to = renameInstaller(join(SRC_TAURI, 'target', 'release', 'bundle', 'nsis'), gameVersion());
|
||||
console.log(`installer: ${to}`);
|
||||
}
|
||||
Generated
+1
-1
@@ -2614,7 +2614,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rosea-shell"
|
||||
version = "0.1.0"
|
||||
version = "0.1.3"
|
||||
dependencies = [
|
||||
"tauri",
|
||||
"tauri-build",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "rosea-shell"
|
||||
version = "0.1.0"
|
||||
version = "0.1.3"
|
||||
license = "CPAL-1.0"
|
||||
description = "The Tauri 2 shell of Rosea Domi: a window around the built game, and nothing else."
|
||||
edition = "2024"
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* The Windows installer's published file name. Tauri's NSIS bundler names it after `productName`
|
||||
* (`Rosea Domi_<version>_x64-setup.exe`), and the space keeps it off Aula: Aula makes an installer
|
||||
* public only when its name matches `[A-Za-z0-9._-]+-setup.exe` (Aula docs/14_feed.md), the
|
||||
* `<Name>_<version>_x64-setup.exe` form Atrium Domi expects as well.
|
||||
*
|
||||
* Only the file is renamed after the build. `productName` stays "Rosea Domi": it is also the window
|
||||
* title, the install folder and the uninstall entry Atrium finds her by, and changing it would make
|
||||
* the next installer a second app beside the first.
|
||||
*/
|
||||
import { PRODUCT_NAME } from '../../../packages/schema/src/constants.js';
|
||||
|
||||
/** What Aula and Atrium accept as an installer's name. */
|
||||
export const INSTALLER_PATTERN = /^[A-Za-z0-9._-]+-setup\.exe$/;
|
||||
|
||||
/** Tauri's own name for the installer of a version. */
|
||||
export const tauriInstallerName = (version: string): string => `${PRODUCT_NAME}_${version}_x64-setup.exe`;
|
||||
|
||||
/** The published name: the product name without spaces, e.g. `RoseaDomi_0.1.2_x64-setup.exe`. */
|
||||
export function installerName(version: string): string {
|
||||
if (!/^\d+\.\d+\.\d+$/.test(version)) throw new Error(`not a version: ${version}`);
|
||||
const name = `${PRODUCT_NAME.replace(/\s+/g, '')}_${version}_x64-setup.exe`;
|
||||
if (!INSTALLER_PATTERN.test(name)) throw new Error(`the installer's name would not be accepted: ${name}`);
|
||||
return name;
|
||||
}
|
||||
@@ -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. */
|
||||
|
||||
@@ -51,7 +51,7 @@ describe('domi-app.toml', () => {
|
||||
|
||||
it('is made before every desktop build and never committed', () => {
|
||||
const pkg = JSON.parse(readFileSync(join(HERE, '..', 'package.json'), 'utf8')) as { scripts: Record<string, string> };
|
||||
expect(pkg.scripts['build:desktop']).toMatch(/tsx scripts\/domi-app\.ts && tauri build$/);
|
||||
expect(pkg.scripts['build:desktop']).toMatch(/tsx scripts\/domi-app\.ts && tauri build( |$)/);
|
||||
expect(pkg.scripts['dev']).toContain('tsx scripts/domi-app.ts');
|
||||
const ignore = readFileSync(join(HERE, '..', '..', '..', '.gitignore'), 'utf8');
|
||||
expect(ignore).toContain('apps/rosea-tauri/src-tauri/atrium/');
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
import { mkdtempSync, readdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
|
||||
import { tmpdir } from 'node:os';
|
||||
import { dirname, join } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import { afterEach, describe, expect, it } from 'vitest';
|
||||
import { renameInstaller } from '../scripts/installer-name.js';
|
||||
import { INSTALLER_PATTERN, installerName, tauriInstallerName } from '../src/installer-name.js';
|
||||
|
||||
describe('installerName', () => {
|
||||
it('has no space, and matches what Aula and Atrium accept', () => {
|
||||
expect(installerName('0.1.2')).toBe('RoseaDomi_0.1.2_x64-setup.exe');
|
||||
expect(installerName('0.1.2')).toMatch(INSTALLER_PATTERN);
|
||||
expect(installerName('12.0.31')).toMatch(INSTALLER_PATTERN);
|
||||
});
|
||||
|
||||
it("knows Tauri's own name has a space, which Aula refuses", () => {
|
||||
expect(tauriInstallerName('0.1.2')).toBe('Rosea Domi_0.1.2_x64-setup.exe');
|
||||
expect(tauriInstallerName('0.1.2')).not.toMatch(INSTALLER_PATTERN);
|
||||
});
|
||||
|
||||
it('refuses something that is not a version', () => {
|
||||
expect(() => installerName('0.1')).toThrow(/not a version/);
|
||||
expect(() => installerName('0.1.2 x')).toThrow(/not a version/);
|
||||
});
|
||||
});
|
||||
|
||||
describe('the desktop build', () => {
|
||||
it('renames the installer right after tauri build, so the release never sees the name with a space', () => {
|
||||
const pkg = JSON.parse(readFileSync(join(dirname(fileURLToPath(import.meta.url)), '..', 'package.json'), 'utf8')) as { scripts: Record<string, string> };
|
||||
expect(pkg.scripts['build:desktop']).toMatch(/&& tauri build && tsx scripts\/installer-name\.ts$/);
|
||||
});
|
||||
});
|
||||
|
||||
describe('renameInstaller', () => {
|
||||
let dir = '';
|
||||
afterEach(() => {
|
||||
if (dir) rmSync(dir, { recursive: true, force: true });
|
||||
dir = '';
|
||||
});
|
||||
|
||||
it("renames the built installer, and leaves only names Aula accepts", () => {
|
||||
dir = mkdtempSync(join(tmpdir(), 'rosea-nsis-'));
|
||||
writeFileSync(join(dir, 'Rosea Domi_0.1.2_x64-setup.exe'), 'exe');
|
||||
const to = renameInstaller(dir, '0.1.2');
|
||||
expect(to).toBe(join(dir, 'RoseaDomi_0.1.2_x64-setup.exe'));
|
||||
expect(readdirSync(dir)).toEqual(['RoseaDomi_0.1.2_x64-setup.exe']);
|
||||
});
|
||||
|
||||
it('fails when the build left no installer', () => {
|
||||
dir = mkdtempSync(join(tmpdir(), 'rosea-nsis-'));
|
||||
expect(() => renameInstaller(dir, '0.1.2')).toThrow(/no installer to rename/);
|
||||
});
|
||||
|
||||
it("removes an older build's installers, so the release publishes only this one", () => {
|
||||
dir = mkdtempSync(join(tmpdir(), 'rosea-nsis-'));
|
||||
writeFileSync(join(dir, 'Rosea Domi_0.1.2_x64-setup.exe'), 'exe');
|
||||
writeFileSync(join(dir, 'Rosea Domi_0.1.1_x64-setup.exe'), 'old');
|
||||
writeFileSync(join(dir, 'RoseaDomi_0.1.1_x64-setup.exe'), 'old');
|
||||
writeFileSync(join(dir, 'notes.txt'), 'kept');
|
||||
renameInstaller(dir, '0.1.2');
|
||||
expect(readdirSync(dir).sort()).toEqual(['RoseaDomi_0.1.2_x64-setup.exe', 'notes.txt']);
|
||||
});
|
||||
});
|
||||
@@ -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.3",
|
||||
"private": true,
|
||||
"license": "CPAL-1.0",
|
||||
"type": "module",
|
||||
|
||||
+2
-2
@@ -27,8 +27,8 @@ A picture that is off-style goes back for another try. It is never shipped.
|
||||
> care with animations, gestures. He chose a **round tiny planet** (S2 below, reversed) and a
|
||||
> **human gardener, a boy or a girl, chosen and dressed by the player** (S6, new), knowing that
|
||||
> a child tending a rose on a small round planet is close to the book's most recognisable image.
|
||||
> The guards that keep them our own are in §3b, §4 and review points 10–11, and a legal check of
|
||||
> the look comes before any public release (`.agents/features/planet-garden.md` §0).
|
||||
> The guards that keep them our own are in §3b, §4 and review points 10–11 (`.agents/features/planet-garden.md`
|
||||
> §0). The legal check that was to come before release (G6.1) was removed by the author on 2026-11-25.
|
||||
|
||||
---
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
"name": "rosea",
|
||||
"private": true,
|
||||
"license": "CPAL-1.0",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.3",
|
||||
"type": "module",
|
||||
"packageManager": "pnpm@9.12.3",
|
||||
"engines": {
|
||||
|
||||
@@ -67,7 +67,8 @@ describe('the stand-ins', () => {
|
||||
}
|
||||
});
|
||||
|
||||
it('art/placeholders/ holds exactly what the generator makes (run pnpm art:board after changing the manifest)', () => {
|
||||
// 169 files read and compared one by one: 5.4 s and 8.7 s on the release runner, beside nine other suites.
|
||||
it('art/placeholders/ holds exactly what the generator makes (run pnpm art:board after changing the manifest)', { timeout: 30_000 }, () => {
|
||||
const dir = `${root}art/placeholders/`;
|
||||
const files = readdirSync(dir).filter((f) => f.endsWith('.svg'));
|
||||
expect(files.map((f) => f.slice(0, -4)).sort()).toEqual([...stand.keys()].sort());
|
||||
|
||||
Reference in New Issue
Block a user