diff --git a/.agents/FEATURES.md b/.agents/FEATURES.md
index 708f446..b262326 100644
--- a/.agents/FEATURES.md
+++ b/.agents/FEATURES.md
@@ -5,7 +5,8 @@ One row per feature, with its analysis document (CLAUDE.md §5.1). Gaps live in
| Feature | Phase | Status | Analysis | Review |
|:--|:--|:--|:--|:--|
-| 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 | On `feature/fabrica-release`. 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) |
+| 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) |
+| 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 | On `feature/android-release-apk`. Blocked: the phone is not paired in Fabrica (G-F5); `rosea-android` does not exist (G-F7) | [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) |
diff --git a/.agents/GAP_ANALYSIS.md b/.agents/GAP_ANALYSIS.md
index 9c2fa13..1d34bbd 100644
--- a/.agents/GAP_ANALYSIS.md
+++ b/.agents/GAP_ANALYSIS.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` (Custos makes the key on the first release); no key in the repository (`fabrica-release.md` F4). **Still open:** 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-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-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. |
@@ -93,7 +93,8 @@ Svelte codebase, the apps through a Tauri 2 shell. Analysis:
| 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 | Open: it runs only through Fabrica's phone queue (CLAUDE.md for this brief); see the review. |
+| G-F5 | The `phone` target has not run | 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. |
| G-F6 | PWA updates have no host | Open with G0.13: the service worker and *Refresh* are built; nothing serves the PWA. |
## Phase 6 — Release
diff --git a/.agents/features/android-release-apk.md b/.agents/features/android-release-apk.md
new file mode 100644
index 0000000..773b5dc
--- /dev/null
+++ b/.agents/features/android-release-apk.md
@@ -0,0 +1,103 @@
+# The Android APK in a release, tested on the Wave 10 through Fabrica's phone queue
+
+Branch `feature/android-release-apk`, 2026-11-21. Follows [`fabrica-release.md`](fabrica-release.md) (F1–F11), which
+made Rosea a Fabrica app with no release yet.
+
+## 1. Why and what, in the player's terms
+
+Mark asked for every Domi app to ship its APK, tested at least once on a real phone first: *install, open, the first
+screen shows, one real action*. For Rosea the real action is to water her, and the check that matters is that she is
+still watered after the app is closed and opened again. A rose that forgets her care on a phone is the cruellest bug
+this product could have (CLAUDE.md §8).
+
+A player gets the APK from Rosea's Aula page once a release is published. Nothing about the game changes. This
+branch changes how the APK is built, tested and released.
+
+## 2. Technical architecture
+
+```mermaid
+flowchart LR
+ subgraph repo["Rosea (this repository)"]
+ game["apps/rosea → dist-tauri/"] --> shell["apps/rosea-tauri: tauri android build"]
+ shell --> debug["debug APK (WebView drivable)"]
+ shell --> unsigned["release APK, unsigned
android.ts verify: no permission, no backup"]
+ spec["e2e/android/garden.android.ts"]
+ end
+ subgraph fabrica["Fabrica (Mark's PC and the hub)"]
+ e2e["e2e pipeline, runner windows-e2e
step phone: device Wave 10"] --> lease["hub: phone queue lease"]
+ lease --> run["fabrica tests run --target phone
reset uninstall, install, launch"]
+ rel["release pipeline: android → approve → apk"]
+ end
+ debug --> e2e
+ spec --> run
+ run --> phone(("Wave 10"))
+ unsigned --> rel
+ rel --> custos["Custos: custos-sign apk, key rosea-android"]
+ custos --> mini["minisign (domi-release), SHA256SUMS"]
+```
+
+- **A1. Two APKs, one game.** The phone test drives the **debug** APK. Only a debug build's WebView can be reached
+ over DevTools (Fabrica docs/22 part 5), and Tauri's `devtools` feature would make the *release* WebView drivable for
+ anyone with a cable, so the shipped APK never gets it. The two APKs carry the same `dist-tauri/` game, the same
+ manifest patch (no `INTERNET`, no backup) and the same `MainActivity`. They differ in the Rust profile and the
+ signing key. What the phone test cannot prove about the release APK is listed in §5.
+- **A2. The phone only through the queue.** The `phone` step of `.fabrica/artifex/e2e.yaml` says `device: Wave 10`.
+ The hub queues the run for the phone, the runner sets `ANDROID_SERIAL` and `FABRICA_PHONE_LEASED`, and the nested
+ `fabrica tests run --target phone` uses that phone without a lease of its own (docs/35 part 4). The spec skips
+ unless Fabrica's environment is there, so it never reaches for a phone by itself.
+- **A3. `reset: uninstall`, not the default `clear`.** The target installs the debug APK. A release build of Rosea
+ on the phone has another key and would refuse the install. `clear` would wipe its data and then fail anyway;
+ `uninstall` wipes the same data and installs fresh. The Wave 10 is the dedicated test phone (docs/35 part 5), and
+ no player's rose lives on it.
+- **A4. `maxMinutes: 20`.** One test of about two minutes, plus install and launch. Twenty minutes frees the phone
+ for the next app if the run hangs, well under the 60-minute default.
+- **A5. Caches off C:.** Both pipelines name `GRADLE_USER_HOME` on `D:\build\rosea\gradle` and the NDK
+ (`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
+ 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
+ `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
+ 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.
+
+## 3. Risk analysis
+
+| Risk | Where | Answer |
+| :-- | :-- | :-- |
+| A player's rose lost on the test phone | `reset: uninstall` | The Wave 10 is Fabrica's dedicated test phone (docs/35 part 5). The memory rule stands: Fabrica stops the app after the run, and the spec force-stops it in `finally` as well. |
+| 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. |
+| 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
+
+| Gap | Solution here | Left open |
+| :-- | :-- | :-- |
+| The phone target did not say `reset` or `maxMinutes` (the old CLI refused them) | The installed CLI reads both now: a planted `reset: wipe-everything` is refused by `fabrica artifex check`. Written: `reset: uninstall`, `maxMinutes: 20`. | none |
+| 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.** |
+| 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). |
+
+## 5. Verification matrix
+
+| Case | Kind | How | Status |
+| :-- | :-- | :-- | :-- |
+| The release APK builds with every cache off C: | build | `pnpm tauri:android-release` | done 2026-11-21: 27 min from cold (Gradle 9.6.1 downloaded to D:), 5.60 MiB, arm64-v8a, versionCode 1000, sha256 4d52e9eca4cd2e56… (unsigned) |
+| The release APK asks for no permission and allows no backup | build check | `android.ts verify ` (aapt2) | done: verified; `aapt2 dump badging` shows no `debuggable` and only androidx's own `DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION` (the app's own signature permission, not a capability) |
+| `reset` and `maxMinutes` are read, and a wrong `reset` is refused | config | `fabrica artifex check` with a planted value | done: refused with `targets[1].reset: clear, uninstall or keep` |
+| The pipelines are valid | config | `fabrica artifex check` | done: 0 problems |
+| Install, open, first screen, water, close, reopen, still watered | e2e, real phone | the e2e pipeline's `phone` step | **not run**: the phone is not paired in Fabrica |
+| 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 |
+| 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 |
diff --git a/.agents/features/fabrica-release.md b/.agents/features/fabrica-release.md
index ec69ce4..157dd20 100644
--- a/.agents/features/fabrica-release.md
+++ b/.agents/features/fabrica-release.md
@@ -93,8 +93,8 @@ nothing of Fabrica's.
| 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` (Custos makes the key on the first release,
- Mark's first-signature card; a `run` step that names it in `keys:` so preflight checks it);
+ the APK with `rosea-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:
Mark's step in Custos, which `fabrica preflight rosea` names when it is missing.
diff --git a/.agents/lessons/README.md b/.agents/lessons/README.md
index 7acc84f..aa6e026 100644
--- a/.agents/lessons/README.md
+++ b/.agents/lessons/README.md
@@ -14,7 +14,7 @@ and **how to apply it**.
| [`technical.md`](technical.md) | 10 | The browser and the build as platforms. |
| [`testing.md`](testing.md) | 16 | What makes a test worth having, and how a passing test lies. |
| `privacy.md` | none yet | What could leave the device or make a person findable. (The geocell finding is in the review, not here: it was caught before it cost anything.) |
-| [`process.md`](process.md) | 5 | Workflow, commits, credentials, honesty about what shipped. |
+| [`process.md`](process.md) | 6 | Workflow, commits, credentials, honesty about what shipped. |
A file is created with its first real entry. An empty lessons file only looks like
knowledge.
diff --git a/.agents/lessons/process.md b/.agents/lessons/process.md
index 3f84ba0..35e8b95 100644
--- a/.agents/lessons/process.md
+++ b/.agents/lessons/process.md
@@ -81,3 +81,17 @@ uncommitted change in it (the release notes' entry). The diff showed it at once;
**How to apply it.** Commit before drilling, or copy the file aside and copy it back. Check
`git diff --stat` after every drill.
+
+## A claim about another system's behaviour, written from its docs' general rule, was wrong for us
+
+**What happened.** On 2026-11-19 `fabrica-release.md` F4 said "Custos makes `rosea-android` on the
+first release". Custos does that only for the apps in its `ANDROID_APPS` table, and Rosea was never in
+it (`apps/desktop/src-tauri/src/signing.rs`, read on 2026-11-21). The release would have stopped at
+`no_key` after Mark's approval card. Culina and Liber hit exactly that on 2026-11-20.
+
+**Why it bit.** The doc described what Custos does for Postea, and it read like a rule for every app.
+Nothing in Rosea could test the claim: the step that would have failed runs only after a human approves.
+
+**How to apply it.** When a step depends on another system doing something for us, find the line in
+that system's source or config that names us, and cite it in the analysis. If no line names us,
+write the claim as a gap, not as a fact.
diff --git a/.agents/reviews/feature-android-release-apk.md b/.agents/reviews/feature-android-release-apk.md
new file mode 100644
index 0000000..685dd6e
--- /dev/null
+++ b/.agents/reviews/feature-android-release-apk.md
@@ -0,0 +1,84 @@
+# Review: `feature/android-release-apk` (2026-11-21)
+
+Analysis: [`../features/android-release-apk.md`](../features/android-release-apk.md). The brief was Mark's, relayed by
+the Aula session: release each app's APK after the most basic e2e on the Wave 10, through Fabrica's phone queue.
+
+## What changed
+
+- `.fabrica/tests.yaml`: the `phone` target says `reset: uninstall` and `maxMinutes: 20`.
+- `.fabrica/artifex/e2e.yaml`: new steps `apk` (`pnpm tauri:android`) and `phone` (`device: Wave 10`,
+ `fabrica tests run --target phone`); `GRADLE_USER_HOME` on D:, `NDK_HOME` named.
+- `.fabrica/artifex/release.yaml`: the same two variables, and the header no longer claims Custos makes `rosea-android`.
+- `e2e/android/garden.android.ts`: force-stops the app in `finally`.
+- Docs: the analysis, G-T3 and G-F5 narrowed, G-F7 new, `fabrica-release.md` F4 corrected, the handover.
+
+## Gates
+
+See *Counts* at the end (filled in from the run of this branch).
+
+Also run:
+
+- `fabrica artifex check`: 2 pipelines, app.yaml, aula.yaml, tests.yaml and brief.md, 0 problems.
+- **Drill:** `reset: wipe-everything` planted in tests.yaml was refused with
+ `targets[1].reset: clear (the app's data), uninstall or keep`, then restored by copy, not `git checkout`
+ (lessons/process.md).
+- `fabrica tests list --target phone`: 1 test in 1 file.
+- **The release APK:**
+ - `pnpm tauri:android-release` with Gradle, Cargo's target, TEMP and ANDROID_USER_HOME under `D:\build\rosea`: exit 0 in 27 min.
+ - `android.ts verify`: no permission asked, no backup, metrics and Safe Browsing off.
+ - `aapt2 dump badging`: `cz.mareknovak.domi.rosea`, versionCode 1000, versionName 0.1.0, arm64-v8a, not debuggable, 5.60 MiB, sha256 `4d52e9eca4cd2e56…`, unsigned.
+
+## Findings
+
+1. **The release pipeline does not require the phone test.** A tag can be released whose debug APK never passed on
+ the Wave 10. *Deferred, with the reason.* A `device:` step in `release` would queue the whole release for the
+ phone from the start, and the release runs on `windows`, not `windows-e2e` (docs/35 part 2). The gate is
+ process for now: no tag on a commit until the e2e pipeline's `phone` step has passed on it (analysis §3). A
+ pipeline `needs:` across pipelines would close it; Artifex has none today.
+2. **The phone tests a debug APK, and the release is a different build.** *Accepted, and stated (A1).* Only a debug
+ WebView can be driven. The game bytes, the manifest patch and `MainActivity` are the same; the Rust profile and
+ the key differ. A manual check of the signed release APK on the phone is in the matrix, for after the key exists.
+3. **`reset: uninstall` instead of the asked-for `clear`.** *Kept, with the reason (A3):* a release build on the
+ phone would otherwise block every debug run. It loses nothing more than `clear` would.
+4. **`fabrica-release.md` F4 was wrong.** It said Custos makes `rosea-android` on the first release. Custos's
+ `ANDROID_APPS` table never named Rosea (0.22.0: Postea; 0.24.0: Postea, Culina, Liber). *Fixed* in F4, G-T3 and
+ the release.yaml header, and a lesson added (process.md). The release would have stopped at `no_key` after Mark's
+ card, as Culina's and Liber's did.
+5. **The debug build in the e2e pipeline uses the default `ANDROID_USER_HOME`** (`%USERPROFILE%\.android` on C:).
+ Gradle writes `debug.keystore` there if it is missing. *Accepted:* adb's pairing keys live in that folder too
+ (docs/35 part 2), and moving it for the step could cut the runner off from the phone. It is one small file,
+ and it is already there.
+6. **The pipelines keep Cargo's target in the checkout** (on F:, which is nearly full). *Accepted:* the
+ installer's artifact glob is relative to it. Only the local build here used D:.
+7. **The new `finally` line was never run.** No run of the spec is possible outside the queue. *Not verified*:
+ typecheck and lint only.
+8. **`fabrica devices list` did one reconnect pass** (adb `devices`, mDNS, `adb connect`), and `fabrica devices queue`
+ asked again for the pending Custos card 836209. Neither installs, starts or taps anything on the phone. Both are
+ stated here, so nobody reads "nothing touched the phone" as stronger than it is.
+9. **The proposed certificate CN *Rosea Domi* outlives the working name** (A7). *For Mark and Custos to decide.*
+
+## Soul, privacy, reachability, offline
+
+- **Soul:** no player-facing change. Nothing can make a person feel worse.
+- **Privacy:** the release APK asks for no `INTERNET` permission, has no backup, and has the WebView's metrics off
+ (verified on the built file). The phone spec chooses *Not now*, so no town is set on the phone.
+- **Reachability:** none; there is no network.
+- **Offline:** unchanged; the APK cannot reach a network at all.
+
+## Not verified
+
+- The `phone` step and the phone target never ran. The Wave 10 is `connected (not paired in Fabrica)`, and
+ pairing belongs to the Fabrica session.
+- No signature was made. `rosea-android` does not exist (G-F7).
+- No release, by G6.1 (G-F1).
+- The e2e pipeline was never started on the hub.
+
+## Counts (this branch, 2026-11-21)
+
+- `pnpm test`: **608 passed** (cpu-guard 13, identity 5, schema 19, content 88, storage 70, art-prep 80, release 8,
+ engine 179, tauri 58, ui 88).
+- `pnpm lint`, `pnpm typecheck`: clean. `pnpm lint:copy`: 30 files, 0 problems.
+ `pnpm validate:library`: 13 of 13 fixtures rejected.
+- `pnpm test:e2e` and `test:offline` were **not rerun**. Nothing the browser runs changed: the only code change is
+ one line in the Android spec, which those suites do not include. Their last counts (26 and 1) are from
+ `feature/fabrica-release`, on the same game.
diff --git a/.fabrica/artifex/e2e.yaml b/.fabrica/artifex/e2e.yaml
index 901bd2a..a92fe18 100644
--- a/.fabrica/artifex/e2e.yaml
+++ b/.fabrica/artifex/e2e.yaml
@@ -1,14 +1,19 @@
-# Rosea Domi: the web e2e suite on this PC's e2e runner (fabrica-release.md F9; Fabrica docs/20_tests.md,
-# docs/31_runners_here.md): the PWA built, then `fabrica tests run --target web` (Playwright headless against the
-# BUILT bundle under /Rosea/), the records, traces and screenshots kept with the run. Manual: no push webhook
-# reaches the hub yet. The phone target is not here: it runs through the phone queue with
-# `fabrica tests run --target phone`.
+# Rosea Domi: the e2e suites on this PC's e2e runner (fabrica-release.md F9, android-release-apk.md; Fabrica
+# docs/20_tests.md, docs/31_runners_here.md, docs/35_phone_queue.md).
+# web: the PWA built, then `fabrica tests run --target web` (Playwright headless against the BUILT bundle under
+# /Rosea/), the records, traces and screenshots kept with the run.
+# phone: the debug APK built, then `fabrica tests run --target phone` on the Wave 10. The step says `device:`, so
+# the hub queues this run for the phone and the nested run uses the run's phone (FABRICA_PHONE_LEASED);
+# no adb reaches the phone outside the queue. The run waits in the queue without holding a runner.
+# Manual: no push webhook reaches the hub yet. Gradle's cache is on D: (never C:; F: is the crowded workspace).
name: e2e
on:
manual: true
runner: windows-e2e
env:
PLAYWRIGHT_BROWSERS_PATH: 'F:\ms-playwright'
+ GRADLE_USER_HOME: 'D:\build\rosea\gradle'
+ NDK_HOME: 'F:\Tools\Android\Sdk\ndk\27.1.12297006'
steps:
- id: install
run: pnpm install --frozen-lockfile
@@ -19,3 +24,11 @@ steps:
needs: [build]
run: fabrica tests run --target web
artifacts: [".fabrica/runs/tests/**"]
+ - id: apk
+ needs: [install]
+ run: pnpm tauri:android
+ - id: phone
+ needs: [apk]
+ device: Wave 10
+ run: fabrica tests run --target phone
+ artifacts: [".fabrica/runs/tests/**"]
diff --git a/.fabrica/artifex/release.yaml b/.fabrica/artifex/release.yaml
index 81cff1b..93fe0a4 100644
--- a/.fabrica/artifex/release.yaml
+++ b/.fabrica/artifex/release.yaml
@@ -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 (Custos makes that key on the first release: a first-signature card); a minisign
+# custos-sign with rosea-android (NOT made by Custos on its own: android-release-apk.md A6, until then `no_key`); 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).
@@ -18,6 +18,9 @@ runner: windows
env:
PLAYWRIGHT_BROWSERS_PATH: 'F:\ms-playwright'
CUSTOS_SIGN_EXE: 'F:\Apps\Custos\custos-sign.exe'
+ # The Android build (android-release-apk.md): the Tauri CLI needs the NDK named; Gradle's cache on D:, never C:.
+ GRADLE_USER_HOME: 'D:\build\rosea\gradle'
+ NDK_HOME: 'F:\Tools\Android\Sdk\ndk\27.1.12297006'
steps:
- id: version
run: node scripts/check-version.mjs ${{ version }}
diff --git a/.fabrica/tests.yaml b/.fabrica/tests.yaml
index 588d0cd..ea6e1b0 100644
--- a/.fabrica/tests.yaml
+++ b/.fabrica/tests.yaml
@@ -1,11 +1,11 @@
-# Rosea Domi's Playwright targets (fabrica-release.md F9; Fabrica docs/20_tests.md, docs/22_devices.md,
-# docs/35_phone_queue.md). `fabrica tests run --target `, or Tests in Fabrica.
+# Rosea Domi's Playwright targets (fabrica-release.md F9, android-release-apk.md; Fabrica docs/20_tests.md,
+# docs/22_devices.md, docs/35_phone_queue.md). `fabrica tests run --target `, or Tests in Fabrica.
# web: the BUILT PWA (build it first: `pnpm build`) in headless Chromium: the specs of `pnpm test:e2e`.
-# phone: the Android debug APK on the Wave 10 test phone, only through Fabrica's phone queue. Build it first
-# (`pnpm tauri:android`). The queue clears this app's data before the run (docs/35 `reset: clear`, its
-# default); `reset` and `maxMinutes` are not written here because the installed Fabrica (CLI 0.14.0)
-# does not know them yet. A release build on the phone blocks the debug one (another key): uninstall it
-# there first.
+# phone: the Android debug APK on the Wave 10 test phone, only through Fabrica's phone queue (the e2e pipeline's
+# `phone` step, or `fabrica tests run --target phone`). Build it first (`pnpm tauri:android`). A debug APK,
+# because only a debug build's WebView can be driven (docs/22 part 5); the release APK is the same game.
+# `reset: uninstall`: the app is installed fresh, so a release build of Rosea on the phone (another key)
+# cannot block the run. Nothing of Rosea's on the test phone is kept: it holds no rose of anyone's.
dir: .
config: e2e/playwright.fabrica.config.ts
targets:
@@ -19,4 +19,6 @@ targets:
project: android
device: Wave 10
package: cz.mareknovak.domi.rosea
+ reset: uninstall
+ maxMinutes: 20
apk: apps/rosea-tauri/src-tauri/gen/android/app/build/outputs/apk/universal/debug/app-universal-debug.apk
diff --git a/HANDOVER.md b/HANDOVER.md
index 6d7db01..b5e68d8 100644
--- a/HANDOVER.md
+++ b/HANDOVER.md
@@ -2,7 +2,20 @@
Rewritten at the end of each session (CLAUDE.md §5.1).
-## Latest — 2026-11-19: released through Fabrica (built, not published)
+## Latest — 2026-11-21: the APK for a release, tested through the phone queue (blocked twice)
+
+- **`feature/android-release-apk`**: the phone target says `reset: uninstall` and `maxMinutes: 20`; the e2e
+ pipeline gains `apk` and `phone` (`device: Wave 10`, so the hub queues it); both pipelines name the NDK and put
+ Gradle's cache on D:. Analysis: [`.agents/features/android-release-apk.md`](.agents/features/android-release-apk.md).
+ Review: [`.agents/reviews/feature-android-release-apk.md`](.agents/reviews/feature-android-release-apk.md).
+- **Blocked on the phone:** the Wave 10 is not paired in Fabrica (`fabrica devices list`), so the `phone` step
+ cannot get it. Pairing is the Fabrica session's; nothing here drove the phone.
+- **Blocked on the key:** `rosea-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).
+
+## Earlier — 2026-11-19: released through Fabrica (built, not published)
- **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
diff --git a/e2e/android/garden.android.ts b/e2e/android/garden.android.ts
index 87c02e4..f46d12f 100644
--- a/e2e/android/garden.android.ts
+++ b/e2e/android/garden.android.ts
@@ -49,6 +49,8 @@ test('the garden opens on the phone; she is watered, and still watered after the
await page.getByRole('button', { name: en.rose.numbers }).click();
await expect(page.locator('#rose-numbers')).toContainText(`${en.rose.daysOfCare}1`);
} finally {
+ // Fabrica stops the app after the run too; the phone is never left with Rosea open (memory rule, 2026-11-17).
+ await device?.shell(`am force-stop ${PKG!}`).catch((e: unknown) => console.warn(`force-stop: ${String(e)}`));
await device?.close();
}
});