4.0 KiB
4.0 KiB
Review: docs/atrium-adoption (2026-11-22)
Analysis: ../features/atrium-adoption.md. This branch is a plan only. It changes no
code, no config and no player-facing words.
What changed
- New:
.agents/features/atrium-adoption.md, which holds the inventory, decisions R1–R7, the risks, the steps and four questions for Mark. .agents/FEATURES.md: a new row..agents/GAP_ANALYSIS.md:- new section G-AT1;
- G-F7 narrowed: Custos 0.25.0's Android grant can make
rosea-android.
How the inventory was made
Everything was checked on main b307655.
- Tauri calls: a search of
apps/,packages/,e2e/,scripts/andtools/for@tauri-apps,__TAURI,invoke(,.listen(,addJavascriptInterfaceand__ROSEA_SHELL__.- Found only
__ROSEA_SHELL__, the AndroidroseaFileinterface and the Tauri CLI dependency. - The only
.listen(is the e2e static server's.
- Found only
- Network: a search of
apps/rosea/srcandpackages/*/srcforfetch(, XHR,WebSocket,sendBeacon,EventSource,RTCPeerConnectionand absolute URLs. It found nothing. - Accent and icon: read from
packages/ui/src/tokens.css, the web manifest invite.config.tsandapps/rosea/public/icon.svg. - Custos 0.25.0:
git show v0.25.0:apps/desktop/src-tauri/src/signing.rsinF:\Akce\Custos. Read only.
Findings
- The Windows path of the database is predicted, not seen. The
…\Default\IndexedDB\…leveldbpart was seen on Android only. Marked (predicted) in §2.2. Measure it when step 4 is built. - "No outgoing request" covers Rosea's code, not the WebView2 runtime. The switches that silence the runtime
are undocumented feature names, and they have never been measured on Windows (CLAUDE.md §8). Stated in §2.3.
A request capture on the built
.exebelongs in step 5. - Appendix A's hosted mode, read literally, could lose her rose. If Atrium loads
ui_bundleinto its own webview, it opens another origin and profile, and so an empty database. R1 written as a condition ofhostable = true, and asked of Mark and Atrium (§6 Q2). This is the most important line in the plan. - The backup snapshot cannot be a file copy. LevelDB is live under a running webview, and the private key is
non-extractable. R2 and R3: the snapshot is the tested
rosea-rosefile, and a restore only adds. The cost: a restored rose lives under a new key, as one brought back by Keep her safe does. That is said plainly in R3. - Steps 1 and 4 change CLAUDE.md §2's a window and nothing else. Not decided here. R4 asks Mark. This branch does not touch CLAUDE.md.
- A badge would be a count about her waiting. R5: no badge. The today line is optional and holds only the sunset time.
- The Atrium Domi is not running card could stand between a cold open and the garden. §4: Rosea opens first, and the card is a line, never a wait.
- G-F7's narrowing rests on the Aula session's word that 0.25.2 is installed and the grant is given. Marked unverified until the first signature.
label = Roseis a guess. It is marked (judgment).
Soul, privacy, reachability, offline
- Soul: no change ships. The plan guards against two ways a player could feel worse: R1 (her rose seeming gone) and R5 (a count that blames).
- Privacy: the snapshot file holds no town (K1). Atrium encrypts the backup, and the target is the player's.
- Reachability: none. The pipe is local, and Rosea serves only
rosea.*to Atrium. - Offline: unchanged.
Gates
This branch is docs only, and no gate covers its files. pnpm lint:copy reads player copy and the Letter, neither
of which changed. Not rerun: pnpm test, e2e, offline. The bundle was not rebuilt, and this change is invisible to
the player by design.
Not verified
- Atrium's
APP_CONTRACT.mddoes not exist yet. The field names in §2.4 follow ROADMAP Appendix A and may change. - Whether Atrium can host a room as the app's own window (R1).