[docs] Roadmap: Merge the phase plan and gameplay loop, with the author's answers
Adds docs/ROADMAP.md and docs/GAMEPLAY.md, reads them against the code, and records the answers to Q1-Q7. Phase 0's gate stays open: 60 sentences and one illustration through the art pipeline.
This commit is contained in:
+2
-1
@@ -5,4 +5,5 @@ One row per feature, with its analysis document (CLAUDE.md §5.1). Gaps live in
|
||||
|
||||
| Feature | Phase | Status | Analysis | Review |
|
||||
|:--|:--|:--|:--|:--|
|
||||
| Workspace, contracts, gates, PWA shell | 0 | Merged to `main` 2026-11-01 (`d11d242`); built, not deployed | [phase0-workspace.md](features/phase0-workspace.md) | [feature-phase0-workspace.md](reviews/feature-phase0-workspace.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) |
|
||||
| Roadmap and gameplay docs, read against the code | 0 | Merged 2026-11-01; Q1–Q7 answered by the author | — | [docs-roadmap-gameplay.md](reviews/docs-roadmap-gameplay.md) |
|
||||
|
||||
+31
-7
@@ -3,11 +3,16 @@
|
||||
What the product needs that it does not have yet, and what was closed. A closed gap
|
||||
is struck through **with its evidence in the row** (CLAUDE.md §5.1).
|
||||
|
||||
Ids are `G<phase>.<n>`. `docs/ROADMAP.md` does not exist yet, so the phases here are
|
||||
provisional. Phase 0 is defined in
|
||||
[`features/phase0-workspace.md`](features/phase0-workspace.md).
|
||||
Ids are `G<phase>.<n>`. Phases follow [`docs/ROADMAP.md`](../docs/ROADMAP.md). The
|
||||
workspace part of Phase 0 is in
|
||||
[`features/phase0-workspace.md`](features/phase0-workspace.md). How the roadmap and
|
||||
`docs/GAMEPLAY.md` compare with the code, and the author's open questions:
|
||||
[`reviews/docs-roadmap-gameplay.md`](reviews/docs-roadmap-gameplay.md).
|
||||
|
||||
## Phase 0 — the workspace
|
||||
## Phase 0 — Foundations
|
||||
|
||||
**Gate open.** The workspace is merged (G0.1–G0.9). Still missing for the gate: the
|
||||
60 sentences (G0.18) and one illustration through the pipeline (G0.24).
|
||||
|
||||
| Id | Gap | Status / evidence |
|
||||
|:--|:--|:--|
|
||||
@@ -24,13 +29,32 @@ provisional. Phase 0 is defined in
|
||||
| G0.11 | IndexedDB eviction: no `navigator.storage.persist()`, no export-my-rose (§8) | Open. Arrives with `packages/storage`. |
|
||||
| G0.12 | The app cannot validate content in the browser | Open. Ajv compiles with `new Function`, which the CSP forbids. Needs standalone pre-compiled validators before the app reads the library. |
|
||||
| G0.13 | No GitHub remote, no Pages deploy workflow, no mirror check (§5.2) | Open. Only the Gitea remote exists. |
|
||||
| G0.14 | Author-owned docs missing: `docs/ROADMAP.md`, `docs/GAMEPLAY.md`, `docs/PRINCIPLES.md`, `docs/ART.md`, `art/STYLE.md`, `docs/LETTER.md`, `HANDOVER.md` predecessor | Open. **GAMEPLAY.md blocks all game code.** Agents scaffold LETTER.md; they never write its voice. |
|
||||
| G0.14 | Author-owned docs missing: `docs/PRINCIPLES.md`, `docs/ART.md`, `art/STYLE.md`, `docs/LETTER.md` | Open, narrowed 2026-11-01: `docs/ROADMAP.md` and `docs/GAMEPLAY.md` were added on `docs/roadmap-gameplay`, as the author gave them. Agents scaffold LETTER.md; they never write its voice. |
|
||||
| G0.15 | Deferred packages: `storage`, `identity`, `sync`, `services/lucerna`, `tools/art-prep` | Open by design (D1). Each arrives with its first feature. |
|
||||
| G0.16 | The outcome-phrase heuristic has no reviewed override | Open. A real sentence that trips it (a false positive) cannot enter the library. Design: a `reviewedBy` field on the entry, set only by a person. |
|
||||
| G0.17 | Manual: install on a phone, open in airplane mode | Open. Needs a hosted build (G0.13). |
|
||||
| G0.18 | The library is empty | Open by design (D4). Release needs ≥ 365 sunset sentences, each verified by the author. |
|
||||
| G0.19 | Event kinds other than `care` | Open. Wait for GAMEPLAY.md: their fields are game design. |
|
||||
| G0.18 | The library is empty | Open. **Phase 0 gate**: 60 sentences, each sourced and verified public domain (ROADMAP Phase 0). Release needs ≥ 365. `verifiedBy` is a person, so an agent may propose candidates but never mark one verified (D4). |
|
||||
| G0.19 | Event kinds other than `care` | Open. GAMEPLAY.md now exists; each kind arrives with the feature doc that uses it, starting in Phase 1. |
|
||||
| G0.20 | Node 22.11 on the dev machine is below what some pinned dependencies declare | Open. All gates pass on 22.11 today. Upgrade to ≥ 22.13 and unpin (D11). |
|
||||
| G0.21 | No PNG icons | Open (predicted trap). iOS ignores SVG for `apple-touch-icon`. Comes through the art pipeline. |
|
||||
| G0.22 | No CI | Open. Every gate ran on this machine only. With G0.13. |
|
||||
| G0.23 | Source maps are built and would be published | Open. `sourcemap: true`; maps are not precached. Decide with G0.13 whether the repository is public. If not, use `'hidden'`. |
|
||||
| G0.24 | No art pipeline: `docs/ART.md`, `art/STYLE.md` (drafted with the author), `art/manifest.json` for Phase 1 assets, SVG placeholders, `tools/art-prep` | Open. **Phase 0 gate**: one illustration goes through prompt, paste, automatic checks, review and the author's approval into `art/final/`. |
|
||||
| G0.25 | No slot for *A Letter from the Gardener* | Open. A page and an empty `docs/LETTER.md` the author fills; agents write no part of its voice. |
|
||||
| ~~G0.26~~ | ~~Not decided: how the sunset invitation reaches the player on the web~~ | Closed 2026-11-01 by the author (Q6): in-app only on the web, no push server; local notifications through the Tauri shell in Phase 6. Recorded in ROADMAP Phase 0 and CLAUDE.md §8. |
|
||||
|
||||
## Design questions — answered
|
||||
|
||||
Raised by GAMEPLAY.md and ROADMAP.md, answered by the author 2026-11-01. Details in
|
||||
[`reviews/docs-roadmap-gameplay.md`](reviews/docs-roadmap-gameplay.md) §2.
|
||||
|
||||
| # | Question | Answer |
|
||||
|:--|:--|:--|
|
||||
| ~~Q1~~ | Fox food with no friends and no Lucerna | A wild bush beside the player's own rose; other roses only add |
|
||||
| ~~Q2~~ | What "real time" counts for bloom | Days on which care helped, never minutes on screen |
|
||||
| ~~Q3~~ | Lucerna and the lantern share a name | Keep both; the lantern never passes through Lucerna |
|
||||
| ~~Q4~~ | "Sent through Amicitia" | "A taste of Amicitia" |
|
||||
| ~~Q5~~ | *No extra creatures* vs visitors | Rule removed from GAMEPLAY §3 |
|
||||
| ~~Q6~~ | When the notification decision is due | Phase 0, in-app only (G0.26) |
|
||||
| ~~Q7~~ | Which phase holds the Amicitia bridge | Phase 3 |
|
||||
| Q8 | "Nearby days give a little more" | Open as a rule for the Phase 1 Soul review: a gap's cost is never shown |
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
# Phase 0 — the workspace
|
||||
|
||||
Status: **merged to `main`** 2026-11-01 (`d11d242`), built, not deployed. Review:
|
||||
Status: **merged to `main`** 2026-11-01 (`d11d242`), built, not deployed. This is the
|
||||
workspace part of ROADMAP Phase 0. **The Phase 0 gate is still open** (G0.18, G0.24). Review:
|
||||
[`feature-phase0-workspace.md`](../reviews/feature-phase0-workspace.md).
|
||||
Gates closed and still open: [`GAP_ANALYSIS.md`](../GAP_ANALYSIS.md).
|
||||
|
||||
`docs/ROADMAP.md` does not exist yet, so this document defines Phase 0 itself. It
|
||||
Written before `docs/ROADMAP.md` existed, so it defined its own scope. It
|
||||
covers what CLAUDE.md §2 calls "confirmed when Phase 0 scaffolds it" and what §3
|
||||
calls "proposed until Phase 0 scaffolds them", and nothing more. **No game code.**
|
||||
`docs/GAMEPLAY.md` must be read before any, and it has not been written.
|
||||
`docs/GAMEPLAY.md` was added later; it must be read before any.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -0,0 +1,97 @@
|
||||
# Review — `docs/roadmap-gameplay`
|
||||
|
||||
The author's `docs/ROADMAP.md` and `docs/GAMEPLAY.md`, added 2026-11-01, read against
|
||||
CLAUDE.md and what is on `main` (`12f5179`). Both documents are the author's: their
|
||||
words are kept as given (GAMEPLAY.md was pasted as plain text and only given Markdown
|
||||
headings and bullets). Where they disagree with each other or with the code, the
|
||||
question is written down here, not resolved by editing them.
|
||||
|
||||
No code changed, so the gates were not re-run.
|
||||
|
||||
## 1. Phase 0 is not done by the roadmap's definition
|
||||
|
||||
What was merged as "Phase 0" (`d11d242`) is the workspace and its contracts. The
|
||||
roadmap's Phase 0 is larger, and its **gate is not met**:
|
||||
|
||||
| Roadmap Phase 0 item | State |
|
||||
|:--|:--|
|
||||
| Repo, `.gitignore`, 5 MB hook, `CLAUDE.md`, this roadmap | Done (roadmap on this branch) |
|
||||
| Remotes | Gitea only; GitHub missing (G0.13) |
|
||||
| `ART.md` | Missing (G0.24) |
|
||||
| Schema contracts, validator with negative fixtures, `lint:copy` | Done (G0.2, G0.5, G0.6) |
|
||||
| **60 sentences**, sourced and verified public domain | **Missing**: 0 entries (G0.18). `verifiedBy` needs a person. |
|
||||
| `art/STYLE.md` drafted with the author, `art/manifest.json`, SVG placeholders, `tools/art-prep` end to end on one asset | **Missing** (G0.24) |
|
||||
| Slot for *A Letter from the Gardener* | Missing (G0.25) |
|
||||
| Decision: how the sunset invitation reaches the player on the web | **Decided** 2026-11-01: in-app only (Q6, G0.26) |
|
||||
|
||||
**Gate:** 60 sentences pass and every fixture fails (half met: the fixtures fail, but
|
||||
there are no sentences); one illustration through the full pipeline into `art/final/`
|
||||
(not started). The status docs now say *workspace merged, Phase 0 gate open* instead
|
||||
of *Phase 0 merged*.
|
||||
|
||||
## 2. Questions only the author can answer
|
||||
|
||||
Each one blocks the feature named in its row. None blocks the rest of Phase 0.
|
||||
|
||||
| # | Where | The conflict | Blocks |
|
||||
|:--|:--|:--|:--|
|
||||
| Q1 | GAMEPLAY §3 vs ROADMAP Phases 2–4, §5 | Berries come from *forgotten roses of other players*, so the fox's food needs other players. But the fox arrives in Phase 2, before friends (Phase 3). Cold start says Phases 1–2 must stand alone, and the Phase 4 gate says deleting `lucerna` leaves Phases 1–3 working. **Where does the fox's food come from with no friends and no Lucerna?** | Phase 2 fox |
|
||||
| Q2 | GAMEPLAY §1–2 vs ROADMAP §2, Phase 1 | *Short visits only hold her; real time brings full bloom*, plus *care hours* in the numbers. If "real time" means minutes on screen, bloom rewards staying in the app: the **dependence** risk, against *the best moments send the player away from the screen*. The roadmap says growth comes from **total days of care**. Proposed reading: calendar days with real care, where a long session is worth no more than a short one with the same care. Confirm. | Phase 1 growth |
|
||||
| Q3 | ROADMAP §1 vs GAMEPLAY §5 | Two lanterns. **Lucerna** (*lantern*) is the server, and the **lantern** is the device-to-device "I'd like to talk". A player, or a later agent, could take the lantern to go through Lucerna. Rename one, or write down that the lantern never touches Lucerna. | Naming; Phase 3–4 |
|
||||
| Q4 | GAMEPLAY §5 | Before a match, sentences carry *"sent through Amicitia"*. If the bytes go over Rosea's own sync, the label is untrue about where data went (Privacy: what was the player told). Either Amicitia carries them, or the wording changes, for example *a taste of Amicitia*. | The Amicitia bridge |
|
||||
| Q5 | GAMEPLAY §3 vs ROADMAP Phase 2 | *No extra creatures* vs visitors who leave mementos, rare visitors, and the sheep album. Is the rule about food and the fox's screen only? | Phase 2 collections |
|
||||
| Q6 | ROADMAP Phase 0 vs CLAUDE.md §8 | The notification decision is due in Phase 0 by the roadmap and in the Phase 1 feature doc by CLAUDE.md. Taken as Phase 0, since the roadmap is newer. An agent can write the options and their privacy cost; the author picks one. | G0.26 |
|
||||
| Q7 | GAMEPLAY §5 vs ROADMAP | The Amicitia bridge has no phase. It needs roads (Phase 3) and swapped keys (`packages/identity`). Phase 3, 5, or its own? | Planning |
|
||||
| Q8 | GAMEPLAY §1 | *Coming back on nearby days gives a little more.* This is not a streak, but a player back after a gap gets less than one back after a day. It is safe only if nobody ever sees what a gap cost them. Recorded for the Phase 1 Soul review; no answer needed now. | Phase 1 Soul review |
|
||||
|
||||
### Answers — the author, 2026-11-01
|
||||
|
||||
Written into `docs/GAMEPLAY.md`, `docs/ROADMAP.md` and CLAUDE.md, each marked
|
||||
*decided 2026-11-01* in the author's docs.
|
||||
|
||||
| # | Answer |
|
||||
|:--|:--|
|
||||
| Q1 | **Own bush first.** A wild bush beside the player's own rose ripens when the care helped. Friends' forgotten roses (Phase 3) and strangers' (Phase 4) add berries, never required. Phase 2 needs no other player and the Phase 4 gate holds. Farming limit: one harvest per bush per local day. |
|
||||
| Q2 | **Days of care.** Calendar days on which the care helped, never minutes on screen. The numbers panel shows *days of care* in place of *care hours* (an agent's reading of this answer; the author can reverse it). |
|
||||
| Q3 | **Keep both names.** The lantern travels device to device only and never passes through `lucerna`. Written in GAMEPLAY §5 and CLAUDE.md §1–2. |
|
||||
| Q4 | **"A taste of Amicitia"**, with the icon. |
|
||||
| Q5 | **The rule is removed.** GAMEPLAY §3 no longer says *no extra creatures*, so Phase 2's visitors stand. |
|
||||
| Q6 | **Phase 0, in-app only.** No push server on the web; local notifications come with the Tauri shell (Phase 6). Recorded in ROADMAP Phase 0 and CLAUDE.md §8. Closes G0.26. |
|
||||
| Q7 | **Phase 3.** Added to ROADMAP Phase 3 with the friends' berries. |
|
||||
| Q8 | No answer needed: a rule for the Phase 1 Soul review. |
|
||||
|
||||
## 3. Notes that need no answer
|
||||
|
||||
- **"treat."** GAMEPLAY §3 calls rose hips *the rare top treat*. That is fine in a
|
||||
design doc. In player copy `treat` is banned (D6), so the in-game words are
|
||||
different. `lint:copy` catches it.
|
||||
- **The planets.** *King*, *lamplighter*, *geographer* and similar are ordinary words
|
||||
and are not on the forbidden list, which is right: §7 allows the echo but never the
|
||||
name or text. *The Geographer's book* and the *sheep album* are the closest echoes.
|
||||
Each planet's feature doc gets a copyright line in its review.
|
||||
- **The drunkard's planet** is a Soul risk for a player who drinks. It goes into that
|
||||
planet's feature doc.
|
||||
- **Sunset from a time zone.** A zone is not a place, and sunset needs coordinates.
|
||||
Fallback: the zone's reference location from the tz database (`zone1970.tab`),
|
||||
bundled offline. This goes into the Phase 1 sun feature doc. It never asks for GPS
|
||||
and never makes a network call.
|
||||
- **Bubble copy** has the same rules as the hope library (GAMEPLAY §4). `lint:copy`
|
||||
already scans `packages/ui/src/copy/`. Whether bubbles also get ids and a validator
|
||||
is decided in Phase 1.
|
||||
|
||||
## 4. What already agrees
|
||||
|
||||
- The care acts *water, shade, weeds, petals* match the `care` schema's `act` enum (D5).
|
||||
- *Berries, never treats*, as in D6.
|
||||
- Book and Tolkien names are already forbidden in copy (`forbidden.ts`), and
|
||||
*Rosea Domi* / *Amicitia Domi* pass the Domi-alone rule.
|
||||
- CLAUDE.md §8 already names the **berry farming** trap (one harvest per forgotten
|
||||
rose per local day) and the **lantern as rejection** trap (one-sided lanterns are
|
||||
invisible).
|
||||
- "Never GPS" matches CLAUDE.md §4.
|
||||
|
||||
## What was NOT done
|
||||
|
||||
- The author's text was not changed, including where §2 shows a conflict.
|
||||
- No game code was written. GAMEPLAY.md now exists, but Phase 1 starts only after
|
||||
the Phase 0 gate (ROADMAP §4: *failing it means the next phase does not start*).
|
||||
@@ -52,12 +52,14 @@ encouraging, never ruling), never a name or a quote.
|
||||
her. Care has a touch of skill: water by feel (too much is as bad as too little), shade her from wind,
|
||||
pull weeds, gather fallen petals. She grows from the **total** time of care, never from a streak.
|
||||
Neglect makes her **drift** — turn away, close a little — never break. Short visits hold her; real
|
||||
time brings full bloom. One tap shows her real numbers (water, warmth, care hours, trend).
|
||||
time — calendar days on which care helped, never minutes on screen — brings full bloom. One tap
|
||||
shows her real numbers (water, warmth, days of care, trend).
|
||||
- **The planets** — a journey through lonely grown-ups (the king, the vain man, the businessman, the
|
||||
lamplighter, the geographer…). Each planet lets the player feel one shape of loneliness.
|
||||
- **The fox** — follows at a distance from the first planet and comes closer through touch (pet,
|
||||
brush) and food. The rose tells you what he wants today. His food is **berries**, gathered by tending
|
||||
other players' forgotten roses (one harvest per forgotten rose per day, only when the care helped).
|
||||
brush) and food. The rose tells you what he wants today. His food is **berries**: first from the wild bush
|
||||
beside the player's own rose, later also from tending other players' forgotten roses — an addition,
|
||||
never a requirement (one harvest per bush per day, only when the care helped).
|
||||
Your own rose's growth sets berry quality: wild strawberries → blueberries → raspberries →
|
||||
blackberries → rose hips. After the taming he leads the player to real people.
|
||||
- **Teaching in play** — the rose and the fox explain and remind in speech bubbles, with text from the
|
||||
@@ -68,7 +70,8 @@ encouraging, never ruling), never a name or a quote.
|
||||
footprints, then a trail, then a road.
|
||||
- **The bridge to Amicitia** (promoted openly) — once a path is a road, either player may light a
|
||||
**lantern**. A one-sided lantern is invisible; when both are lit, the game says so and the two apps
|
||||
swap anonymous keys device to device. Players are known only by their rose's name. Free conversation
|
||||
swap anonymous keys device to device. The lantern never passes through `lucerna`. Before a match,
|
||||
sentences carry the Amicitia icon and *a taste of Amicitia* — never "sent through Amicitia". Players are known only by their rose's name. Free conversation
|
||||
happens only in Amicitia, never in Rosea. Rosea has no doors: paths only grow, a lit lantern stays lit.
|
||||
- **The shared sky** — every act of care toward someone else adds light to one night sky that all
|
||||
players share. The sky is the **real** sky: real constellations. Every day at local sunset a wave of
|
||||
@@ -161,7 +164,8 @@ content/
|
||||
docs/ # ROADMAP.md, ART.md, numbered milestone feature docs
|
||||
```
|
||||
|
||||
`lucerna` — *lantern*: it only ever shows that someone was there.
|
||||
`lucerna` — *lantern*: it only ever shows that someone was there. The lantern gesture (§1) shares the
|
||||
name and never passes through it.
|
||||
|
||||
**Dependency direction (never violate):**
|
||||
|
||||
@@ -363,7 +367,7 @@ happened twice.)*
|
||||
- **The engine gets property tests.** `fast-check`: growth is monotonic in total care and never
|
||||
decreases; fox distance never jumps more than one step per day; replaying the same log twice gives
|
||||
byte-identical `derived` state; a missed sunset never changes the rose's stage; an unopened
|
||||
sentence is never lost; at most one harvest per forgotten rose per local day, and none when the care
|
||||
sentence is never lost; at most one harvest per bush per local day, and none when the care
|
||||
did not help; drift never lowers the stage earned.
|
||||
- **Sun maths gets golden tests** against published sunrise/sunset tables for a spread of cities:
|
||||
Prague, Reykjavík, Tromsø (polar day and polar night), Quito, Sydney, Anchorage — including both DST
|
||||
@@ -434,7 +438,7 @@ player can send another player, and the sender picks one.
|
||||
"trace": "petal:<colour>", "messageId": "ps-23-4" | null, "clientVersion": "0.1.0" }
|
||||
// act applies to the player's own rose or another player's. (This example once
|
||||
// listed "wind" | "light"; §1's weeds and fallen petals won — phase0-workspace.md D5.)
|
||||
// Only "care" is in packages/schema so far; the other kinds wait for docs/GAMEPLAY.md.
|
||||
// Only "care" is in packages/schema so far; each other kind arrives with the feature doc that uses it.
|
||||
// other kinds: "sentence-opened", "sunset" (seen), "planet-step", "fox" (pet | brush | feed),
|
||||
// "harvest" (berry kind), "thanks", "lantern" (lit — never unlit)
|
||||
```
|
||||
@@ -479,14 +483,14 @@ No timestamp finer than a day, no precise location, no free text, no link to the
|
||||
|
||||
| Trap | Why it bites |
|
||||
|:--|:--|
|
||||
| **A PWA cannot schedule a local notification** *(predicted — verify first)* | The sunset invitation is time-based. A web app generally cannot fire a notification at a set time while closed without a **push server** sending it, and a push server that knows when someone's sunset is knows roughly where they are. On iOS, web push works only for a site added to the home screen. Decide this in the Phase 1 feature doc: in-app sunset only for the web build, and local notifications through the Tauri shell later — or a push design whose privacy cost is written down. |
|
||||
| **A PWA cannot schedule a local notification** *(predicted — verify first)* | The sunset invitation is time-based. A web app generally cannot fire a notification at a set time while closed without a **push server** sending it, and a push server that knows when someone's sunset is knows roughly where they are. On iOS, web push works only for a site added to the home screen. **Decided in Phase 0 (2026-11-01):** in-app sunset only for the web build — no push server — and local notifications through the Tauri shell later (Phase 6). |
|
||||
| **Polar day and polar night** *(predicted)* | Above the Arctic Circle the sun does not set in summer or rise in winter. "Every day at sunset" has no answer there. The engine must return a defined state and the game must have a gentle alternative (e.g. the hour the light is lowest). |
|
||||
| **DST and the local day** *(predicted)* | Sunset jumps an hour twice a year under a player who did nothing; a day boundary computed in UTC records Monday-evening care as Tuesday's. One module computes the day. |
|
||||
| **Comfort becomes wallpaper** | The same words every day stop meaning anything. Comfort words are occasional; the real trace of a real person is constant. Track repetition in tests. |
|
||||
| **Guilt sneaks in through "gentle" reminders** | "Your rose misses you" is guilt wearing a ribbon. No notification ever refers to neglect — the player's or anyone else's. |
|
||||
| **Streak creep** | Someone will propose "just a small streak". Growth is from total care; a missed day never resets anything. |
|
||||
| **Drift that reads as blame** | A rose turned away can feel like an accusation. Drift is shown as waiting, never as hurt caused; she brightens on the first touch, and no copy ever says *you forgot*. |
|
||||
| **Berry farming** | Tending forgotten roses for food invites mindless tapping. One harvest per forgotten rose per local day, only when the care actually helped — enforced in `engine/forage`, property-tested. |
|
||||
| **Berry farming** | Tending roses for food invites mindless tapping. One harvest per bush per local day — the player's own and each forgotten rose's — only when the care actually helped, enforced in `engine/forage`, property-tested. |
|
||||
| **A lantern as rejection** | A lit lantern that is visibly unanswered is the rejection this game exists to avoid. One-sided lanterns are invisible to the other player, always. |
|
||||
| **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. |
|
||||
|
||||
+16
-6
@@ -8,7 +8,7 @@ Rewritten at the end of each session (CLAUDE.md §5.1).
|
||||
|
||||
- **Repository:** the git repo exists, and `origin` is Gitea (`mnovak/Rosea`).
|
||||
`main` holds `CLAUDE.md` and `.gitignore` (`1e4c5a0`).
|
||||
- **Phase 0:** merged to `main` with `--no-ff` (`d11d242`) and pushed. Local and
|
||||
- **Phase 0 workspace:** merged to `main` with `--no-ff` (`d11d242`) and pushed. Local and
|
||||
Gitea hashes match. Analysis: [`.agents/features/phase0-workspace.md`](.agents/features/phase0-workspace.md).
|
||||
Review, with counts and the mutation results:
|
||||
[`.agents/reviews/feature-phase0-workspace.md`](.agents/reviews/feature-phase0-workspace.md).
|
||||
@@ -16,14 +16,24 @@ Rewritten at the end of each session (CLAUDE.md §5.1).
|
||||
engine 52, ui 3). E2E: 6. Offline: 1. `lint:copy`: 9 files, 0 problems.
|
||||
`validate:library`: 13 of 13 fixtures rejected.
|
||||
- **Built, not deployed:** there is no host yet.
|
||||
- **Roadmap and gameplay docs:** `docs/ROADMAP.md` and `docs/GAMEPLAY.md` are on
|
||||
`docs/roadmap-gameplay`, as the author gave them, together with a read against the
|
||||
code: [`.agents/reviews/docs-roadmap-gameplay.md`](.agents/reviews/docs-roadmap-gameplay.md).
|
||||
The author answered Q1–Q7, and the answers are written into both docs and CLAUDE.md.
|
||||
Merged to `main`.
|
||||
|
||||
**Phase 0 is not finished.** The roadmap's Phase 0 is more than the workspace. Its
|
||||
gate needs 60 verified sentences (G0.18) and one illustration through the art
|
||||
pipeline (G0.24). Also open: the Letter slot (G0.25) and a GitHub remote (G0.13).
|
||||
The notification decision is made: in-app only on the web (G0.26).
|
||||
|
||||
**Waiting on the author.**
|
||||
|
||||
1. **`docs/GAMEPLAY.md`.** No game code can start without it (G0.14). `docs/ROADMAP.md`
|
||||
is needed to name Phase 1.
|
||||
2. **A GitHub repository** for Pages, and the decision whether it is public. That
|
||||
decides the source maps (G0.23), the deploy workflow and the mirror check (G0.13).
|
||||
3. **Upgrading Node** to ≥ 22.13 on this machine (G0.20).
|
||||
1. **Sentences:** an agent may propose public-domain candidates with their sources.
|
||||
Only the author can mark one verified.
|
||||
2. **`docs/ART.md` and `art/STYLE.md`**, which are needed before the art pipeline.
|
||||
3. **A GitHub repository** for Pages, and whether it is public (G0.13, G0.23).
|
||||
4. **Upgrading Node** to ≥ 22.13 on this machine (G0.20).
|
||||
|
||||
**How this machine works** (not in the code):
|
||||
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
# Rosea Domi — gameplay loop (decided 2026-10-28)
|
||||
|
||||
Rosea is still a game: every visit has real things to do. Art serves play, never replaces it. Core
|
||||
purpose: training for real relationships — the habits learned tending the rose and the fox are the
|
||||
habits Amicitia Domi needs with people. Amicitia is promoted openly (§5); its door opens when the fox
|
||||
starts leading to real people.
|
||||
|
||||
## 1. The rose
|
||||
|
||||
- Actions with a touch of skill (feel, not a button): water (pour slowly until the leaves lift; too
|
||||
much is as bad as too little), shade from wind at the right moment, pull overnight weeds, gather
|
||||
fallen petals.
|
||||
- She drifts, never breaks. Neglect makes her turn away and close a little (like a friend drifting to
|
||||
an outer circle in Amicitia). Nothing earned disappears.
|
||||
- Short visits only hold her; real time brings full bloom (mirrors Amicitia: check-ins freeze drift,
|
||||
real time climbs). *Real time* means calendar days on which the care actually helped — never minutes
|
||||
on screen. A long session is worth no more than a short one with the same care (decided 2026-11-01).
|
||||
- The daily sentence comes from the rose, not from the sunset clock. She waits with a folded petal;
|
||||
best given at sunset, but never missed. Coming back on nearby days gives a little more (e.g. an
|
||||
earlier sentence remembered). A gap is never punished; no streak counter exists.
|
||||
|
||||
## 2. Numbers — measured and transparent
|
||||
|
||||
Her face and posture are the surface. One tap opens the real numbers: water, warmth, days of care,
|
||||
trend. Everything measured is visible on request; nothing is hidden, nothing is shouted.
|
||||
|
||||
## 3. The fox
|
||||
|
||||
- Taming is touch and food: pet and brush the fox; feed it.
|
||||
- The rose tells you what the fox wants today.
|
||||
- Food = berries. Before there are friends, a wild berry bush beside the player's own rose ripens when
|
||||
their care actually helped her, so the fox is never hungry without other players (decided
|
||||
2026-11-01). Later, berries also come from tending forgotten roses of other players: friends'
|
||||
(Phase 3) and, with the shared sky, strangers' (Phase 4) — an addition, never a requirement. A
|
||||
forgotten rose stays theirs; tending it ripens the wild berry bush beside it. Anti-farming: one
|
||||
harvest per bush per day, and only when the care actually helped (e.g. water when she truly needed
|
||||
it).
|
||||
- Your own rose's growth decides berry quality: wild strawberries → blueberries → raspberries →
|
||||
blackberries → rose hips (the rare top treat; the rose's own fruit — ties rose and fox together).
|
||||
- No trees, no apples, no hunting. Keep the screen minimal.
|
||||
|
||||
## 4. Teaching the player
|
||||
|
||||
- The game is taught in play: the rose and the fox speak in speech bubbles — "this is what you need to
|
||||
do" — and remind the player when something is forgotten. Never assume the player read anything.
|
||||
- Bubble text comes from the curated copy library (no free text, same rules as the hope library).
|
||||
- A Letter from the Gardener holds the deeper why and can be re-read any time — it is never required
|
||||
to understand how to play.
|
||||
|
||||
## 5. From roses to real people — the bridge to Amicitia (decided)
|
||||
|
||||
- Amicitia Domi is promoted openly as the door to real contact.
|
||||
- Players are known only by the name they give their rose (a nickname; it may be their real name if
|
||||
they choose). Rosea never knows real names.
|
||||
- Lantern: once the path between two roses has grown into a road, either player may light a lantern
|
||||
("I'd like to talk"). A one-sided lantern is invisible to the other. When both have lit one, the
|
||||
game says so. The lantern travels only device to device and never passes through Lucerna, the
|
||||
discovery service, despite the shared name (decided 2026-11-01).
|
||||
- No personal data exchanged: the two apps swap anonymous keys device to device; each appears in
|
||||
Amicitia under their rose's name.
|
||||
- Before a match, curated sentences sent from the rose carry the Amicitia icon and "a taste of
|
||||
Amicitia" — a visible taste, no real contact. (Rosea's own sync carries them, so the label never
|
||||
says Amicitia sent them; decided 2026-11-01.) After a match, free conversation happens only in
|
||||
Amicitia, never in Rosea.
|
||||
- No doors, no closing. Rosea has no "close the door" action; paths only grow. A lit lantern stays
|
||||
lit. Whether a connection lives or fades is Amicitia's concern, not Rosea's.
|
||||
- Safety note (Claude's judgement): Rosea needs no block because it has no free text; Amicitia, where
|
||||
free text begins, must still have a quiet safety block for harassment — not promoted.
|
||||
|
||||
## 6. The first days, and the journey as the second pillar (decided)
|
||||
|
||||
- Main risk (Claude's view, agreed): lonely players are the ones who quietly drop off. The beauty is
|
||||
not the hard part; the first days must be rewarding enough that players stay long enough to be
|
||||
changed by the game.
|
||||
- Tending the rose and the fox alone is not yet enough gameplay. The second pillar is the journey:
|
||||
visiting the lonely grown-ups' planets (king, vain man, drunkard, businessman, lamplighter,
|
||||
geographer), each with its own real things to do — so there is always somewhere to go and something
|
||||
new to discover from day one.
|
||||
- Design rule: every early session ends with visible progress and a reason to return tomorrow (a new
|
||||
place glimpsed, a berry kind closer, the fox a step nearer) — never with guilt.
|
||||
|
||||
## 7. The first minutes — and what Rosea is (decided, corrected 2026-10-28)
|
||||
|
||||
- Rosea Domi is its own game, by purpose: it exists to lead players into Amicitia Domi. It is not a
|
||||
Little Prince game and never presents itself as one.
|
||||
- From Saint-Exupéry it takes one idea: taming/binding someone makes you responsible for them, and
|
||||
tending is how that responsibility is lived. The book is complementary inspiration, nothing more.
|
||||
- The planets and lonely grown-ups stay as a quiet, familiar echo that makes the first minutes feel
|
||||
recognisable — never named, never explained in-game as the book.
|
||||
- No text from the book; no title, names or "you may know this book" prompts in the game, its name,
|
||||
logo or marketing (the estate also holds trademarks on the title).
|
||||
- A Letter from the Gardener is where everything is taught: the one sentence of inspiration, the river
|
||||
of life, why the art looks as it does, and how the game leads to Amicitia.
|
||||
- The Letter is clear about the difference: Rosea's philosophy and many of its small things (berries
|
||||
and rose hips, the lanterns, the paths between roses, the real sunset, the shared sky, Amicitia)
|
||||
were never in the book. The familiarity is a doorway; what lies behind it is Rosea's own.
|
||||
|
||||
## 8. How much comes from the book — stated precisely (decided)
|
||||
|
||||
- Taken as reference: the book's structure and the shape of the gameplay loop (rose, fox, the journey
|
||||
through the lonely grown-ups' planets) — almost the whole book is echoed in the game.
|
||||
- Skipped: the pilot in the desert. It does not translate into play and has no place in Rosea.
|
||||
- Visual style: a direction only — never, ever copying the illustrations (see `art/STYLE.md`).
|
||||
- Rosea's own philosophy: the paths, and the river of life with its whirlpools, drawn from Pascal and
|
||||
Nietzsche and Mark's "vortex of continuum". These are explained in A Letter from the Gardener.
|
||||
- Idea, open: a companion book in which these philosophical concepts are evaluated and written out at
|
||||
length — the Letter is its short form.
|
||||
+180
@@ -0,0 +1,180 @@
|
||||
# Rosea Domi — phase plan
|
||||
|
||||
Working document. Lives at `docs/ROADMAP.md`. Companion to [`CLAUDE.md`](../CLAUDE.md) (the operating
|
||||
manual) and [`ART.md`](ART.md) (the illustration pipeline).
|
||||
|
||||
---
|
||||
|
||||
## 0. The thing to decide before anything else
|
||||
|
||||
Rosea joins a queue that already holds NARTOR, Memoria, Ludus, Panda Domi and others. The failure mode
|
||||
is not "Rosea is a bad idea" — it is many products at 70%.
|
||||
|
||||
So **Phases 0–1 are a spike, not a commitment**: the rose alone, the sunset, the library, offline, on
|
||||
a real phone. At the end of Phase 1 there is one honest question — *did the real sunset become part of
|
||||
my day?* — and a no is a legitimate answer that leaves a reusable sentence library and a sun module
|
||||
behind.
|
||||
|
||||
Solo evenings-and-weekends pace. Durations are calendar estimates, not effort (assumption).
|
||||
|
||||
---
|
||||
|
||||
## 1. Naming
|
||||
|
||||
`Rosea` — Latin *rose-coloured*: the colour of the sky at sunset and of the rose. Working name.
|
||||
In public always **Rosea Domi**; *Domi* never stands alone. Final name, trademark and domain checks are
|
||||
open (§6). The help section is **A Letter from the Gardener**. The discovery service is **Lucerna**
|
||||
(*lantern*).
|
||||
|
||||
---
|
||||
|
||||
## 2. What makes this different
|
||||
|
||||
Most games for lonely people either pretend to be a friend or count everything. Rosea does neither.
|
||||
Its unit of value is **time given to someone else** — and its best moments send the player *away* from
|
||||
the screen: to the real sunset, the real sky, real people.
|
||||
|
||||
Three consequences run through every phase:
|
||||
|
||||
1. **Growth comes from total care, never from a streak.** Nothing earned ever disappears.
|
||||
2. **No free text, no counting of people.** Comfort is chosen from a curated library; friendship is
|
||||
shown as a path, never a number.
|
||||
3. **Every beauty has a real twin.** Sunset, sunrise and constellations are real, computed on device.
|
||||
|
||||
---
|
||||
|
||||
## 3. Architecture in one paragraph
|
||||
|
||||
A pnpm/Turbo monorepo in TypeScript. `packages/schema` holds the contracts and generates the types.
|
||||
`packages/engine` is pure — growth, taming, the shared sky, and the sun maths, with time as a
|
||||
parameter. `packages/content` holds the hope library and its validator. `packages/storage` is the only
|
||||
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;
|
||||
every visible thing is a pure function of it.
|
||||
|
||||
---
|
||||
|
||||
## 4. Phases
|
||||
|
||||
Each phase has a gate: a question with an observable answer. Failing it means the next phase does not
|
||||
start.
|
||||
|
||||
### Phase 0 — Foundations · ~1–2 weeks
|
||||
|
||||
- Repo, `.gitignore`, the 5 MB pre-commit hook, remotes, `CLAUDE.md`, this roadmap, `ART.md`.
|
||||
- `packages/schema` with the hope-sentence and care-event contracts; the library validator with its
|
||||
**negative fixtures**; `lint:copy` with the forbidden-words list.
|
||||
- The first **60 sentences** of the library, each sourced and verified public domain.
|
||||
- **Art**: `art/STYLE.md` drafted with Mark, `art/manifest.json` for Phase 1 assets, Claude's SVG
|
||||
placeholders, and the **art preparation page** (`tools/art-prep`) working end to end on one asset.
|
||||
- A slot for *A Letter from the Gardener* — the author writes it; agents only scaffold the page.
|
||||
- **Decision recorded:** how the sunset invitation reaches the player on the web (see the notification
|
||||
trap in `CLAUDE.md` §8). *Decided 2026-11-01:* on the web the invitation lives inside the app only —
|
||||
no push server; real local notifications come with the Tauri shell (Phase 6).
|
||||
|
||||
**Gate:** `validate:library` passes on the 60 sentences and **fails on every negative fixture** with a
|
||||
message naming the problem; one illustration has gone through the full pipeline — prompt, paste,
|
||||
automatic checks, Claude's review, Mark's approval — into `art/final/`.
|
||||
|
||||
### Phase 1 — The rose alone · ~3–4 weeks · the spike
|
||||
|
||||
- One rose with her face: care with a touch of skill (water by feel, shade, weeds, petals), moods,
|
||||
thorns, growth from **total** days of care, drift instead of loss, her numbers one tap away, and
|
||||
speech-bubble teaching (`docs/GAMEPLAY.md` §1–2, §4).
|
||||
- **The sun**: real local sunset and sunrise, on device; polar day/night handled. Location: the player is asked *"Where do you want your sunset?"* (a city, skippable); if skipped, it is guessed from the device time zone. **Never GPS.** A finer guess (country from IP or carrier) is an open idea — it costs a network call, so it must be weighed against local-first.
|
||||
- **The in-game sunset** — move the chair, watch it again — as comfort and rehearsal; it tells the
|
||||
player when the real one is tonight.
|
||||
- **The day's sentence comes from the rose** (`docs/GAMEPLAY.md` §1): she waits with a folded petal;
|
||||
sunset is the best moment to open it, but it is never lost and no streak exists.
|
||||
- Installable PWA, fully offline, `navigator.storage.persist()`, export-my-rose.
|
||||
- The offline Playwright suite.
|
||||
|
||||
**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
|
||||
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.
|
||||
|
||||
### Phase 2 — The planets and the fox · ~4–6 weeks
|
||||
|
||||
- The planets of lonely grown-ups, one at a time, each designed in its own feature doc (they need not
|
||||
all work the same way).
|
||||
- The fox follows at a distance and comes closer through **how the player acts**; short taming at the
|
||||
end of the journey. His berries come from the wild bush beside the player's own rose
|
||||
(`docs/GAMEPLAY.md` §3), so nothing here needs another player.
|
||||
- Collections: visitors who leave mementos while the player is away; the "sheep album" of the rose's
|
||||
strange requests; rare visitors with hidden conditions (sunrise-only visitors among them).
|
||||
- The *Geographer's book* — optional, private numbers about the player's own time.
|
||||
|
||||
**Gate:** a player who has never heard of the book finishes the first three planets and can say, in
|
||||
their own words, what one of them felt like.
|
||||
|
||||
### Phase 3 — Friends · ~4–6 weeks
|
||||
|
||||
- Tending a friend's rose; their fox brings them a real trace (a petal in your colour) and, now and
|
||||
then, a comfort line **you chose from the library**.
|
||||
- Thanks as one optional gesture — their fox visits your rose.
|
||||
- Paths between roses: footprints → trail → road.
|
||||
- Friend-to-friend sync over WebRTC: care travels like letters and merges when devices meet.
|
||||
- Invite by link; no account.
|
||||
- Forgotten friends' roses ripen berries for the fox (`docs/GAMEPLAY.md` §3).
|
||||
- The bridge to Amicitia: once a path is a road, lanterns, and the device-to-device key swap
|
||||
(`docs/GAMEPLAY.md` §5).
|
||||
|
||||
**Gate:** five friends, two weeks, no reminders from Mark. *Do they come back on their own, and does
|
||||
at least one of them describe a moment of being cared for?*
|
||||
|
||||
### Phase 4 — The shared sky · ~4–6 weeks · opt-in, separable
|
||||
|
||||
- `services/lucerna` in Rust: anonymous traces only (coarse cell, day bucket, gesture, auto-delete).
|
||||
- The shared night sky made of **real constellations**; acts of care light it; a completed
|
||||
constellation opens a new planet for everyone.
|
||||
- The lamplighter's wave: lamps following the sunset around the globe.
|
||||
- Keeping an absent stranger's rose alive with light — anonymous, no contact.
|
||||
- The consent ladder toward strangers: traces → a light → foxes meet only if both agree.
|
||||
|
||||
**Gate:** deleting `services/lucerna` leaves Phases 1–3 fully working, with no dead controls and no
|
||||
errors.
|
||||
|
||||
### Phase 5 — Real meetings and sharing · ~3–4 weeks
|
||||
|
||||
- One shared daily moment for everyone, and a spoiler-free image of your sky to share.
|
||||
- Group meetings in public places only (in the spirit of community days); never one-to-one.
|
||||
- The yearly moment on the anniversary of the player's first day.
|
||||
|
||||
**Gate:** a share image leaves the device containing nothing that identifies the player or anyone
|
||||
else.
|
||||
|
||||
### Phase 6 — Stores and money · ongoing
|
||||
|
||||
- Tauri 2 shell for Android and iOS: local sunset notifications without a server.
|
||||
- Monetisation — **not decided** (§6). Constraints already set: tending others is always free; no
|
||||
ads, no subscription-only, no sale of data.
|
||||
|
||||
---
|
||||
|
||||
## 5. Risks, stated as risks
|
||||
|
||||
| Risk | Why it could kill this | What reduces it |
|
||||
|:--|:--|:--|
|
||||
| **It makes a lonely person feel worse** | Guilt, comparison or an unanswered gesture hurts most the people this is for. | The Soul section in every review; `soul.md`; no counts, no streaks, no neglect notifications. |
|
||||
| **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. |
|
||||
| **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. |
|
||||
| **One more product** | It competes for the same evenings as everything else in Domi. | The Phase 1 gate, treated as a real decision. |
|
||||
|
||||
---
|
||||
|
||||
## 6. Open questions
|
||||
|
||||
- **The sunrise mechanic** beyond sunrise-only visitors.
|
||||
- **The visual style.** Decided with Mark in `art/STYLE.md` before any final art is generated.
|
||||
- **The final name**, trademark and domain checks for Rosea Domi.
|
||||
- **Money.** Only the constraints are fixed (Phase 6).
|
||||
- **The Letter from the Gardener** — written by the author; its philosophy is his and is signed by him.
|
||||
Reference in New Issue
Block a user