diff --git a/.agents/FEATURES.md b/.agents/FEATURES.md index faa2c95..6fb2145 100644 --- a/.agents/FEATURES.md +++ b/.agents/FEATURES.md @@ -8,6 +8,7 @@ One row per feature, with its analysis document (CLAUDE.md §5.1). Gaps live in | 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) | | The Letter slot: page at `#letter`, empty `docs/LETTER.md` | 0 | Merged to `main`; built, not deployed. Invisible until the author writes | [letter-slot.md](features/letter-slot.md) | [feature-letter-slot.md](reviews/feature-letter-slot.md) | +| The rose: care by feel, growth from days of care, drift, moods, her numbers; the care log and the identity | 1 | Merged to `main`; built, not deployed. Tuning is the author's | [rose.md](features/rose.md) | [feature-rose-care.md](reviews/feature-rose-care.md) | | Where the sunset is: choose a town (or skip to a guess from the device's zone), kept on the device; tonight's sunset in the garden | 1 | Merged to `main`; built, not deployed | [sunset-place.md](features/sunset-place.md) | [feature-sunset-place.md](reviews/feature-sunset-place.md) | | The sun: real sunrise, sunset and solar noon on the device; polar day and night | 1 | Merged to `main`; engine only, the app does not show it yet | [sun.md](features/sun.md) | [feature-sun.md](reviews/feature-sun.md) | | The art pipeline and the art board: STYLE.md (S1–S5 and the fox's F1–F4 approved), the manifest (Phase 1–3, 53 pictures), stand-ins, `tools/art-prep`, the published board | 0 | Merged to `main`; board published (private). The app is unchanged. Gate waits on the first real picture | [art-pipeline.md](features/art-pipeline.md) | [feature-art-board.md](reviews/feature-art-board.md), [art-phase2-3-pictures.md](reviews/art-phase2-3-pictures.md) | diff --git a/.agents/GAP_ANALYSIS.md b/.agents/GAP_ANALYSIS.md index 0c11393..cb926e0 100644 --- a/.agents/GAP_ANALYSIS.md +++ b/.agents/GAP_ANALYSIS.md @@ -27,11 +27,11 @@ board exist, and the first real picture is the author's to make. | ~~G0.8~~ | ~~Never tested under the Pages sub-path~~ | Closed for the local build 2026-11-01. `shell.spec.ts` serves `dist/` at `/Rosea/` and asserts manifest scope = start_url = SW scope. Mutation: scope `/` fails it. **On real GitHub Pages: still predicted** (G0.13). | | ~~G0.9~~ | ~~No proof the app opens offline~~ | Closed for the shell 2026-11-01. `offline.spec.ts` closes the server, then reload, cold start and a deep link all render. Mutations: `clientsClaim: false` and no `navigateFallback` both fail it. | | G0.10 | No calm *refresh* control for a waiting service worker (CLAUDE.md §8, stale SW) | Open. `registerType: 'prompt'` and `skipWaiting: false` are set, so a new worker waits. Nothing tells the player yet. | -| G0.11 | IndexedDB eviction: no `navigator.storage.persist()`, no export-my-rose (§8) | Open. Arrives with `packages/storage`. | +| G0.11 | IndexedDB eviction: no `navigator.storage.persist()`, no export-my-rose (§8) | **Open, and now urgent**: since 2026-11-02 there is a rose to lose. `packages/storage` exists. | | 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/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: `identity`, `sync`, `services/lucerna` | Open by design (D1). Each arrives with its first feature. `tools/art-prep` arrived with the art board; `storage` with the sunset place (2026-11-02, the `profile` store only). | +| G0.15 | Deferred packages: `sync`, `services/lucerna` | Open by design (D1). Each arrives with its first feature. `tools/art-prep` arrived with the art board; `storage` with the sunset place and the rose (`profile`, `events`, `keys`); `identity` with the rose (a keypair, nothing signed yet). | | 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. **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). | @@ -54,6 +54,8 @@ sentences). Nothing in Phase 1 is visible to the player yet. |:--|:--|:--| | ~~G1.1~~ | ~~No module computes the sun (CLAUDE.md §7); polar and DST traps only predicted~~ | Closed 2026-11-01 on `feature/sun`. `engine/src/sun/sun.ts`: 26 published days in 6 cities within 2 min, polar day and night at Tromsø, 50 tests, 5 of 5 put-back bugs caught. Both traps measured (CLAUDE.md §8). | | ~~G1.2~~ | ~~The player cannot choose a city; no time-zone guess; no sunset time on screen~~ | Closed 2026-11-02 on `feature/sunset-place`. 7,342 public-domain towns searched on the device, a guess for every zone a browser reports, the town kept in IndexedDB, tonight's sunset in the garden. 299 unit, 10 e2e, offline choosing and changing a town; 6 of 6 put-back bugs caught. | +| ~~G1.4~~ | ~~No rose~~ | Closed 2026-11-02 on `feature/rose-care`: care with a touch of skill (water by holding, shade, weeds, petals), growth from days of care, drift, moods, her numbers; the care log in IndexedDB, replayed by the engine. Tuning R2/R4/R5/R6 is the author's. 7 of 7 put-back bugs caught after two test holes were closed. | +| G1.5 | The day's sentence and the folded petal; the in-game sunset with the chair | Open. The sentence needs the library (G0.18). | | G1.3 | Towns have no Czech names (*Vídeň*) | Open. Natural Earth has none; arrives with Czech copy. | ## Design questions — answered diff --git a/.agents/features/rose.md b/.agents/features/rose.md new file mode 100644 index 0000000..44f0ffa --- /dev/null +++ b/.agents/features/rose.md @@ -0,0 +1,120 @@ +# The rose — care with a touch of skill, growth from days of care, drift instead of loss + +Status: built on `feature/rose-care`. ROADMAP Phase 1: *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* (GAMEPLAY.md §1–2, §4). +Review: [`feature-rose-care.md`](../reviews/feature-rose-care.md). Not yet here: the day's sentence +and the folded petal (the library is empty, G0.18), the in-game sunset with the chair. + +--- + +## 1. Why and what, in the player's terms + +The garden now has **the rose**. She stands in her bed under the sunset line, with a face in her +bloom, and she says, in a small bubble, what she needs. + +- **Water by feel.** Press and hold *Water*: the can pours slowly, and the rose's leaves lift when she + has enough. Let go then. Pour too long and she is *too full*, which helps no more than too little. + On a keyboard, hold Space or Enter; a screen reader hears when the leaves lift. +- **Weeds** appear some mornings. **Fallen petals** some days, once she is opening. **Wind** comes on + some days for an hour and a half: *Shade her* while it blows. Each button shows only when it is + needed, so the screen stays quiet. +- **She grows from days of care that helped**: a calendar day on which at least one act met a real + need. Ten acts on one day count as one day. A long visit is worth no more than a short one. + Bud → opening → half bloom → full bloom. +- **She drifts, never breaks.** Some days without care and she turns a little away; a week, and she + closes a little and waits. Her stage never goes down. The first helpful touch brings her back. +- **Her numbers** are one tap away: water, warmth, days of care, and how she is doing. Nothing is + counted against the player; there is no streak and no "missed". + +## 2. Technical architecture + +```mermaid +flowchart LR + subgraph app["apps/rosea"] + wire["App.svelte
identity, zone, now, events"] + end + subgraph ui["packages/ui"] + rose["Rose.svelte
picture, bubble, care, numbers"] + end + subgraph engine["packages/engine (pure)"] + model["rose/rose.ts
roseAt(events, seed, now, zone)"] + days["time/localDay.ts
localDay, localMinutes"] + model --> days + end + subgraph storage["packages/storage"] + events[("events
append-only")] + keys[("keys")] + end + subgraph identity["packages/identity (new)"] + id["createIdentity()
ECDSA P-256, private key non-extractable"] + end + schema["packages/schema
care event + amount"] + wire --> rose --> model + wire --> events & keys + wire --> id + model --> schema + events --> schema +``` + +- **The log is the truth** (CLAUDE.md §4). Every care act is one append-only `care` event. The rose + at any moment is `roseAt(events, seed, now, timeZone)`: a pure replay. Nothing about her is stored + except the log; `derived` is not needed while the replay is this cheap. +- **Her hidden state** is a water level that falls over time and rises when poured. Weeds, petals and + wind come from a seeded hash of the rose's own key and the local day, so they are the same on every + replay and every device, and no randomness enters the engine. +- **Identity** arrives because the care event names `from` and `to` by public key. For her own rose + both are the player's key. The private key is non-extractable and kept by `@rosea/storage` as an + opaque `CryptoKey`; nothing signs anything yet. + +### Decisions + +| # | Decision | Why | +|:--|:--|:--| +| R1 | **The care event gains `amount`** (0–1, required for `water`, absent otherwise). | "Pour slowly until the leaves lift; too much is as bad as too little" cannot be replayed from the act alone. The schema change is the sanctioned way to make it derivable (CLAUDE.md §6.2). | +| R2 | **Water**: the level falls by 0.3 a day; a full pour (holding about 3 s) adds 0.6. She is thirsty below 0.25, needs water below 0.4, has enough from 0.4, and is too full above 0.95. A new rose starts at 0.3, so the first watering helps and teaches. | *Assumption for the author*: one helpful watering about every day and a half. | +| R3 | **A pour helps** only when she needed it (below 0.4) and it leaves her between 0.4 and 0.95. | GAMEPLAY §1: too much is as bad as too little. | +| R4 | **Weeds** grow overnight on about 40 % of days; **fallen petals** on about 30 % of days from the opening stage; **wind** on about 25 % of days, for 90 minutes starting between 9:00 and 18:00 local time. Each is a need until met that day. | *Assumption for the author.* Seeded per rose and day (FNV-1a), so replays agree. | +| R5 | **Stages** from days of care: bud 0–2, opening 3–9, half bloom 10–24, full bloom 25+. | *Assumption for the author*: full bloom after about a month of real days. | +| R6 | **Drift** from local days since the last helpful day: 0–2 none, 3–6 a little (turned away), 7+ more (closed a little, waiting). It changes her face, never her stage. | GAMEPLAY §1 and CLAUDE.md §8, *drift that reads as blame*: drawn as waiting. | +| R7 | **Warmth** is the number of days of care in the last seven, said as *"3 days this week"*, and *"resting"* at none. **Trend**: *growing* (a day of care in the last two), *steady*, or *waiting* (drift). | GAMEPLAY §2 asks for warmth and trend. Words that never say *missed*. | +| R8 | The day of an act is the local day **in the rose's zone**: the sunset town's zone, or the device's if there is none. | One zone for the sunset and the care, so a day means the same thing in both. | +| R9 | **ECDSA P-256** for the identity keypair, not Ed25519. | Every browser that can install the PWA has it; Ed25519 arrived in Chrome only in 2025. Revisited with the Phase 3 identity doc. | +| R10 | Her pictures are the **art board's stand-ins** until real art is accepted. A mood picture shows only at full bloom; before that, the stage picture. | The stand-ins exist for every stage and mood; the moods are drawn at full bloom only (art manifest). | + +## 3. Risk analysis + +| Risk | Answer | +|:--|:--| +| **Guilt.** A thirsty, closed rose after a week away can read as *you neglected me*. | She is *waiting*, never hurt; her words never say *forgot* or *missed*; one touch brightens her. The bubble copy passes `lint:copy` and the soul review below. | +| **Streak by another name.** Warmth counts recent days. | It is shown only on request, never counts absence (*resting*, not *0 of 7*), and changes nothing about growth. | +| **Compulsion.** Tapping for growth. | Growth is days, not acts: ten acts in one day are one day (property-tested). Buttons appear only when there is a need. | +| **Skill as a barrier.** Holding to pour is hard for some hands. | Holding Space or Enter works; the leaves lifting is announced; a short pour can be topped up. | +| **Location / reachability.** | None new. The events stay on the device; the key never leaves it. | +| **A lost rose.** IndexedDB eviction (CLAUDE.md §8). | Not solved here: G0.11 (`persist()`, export-my-rose) is next. Stated in the review. | + +## 4. Gap analysis + +| Gap | Solution | State | +|:--|:--|:--| +| G1.4 The rose: care, growth, drift, moods, numbers | This feature | Built | +| G0.15 `identity` deferred | `@rosea/identity`: create and keep a keypair | Built (minimal) | +| G0.19 Event kinds other than `care` | Not needed yet | Open | +| G0.11 Eviction: `persist()`, export-my-rose | Next | Open, more urgent now that there is a rose to lose | +| The day's sentence, the folded petal | Needs the library (G0.18) | Open | +| Speech-bubble lines from a curated library | Lines live in `ui/copy`, passing `lint:copy` | Built for the rose's needs | + +## 5. Verification matrix + +| Case | Kind | Where | +|:--|:--|:--| +| Water falls over time, a pour raises it, too much is too full; a pour helps only when needed and in range | unit | `engine/test/rose.test.ts` | +| Weeds, petals and wind are the same on every replay, differ between roses, appear at about their rates | unit, property | same | +| **Growth never decreases** as events are added; **many acts on one day count once**; **a gap never lowers the stage**; **replaying the same log twice gives identical state**; drift never changes the stage | property (fast-check) | same | +| Drift levels at 0, 3 and 7 days; the first helpful act after a gap clears drift | unit | same | +| Schema: `amount` required for water, refused elsewhere, bounded 0–1 | unit | `schema/test` | +| Identity: a public key that fits the schema; the private key cannot be exported | unit | `identity/test` | +| Storage: events append and come back in order; a malformed event is refused; keys round-trip | unit (fake-indexeddb) | `storage/test` | +| UI: the rose shows her stage; holding Water pours and the leaves-lift announcement comes; Weed appears only with weeds; the numbers open on request | unit (testing-library) | `ui/test/rose.test.ts` | +| Built app: water the rose by holding, see *1 day of care*, reload, still 1 | e2e | `e2e/shell.spec.ts` | +| Offline: tend the rose with the server gone, reload, the care survived | offline | `e2e/offline.spec.ts` | diff --git a/.agents/lessons/README.md b/.agents/lessons/README.md index e3cac3c..550493f 100644 --- a/.agents/lessons/README.md +++ b/.agents/lessons/README.md @@ -12,7 +12,7 @@ and **how to apply it**. | [`art.md`](art.md) | 2 | The image pipeline. | | [`code.md`](code.md) | 3 | TypeScript, Svelte, async ordering, Rust. | | [`technical.md`](technical.md) | 5 | The browser and the build as platforms. | -| [`testing.md`](testing.md) | 7 | What makes a test worth having, and how a passing test lies. | +| [`testing.md`](testing.md) | 8 | 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) | 2 | Workflow, commits, credentials, honesty about what shipped. | diff --git a/.agents/lessons/testing.md b/.agents/lessons/testing.md index 201a5c6..df49215 100644 --- a/.agents/lessons/testing.md +++ b/.agents/lessons/testing.md @@ -102,3 +102,19 @@ inputs, a fake that accepts everything tests a different program. **How to apply it.** A fake for a boundary does the boundary's checks: a storage fake calls `structuredClone` on what it is given. An e2e test that reloads after a write first waits for the write to be readable (`e2e/stored.ts`), never for the screen alone. + +## A test that fails for another reason proves nothing about this one + +**What happened.** On 2026-11-02 two bug drills on the rose passed. Making too much water +"help" was not caught: every too-full test poured on a rose that did not need water, so +it failed for that reason and never reached the too-full rule. Replaying the log in +stored order instead of time order was not caught either: the shuffle property rarely +built a log in which order changes the outcome. + +**Why it bit.** A guard with two conditions is tested only when one input passes the +first and fails the second. A random property can pass a hundred runs and never build +the one case that matters. + +**How to apply it.** For each condition, write the case where only it decides (from +0.39 a full can overshoots: needed, too full). For an order property, add one fixed +log where order changes the answer. Then put the bug back and watch the test fail. diff --git a/.agents/reviews/feature-rose-care.md b/.agents/reviews/feature-rose-care.md new file mode 100644 index 0000000..50e4bd1 --- /dev/null +++ b/.agents/reviews/feature-rose-care.md @@ -0,0 +1,55 @@ +# Review — `feature/rose-care` + +Adversarial self-review (CLAUDE.md §5.3). Analysis: [`features/rose.md`](../features/rose.md). +Reviewed 2026-11-02 on Node 22.11.0, Windows 10. There is no PR: the only remote is Gitea. + +## Gates — counts, not exit codes + +Counts are on the merge; HANDOVER repeats them. + +| Gate | Result | +|:--|:--| +| `pnpm lint` / `pnpm typecheck` | exit 0 / exit 0, `@rosea/identity` included | +| `pnpm test` | see HANDOVER; new: **engine rose 21**, **identity 5**, **storage +27**, **ui rose 7**, schema +1 | +| `pnpm test:e2e` | **12 passed** (+2): water the rose by holding, reload, one day of care; axe on the rose and her numbers | +| `pnpm test:offline` | **1 passed**: the rose is watered with the server gone, the tab closed, and the care is still there | + +**The app changed** (CLAUDE.md §5.4): the garden has the rose. The bundle was rebuilt by the e2e and +offline runs; it is **not deployed** (no host, G0.13). Seen at phone width (390 px) in Chromium, +in three states: new, pouring, with her numbers open. + +## Bug drills — each put back once + +| Put back | Result | +|:--|:--| +| Growth counts acts, not days | CAUGHT: 10 | +| Drift lowers the stage | CAUGHT: 3 (the gap property among them) | +| Too much water still helps | **MISSED at first** (finding 1), then CAUGHT | +| The log replayed in stored order, not time order | **MISSED at first** (finding 1), then CAUGHT | +| Storage lets `amount` ride on a weed | CAUGHT: 2 (one is the agreement with the schema validator) | +| Letting go does not stop the pour | CAUGHT: 2 | +| No greeting after a gap | CAUGHT | + +## Findings + +| # | Area | Finding | Resolution | +|:--|:--|:--|:--| +| 1 | Test honesty | Two drills passed. Every too-full test started from a rose that did not need water, so it failed for the other reason; and the shuffled-replay property rarely built a log where order changes anything. | **Fixed**: a full can from 0.39 overshoots and must not help; two waterings stored in reverse must still be two days. Lesson: `testing.md`. | +| 2 | Soul | After a month away she is dry (0), and a half can leaves her at 0.3, still below "enough": the player poured, she still waits. | **Kept, with care**: the can says *Her leaves lift* only when they do, and her line asks for water slowly. A fuller pour brings her back. If players read it as failure, R2's numbers change, not the rule. | +| 3 | Soul | Warmth counts recent days, a streak by another name. | Shown only on request, *resting* at none, never *0 of 7*, and it changes nothing. Watch it in the Phase 1 gate. | +| 4 | Soul | Drift could read as blame. | She is turned a little away and *waiting*; her first words are *"There you are."*; nothing says *forgot* or *missed* (`lint:copy` passes, copy read by hand). | +| 5 | Correctness | `amount` was added to a contract (§6.2). | R1. Required for water, refused elsewhere; Ajv, the generated type and storage's own check agree on 20 variants. The root `if`/`then`/`else` keeps `CareEvent` a strict interface (an `allOf` had added `[k: string]: unknown`). | +| 6 | Correctness | Two tabs creating two identities. | `keepIdentity` keeps the first in one transaction and returns it to both; tested with two connections racing. Two tabs **appending care** at once is fine: the log is append-only and the replay sorts by time. | +| 7 | Correctness | A DST day or a zone change. | The day of an act is recorded when it happens and never recomputed. Wind uses the local clock in the rose's zone. A player who changes their sunset town to another zone shifts later days only. | +| 8 | Privacy | A keypair now exists. | Made on the device; the private key is non-extractable (tested); nothing signs or sends anything. The public key appears only in the local log. | +| 9 | Privacy | The care log is a diary of when someone was in the app. | It never leaves the device; no feature reads it but the replay. Phase 3 must decide what a friend may see, against CLAUDE.md §6.3. | +| 10 | Scope | IndexedDB eviction can take the rose (CLAUDE.md §8, *the cruellest bug*). | **Not solved here**: G0.11 (`persist()`, export-my-rose) is now the most urgent open gap. | +| 11 | Design | The water meter is the browser's default green; *"The garden is being prepared."* is now a little stale. | Cosmetic, left for the garden's real art. | +| 12 | Accessibility | Holding is hard for some hands. | Space and Enter pour too (tested); the leaves lifting is announced (`role=status`); a short pour can be topped up. axe passes. Not tested with a real screen reader. | + +## What was not verified + +- A real phone, touch, Safari, Firefox, a screen reader. +- The tuning (R2, R4, R5, R6): no person has played it for a week. These are the author's to set. +- Wind and petals in the browser: their days depend on the random key, so e2e cannot predict them; + unit tests cover them with fixed keys. diff --git a/CLAUDE.md b/CLAUDE.md index f8a2980..93daeaf 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -116,7 +116,7 @@ feed of anything. ## 2. Repository layout Phase 0 scaffolded `schema`, `engine`, `content`, `ui`, `apps/rosea`, `tools/art-prep` and `art/`; -Phase 1 added `storage` (the `profile` store). `identity`, `sync` and `services/lucerna` arrive with their first feature, because an +Phase 1 added `storage` (`profile`, `events`, `keys`) and `identity` (a keypair). `sync` and `services/lucerna` arrive with their first feature, because an empty package has a test suite that runs nothing ([`phase0-workspace.md`](.agents/features/phase0-workspace.md) D1). ``` diff --git a/HANDOVER.md b/HANDOVER.md index 366e4d3..0332f70 100644 --- a/HANDOVER.md +++ b/HANDOVER.md @@ -12,8 +12,8 @@ Rewritten at the end of each session (CLAUDE.md §5.1). 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). -- **Gates:** all pass on this machine. Unit tests: 299 (schema 15, storage 18, content 71, - art-prep 56, engine 113, ui 26). E2E: 10. Offline: 1. `lint:copy`: 15 files, 0 problems. +- **Gates:** all pass on this machine. Unit tests: 358 (identity 5, schema 16, content 71, + storage 45, art-prep 56, engine 132, ui 33). E2E: 12. Offline: 1. `lint:copy`: 18 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 @@ -51,6 +51,17 @@ Rewritten at the end of each session (CLAUDE.md §5.1). header says which) and run it. Analysis: [`.agents/features/sunset-place.md`](.agents/features/sunset-place.md). Review: [`.agents/reviews/feature-sunset-place.md`](.agents/reviews/feature-sunset-place.md). +- **The rose (Phase 1):** merged to `main`. She stands in the garden with her face and says what + she needs. Water by holding the button until her leaves lift (Space or Enter too); shade her in + the wind, pull the weeds, gather fallen petals, each shown only when needed. She grows from days + on which care helped, drifts and waits when left, never loses her stage; her numbers are one tap + away. Every act is one append-only event in IndexedDB (`events`), replayed by `engine/rose`. The + care event gained `amount` for watering. `@rosea/identity` makes the player's keypair, kept in + `keys`. Analysis: [`.agents/features/rose.md`](.agents/features/rose.md). Review: + [`.agents/reviews/feature-rose-care.md`](.agents/reviews/feature-rose-care.md). +- **Most urgent open gap: G0.11.** There is now a rose to lose, and nothing yet asks the browser to + keep it or lets the player export it. + **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). The pipeline and the board are built; the first real picture is not made yet. Also open: a GitHub remote (G0.13). The Letter slot is built (G0.25). @@ -69,6 +80,10 @@ The notification decision is made: in-app only on the web (G0.26). and writes `final` back into the row. 4. **A GitHub repository** for Pages, and whether it is public (G0.13, G0.23). 5. **Upgrading Node** to ≥ 22.13 on this machine (G0.20). +6. **The rose's tuning** (`.agents/features/rose.md` R2, R4, R5, R6, all in `ROSE` in + `packages/engine/src/rose/rose.ts`): how fast she gets thirsty, how often weeds, petals and wind + come, and how many days of care each stage takes (full bloom after 25). Play it for a week, + then say what feels wrong. **How this machine works** (not in the code):