[docs] TauriPlatforms: Four versions from one codebase on Tauri 2: CLAUDE.md, the roadmap's platform track, the analysis
This commit is contained in:
+29
-4
@@ -51,8 +51,9 @@ parameter. `packages/content` holds the hope library and its validator. `package
|
||||
module that opens IndexedDB, `packages/identity` the only one that holds keys, `packages/sync` the only
|
||||
one that talks to friends (WebRTC, Phase 3). `apps/rosea` is a **Svelte 5 + Vite PWA** — web first,
|
||||
from a link, no store — built by GitHub Actions and hosted on **GitHub Pages**, with a Gitea mirror. **Rust** is used where it earns its place: `services/lucerna`, the optional
|
||||
anonymous discovery service (Axum + SQLite, Phase 4), and later a **Tauri 2** shell for Android and iOS
|
||||
that gives local notifications without a server (Phase 6). All player state is an append-only event log;
|
||||
anonymous discovery service (Axum + SQLite, Phase 4), and a **Tauri 2** shell (`apps/rosea-tauri`) that
|
||||
packages the same game as an Android app, an iOS app and a desktop app — the platform track below, from
|
||||
2026-11-17; its local notifications without a server come in Phase 6. All player state is an append-only event log;
|
||||
every visible thing is a pure function of it.
|
||||
|
||||
---
|
||||
@@ -96,7 +97,8 @@ automatic checks, Claude's review, Mark's approval — into `art/final/`.
|
||||
|
||||
**Out of scope:** planets, fox, friends, any server.
|
||||
|
||||
**Gate — the spike's real question.** Mark plays it daily for two weeks on his phone. Then: *did he go
|
||||
**Gate — the spike's real question.** Mark plays it daily for two weeks on his phone (the Android
|
||||
app from the platform track lets this start before the PWA is hosted). Then: *did he go
|
||||
and look at the real sunset without the game nagging him, and did the rose make him want to come back?*
|
||||
Yes on both is a go. Yes only on the second means a pleasant toy, not Rosea. No on both is a clean stop.
|
||||
|
||||
@@ -150,9 +152,31 @@ errors.
|
||||
**Gate:** a share image leaves the device containing nothing that identifies the player or anyone
|
||||
else.
|
||||
|
||||
### The platform track — four versions · from 2026-11-17, beside the phases
|
||||
|
||||
*Decided by the author 2026-11-17:* Rosea Domi ships as **four versions from one Svelte codebase** —
|
||||
the PWA, an Android APK, an iOS app and a desktop app (Windows first; macOS and Linux when built on
|
||||
those systems). The three apps come from one **Tauri 2** shell, `apps/rosea-tauri`, which wraps the
|
||||
built game and adds nothing to it. This used to wait for Phase 6; it starts now, because the shell needs
|
||||
no new feature and an APK puts the Phase 1 spike on a phone without any hosting. Analysis:
|
||||
[`.agents/features/tauri-platforms.md`](../.agents/features/tauri-platforms.md).
|
||||
|
||||
- The shell, a Windows desktop build and an Android debug APK, built on Mark's Windows machine and run
|
||||
on a real Android tablet.
|
||||
- The same privacy in every version: no network permission on Android while Rosea has no network
|
||||
feature, no cloud backup of the garden, the webviews' own reporting off, no SDK that counts anything.
|
||||
- **iOS** needs a Mac with Xcode and an Apple developer account. It waits for one; nothing in the
|
||||
code stops it.
|
||||
- macOS and Linux desktop builds, each on its own system; signed release builds; CI for the apps (G0.22).
|
||||
|
||||
**Gate:** in each version that exists, the garden opens with the network off, a watered rose is still
|
||||
watered after the app is closed and opened again, and the app sends nothing.
|
||||
|
||||
### Phase 6 — Stores and money · ongoing
|
||||
|
||||
- Tauri 2 shell for Android and iOS: local sunset notifications without a server.
|
||||
- Store listings: Google Play, the App Store, perhaps the Microsoft Store — their texts pass
|
||||
`lint:copy` like every other word.
|
||||
- Local sunset notifications through the shell's notification plugin, without a server.
|
||||
- Monetisation — **not decided** (§6). Constraints already set: tending others is always free; no
|
||||
ads, no subscription-only, no sale of data.
|
||||
|
||||
@@ -166,6 +190,7 @@ else.
|
||||
| **Cold start** | Phases 3–5 need people; Mark will have few players for months. | Phases 1–2 must stand alone; the fox's path to people comes after the game is already worth playing. |
|
||||
| **Content volume** | 365 sourced sentences and many planets is a lot of careful work. | Start with 60 sentences; library grows by tradition; the validator keeps quality. |
|
||||
| **Web notifications** | The sunset invitation may need a push server on the web, with a privacy cost. | Decided in Phase 0; the Tauri shell later removes the server. |
|
||||
| **Four versions, one author** | Every platform has its own traps (webviews that phone home, cloud backups, evictable storage), and iOS needs a Mac. | One codebase; the shell adds a window and nothing else; one test suite for the game, the shell's own checks for its config; iOS waits for a Mac rather than being half-done. |
|
||||
| **Copyright** | The book and Tolkien are protected; a too-close image or line is a legal problem. | Forbidden-names lint; likeness check in the art pipeline; ideas only. |
|
||||
| **Medical-device scope** | Wellbeing claims can pull the app under medical rules. | Forbidden words in all copy, store text included. |
|
||||
| **Safety around strangers** | Lonely people are the people a scammer looks for. | No free text, ever; consent ladder; group meetings in public only. |
|
||||
|
||||
Reference in New Issue
Block a user