Compare commits

..

84 Commits

Author SHA1 Message Date
mnovak e0a3b66dc8 [content] Coyhaique: Merge the town list fix for Chile's clocks 2026-11-17 18:49:28 +01:00
mnovak 103283daaa [docs] Coyhaique: Review, lesson, and the Node gap narrowed 2026-11-17 18:49:28 +01:00
mnovak 96ac78d079 [build] Coyhaique: Never lint other sessions' worktrees or Rust build output 2026-11-17 18:49:27 +01:00
mnovak c2320a4517 [content] Coyhaique: Trust only a country's own zones, and give southern Chile its own clocks 2026-11-17 18:49:27 +01:00
mnovak 22f55dc9fa [art] BoardV2: Merge better prompts and every picture Phases 1-5 need 2026-11-07 15:40:52 +01:00
mnovak 96c0a2b00e [docs] BoardV2: Review, lesson, and the art gap updated 2026-11-07 15:40:51 +01:00
mnovak d968998f23 [art] BoardV2: Every picture Phases 1-5 need: 86 pictures, each with a stand-in 2026-11-07 15:38:35 +01:00
mnovak 5f2a5f3cfc [art] BoardV2: Prompts lead with the look, say the grid in words, and stop naming the book's motifs 2026-11-07 15:38:30 +01:00
mnovak e415d1ed29 [storage] TwoTabs: Merge two tabs, one garden 2026-11-07 15:07:43 +01:00
mnovak 8c19459bb6 [docs] TwoTabs: Analysis, review, the trap measured, G1.8 closed 2026-11-07 15:07:33 +01:00
mnovak b67fa3603d [ui] TwoTabs: The rose and the garden read again when another tab wrote, keeping their own 2026-11-07 15:06:44 +01:00
mnovak 102ac44675 [storage] TwoTabs: Announce each write to the other tabs after it commits 2026-11-07 15:06:43 +01:00
mnovak 0861125472 [ui] Thorns: Merge touching her gently 2026-11-02 09:33:58 +01:00
mnovak 87375c72d4 [docs] Thorns: Analysis, review, and G1.7 closed 2026-11-02 09:33:57 +01:00
mnovak 1070017d2c [ui] Thorns: Touch her over her picture; Gently. I have thorns. 2026-11-02 09:33:23 +01:00
mnovak ae1169ed6a [engine] Thorns: A touch is answered fondly; a rush brings her thorns, never a tremor 2026-11-02 09:33:22 +01:00
mnovak 03d41aa893 [ui] DaySentence: Merge the rose's folded petal and the sentence candidates 2026-11-02 09:04:13 +01:00
mnovak 838830e0ef [docs] DaySentence: Analysis, review, lessons, and G1.5 closed for the code 2026-11-02 09:03:56 +01:00
mnovak 781a2407b9 [content] DaySentence: 78 candidate sentences, copied from public-domain editions, for the author to verify 2026-11-02 09:01:53 +01:00
mnovak 1e647985ea [build] DaySentence: The build's cache key includes ROSEA_BASE and ROSEA_LIBRARY_DIR 2026-11-02 08:57:54 +01:00
mnovak 03dc69702a [ui] DaySentence: Her folded petal, the words and their source; the library bundled after validation 2026-11-02 08:55:06 +01:00
mnovak 5934523e45 [content] DaySentence: Candidates held to every rule; library:verify for the author 2026-11-02 08:55:06 +01:00
mnovak cdbaf56195 [storage] DaySentence: Opened petals in the log; the rose file carries them as version 2 2026-11-02 08:55:05 +01:00
mnovak 636c0bcbc0 [engine] DaySentence: The folded petal waits until opened, one a day, never lost 2026-11-02 08:55:05 +01:00
mnovak ad41c58730 [schema] DaySentence: The sentence-opened event, an id and never text 2026-11-02 08:55:04 +01:00
mnovak 9c7f67a1f0 [ui] ChairSunset: Merge the in-game sunset 2026-11-02 07:35:32 +01:00
mnovak 12fc4bd249 [docs] ChairSunset: Analysis, review, and G1.6 closed 2026-11-02 07:35:31 +01:00
mnovak 8e286b2bf6 [app] ChairSunset: e2e watches the in-game sunset; the offline suite watches one with the server gone 2026-11-02 07:35:31 +01:00
mnovak 7a6cf4c6d1 [ui] ChairSunset: Move the chair, half a minute of sunset with nothing to press, then the real one's time 2026-11-02 07:35:30 +01:00
mnovak a99dfe535d [app] CalmRefresh: Merge the calm refresh 2026-11-02 01:18:11 +01:00
mnovak ff3a996482 [docs] CalmRefresh: Analysis, review, and G0.10 closed 2026-11-02 01:18:10 +01:00
mnovak a5480d2877 [app] CalmRefresh: Register the worker in the app and offer the waiting version; e2e publishes a real second one 2026-11-02 01:18:09 +01:00
mnovak beea8eaa10 [ui] CalmRefresh: One quiet line and Refresh when a new version of the garden is waiting 2026-11-02 01:18:08 +01:00
mnovak 8c84cbbb52 [tools] CpuGuard: Merge the CPU guard 2026-11-02 00:51:47 +01:00
mnovak 8ee3e1ce28 [docs] CpuGuard: Record the guard in CLAUDE.md 5.7, its review, and G0.28 closed 2026-11-02 00:51:46 +01:00
mnovak f9883e22ba [tools] CpuGuard: Full test runs wait for, then refuse, a machine above 80 % CPU 2026-11-02 00:51:45 +01:00
mnovak 8b1c2eaee2 [app] KeepSafe: Merge keeping the rose safe 2026-11-02 00:44:28 +01:00
mnovak 55fc14b125 [docs] KeepSafe: Analysis, review, lessons, and G0.11 closed 2026-11-02 00:44:24 +01:00
mnovak e63563755b [app] KeepSafe: Wire persist, the file download and import; e2e restores her on a fresh profile 2026-11-02 00:44:22 +01:00
mnovak 512c300973 [ui] KeepSafe: Say what the browser promised, ask it to keep her, save her to a file, bring her back 2026-11-02 00:44:20 +01:00
mnovak a63232e8d7 [storage] RoseFile: Save the rose's keys and care to a file and bring them back additively; never the town or the private key 2026-11-02 00:44:18 +01:00
mnovak cc9cc11b0b [engine] Rose: Name a rose by her current and past keys, replay each key on its own, and add each act once 2026-11-02 00:44:16 +01:00
mnovak a7d0fca31a [app] Rose: Merge the rose and her care 2026-11-02 00:21:01 +01:00
mnovak aa1e8b6f66 [docs] Rose: Analysis, review, lesson, and G1.4 closed 2026-11-02 00:21:00 +01:00
mnovak 21f4496910 [app] Rose: Wire identity and the care log into the garden; e2e and offline tend the rose 2026-11-02 00:20:59 +01:00
mnovak 6a3ca84aaa [ui] Rose: The rose with her face and words, water by holding, care when needed, her numbers on request 2026-11-02 00:20:59 +01:00
mnovak 2b5cd719c1 [storage] CareLog: Append-only care events and the kept identity, checked against the contract 2026-11-02 00:20:58 +01:00
mnovak d091c31b49 [identity] Keypair: Make the player's ECDSA P-256 key on the device, private key non-extractable 2026-11-02 00:20:57 +01:00
mnovak 6fee00f5b3 [engine] Rose: Replay the care log into growth from days of care, drift, moods, needs and numbers 2026-11-02 00:20:57 +01:00
mnovak b150c64af7 [schema] CareEvent: Water carries the amount poured, so watering by feel can be replayed 2026-11-02 00:20:56 +01:00
mnovak 5e41a449a4 [app] SunsetPlace: Merge choosing where the sunset is 2026-11-02 00:01:53 +01:00
mnovak 6d29e4a4c9 [docs] SunsetPlace: Analysis, review, lessons, and G1.2 closed 2026-11-02 00:01:53 +01:00
mnovak 85df2c43b5 [app] SunsetPlace: Wire the town list, the guess and storage into the garden; e2e and offline cover it 2026-11-02 00:01:52 +01:00
mnovak 77a865f625 [ui] SunsetPlace: Ask where the sunset is, and say when tonight's sunset is 2026-11-02 00:01:51 +01:00
mnovak 3ed91eea7b [storage] Profile: Keep the sunset place in IndexedDB, written as a plain checked copy 2026-11-02 00:01:50 +01:00
mnovak 1e8d1cda5a [engine] Sun: nextInvitation checks yesterday, today and tomorrow; addDays steps the calendar; NamedPlace 2026-11-02 00:01:50 +01:00
mnovak fb7171c3a7 [content] Places: 7,342 public-domain towns searched on the device, and a sunset guess for every time zone a browser reports 2026-11-02 00:01:49 +01:00
mnovak 2b216855fc [docs] Q10: Merge the polar-night invitation decision 2026-11-01 23:28:06 +01:00
mnovak e8b7bdfebf [docs] Q10: Record the author's answer: in polar night the invitation comes at noon twilight 2026-11-01 23:28:06 +01:00
mnovak 84dc67076a [engine] Sun: Merge the sun module 2026-11-01 23:18:27 +01:00
mnovak abc5a5c3a8 [docs] Sun: Record the sun's review, Phase 1 gaps, Q10, and the polar and DST traps as measured 2026-11-01 23:18:26 +01:00
mnovak 08bc8b58fa [engine] Sun: Export sunDay and invitation from the engine 2026-11-01 23:18:26 +01:00
mnovak 793bcd7701 [engine] Sun: Compute sunrise, solar noon and sunset on the device, with polar day and night, checked against published tables 2026-11-01 23:18:25 +01:00
mnovak 2962b13696 [art-prep] FoxCoat: Merge the approved fox look 2026-11-01 22:58:50 +01:00
mnovak 118ad5a2d4 [art-prep] FoxCoat: Approve the fox's look with a deep red-orange coat instead of muted russet 2026-11-01 22:58:40 +01:00
mnovak 1f60ddd17a [art-prep] Phase2Pictures: Merge the Phase 2-3 pictures into the art board 2026-11-01 21:55:26 +01:00
mnovak ff9d7f0514 [docs] Phase2Pictures: Record the Phase 2-3 pictures, their review and the fox's draft look 2026-11-01 21:55:21 +01:00
mnovak a5dbd5251b [art-prep] Phase2Pictures: Add the fox, berries, bush, paths and lanterns to the art board, each card marked with its phase 2026-11-01 21:55:04 +01:00
mnovak 846d082003 [docs] ArtStyle: Merge the approved art style and the purity-lint warm-up 2026-11-01 21:31:38 +01:00
mnovak e0cbfc466a [engine] PurityLint: Load ESLint once in beforeAll so a cold start under load cannot time out the first case 2026-11-01 21:31:34 +01:00
mnovak 23e950c372 [docs] ArtStyle: Record Mark's approval of STYLE.md, S1-S5 kept as drafted 2026-11-01 21:31:28 +01:00
mnovak de2a999382 [art-prep] ArtBoard: Merge the art pipeline and the art board
docs/ART.md, a draft art/STYLE.md, the Phase 1 manifest, 29 stand-ins and
tools/art-prep. The board is a private claude.ai page. The app is unchanged.
Reviewed in .agents/reviews/feature-art-board.md.
2026-11-01 20:17:12 +01:00
mnovak 8426980bfa [docs] ArtBoard: Mark the art pipeline merged to main 2026-11-01 20:17:12 +01:00
mnovak 3ff14fab16 [docs] ArtBoard: Record the art pipeline, its review, and the board replacing the 127.0.0.1 page 2026-11-01 20:17:03 +01:00
mnovak f24597dfdb [art-prep] ArtBoard: Build prompts, stand-ins and the art board from the manifest, and accept pictures into art/final
tools/art-prep reads art/STYLE.md (draft) and art/manifest.json (25 Phase 1
pictures), refuses forbidden words in any prompt, writes 29 stand-ins and the
board files, and cuts and encodes accepted pictures as WebP within budget.
2026-11-01 20:16:59 +01:00
mnovak 1bfbd4a66c [ui] LetterSlot: Merge the page for A Letter from the Gardener
docs/LETTER.md holds slots as comments only; the page appears at #letter
once the author writes in it. Reviewed in .agents/reviews/feature-letter-slot.md.
2026-11-01 19:45:06 +01:00
mnovak 9d294096d9 [docs] LetterSlot: Mark the Letter slot merged to main 2026-11-01 19:45:06 +01:00
mnovak a200832cfb [ui] LetterSlot: Add the page for A Letter from the Gardener, shown once the author writes it
docs/LETTER.md holds slots as comments only, so the player sees no change
until the author writes. The app bundles the letter at build time, a small
Markdown subset renders without {@html}, only https: and tel: become links,
and lint:copy now reads the letter. Review found turbo replaying a stale
build after the letter changed; docs/LETTER.md is now in its cache key.
2026-11-01 15:39:17 +01:00
mnovak b871ab9899 [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.
2026-11-01 15:24:14 +01:00
mnovak 40f496d1ac [docs] Roadmap: Record the author's answers to Q1-Q7 in the docs and CLAUDE.md 2026-11-01 15:24:14 +01:00
mnovak 3829058e2e [repo] Roadmap: Read the roadmap and gameplay loop against the code
Phase 0 by the roadmap is larger than the merged workspace, so its gate is
recorded as open (G0.18, G0.24-G0.26). Eight questions for the author are
listed in the review rather than resolved by editing the author's docs.
2026-11-01 12:35:28 +01:00
mnovak 68d9c60c14 [docs] Roadmap: Add the author's phase plan and gameplay loop 2026-11-01 12:35:28 +01:00
mnovak 12f5179688 [repo] Handover: Record the Phase 0 merge and post-merge gate run
FEATURES, the analysis, the review and HANDOVER now say merged (d11d242).
The frozen-lockfile install passed on the merged tree.
2026-11-01 01:21:18 +01:00
mnovak d11d2425ee [repo] Workspace: Merge Phase 0 — workspace, contracts, gates and the PWA shell
Analysis: .agents/features/phase0-workspace.md
Review: .agents/reviews/feature-phase0-workspace.md
2026-11-01 01:19:50 +01:00
261 changed files with 17593 additions and 118 deletions
+14 -1
View File
@@ -5,4 +5,17 @@ One row per feature, with its analysis document (CLAUDE.md §5.1). Gaps live in
| Feature | Phase | Status | Analysis | Review | | Feature | Phase | Status | Analysis | Review |
|:--|:--|:--|:--|:--| |:--|:--|:--|:--|:--|
| Workspace, contracts, gates, PWA shell | 0 | Built on `feature/phase0-workspace`, not merged | [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) |
| 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) |
| Two tabs, one garden: what one tab writes, the others see | 1 | Merged to `main`; built, not deployed | [two-tabs.md](features/two-tabs.md) | [fix-two-tabs.md](reviews/fix-two-tabs.md) |
| Thorns: touch her; a rush of taps, and she says she has thorns | 1 | Merged to `main`; built, not deployed | [thorns.md](features/thorns.md) | [feature-thorns.md](reviews/feature-thorns.md) |
| The day's sentence: her folded petal, one a day, never lost, best at sunset; candidates and `library:verify` | 1 | Merged to `main`; built, not deployed. Invisible until the author verifies sentences | [day-sentence.md](features/day-sentence.md) | [feature-day-sentence.md](reviews/feature-day-sentence.md) |
| The in-game sunset: move the chair, half a minute of silence, then the real sunset's time | 1 | Merged to `main`; built, not deployed | [chair-sunset.md](features/chair-sunset.md) | [feature-chair-sunset.md](reviews/feature-chair-sunset.md) |
| A calm refresh: a waiting new version is offered in one line, never swapped in by itself | 0 | Merged to `main`; built, not deployed | [calm-refresh.md](features/calm-refresh.md) | [feature-calm-refresh.md](reviews/feature-calm-refresh.md) |
| The CPU guard: full runs wait for, then refuse, a busy machine | 0 | Merged to `main` | — | [fix-cpu-guard.md](reviews/fix-cpu-guard.md) |
| Keep her safe: the browser's promise, save her to a file, bring her back | 0–1 | Merged to `main`; built, not deployed | [keep-her-safe.md](features/keep-her-safe.md) | [feature-keep-her-safe.md](reviews/feature-keep-her-safe.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) |
+57 -12
View File
@@ -3,11 +3,17 @@
What the product needs that it does not have yet, and what was closed. A closed gap 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). 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 Ids are `G<phase>.<n>`. Phases follow [`docs/ROADMAP.md`](../docs/ROADMAP.md). The
provisional. Phase 0 is defined in workspace part of Phase 0 is in
[`features/phase0-workspace.md`](features/phase0-workspace.md). [`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): the pipeline and the
board exist, and the first real picture is the author's to make.
| Id | Gap | Status / evidence | | Id | Gap | Status / evidence |
|:--|:--|:--| |:--|:--|:--|
@@ -20,17 +26,56 @@ provisional. Phase 0 is defined in
| ~~G0.7~~ | ~~No commit guards~~ | Closed 2026-11-01. `pre-commit` blocked a 5.7 MB probe; `commit-msg` blocked a `Co-Authored-By: Claude` trailer; both passed clean input. | | ~~G0.7~~ | ~~No commit guards~~ | Closed 2026-11-01. `pre-commit` blocked a 5.7 MB probe; `commit-msg` blocked a `Co-Authored-By: Claude` trailer; both passed clean input. |
| ~~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.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.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.10~~ | ~~No calm *refresh* control for a waiting service worker (CLAUDE.md §8, stale SW)~~ | Closed 2026-11-02 on `feature/calm-refresh`: the app registers the worker and shows *A new version of the garden is ready.* with *Refresh*. e2e publishes a real second version: offered, not swapped, then taken over on Refresh; 3 of 3 put-back bugs caught. |
| 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)~~ | Closed 2026-11-02 on `feature/keep-her-safe`: *Keep her safe* asks the browser (and an installed app asks by itself), saves her to a file without the town or the private key, and brings her back additively on any device. e2e: saved on one browser profile, restored on a fresh one, survives a reload. Not seen in Firefox or Safari. |
| 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.12 | The app cannot validate content in the browser | Narrowed 2026-11-02 (day-sentence.md P5): the library is bundled at build time, after `validate:library` passes, so the app never validates it. Reopens only if content is ever fetched at runtime; then it needs standalone pre-compiled validators (Ajv compiles with `new Function`, which the CSP forbids). |
| G0.13 | No GitHub remote, no Pages deploy workflow, no mirror check (§5.2) | Open. Only the Gitea remote exists. | | 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.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.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.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.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). Since 2026-11-02 candidates wait in `content/candidates/`, each with where to read it; the author verifies with `pnpm library:verify <id…> --by <name>` (day-sentence.md P8). |
| G0.19 | Event kinds other than `care` | Open. Wait for GAMEPLAY.md: their fields are game design. | | 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.20 | Node 22.11 on the dev machine is below what some pinned dependencies declare | Narrowed 2026-11-17: the machine runs **Node 22.23.4** (upgraded by the author). Its newer time zone data exposed a stale town list, fixed on `fix/coyhaique` (Santiago had been on a southern zone's clock since the first build). **Still open:** unpin the dependencies pinned for 22.11 (D11), in their own commit. |
| G0.21 | No PNG icons | Open (predicted trap). iOS ignores SVG for `apple-touch-icon`. Comes through the art pipeline. | | 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.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.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` | **Pipeline built 2026-11-01** (`feature/art-board`): docs/ART.md, the Phase 1 manifest (25 pictures), 29 generated stand-ins, `tools/art-prep` (50 tests; 5 of 5 put-back bugs caught), the art board published. STYLE.md approved by the author 2026-11-01 (S1–S5 kept as drafted; `docs/style-approved`). The board grew to 53 pictures with Phases 2–3 (`art/phase2-3-pictures`); the fox's look F1–F4 approved with a deep red-orange coat (`art/fox-coat`). 2026-11-07, `art/board-v2`: the first `rose-sheet` came out as watercolour with a smiley on a ball; STYLE.md §1 and every prompt rewritten (look first, face on the petals, no pixel numbers, the book's motifs checked in review, not named), and the board grew to 86 pictures for Phases 1–5 (board version 4). **Still open:** the **Phase 0 gate**, one real picture through every step into `art/final/`. |
| ~~G0.25~~ | ~~No slot for *A Letter from the Gardener*~~ | Closed 2026-11-01, merged to `main`. `docs/LETTER.md` holds slots as comments only; the page opens at `#letter` once it has words. 16 ui tests, and e2e on both the empty and a temporary written letter. Mutations caught: the link while empty, any link scheme, focus not moving, *heal* in the letter. |
| ~~G0.28~~ | ~~CLAUDE.md §5.7's CPU limit was only read, and broken three times on 2026-11-02~~ | Closed 2026-11-02 on `fix/cpu-guard`: `pnpm guard:cpu` runs before every full run, waits up to 3 min, then refuses. 13 tests; seen waiting 51 s on a busy machine, refusing, and stopping `pnpm test` before any test ran. |
| G0.27 | The quiet door to real help has no numbers (§5.6 rule 5) | Open. The slot is in `docs/LETTER.md`. Support lines are real-world facts the author must verify, per country, so the door exists only once the letter does. |
| ~~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. |
## Phase 1 — The rose alone
**Started 2026-11-01** with the sun, while the Phase 0 gate waits on the author (pictures,
sentences). Nothing in Phase 1 is visible to the player yet.
| Id | Gap | Status / evidence |
|:--|:--|:--|
| ~~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~~ | Closed 2026-11-02 on `feature/day-sentence`, for the code: `engine/petal` (5 properties: never lost, verified-later never swaps it, one a day, no repeat until all opened), the `sentence-opened` event, the rose file v2, the petal in the garden; e2e opens one in a fixture build and reloads. 9 of 9 put-back bugs caught. **The shipped app shows no petal until the author verifies sentences (G0.18).** |
| ~~G1.6~~ | ~~The in-game sunset: move the chair, watch it again~~ | Closed 2026-11-02 on `feature/chair-sunset`: half a minute with nothing to press, then the real sunset's time; Escape and a tap leave; the offline suite watches one with the server gone. 4 of 4 put-back bugs caught. |
| ~~G1.7~~ | ~~Thorns were on the roadmap but undesigned~~ | Closed 2026-11-02 on `feature/thorns`, as the author chose: thorns teach gentleness. `engine/touch` (2 properties: spaced taps are never a rush; one blush a visit); a tremor is one touch; nothing recorded. 6 of 6 put-back bugs caught. |
| ~~G1.8~~ | ~~Two tabs (CLAUDE.md §8, predicted)~~ | Closed 2026-11-07 on `fix/two-tabs`. Measured first: two e2e tests failed (an open tab saw neither care nor a town from the other). Storage announces committed writes on a `BroadcastChannel`; the rose and the garden read again, adding to what they show. No lock needed: nothing stored drifts. 7 of 7 put-back bugs caught. |
| G1.3 | Towns have no Czech names (*Vídeň*) | Open. Natural Earth has none; arrives with Czech copy. |
## 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 |
| ~~Q10~~ | In polar night, when should the invitation come? | At solar noon, when the twilight is brightest: answered by the author 2026-11-01 (`features/sun.md` D4). In polar day it is the lowest light, as CLAUDE.md §8 suggests. |
| Q9 | May the Letter name the book and its author for the one sentence of inspiration (GAMEPLAY §7)? | Open. `lint:copy` refuses those names in the letter as everywhere in the product. A yes needs a written, letter-only exemption. |
+105
View File
@@ -0,0 +1,105 @@
# The art pipeline and the art board
Status: merged to `main`, reviewed in
[`feature-art-board.md`](../reviews/feature-art-board.md). Gap: G0.24. Roadmap: Phase 0, *art/STYLE.md
drafted with Mark, art/manifest.json for Phase 1 assets, Claude's SVG placeholders, and the art
preparation page working end to end on one asset.* The pipeline itself is [`docs/ART.md`](../../docs/ART.md).
---
## 1. Why and what, in the player's terms
The player never sees this feature. They see what it produces: one rose who looks the same in
every picture, a garden whose light follows the real day, and nothing that looks copied from
the book. Without a pipeline, each picture is a separate gamble. The rose's face drifts
between pictures, a glass dome sneaks in from the generator's memory of the book, and a 3 MB
PNG lands in the precache.
For Mark it is a board. Every picture the game needs sits on one page with the prompt that
makes it. He copies the prompt and pastes back what the generator made. The board measures the
picture, Claude reviews it, and he taps *Accept*. Claude moves it into the game.
## 2. Technical architecture
```mermaid
flowchart LR
style["art/STYLE.md"]
manifest["art/manifest.json"]
content["packages/content<br/>findForbidden"]
schema["packages/schema<br/>PRODUCT_NAME"]
prep["tools/art-prep<br/>manifest.ts · prompt.ts · placeholders.ts<br/>board.ts · accept.ts"]
placeholders["art/placeholders/*.svg"]
dist["tools/art-prep/dist/board/<br/>index.html · board-data.json · placeholders/"]
board["Art board<br/>claude.ai artifact: db + assets"]
final["art/final/*.webp"]
style --> prep
manifest --> prep
content --> prep
schema --> prep
prep -- "pnpm art:board" --> placeholders
prep -- "pnpm art:board" --> dist
dist -- "Claude publishes" --> board
board -- "Claude downloads the accepted picture;<br/>pnpm art:accept" --> final
```
`tools/art-prep` is a workspace package (`@rosea/art-prep`) so that it gets its own tests,
typecheck and lint. Nothing imports it: not the app, not the packages.
### Decisions
| # | Decision | Why |
|:--|:--|:--|
| A1 | The art preparation page is a **private claude.ai artifact**, the Panda Domi board adapted, not a page on 127.0.0.1. | Mark asked for this board. It works from his phone, keeps the pictures between sessions, and Claude can read its rows and images. The roadmap and CLAUDE.md now say so (ROADMAP Phase 0, *Decided 2026-11-01*). |
| A2 | Prompts are **built, never typed**: STYLE.md §1 plus the manifest's words. STYLE.md is the only copy of the style prompt and the review points. | The same words describe the rose every time, so she stays the same rose. Changing the style means editing one file. |
| A3 | The manifest is **checked before any prompt exists**. That covers sizes generators offer, grids that divide into whole pixels, unique ids, characters with sheets, transparent sprites and layers, and **every forbidden word** from `@rosea/content`. | A prompt naming the book is how a likeness gets in (§8). Prompts are not player copy, so `lint:copy` never reads them. |
| A4 | Every prompt ends with a **shared avoid list**: glass dome, folding screen, tiny round planet, desert, scarf, *the look of any existing book's drawings*. | The book's most recognisable images are the ones a generator will reach for when it hears *rose* and *fox*. |
| A5 | **The sky is code.** Garden pictures are layers, transparent above a horizon at 40 %. | The sun follows the player's real time and the stars are the real constellations (CLAUDE.md §1). A painted sky could be neither. |
| A6 | **Sprite sheets** come with exact pixel geometry: cut lines, cell centres, a safe box at 12 % of the cell's shorter side. Each cell can also be made *one at a time*. | Taken from the Panda Domi board, where a sheet's drift off the grid was the common failure. |
| A7 | `art:accept` **refuses rather than guesses**. A sheet with an empty or painted cell is refused whole, a transparent picture with an opaque background is refused, and so is a file still over budget at WebP quality 62. A full picture is cropped to shape, then only ever shrunk. | A cut that "mostly worked" ships a broken picture. Every final picture is precached, so the budget is real bandwidth on a player's phone. |
| A8 | Stand-ins are **generated** from the same manifest and committed in `art/placeholders/`. A test fails if they drift. | The board and, from Phase 1, the app both show them. One manifest change must update both. |
| A9 | The board's page takes the product name from `@rosea/schema` (`%PRODUCT_NAME%`). | Renaming stays a one-commit operation (CLAUDE.md preamble). |
| A10 | Claude writes its review and the `final` paths into the board's rows. The card shows them. | Mark sees on the card what Claude checked and whether the picture is in the game, with no separate report to read. |
| A11 | *Added 2026-11-01 (`art/phase2-3-pictures`).* The manifest also holds Phase 2 (the fox, berries, the bush, the brush) and the Phase 3 pictures whose mechanics are already decided (paths, lanterns). Every card carries a `phase`, the manifest lists phases in order, and the board shows *Phase N* on each card. | Mark asked for more pictures on the board. Making them now lets the fox's look settle before Phase 2 code depends on it. The phase on the card keeps a Phase 3 picture from being taken for something Phase 1 needs. |
| A12 | **The planets are not on the board.** | Each planet is designed in its own feature doc (ROADMAP Phase 2), and their grown-ups are the book's most recognisable drawings. Asking for pictures before the design exists would fix a look with the highest likeness risk and no design behind it. |
| A13 | The fox is a second character with his own sheet (`fox-sheet`) and two review points (STYLE.md §7, 8–9). His look (F1–F4 in STYLE.md §0) was a draft, and Mark approved it on 2026-11-01 with one change: a deep red-orange coat (`#BC4A22`) instead of muted russet (`art/fox-coat`). | The same mechanism that keeps the rose consistent, reused. The draft was marked as one, so the rose's approval was not stretched over choices he had not seen. |
| A14 | A stand-in with no drawing **stops the build**. Before this, an unknown cell got an empty box. | 28 new pictures made a silent blank likely. A blank stand-in looks like a layout bug, not a missing drawing. |
## 3. Risk analysis
| Risk | Where | Defence |
|:--|:--|:--|
| **A picture that looks like the book** (copyright, and the product claiming a lineage it promised not to, GAMEPLAY §8) | Prompts; generated pictures | A3, A4. STYLE.md §8 makes likeness Claude's first review check. Mark's eye is the last gate. No automatic likeness check exists (docs/ART.md §5). |
| **A rose who looks hurt or sad because of the player** (a lonely person feeling worse, §8 *drift that reads as blame*) | `rose-waiting`, `rose-thirsty`, `rose-overwatered` prompts | Their prompts say *tired, not hurt*, *gently comic, never ill*, *quiet, waiting with patience, never sad, hurt or blaming*. Review point 7 is about exactly this. |
| **Words painted into a picture**, bypassing the copy library | Generated pictures | Every prompt forbids text. Claude's review refuses painted words (STYLE.md §8). The petal's words are added in code. |
| **Player data leaving the device** | The board | None can. The board holds only generated art and Mark's notes, and the app never talks to it (docs/ART.md §3, *Privacy*). |
| **Someone being reachable** | — | Not applicable: no player is involved. |
| **A huge bundle on a phone** | `art/final/` | A7's budgets: about 1.4 MB for the four layers, 120 KB per small picture. |
| **The board and the repo disagree** | Manifest changes | `art:board` rewrites `art/placeholders/` from the manifest, and the drift test fails until it is run. The board is republished from the same build. |
## 4. Gap analysis and the designed solution
| Gap (G0.24) | Solution | State |
|:--|:--|:--|
| No `docs/ART.md` | Written: the six steps, the manifest's rules, the board, budgets, what's missing | Done |
| No `art/STYLE.md` "drafted with Mark" | A draft by Claude, with its open choices S1–S5 listed for Mark | Done: Mark kept the draft, 2026-11-01 |
| No `art/manifest.json` | 11 cards, 25 Phase 1 pictures: rose sheet, stages, care, moments, care things, chair, four garden layers, icon. Since A11: 18 cards and 53 pictures, the 28 more for Phases 2–3 | Done |
| No SVG placeholders | 29 stand-ins, generated and committed; 63 since A11 | Done |
| No art preparation page | The art board, published (A1) | Done |
| **Phase 0 gate:** one picture through the pipeline into `art/final/` | Every step exists and is tested with synthetic pictures | **Open.** It waits on Mark making and accepting the first real picture |
## 5. Verification matrix
| Case | Kind | Where |
|:--|:--|:--|
| The real manifest passes every check | unit | `tools/art-prep/test/manifest.test.ts` |
| Each manifest rule fires: a repeated id, cell id clash, bad id, odd size, cell/grid mismatch, non-dividing grid, grid on a single, unknown character, shipped sheet, opaque sprite, missing review point, a phase outside 1–6, phases out of order, no subject, unused picture, a book name, a medical word, *lonely* in the avoid list, a missing or wrong sheet | unit (19 cases) | same |
| STYLE.md §1 and §7 are read exactly; a missing section is an error | unit | `prompt.test.ts` |
| All 63 prompts start with §1 word for word, carry the shared avoid list, and contain no forbidden term | unit | same |
| Rose prompts ask for `rose-sheet`; the sheet itself doesn't. Fox prompts, one-at-a-time ones included, ask for `fox-sheet` and never name `rose-sheet` | unit | same |
| Grid numbers in the prompt equal `cellBoxes`; tall cells made alone use 1024 × 1536 | unit | same |
| The board data has the shape the page reads; every kind has a group on the page; the page never spells the product name | unit | `board.test.ts` |
| A stand-in for every picture and cell, at its size, loading nothing; `art/placeholders/` equals the generator's output; a picture with no drawing stops the build; every card shows its phase | unit | same |
| `art:accept`: single picture to WebP within budget; opaque refused; sheet cut into its cells; any-size sheet cut by grid with a note; empty cell refused by name; painted cell refused; edge-touch warned; solo cell fitted; a layer's clear sky required; a wrong-shape full picture cropped, never enlarged; over budget refused; unknown id or non-image refused | unit, real sharp (12 cases) | `accept.test.ts` |
| The board renders: 11 cards, 18 cells, 5 groups, no broken stand-in, no sideways scroll. Since A11: 18 cards, *Phase N* on each | manual, built page on 127.0.0.1 | the reviews |
| The published board's store starts empty | manual (`ArtifactData list art`) | the review |
| **One real picture end to end** | manual, Mark | **not done**: the Phase 0 gate |
+62
View File
@@ -0,0 +1,62 @@
# A calm refresh — when a new version of the garden is waiting
Status: built on `feature/calm-refresh`. Gap G0.10; CLAUDE.md §8, *the stale service worker: a
precached shell keeps serving old JS to a player who has "updated". Detect a waiting worker and offer
an explicit, calm refresh control.* Needed before the Phase 1 gate, where the author plays the
installed app daily while fixes are deployed. Review:
[`feature-calm-refresh.md`](../reviews/feature-calm-refresh.md).
## 1. Why and what, in the player's terms
The garden works offline because a service worker keeps a copy of it. When a new version is
published, the browser fetches it in the background and **waits**: the garden the player has open
never changes under their hands. When the new one is ready, one quiet line appears at the foot of
the page: **"A new version of the garden is ready."** with a **Refresh** button. The player
refreshes when they like; nothing is lost either way, since the rose lives in the device's
database, not in the code.
## 2. Technical architecture
```mermaid
sequenceDiagram
participant P as the open garden (version A)
participant B as the browser
participant S as the server
B->>S: sw.js (on a navigation or a check)
S-->>B: version B's bytes differ
B->>B: install B, precache; B waits (skipWaiting: false)
B-->>P: "waiting" (workbox-window, via virtual:pwa-register)
P->>P: show "A new version of the garden is ready." + Refresh
P->>B: Refresh: SKIP_WAITING to B
B-->>P: B controls; the page reloads under B
```
| # | Decision | Why |
|:--|:--|:--|
| U1 | Register through `virtual:pwa-register` in the app; `injectRegister: false`. | The emitted `registerSW.js` registers but tells the page nothing; the virtual module reports the waiting worker. Bundled, so the CSP needs no inline script. |
| U2 | **Never refresh by itself.** The line waits for the player. | CLAUDE.md §1, *gentle*; a reload in the middle of pouring water would lose the pour. |
| U3 | The line sits in its own `aside` at the foot, on the garden and the Letter alike. | It is about the whole app, not one page; a landmark keeps it findable. |
| U4 | The e2e test serves a **real second version** (version A's build with `sw.js` changed) from the same origin. | A waiting worker exists only between two builds; a mock would test the mock. |
## 3. Risk analysis
| Risk | Answer |
|:--|:--|
| A player keeps old code forever and never sees a fix. | The line appears as soon as a new worker waits; tested end to end. |
| A silent swap mid-action loses care. | U2; the test asserts the old worker still controls the page until Refresh. |
| Feeling pushed. | One line, no badge, no repeat, no count; nothing happens if it is ignored. |
| Privacy | Nothing new leaves the device: update checks were already made by the browser to the same origin. |
## 4. Gaps
| Gap | State |
|:--|:--|
| G0.10 | Built |
| What changed in a version (release notes) | Open: not needed for the Phase 1 gate |
## 5. Verification matrix
| Case | Kind | Where |
|:--|:--|:--|
| No line without a waiting version; the line and Refresh when there is one; Refresh calls the app; on the Letter too | unit | `ui/test/Shell.test.ts` |
| Built app: version A controls; version B published; the line appears; A still controls; Refresh; B controls and the line is gone; axe | e2e | `e2e/update.spec.ts` |
+53
View File
@@ -0,0 +1,53 @@
# The in-game sunset — move the chair, watch it again
Status: built on `feature/chair-sunset`. ROADMAP Phase 1: *the in-game sunset — move the chair, watch
it again — as comfort and rehearsal; it tells the player when the real one is tonight.* CLAUDE.md §1,
§7 (*silence is a feature: sunset … has moments with no buttons at all*). Review:
[`feature-chair-sunset.md`](../reviews/feature-chair-sunset.md).
## 1. Why and what, in the player's terms
Under tonight's sunset line there is **Move the chair**. The garden turns into a quiet scene: the chair
on the hillside, the sky going from day to amber to coral to dusk, the sun sinking behind the western
horizon. **Half a minute, and nothing to press.** Then one line says when the real one is tonight, and
two quiet choices: *Watch it again*, *Back to the rose*.
It is a rehearsal, never a replacement: it counts for nothing, logs nothing, and its last words point
at the real sky.
## 2. Technical architecture
```mermaid
flowchart LR
shell["Shell.svelte<br/>Move the chair"] --> scene["ChairSunset.svelte<br/>dialog: sky + sun in CSS,<br/>garden-sunset and chair stand-ins"]
scene -->|"after 30 s"| line["SunsetLine<br/>tonight's real sunset"]
line --> engine["engine nextInvitation"]
```
| # | Decision | Why |
|:--|:--|:--|
| C1 | The sky and the sun are **drawn in code** (CSS gradients and one disc) behind the garden layer, which is transparent above its horizon. | STYLE.md S5: the sky is never painted, so the same layer serves the real-time sky later. |
| C2 | **No visible button for 30 s.** Escape, or a tap anywhere, comes back early; a screen-reader-only line says so. | Silence (CLAUDE.md §7) without a trap: a keyboard or screen-reader user is never stuck. |
| C3 | It is a modal dialog; focus goes into it and returns to *Move the chair*. | Accessibility is not a phase. |
| C4 | **Nothing is logged.** No event kind, no count. | Rehearsal, not achievement; the real sunset's event (`sunset`, CLAUDE.md §6.2) belongs to the real one. |
| C5 | With reduced motion, the scene shows dusk at once, still, for the same half minute. | Global `prefers-reduced-motion` rule in `tokens.css`. |
## 3. Risk analysis
| Risk | Answer |
|:--|:--|
| **Dependence**: the screen sunset replaces the real one. | Its last line is the real sunset's time; nothing rewards watching it. |
| **A trap**: a full-screen scene with no buttons. | C2, C3; tested by keyboard. |
| **Motion** for people sensitive to it. | C5. |
| Privacy, reachability | None: nothing is stored or sent. |
## 4. Verification matrix
| Case | Kind | Where |
|:--|:--|:--|
| Move the chair opens a labelled dialog with no button in it; after 30 s, the real sunset's line, *Watch it again*, *Back to the rose* | unit | `ui/test/chair-sunset.test.ts` |
| Escape and a tap come back early; focus returns to *Move the chair* | unit | same |
| Watch it again starts it over | unit | same |
| With no town and no guess, the line asks for a town | unit | same |
| Built app: watch it with the clock driven; axe during and after | e2e | `e2e/shell.spec.ts` |
| Offline: watch an in-game sunset with the server gone (CLAUDE.md §3) | offline | `e2e/offline.spec.ts` |
+97
View File
@@ -0,0 +1,97 @@
# The day's sentence — the rose's folded petal
Status: built on `feature/day-sentence`. ROADMAP Phase 1: *the day's sentence comes from the rose: she
waits with a folded petal; sunset is the best moment to open it, but it is never lost and no streak
exists.* GAMEPLAY.md §1: *coming back on nearby days gives a little more (e.g. an earlier sentence
remembered). A gap is never punished.* CLAUDE.md §1, §5.5 (*an unopened sentence is never lost*),
§6.1, §6.2. Review: [`feature-day-sentence.md`](../reviews/feature-day-sentence.md).
## 1. Why and what, in the player's terms
When the rose needs nothing, she says *I am keeping a folded petal for you.* A folded petal lies by
her, and one button: **Open her petal**. It opens into one sentence of hope, with where it comes from in
small print.
- **One a day.** Once opened, it stays open for the rest of the local day (*Today's petal*); a new
one is folded tomorrow.
- **Never lost.** A petal not opened today is the same petal tomorrow, and next week. There is no pile
of missed petals and nothing says how many days passed.
- **Sunset is the best moment.** Around the real sunset (the same moment the sunset line names; in
polar day the lowest light, in polar night the brightest twilight) she says *The sun is low now.
Would you open my petal?* Opened then, she adds: *Go and look at the sky. I will be here.* It can
be opened at any other time too, with no difference in what it gives.
- **Nearby days give a little more.** If the last petal was opened at most three days ago, she also
remembers one opened before: *Do you remember this one?* After a longer gap she simply gives the
day's petal. The gap is not mentioned.
- **No library, no petal.** Until the author has verified sentences, she holds no petal and says
nothing about one. Nothing on screen points at the absence.
Nothing is counted: there is no number of petals, no list of all of them, no record of when.
## 2. Technical architecture
```mermaid
flowchart LR
lib["content/library/*.json<br/>(verified by the author)"] -->|"build: validate:library,<br/>then virtual:rosea-library"| app["apps/rosea<br/>App.svelte"]
cand["content/candidates/*.json<br/>(proposed, unverified)"] -->|"pnpm library:verify id… --by Name<br/>(the author only)"| lib
app --> ui["packages/ui<br/>Rose.svelte + Petal.svelte"]
ui --> engine["packages/engine<br/>petal/petal.ts: petalAt, goodMoment"]
engine --> schema["packages/schema<br/>sentence-opened.schema.json"]
ui -->|"appendOpened"| storage["packages/storage<br/>events store, rose file v2"]
```
| # | Decision | Why |
|:--|:--|:--|
| P1 | **The petal is the next sentence in one fixed order**, and the order moves only when a petal is opened. The order: sunset sentences never opened, by `verifiedAt` then a hash of the id; once all are opened, the one opened longest ago. | *Never lost* (CLAUDE.md §5.5) follows from the order: nothing advances by itself. Verifying new sentences adds them after the ones already verified, so it never swaps the petal she holds. With ≥ 365 sentences, none repeats within a year of daily opening. The hash mixes traditions, so the first days are not all one book. |
| P2 | **One opening per local day.** The first `sentence-opened` event of a local day is that day's petal; a second tab's later one changes nothing. | No farming, no reason to stay. `localDay` is the one recorded in the event (CLAUDE.md §7). |
| P3 | **Remembering** needs the previous opening ≤ `PETAL.nearDays` (3) local days before today and an earlier sentence to recall; which one is a pure, seeded choice per day. | GAMEPLAY §1. A gap is never shown: the extra line is simply absent. Tuning is the author's, in `PETAL`. |
| P4 | **The good moment** is `PETAL.beforeMinutes` (60) before to `PETAL.afterMinutes` (60) after the sun module's `invitation`. It changes only her words. | One sun module (CLAUDE.md §7); the best moment is offered, not rewarded (*Gentle*). |
| P5 | **The library is bundled at build time** through a Vite virtual module that reads `content/library/*.json`; the app build first runs `validate:library` and fails if it fails. The app never validates in the browser. | Sidesteps G0.12 (Ajv needs `new Function`; the CSP forbids it) without a second validator: what ships is exactly what passed the gate. `ROSEA_LIBRARY_DIR` swaps the folder for the e2e build. |
| P6 | **A new event kind, `sentence-opened`** (`ts`, `localDay`, `from`, `messageId`, `clientVersion`), appended to the same `events` store. | CLAUDE.md §6.2: adding a kind is the only sanctioned way to make something derivable. |
| P7 | **The rose file becomes version 2** with an `opened` list beside `events`; version 1 files are still read. | Her petals move with her to a new device, so the order continues instead of starting over. |
| P8 | **Candidates live in `content/candidates/`**, in the library's shape without `publicDomain`, `verifiedBy`, `verifiedAt`, and with a `check` (where to read it). `validate:library` holds them to every rule but verification, so the author is never asked to verify a line that would fail. `pnpm library:verify <id…> --by <name>` moves them into the library with today's date. **Agents never run it.** | D4 of phase0-workspace: `verifiedBy` is a person. The command only saves the author hand-editing JSON. |
| P9 | The source is shown under the sentence (work, author, translation). | Honesty about where words come from; it also tells a believer and a non-believer what kind of line it is. |
## 3. Risk analysis
| Risk | Answer |
|:--|:--|
| **Guilt**: a pile of unopened petals after an absence. | P1: there is only ever one petal. Nothing names the days between. |
| **Streak creep**: remembering on nearby days is a streak in disguise. | P3 rewards nothing visible and counts nothing; after a gap the day's petal is exactly as full. It is a small gift, not a bar to keep up. Reviewed in `soul.md` terms in the review. |
| **Dependence**: a reason to stay in the app. | One petal a day; at the good moment her words send the player outside. |
| **Comfort becomes wallpaper** (CLAUDE.md §8). | No repeat until every sentence has been opened once (P1). |
| **A hollow or harmful sentence**: a promise, a medical word, the unnamed state. | The validator's rules (§5.6), held for candidates too (P8); the author verifies every line. |
| **Copyright**: a modern translation slips in. | The translation list in `validator.ts`; additions need a dated reason. Candidates carry `check.publicDomain`. |
| **Privacy**: which sentences were opened. | Stays on the device; the rose file holds it, never the town. Nothing is sent. |
| Reachability | None: nothing reaches another person. |
| **Offline** | The library is precached in the bundle; opening appends to IndexedDB. |
## 4. Gap analysis
- **G1.5** (the day's sentence) closes with this, except that the library is still empty: the petal
appears in the shipped app only once the author verifies sentences (G0.18).
- **G0.12** narrows: the app does not need to validate content in the browser while the library is
bundled. It reopens if the library is ever fetched at runtime.
- **Not done:** Czech text (`text.cs`) is not shown yet (Czech copy arrives as a whole, G1.3); a
collection of past petals (an album) is not designed.
## 5. Verification matrix
| Case | Kind | Where |
|:--|:--|:--|
| No sentences: nothing; first visit: the first in order is folded | unit | `engine/test/petal.test.ts` |
| Opening today: open for the rest of the day; tomorrow: the next one folded | unit | same |
| **Property:** with no opening, the folded petal is the same on every day | property | same |
| **Property:** adding sentences verified later never changes the folded petal | property | same |
| **Property:** at most one opening per local day counts; a second changes nothing | property | same |
| **Property:** no repeat until every sentence was opened; then the least recent | property | same |
| Remembering: at 1–3 days a recalled earlier one; at 4+ none; never today's own | unit | same |
| Good moment: inside ±60 min of the invitation; polar day and polar night | unit | same |
| Events from other roses' keys are ignored; past keys count | unit | same |
| The schema accepts the event and rejects free text in `messageId` | unit | `schema/test` |
| Storage: append and load opened; `loadCare` ignores them quietly; rose file v2 out, v1 and v2 in, additive | unit | `storage/test` |
| Candidates: held to every rule; `library:verify` moves, stamps, refuses an unknown id or a failing line | unit | `content/test` |
| UI: says the petal line only when she needs nothing; Open; source shown; today's petal again; remembered line; sky line at the good moment; empty library shows nothing | unit | `ui/test/petal.test.ts` |
| Built app with a fixture library: open the petal, reload, still open; axe | e2e | `e2e/petal.spec.ts` |
| Built app with the real (empty) library: no petal | e2e | same |
| Offline: open the petal with the server gone | offline | — (the shipped library is empty; covered by e2e reload. Added when the first sentences are verified.) |
+91
View File
@@ -0,0 +1,91 @@
# Keep her safe — the browser's promise, a file, and bringing her back
Status: built on `feature/keep-her-safe`. Gap G0.11, CLAUDE.md §8: *IndexedDB is evictable … call
`navigator.storage.persist()` where it exists, prompt iOS players to install, and make export-my-rose
a first-class feature. A player returning to find their rose gone is the cruellest bug this product
could have.* Review: [`feature-keep-her-safe.md`](../reviews/feature-keep-her-safe.md).
---
## 1. Why and what, in the player's terms
Beside *Her numbers* there is now **Keep her safe**. It opens a small, quiet section:
- **What the browser has promised**, in one true sentence: that it keeps her, or that it may clear
her if the garden is not opened for a long time.
- **Ask the browser to keep her**, when it has not promised yet. If it says no, that is said calmly,
and the file is the answer.
- On an iPhone or iPad that has not added the garden to the Home Screen: *add it, to keep her.*
- **Save her to a file**: a small file the player keeps, named for the day. It holds her care and
when it was given; it never holds the town.
- **Bring her back from a file**: on a new phone, or after the browser cleared her. Everything she
had comes back, and nothing she has now is lost. Bringing the same file twice adds nothing twice.
An installed garden asks the browser to keep her by itself, once, after the first care of a visit.
## 2. Technical architecture
```mermaid
flowchart LR
subgraph app["apps/rosea"]
wire["App.svelte<br/>navigator.storage, file download"]
end
subgraph ui["packages/ui"]
keep["KeepSafe.svelte"]
rose["Rose.svelte<br/>keys = current + past"]
end
subgraph storage["packages/storage"]
exp["exportRose / importRose<br/>asRoseFile"]
past[("profile: pastKeys")]
ev[("events")]
end
subgraph engine["packages/engine"]
replay["roseAt(events, keys)<br/>one replay per key"]
dedupe["newCare: each act once"]
end
wire --> keep --> exp --> ev & past
exp --> dedupe
rose --> replay
```
### Decisions
| # | Decision | Why |
|:--|:--|:--|
| K1 | The file holds `{ format: 'rosea-rose', version: 1, keys, events }`: her public keys and her whole care log. **Never the private key** (it cannot be exported: rose.md R9), **never the sunset town**. | The town is the one location Rosea knows; choosing it again is one tap. The care log alone is what cannot be remade. |
| K2 | A rose is named by **a list of keys**: the current identity first, then the keys she had on other devices (`profile.pastKeys`). | The private key cannot move, so a rose brought back lives under a new key, and her old care names the old one. The log is never rewritten (CLAUDE.md §6.2). |
| K3 | **Each key's care is replayed on its own**; her days of care are the union. Water and today's needs come from the current key; stage, drift and warmth from all. | Replaying everything as one log could take a day away: one device's watering can make the other's "too much". Separate replays make bringing her back strictly additive, which is property-tested. |
| K4 | Import **appends only acts not already there** (same moment, giver, rose, act and amount) in one transaction, and **refuses a file that is not a rose** before writing anything. | Contributions only add (CLAUDE.md §1). A wrong file is an ordinary mistake, said calmly. |
| K5 | `persist()` is called **automatically only in an installed app**, once per visit, after the first care. Otherwise only when the player asks. | Chrome and Safari grant or refuse silently; Firefox shows a prompt. A prompt the player did not ask for, right after watering, would be a strange interruption. |
| K6 | The download is made on the device (`Blob`, `<a download>`), and the import reads a file the player picks. | Nothing is sent anywhere; the CSP stays `'self'`. |
## 3. Risk analysis
| Risk | Answer |
|:--|:--|
| **The cruellest bug**: her care gone. | The file brings it back on any device, tested end to end with a fresh browser profile. |
| **Privacy**: the file is a diary of when someone was in the app. | It is made only when the player asks, stays wherever they put it, and the screen says what it holds. No town, no private key (tested). |
| **Feeling worse**: "the browser may clear her" can frighten. | It is said once, only on request, with the remedy in the same sentence. |
| **A merged rose loses days.** | K3, property-tested: merging two logs never lowers either one's days of care. |
| **A tampered file** gives a rose days she was never given. | It only fools the player's own garden; nothing is compared with anyone (CLAUDE.md §1, *never count people*). Phase 3 must not trust imported care as proof towards friends. |
## 4. Gap analysis
| Gap | State |
|:--|:--|
| G0.11 eviction: `persist()`, export-my-rose | Built: persist on request and when installed; save; bring back |
| A reminder to save her now and then | Open: no nagging by design; the Letter can mention it |
| iOS install prompt beyond one sentence | Open: Safari has no install API |
## 5. Verification matrix
| Case | Kind | Where |
|:--|:--|:--|
| A moved rose keeps every day under her old key; her water starts afresh; care under the new key adds | unit | `engine/test/rose.test.ts` |
| A moved rose that is opening drops petals, and gathering them helps | unit | same |
| Merging two logs never takes a day from either | property | same |
| `newCare` adds each act once, however often | unit | same |
| The file holds keys and care, no town, no private key; survives JSON | unit | `storage/test/rose-file.test.ts` |
| Bringing her back on a new device, twice, onto a device with care of its own, from this very device; refusing seven kinds of not-a-rose and changing nothing | unit | same |
| Keep her safe: the browser's answer, asking, a refusal said calmly, saving a dated file, bringing her back, a wrong file | unit | `ui/test/rose.test.ts` |
| Save on one browser profile, bring her back on a fresh one, reload: one day of care; the file has no town; axe | e2e | `e2e/shell.spec.ts` |
+81
View File
@@ -0,0 +1,81 @@
# The Letter slot
Status: merged to `main`, reviewed in
[`feature-letter-slot.md`](../reviews/feature-letter-slot.md). Gap: G0.25. Roadmap: Phase 0, *a slot for A Letter
from the Gardener — the author writes it; agents only scaffold the page.*
---
## 1. Why and what, in the player's terms
*A Letter from the Gardener* is the help section. It holds the deeper why, it can be
re-read at any time, and it is never needed to play (GAMEPLAY §4). It also holds the
quiet door to real help (CLAUDE.md §5.6 rule 5).
This branch makes the place for it, not the letter itself. The author writes
`docs/LETTER.md` in plain Markdown, and the app shows it as a page. **Until the author
writes something, the player sees no change at all**: there is no link to an empty
page, no "coming soon" and no dead control.
## 2. Technical architecture
```mermaid
flowchart LR
letter[("docs/LETTER.md<br/>the author's words")]
app["apps/rosea<br/>App.svelte<br/>imports it ?raw at build time"]
ui["packages/ui<br/>letter/parse.ts → blocks<br/>Letter.svelte, Shell.svelte"]
lint["scripts/lint-copy.ts"]
letter -- "bundled, precached" --> app --> ui
lint -. scans .-> letter
```
### Decisions
| # | Decision | Why |
|:--|:--|:--|
| L1 | `docs/LETTER.md` is the only copy of the letter. The app imports it with Vite's `?raw` at build time. | No runtime fetch, so the letter is in the precached bundle and opens offline. One file means the author edits one place, in Markdown. |
| L2 | The scaffold holds only HTML comments: one slot per thing the docs say the letter carries. Comments are dropped when the page is built, so the scaffold renders as nothing. | Agents never write the letter's voice. A heading is voice too, so the slots are comments, not headings. |
| L3 | A small Markdown subset is parsed into blocks in `packages/ui/src/letter/parse.ts`: headings, paragraphs, lists, *emphasis* and links. Everything else is shown as plain text. The component renders the blocks with Svelte, **never `{@html}`**. | No HTML is ever built from text, so nothing in the file can inject markup or script, and the CSP stays `'self'`. The parser lives in `ui` because it is presentation, and `ui → content` is not an allowed dependency. |
| L4 | Only `https:` and `tel:` become links. Anything else, including `http:`, `javascript:` and `data:`, stays text. External links open in a new tab, with `rel="noopener noreferrer"`. | The support door needs web and phone links. Nothing else does. |
| L5 | The page is reached by a link on the home view, at `#letter`. The link exists **only when the letter has content**. With an empty letter, `#letter` shows the home view. | Hash routing works offline without a server rule. An entry point to an empty page is a dead control. |
| L6 | `lint:copy` scans `docs/LETTER.md` with the full list, though it lives in `docs/`. | It is player-facing. The `docs/` exemption (§5.6 rule 4) is for design documents, where the words are being discussed. |
| L7 | When the view changes, focus moves to the new view's heading. | A screen-reader user hears where they are. A hash change alone announces nothing. |
| L8 | `docs/LETTER.md` is in turbo's `globalDependencies`. | Found in review: without it, a changed letter replayed the cached build (`lessons/technical.md`). |
## 3. Risk analysis
| Risk | Where | Defence |
|:--|:--|:--|
| A forbidden or medical word reaches a player through the letter | `docs/LETTER.md` | L6, with a test that the script reads the file. |
| The letter names the book | The "one sentence of inspiration" (GAMEPLAY §7) | `lint:copy` refuses *Saint-Exupéry* and the title in the letter as everywhere else. If the author wants the letter to name its source, that is a decision to write down (Q9), not an exemption made by an agent. |
| Markup or script injected through the file | The renderer | L3 and L4, with tests for `<script>`, `javascript:` and raw HTML. |
| An empty page feels broken or turns the player away | Before the author writes | L5: there is no way to reach it. |
| A link sends the player's address somewhere | Support links | `referrer: no-referrer` is already set, and `noreferrer` is on each link. Leaving the app is the player's own choice, made with a tap. |
| Someone in crisis cannot find the door | Support lines | Not solved here: the numbers are real-world facts the author must verify. The slot exists, and G0.27 tracks the rest. |
Guilt, comparison, rejection, dependence: looked for and none found. The page asks
nothing and counts nothing.
## 4. Gap analysis and the designed solution
| Gap | Solution |
|:--|:--|
| No page for the letter | `Letter.svelte`, reached at `#letter` (L5) |
| No file for the author | `docs/LETTER.md`, slots only (L2) |
| The letter escapes `lint:copy` | L6 |
| No support lines | Slot only; verified numbers are the author's (G0.27) |
## 5. Verification matrix
| Case | Kind | Where |
|:--|:--|:--|
| The scaffold, being only comments, parses to zero blocks | unit | `packages/ui/test/letter-parse.test.ts` |
| Headings, paragraphs across lines, lists, emphasis, links parse as blocks | unit | same |
| `<script>` and raw HTML stay text; `javascript:`, `data:`, `http:` links stay text | unit | same |
| `https:` and `tel:` links render as links with `noopener noreferrer` | unit | `packages/ui/test/Shell.test.ts` |
| Empty letter: no link to it, and `#letter` shows home | unit + e2e | `Shell.test.ts`, `e2e/shell.spec.ts` |
| A letter with content: the link appears, opens the page, *Back* returns, focus moves | unit | `Shell.test.ts` |
| `lint:copy` reads `docs/LETTER.md` and fails on a forbidden word in it | script, run | the review |
| The built app still renders, offline included | e2e, offline | existing suites |
| The written-letter branch of the e2e test, with a temporary sample letter | e2e, run once | the review |
| A changed letter rebuilds the app (`cache miss`) | e2e, run | the review |
+4 -3
View File
@@ -1,13 +1,14 @@
# Phase 0 — the workspace # Phase 0 — the workspace
Status: **built on `feature/phase0-workspace`**, not yet merged. 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). [`feature-phase0-workspace.md`](../reviews/feature-phase0-workspace.md).
Gates closed and still open: [`GAP_ANALYSIS.md`](../GAP_ANALYSIS.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 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.** 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.
--- ---
+120
View File
@@ -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<br/>identity, zone, now, events"]
end
subgraph ui["packages/ui"]
rose["Rose.svelte<br/>picture, bubble, care, numbers"]
end
subgraph engine["packages/engine (pure)"]
model["rose/rose.ts<br/>roseAt(events, seed, now, zone)"]
days["time/localDay.ts<br/>localDay, localMinutes"]
model --> days
end
subgraph storage["packages/storage"]
events[("events<br/>append-only")]
keys[("keys")]
end
subgraph identity["packages/identity (new)"]
id["createIdentity()<br/>ECDSA P-256, private key non-extractable"]
end
schema["packages/schema<br/>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` |
+107
View File
@@ -0,0 +1,107 @@
# The sun — real sunrise and sunset, on the device
Status: built on `feature/sun`. ROADMAP Phase 1, *the sun*. Review:
[`feature-sun.md`](../reviews/feature-sun.md). The first piece of Phase 1, and the one the
spike leaves behind even if the answer is no (ROADMAP §0: *a reusable sentence library and a sun
module*).
---
## 1. Why and what, in the player's terms
Every day, at the player's **real** local sunset, the game invites them to put the phone down and
look at the real one (CLAUDE.md §1). The rose's sentence is best opened then. The in-game sunset
says when tonight's real one is. All of that needs one honest answer: *when does the sun set
here, today?*
What the player gets from this piece alone: nothing on screen yet. What it guarantees:
- **The time is real.** It is computed from the sun's position and checked against a published
almanac for six cities on four continents, both hemispheres, the equator and the Arctic.
- **It never needs the network.** It is maths on the device. No lookup, no service.
- **It never needs GPS.** The place is a city the player chose, or a guess from the device's time
zone (CLAUDE.md §5.6 rule 6). Choosing that city is the app's job, later in Phase 1.
- **The far north is not forgotten.** Where the sun does not set in summer or rise in winter, the
engine still gives a gentle moment for the invitation (D4), never an error and never silence.
- **A clock change is the clock's doing.** The sun moves a minute or two a day. When the clocks
change, the sunset on the clock jumps an hour while the sun itself does nothing. The engine
works in instants, so the jump only appears where the clock is read.
## 2. Technical architecture
```mermaid
flowchart LR
app["apps/rosea (later in Phase 1)<br/>the chosen city or the device zone"] -->|"place, day"| sun
subgraph engine["packages/engine (pure)"]
sun["sun/sun.ts<br/>sunDay(day, place)<br/>invitation(sunDay)"]
time["time/localDay.ts<br/>the only place a day is computed"]
sun --> time
end
golden["engine/test/fixtures/sun-usno.json<br/>28 published days"] -.->|golden tests| sun
script["scripts/fetch-sun-golden.ts<br/>run by hand, never by a test"] -.->|records| golden
```
- **`sunDay(day, place)`** takes a `LocalDay` and `{ lat, lon, timeZone }` and returns one of
three shapes: `sun-sets` (sunrise, solar noon, sunset), `polar-day` (solar noon, lowest light) or
`polar-night` (solar noon). Every time is an epoch-milliseconds instant.
- **`invitation(sunDay)`** is the instant the game invites the player outside: the sunset, or the
polar alternative (D4). The app renders it and decides nothing.
- **The algorithm** is NOAA's solar calculator (after Meeus, *Astronomical Algorithms*): the sun's
declination and the equation of time at a given instant, then the hour angle at which its
centre is 0.833° below the horizon (refraction and the sun's radius). Each event is refined by
recomputing at its own instant.
### Decisions
| # | Decision | Why |
|:--|:--|:--|
| D1 | NOAA's algorithm, in TypeScript, in the engine. No library, no WASM. | About 80 lines of public-domain maths, accurate to about a minute below 72° latitude. CLAUDE.md §2: WASM only with a measurement that says it must. |
| D2 | **"Today's sunset" is the one after today's solar noon**, even when it falls after midnight. "Today" is the local day whose solar noon it is. | Reykjavík on 21 June sets at 00:04 on the 22nd. The published table for the 21st lists the *previous* evening's 00:04. A player in Reykjavík means tonight's sunset, not last night's. |
| D3 | The engine returns instants. Clock times are read in the app, with the city's zone. | One instant has one meaning. The DST jump is then only the clock's (§1), and the engine cannot be wrong about it. |
| D4 | **Polar day**: the invitation is the *lowest light*, solar midnight. **Polar night**: the invitation is solar noon, when the twilight is brightest. | CLAUDE.md §8 asks for a gentle alternative, *e.g. the hour the light is lowest*. In polar night that hour is all day, so the brightest one is the moment worth going out for. **Decided by the author 2026-11-01** (Q10). |
| D5 | Near the edge of polar day or night, an event whose hour angle leaves the possible range is clamped to solar midnight or noon. | On those few days the sun only grazes the horizon. A defined answer beats a NaN. Accuracy there is worse, and the tests say so. |
| D6 | Golden values come from the U.S. Naval Observatory's published tables, recorded once into a fixture by `scripts/fetch-sun-golden.ts`. | CLAUDE.md §5.5 asks for published tables. Recording them keeps tests offline and deterministic, and the script shows exactly where each number came from. |
| D7 | Tolerance: **2 minutes**, stated in the test. | The almanac rounds to the minute; NOAA's method is good to about a minute at these latitudes. |
| D8 | Where a clock is about twelve hours off the sun, one calendar day a year can hold no solar noon. The engine then gives the nearest noon and never throws. | Found by fast-check at 179.9° W on UTC: noon crosses midnight in late December, so 26 December has none. No real zone is that far off the sun (the worst are about three hours), so the property tests give each place a zone that follows its longitude, and a unit test pins the impossible case. |
## 3. Risk analysis
Risk here means a person feeling worse, a person's location, or a person becoming reachable.
| Risk | Where | Answer |
|:--|:--|:--|
| **A wrong sunset sends someone out to a dark sky**, or too late. A broken promise from the one feature that points beyond the screen. | Correctness | Golden tests in six cities, including DST days; property tests across latitudes and days. |
| **The far north gets nothing** — no sunset, so no invitation, every day for months. A person left out by geography. | Soul | D4: a defined, gentle moment on every day, tested at Tromsø and at ±80°. |
| **The time is used to find someone.** A sunset time narrows down where a person lives. | Privacy | It is computed and kept on the device. This module has no I/O at all, and the engine's lint rule forbids it. Phase 4's shared sky uses a coarse cell and a day bucket only (CLAUDE.md §4), never this. |
| **The test fixture holds coordinates.** | Privacy | City centres from public sources, never a player. No test uses a real person's location (§5.5). |
| **A DST day records the wrong local day** for a sunset, and the rose's sentence moves to the wrong day. | Correctness | The day is only ever computed by `localDay`. Tested on all six DST transition days in the fixture. |
Reachability: none. The module talks to no one.
## 4. Gap analysis and the designed solution
| Gap | Solution | State |
|:--|:--|:--|
| No `engine/src/sun/` (CLAUDE.md §2, §7: *one module computes the sun*) | `sun/sun.ts`: `sunDay`, `invitation` | Built |
| Polar day and night: a predicted trap (CLAUDE.md §8) | Two defined kinds and D4. **Measured**: Tromsø has no rise or set on 21 June and no events on 21 December | Built; the trap is confirmed |
| DST and the local day: a predicted trap | D3 and `localDay`. **Measured**: the Prague sunset is 18:28 on 28 March and 19:29 on the 29th; the sun moved one minute | Built; the trap is confirmed |
| Golden tests against published tables (§5.5) | 28 days in 6 cities, recorded from USNO | Built |
| Choosing a city, the time-zone guess, showing the time | The app, with a city list; later in Phase 1 | **Open** (G1.2) |
| The invitation in polar night (D4) | Noon twilight | Decided by the author (Q10) |
## 5. Verification matrix
| Case | Kind | Where |
|:--|:--|:--|
| Sunrise, solar noon and sunset match the USNO table within 2 min, in the city's own clock, on 26 days in 6 cities | unit, golden | `engine/test/sun.test.ts` |
| The fixture's offset agrees with the IANA zone on every day, so the table and the zone database tell the same story | unit, golden | same |
| Tromsø 21 June is polar day; 21 December is polar night | unit, golden | same |
| Reykjavík midsummer: tonight's sunset falls after midnight, on the next local day (D2) | unit, golden | same |
| A DST change moves the clock's sunset by an hour while the instant moves by about a day | unit | same |
| For any latitude within ±60°, any longitude and any day of 2026: sunrise < noon < sunset, noon is midway, noon is on the asked day | property | same |
| Sunsets on consecutive days are never more than 5 minutes apart within ±60° | property | same |
| ±80° on the solstices: polar day and night, the right way round in each hemisphere | unit | same |
| The invitation is the sunset, the lowest light, or noon, by kind | unit, property | same |
| A day that does not exist, a latitude above 90°, an unknown zone: refused | unit | same |
| Nothing leaves the device | lint | the engine purity rule already covers `src/sun/` |
| Choosing a city, and seeing the time in the app | e2e, offline | **later in Phase 1** |
+122
View File
@@ -0,0 +1,122 @@
# Where the sunset is — choosing a town, the guess, tonight's sunset
Status: built on `feature/sunset-place`. ROADMAP Phase 1, *the sun*: "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.**" Gap G1.2. Review: [`feature-sunset-place.md`](../reviews/feature-sunset-place.md).
Builds on [`sun.md`](sun.md).
---
## 1. Why and what, in the player's terms
The first time the player opens the garden, under the name, it asks one quiet question:
**Where do you want your sunset?** A box to type a town, and below it a way to say *not now*.
- **Typing a town** shows matching towns at once, with no network: *Brno*, *Praha*, *plzen* all
work. Choosing one says, in the garden, **"Tonight the sun sets at 7:29 PM in Brno."**
- **Not now** uses a guess from the device's clock: in Prague's time zone, Prague. The garden says
so: the line ends with *a guess from this device's time zone*. A player who travels gets the guess
for wherever their phone's clock is.
- **Change town** is always there, under the line. Choosing again replaces the town; nothing else
changes.
- **After the sunset** the line speaks of tomorrow's. **In the far north** it speaks of the lowest
light, or of the noon twilight (`sun.md` D4).
- **The town stays on this device.** It is the only place Rosea knows about the player, and it never
leaves. If the device will not keep it (a private window that blocks storage), the garden still
shows the sunset and says, calmly, that it will ask again next time.
What it never does: ask for GPS, look up an address, guess from the network, or say anything about a
missed sunset.
## 2. Technical architecture
```mermaid
flowchart LR
subgraph app["apps/rosea"]
main["App.svelte<br/>device zone, now, wiring"]
end
subgraph ui["packages/ui"]
shell["Shell.svelte"] --> ask["SunsetPlace.svelte<br/>the question and the search"]
shell --> line["SunsetLine.svelte<br/>tonight's sunset"]
end
subgraph content["packages/content"]
guess["places/guess.ts<br/>zone-guesses.json (25 KB)"]
towns["places/places.ts<br/>places.json (496 KB, loaded on demand)"]
end
subgraph storage["packages/storage (new)"]
profile["profile store<br/>sunset place"]
end
subgraph engine["packages/engine"]
next["sun.nextInvitation(now, place)"]
day["time.addDays / localDay"]
end
main --> shell
main -->|"guessTown(zone)"| guess
main -->|"import() on first search"| towns
main -->|"load / save"| profile
line --> next --> day
build["scripts/build-places.ts<br/>run by hand"] -.-> guess & towns
```
- **`@rosea/content/places`** — `searchTowns(query)`: accent- and case-blind, by English name,
local name (*Praha*) and Latin-script language names; best match first, then the larger town;
*"Sydney, Canada"* narrows by country or region. Imported dynamically, so the garden does not
carry 7,342 towns.
- **`@rosea/content/guess`** — `guessTown(zone)`: the largest town in that zone, or the zone's own
location from the time zone database. Keyed by the names browsers report (`Asia/Calcutta`) as well
as the database's (`Asia/Kolkata`). `UTC` and `Etc/*` guess nothing.
- **`@rosea/storage`** — Dexie over the IndexedDB database `rosea`. One store so far, `profile`,
holding `sunsetPlace`: either `{ kind: 'town', town }` or `{ kind: 'device-zone' }`. A record of
the wrong shape reads as *no choice yet*, with a warning in the console.
- **`@rosea/engine`** — `nextInvitation(now, place)`: the first invitation at or after now, checking
yesterday, today and tomorrow (Reykjavík, 00:02 in June). `addDays` for calendar steps.
- **`@rosea/ui`** — renders. It receives the device zone, the clock, the guess, a search function
and load/save as props; it imports neither content nor storage (CLAUDE.md §2 dependency
direction).
### Decisions
| # | Decision | Why |
|:--|:--|:--|
| P1 | **Natural Earth's populated places** (public domain), 7,342 towns. Downloaded by hand with the author's approval; only the derived JSON is committed. | The only public-domain town list with time zones. GeoNames is better but CC BY, which would need an attribution line in the product. |
| P2 | **Natural Earth's time zones are cross-checked, not trusted.** A town keeps its zone only if its clock is identical all through 2026 to one of its country's zones in the IANA database and fits its longitude (within 3.5 h, across the date line). Otherwise the five nearest trusted towns in the same country vote; with none, the country's nearest zone location. 1,205 towns were corrected. | Measured: Prague was *America/Chicago*, Cardiff *Australia/Sydney*, Sydney had none. A wrong zone shows the right sunset at the wrong clock time. |
| P3 | The guess is the **largest town in the device's zone**. | Recognisable ("Prague"), and the zone is all the device tells. |
| P4 | *Not now* stores `device-zone`, not a town. | The guess then follows the phone's clock when the player travels. |
| P5 | The town list loads **on first search**, as its own precached chunk. | 208 KB compressed is too much to parse on every open of a quiet garden. Offline it is already cached. |
| P6 | The time is shown in the **town's** zone, in the device's locale format. | It is the clock the player will see out there. |
| P7 | Storage failing is **not an error page**: the choice lives for the session and the garden says it will ask again. | CLAUDE.md §1: network and device features degrade to a calm state with an explanation. |
| P8 | `navigator.storage.persist()` is **not** called yet. | Firefox shows a prompt; asking for it on choosing a town would be strange. It belongs to G0.11 (eviction), with export-my-rose. |
## 3. Risk analysis
| Risk | Answer |
|:--|:--|
| **Location** — the chosen town is where the player lives, near enough. | It is stored only in this device's IndexedDB. Nothing in this feature makes a request: the e2e test asserts no request leaves the origin while searching and choosing. Never GPS, never IP. |
| **A wrong clock** sends someone out an hour early or late. | P2, and a test that every town's clock fits its longitude; the known bad zones are pinned by name. Residual: a town Natural Earth filed under a *same-country, same-looking* wrong zone (e.g. Dunhuang, Gansu, under Xinjiang time by its neighbours' vote) is not caught. Stated in the review. |
| **Feeling worse** — a question on the first screen can feel like a demand. | It is skippable in one tap, the skip still gives a sunset, and nothing ever counts or mentions a missed sunset. |
| **Feeling judged for where one lives** — a small town not in the list. | The empty search says *"A larger one nearby will do."*, never *not found* as an error. |
| **Reachability** | None. The town is never shared. |
## 4. Gap analysis and the designed solution
| Gap | Solution | State |
|:--|:--|:--|
| G1.2: no way to choose a town, no guess, no sunset on screen | This feature | Built |
| G0.15: `packages/storage` deferred until its first feature | `@rosea/storage` with the `profile` store | Built |
| G0.11: eviction — `persist()`, export-my-rose | Not here (P8) | Open |
| Czech names for towns (*Vídeň*) | Natural Earth has no Czech column; local names cover *Praha*, *Wien* | Open, with Czech copy |
| Planetary twins of the sunset (the in-game sunset, the chair) | Phase 1, later | Open |
## 5. Verification matrix
| Case | Kind | Where |
|:--|:--|:--|
| 7,342 towns, every zone valid, every clock fits its longitude; Prague, Cardiff, Sydney, Anchorage, Kryvyi Rih, Apia, Pristina keep the right zone | unit | `content/test/places.test.ts` |
| Search by English, local and accent-free names; larger first; comma narrows; empty and unknown are `[]` | unit | same |
| Guess for 7 zones including browser names; UTC guesses nothing; every zone Intl knows is covered | unit | same |
| `nextInvitation`: today before sunset, tomorrow after; Reykjavík after midnight; never past, ≤ 48 h, nothing earlier in between | unit, property | `engine/test/sun.test.ts` |
| `addDays` across DST, years, leap days; inverse property | unit, property | `engine/test/localDay.test.ts` |
| Storage: nothing saved reads `null`; town and device-zone round-trip; a malformed record reads `null` with a warning; a database that cannot open rejects | unit (fake-indexeddb) | `storage/test/profile.test.ts` |
| UI: asks when nothing is saved; search lists towns; choosing shows the line; *not now* shows the guess and says so; tomorrow after sunset; polar wording; storage failure says it will ask again; change and keep | unit (testing-library) | `ui/test/sunset.test.ts` |
| Built app: choose Brno, see Brno's sunset at the time the engine computes, reload and it is still Brno; nothing requested from another origin; no axe violations | e2e | `e2e/shell.spec.ts` |
| Offline: choose a town, close the server, reload: the town and the line survive | offline | `e2e/offline.spec.ts` |
+63
View File
@@ -0,0 +1,63 @@
# Thorns — touching her gently
Status: built on `feature/thorns`. ROADMAP Phase 1: *one rose with her face: … moods, thorns …*.
CLAUDE.md §1: *alive and a little vain, with thorns that are part of her.* STYLE.md: *the thorns are
part of her and never look threatening.* Decided by the author 2026-11-02: **thorns teach gentleness.**
Review: [`feature-thorns.md`](../reviews/feature-thorns.md).
## 1. Why and what, in the player's terms
The player can touch her: tap her picture (or Tab to it and press Enter).
- **A touch** — she answers fondly: *Oh. Hello.*, then *That tickles.* The first touch of a visit makes
her blush (seen in full bloom, where her face shows moods).
- **A rush of touches** — three quick taps within two seconds — she says *Gently. I have thorns.* and
rests for a few seconds; taps meanwhile do nothing. Then she is as before.
- **Nothing is recorded.** No event, no number, no penalty, nothing she remembers. A touch is not care:
it does not water her, does not count as a day of care, does not move anything she has earned.
Why: the fox (Phase 2) is tamed by touch, and taming needs patience. The rose rehearses it first, kindly,
in the one place where getting it wrong costs nothing.
## 2. Technical architecture
```mermaid
flowchart LR
ui["packages/ui<br/>Rose.svelte: a Touch her button over her picture"] -->|"now, state"| engine["packages/engine<br/>touch/touch.ts: touch()"]
engine -->|"fond | thorns | resting, next state"| ui
```
| # | Decision | Why |
|:--|:--|:--|
| T1 | The rule lives in `engine/touch` as a pure function of the visit's recent touches and the clock. | Components decide nothing (CLAUDE.md §7); the fox reuses it. |
| T2 | **A rush** is `TOUCH.rushCount` (3) touches within `TOUCH.rushMs` (2 s). Touches closer than `TOUCH.sameMs` (250 ms) to the one before count as one. | A tremor, a bounce or a double tap must never be told *gently*. Three separate, deliberate taps in two seconds is fussing. |
| T3 | After the thorns line she **rests** `TOUCH.restMs` (4 s): touches change nothing, then all is as before. | A boundary, kept briefly and then let go; no grudge. |
| T4 | **Nothing is stored**, so the blush comes on the first touch of a *visit* (the author's option said *once a day*; a day would need a record, and the option also said nothing is recorded — the second wins). | *Progress never disappears* has nothing to act on; no number can grow from touching. |
| T5 | Her picture stays an image with its description; the touch is a separate button laid over it, labelled *Touch her*. | The picture keeps its meaning for a screen reader; the touch is keyboard-operable. |
| T6 | Her touch words take the speech bubble for the rest time, then her usual line returns. | One line at a time. |
## 3. Risk analysis
| Risk | Answer |
|:--|:--|
| **Being scolded**: *Gently* read as a reproach, for someone already fragile. | It needs three deliberate taps (T2), is said once, never repeated while she rests, never mentioned again, never recorded. It is her voice about herself (*I have thorns*), not about the player. |
| A player with a tremor or a motor difficulty. | T2: taps within 250 ms are one touch. Keyboard repeat (holding Enter) is ignored too. |
| **Dependence**: touching as a fidget loop. | It gives nothing: no blush after the first, no number, no reward for more. |
| Privacy, reachability, offline | Nothing stored or sent; works offline as everything else. |
## 4. Gap analysis
Closes the last Phase 1 roadmap item without a design (*thorns*). Tuning in `TOUCH` is the author's.
## 5. Verification matrix
| Case | Kind | Where |
|:--|:--|:--|
| One touch: fond; second: fond; first of a visit: blush | unit | `engine/test/touch.test.ts`, `ui/test/touch.test.ts` |
| Three taps within 2 s: thorns; then resting for 4 s; then fond again | unit | same |
| Taps within 250 ms count as one; three such bursts spaced out are not a rush | unit | engine |
| **Property:** taps a second or more apart are never a rush (three span at least 2 s) | property | engine |
| **Property:** the state never grows past `rushCount` touches | property | engine |
| Keyboard: the button is reachable; held Enter (repeat) is one touch | unit | ui |
| A touch appends no event | unit | ui |
| Built app: touch, rush, axe | e2e | `e2e/shell.spec.ts` |
+64
View File
@@ -0,0 +1,64 @@
# Two tabs, one garden
Status: built on `fix/two-tabs`. CLAUDE.md §8, *Two tabs, one database (predicted): two event streams
into one store; derived state drifts. Use a `BroadcastChannel` lock.* Review:
[`fix-two-tabs.md`](../reviews/fix-two-tabs.md).
## 1. Why and what, in the player's terms
A player may have the garden open twice: two browser tabs, or the installed app and a tab. Whatever
they do in one is now seen in the other within a moment, without a reload: care given, a petal opened,
a rose brought back from a file, a town chosen.
**Measured first (2026-11-07).** Two e2e tests, written before the fix, failed: a tab already open did
not see care given in the other, nor a town chosen there. The prediction was half right:
- **No stored state drifts.** There is no `derived` store yet; the log is append-only and every write
is its own IndexedDB transaction (auto-increment ids), so two writers cannot overwrite each other.
The identity's first write already wins in a transaction (rose.md). **No lock is needed.**
- **The views drift.** Each tab read the log once, at start. The harm: she is watered in one tab, the
other still shows her thirsty, the player waters again, and she is too full — a mistake the game
made, blamed on her care.
## 2. Technical architecture
```mermaid
flowchart LR
a["tab A<br/>packages/storage: appendCare"] -->|"IndexedDB write, then post 'log'"| bc(("BroadcastChannel<br/>rosea-changes"))
bc -->|"'log' | 'place'"| b["tab B<br/>packages/storage: onChange"]
b --> app["apps/rosea wiring"] --> ui["packages/ui<br/>Rose / Shell reload from storage"]
```
| # | Decision | Why |
|:--|:--|:--|
| W1 | **`packages/storage` announces its own writes** on a `BroadcastChannel` named after the database, *after* the write commits: `'log'` (care, a petal, a rose brought back) or `'place'` (the town). | One module owns every write, so no write path can forget to announce. After the commit, so the other tab reads what was written. |
| W2 | **The message is only what changed**, never the data. The other tab reads storage again. | Storage stays the truth; a message can be lost or arrive twice and nothing breaks. |
| W3 | A tab does not hear itself (a `BroadcastChannel` never delivers to the object that posted). | No double reload. |
| W4 | **No lock.** | §1: nothing a lock would protect exists yet. When a `derived` store arrives, its feature doc decides again. |
| W5 | Where `BroadcastChannel` does not exist, nothing is announced and each tab is as before. | Safari has it since 15.4; an older browser loses only the live update, never data. |
| W6 | Nothing on screen says another tab acted. The garden simply is as it is. | Calm; no "updated elsewhere" notices. |
## 3. Risk analysis
| Risk | Answer |
|:--|:--|
| **Blame for the game's mistake** (watered twice, too full). | The fix itself. |
| **Privacy**: a message leaves the tab. | A `BroadcastChannel` reaches only this origin's own tabs and workers in this browser profile; it carries one word, never data. Nothing leaves the device. |
| A message from another origin or a malformed one. | The channel is same-origin by definition; anything but `'log'` or `'place'` is ignored. |
| Reachability, offline | Not affected; works offline. |
## 4. Gap analysis
Closes CLAUDE.md §8's two-tabs trap (measured, answered) and the review checklist's *two tabs open*
for the log and the town. Not covered: a tab that is mid-pour when the other tab's care arrives keeps
pouring against the new water level (that is the correct level).
## 5. Verification matrix
| Case | Kind | Where |
|:--|:--|:--|
| Each write announces after it commits: care, petal, rose brought back → `'log'`; town → `'place'` | unit | `storage/test/changes.test.ts` |
| A failed write announces nothing; a tab does not hear itself; a malformed message is ignored; unsubscribe stops it; `close()` closes the channel | unit | same |
| Without `BroadcastChannel`, storage still works | unit | same |
| The rose reloads her log on `'log'`; the shell reloads the town on `'place'` | unit | `ui/test/two-tabs.test.ts` |
| Built app, two tabs: care in A seen in B without reload; a town chosen in A shown in B | e2e | `e2e/shell.spec.ts` (failed before the fix: the measurement) |
+5 -5
View File
@@ -9,12 +9,12 @@ and **how to apply it**.
| `soul.md` | none yet | What comforts and what only looks like comfort. **The most important file here.** No mechanic exists yet that could teach anything. | | `soul.md` | none yet | What comforts and what only looks like comfort. **The most important file here.** No mechanic exists yet that could teach anything. |
| `architecture.md` | none yet | Layering, ownership, seams. | | `architecture.md` | none yet | Layering, ownership, seams. |
| `design.md` | none yet | Wording, silence, empty states. | | `design.md` | none yet | Wording, silence, empty states. |
| `art.md` | none yet | The image pipeline. | | [`art.md`](art.md) | 3 | The image pipeline. |
| [`code.md`](code.md) | 1 | TypeScript, Svelte, async ordering, Rust. | | [`code.md`](code.md) | 3 | TypeScript, Svelte, async ordering, Rust. |
| [`technical.md`](technical.md) | 3 | The browser and the build as platforms. | | [`technical.md`](technical.md) | 7 | The browser and the build as platforms. |
| [`testing.md`](testing.md) | 3 | What makes a test worth having, and how a passing test lies. | | [`testing.md`](testing.md) | 10 | 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.) | | `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. | | [`process.md`](process.md) | 4 | Workflow, commits, credentials, honesty about what shipped. |
A file is created with its first real entry. An empty lessons file only looks like A file is created with its first real entry. An empty lessons file only looks like
knowledge. knowledge.
+52
View File
@@ -0,0 +1,52 @@
# Art
What the image pipeline taught (CLAUDE.md §5.1b).
## "Never enlarge" also skips the crop
**What happened.** `art:accept` first resized a full-background picture with sharp's
`fit: 'cover'` and `withoutEnlargement: true`. A 900 × 600 picture accepted as the
1024 × 1024 app icon came out 900 × 600. Because it was smaller than the target, sharp
skipped the whole resize, crop included, and a rectangle would have become the icon. The
test *a full-background picture of the wrong shape is cropped from the middle* caught
it before the first real picture existed (`tools/art-prep/src/accept.ts`, `middle()`).
**Why it bit.** One option can switch off two jobs: changing the shape and changing the
size. "Don't blow it up" was meant for the size only.
**How to apply it.** Crop to the target shape first, as its own step, then only ever
shrink. Test the small, wrongly shaped input as well as the large one: a generator that
ignores the requested size is the normal case, not the edge case.
## A check on prompt words catches what review would miss
**What happened.** The first `pnpm art:board` refused its own manifest: the waiting
rose's cell said she was "quiet and *patient*", and `patient` is on the forbidden list
(§5.6 rule 3). The manifest checker runs `findForbidden` from `@rosea/content` over
every word a prompt is built from.
**Why it bit.** Prompts are not player-facing, so `lint:copy` never reads them. But a
prompt that names the book, or a word that drifts in from it, is exactly how a
likeness gets into the art (§8, *copyright through the back door*).
**How to apply it.** Any text that is assembled into something sent outside, a prompt
included, goes through the same forbidden list as player copy. Reword: *waiting with
patience* is allowed.
## A style prompt loses to the generator's default unless it is stronger and comes first
**What happened.** On 2026-11-07 the first `rose-sheet` came back as wet, pale watercolour with a
smiley face on a round ball inside the petals: a children's sticker sheet. STYLE.md §1 had asked for
matte gouache with plum-brown outlines, and its own *avoid* list named watercolour. The prompt was a
long document: the style, then pixel coordinates, cut lines and two lists of things not to draw,
among them the book's motifs.
**Why it bit.** A generator has a strong default for "cute character", and it fills every gap the
prompt leaves with that default. Prompts that bury the look under numbers it cannot use, and lists
of things not to draw, leave the gap wide; naming a motif, even to forbid it, makes it likelier.
**How to apply it.** Lead with the look, said positively and concretely (medium, texture, line,
light, audience); then the picture in plain words; then a short avoid list of generic faults. Keep
pixel geometry out of prompts (the cutting tools hold it). Check the book's motifs in review, not in
prompts. When a picture fails, name the exact failure in the character's own description (here:
*no round face, ball or bare patch inside the petals*), so every prompt carries it.
+30
View File
@@ -20,3 +20,33 @@ fixed the same way. Check with `grep -n $'\xc2\xa0' file` (the two UTF-8 bytes)
`sed -n Np file | od -c`. Do not use `grep -P '\xA0'`: it matches the last byte of `≠` `sed -n Np file | od -c`. Do not use `grep -P '\xA0'`: it matches the last byte of `≠`
and other characters, and raised a false alarm on the review document. Keep and other characters, and raised a false alarm on the review document. Keep
`no-irregular-whitespace` on. `no-irregular-whitespace` on.
## A Svelte 5 effect that short-circuits never tracks what it skipped
**What happened.** `Shell.svelte` moved focus with
`$effect(() => { if (moved) heading?.focus(); })`. `moved` is a plain variable and was
`false` on the first run, so the effect never read `heading` and had no dependencies.
When the view changed and `heading` was bound to the new `<h1>`, nothing re-ran. The
Shell test caught it: the focus stayed on `<body>`.
**Why it bit.** An effect tracks only the state it actually reads on each run. A
condition that returns early hides every read after it.
**How to apply it.** In an effect, read the state you depend on before any early
return or `&&` (`const target = heading; if (moved) target?.focus();`). Test the
re-run, not just the first run.
## Svelte 5 state is a Proxy, and IndexedDB cannot clone a Proxy
**What happened.** On 2026-11-02 the sunset town was never saved in a real browser. The
search results lived in `$state`, which wraps objects in a Proxy. The town passed to
`save` was that Proxy, and IndexedDB's structured clone threw `DataCloneError`. Every
unit test passed. The e2e suite found it: after a reload, the garden asked again.
**Why it bit.** Anything that crosses a structured-clone boundary (IndexedDB,
`postMessage`, `BroadcastChannel`, `structuredClone`) refuses a Proxy, and Svelte 5
hands out Proxies wherever state is deep.
**How to apply it.** At every storage or messaging boundary, write a plain copy built
field by field (in `@rosea/storage`, the same shape check used on reading). Keep lists
that are only passed along as `$state.raw`. Test the boundary with `new Proxy(value, {})`.
+28
View File
@@ -31,3 +31,31 @@ better source of versions than the registry.
**How to apply it.** Start a new repository from a sibling's resolved versions, and **How to apply it.** Start a new repository from a sibling's resolved versions, and
pin them exactly. Unpin deliberately, in its own commit, after upgrading Node (G0.20). pin them exactly. Unpin deliberately, in its own commit, after upgrading Node (G0.20).
## A rule checked by reading a number is broken by the next command
**What happened.** CLAUDE.md §5.7 says not to start a full run above ~80 % CPU. Three
times on 2026-11-02 a run started above it. Once the load was not checked at all; twice it
was read (85 %, then 100 %, another project's tests) and the run started anyway, once
because the check and the run were chained in one command that did not depend on it.
**Why it bit.** A rule that relies on a person reading a number before acting holds only
while nothing else is competing for attention.
**How to apply it.** Make the run refuse to start. Done: `pnpm guard:cpu` (in
`tools/cpu-guard`) runs before every full run, waits up to three minutes, then refuses. Do
not set `ROSEA_CPU_MAX` to get past a busy desktop; it is for dedicated machines.
## An inline edit through the shell is two parsers deep
**What happened.** On 2026-11-02 two edits went through the shell. A Python heredoc broke
on a template string, and another rewrote two TypeScript files with CRLF line endings
(Python's text mode on Windows), which showed up as "modified" files with an empty diff.
A Node one-liner lost every `${…}` to the shell.
**Why it bit.** Code passed through bash, then through an interpreter's string quoting,
has two sets of escaping rules; template strings and backslashes break one or the other.
On Windows the interpreter also chooses line endings.
**How to apply it.** Edit source files with the edit tool. When a script is needed, write
it to a file first (the scratchpad), then run the file.
+57
View File
@@ -40,3 +40,60 @@ needed for non-CSS style languages or TS features that emit code (enums, decorat
**How to apply it.** Leave `svelte.config.js` as `export default {}` until a component **How to apply it.** Leave `svelte.config.js` as `export default {}` until a component
needs SCSS or emitted TS. Add the preprocessor in the same commit as that need. needs SCSS or emitted TS. Add the preprocessor in the same commit as that need.
## Turbo's cache does not see a file the app imports from outside its package
**What happened.** The app imports `docs/LETTER.md?raw`. With a sample letter written
into the file, `pnpm test:e2e` printed `@rosea/app:build: cache hit` and tested the
*old* bundle, so the link to the letter was missing. Turbo hashes a package's own
files, and `docs/` belongs to no package. Adding `docs/LETTER.md` to
`globalDependencies` in `turbo.json` turned it into a `cache miss`, and the test passed.
**Why it bit.** A build cache keyed on the wrong inputs gives a stale bundle that looks
fresh. This is CLAUDE.md §5.4 again, caused by the build tool and not the service worker.
**How to apply it.** Any file the app bundles from outside its package goes into
`globalDependencies` or the task's `inputs`, in the same commit as the import. To
check, change the file, run the build, and look for `cache miss`.
## A preview on a busy port shows someone else's app
**What happened.** The art board's local preview was given port 5180. Ludus's dev
server already listened on `localhost:5180`, so the preview pane opened **Ludus**,
whose page text appeared under the board's tab. Port 5191 was busy too. The board
rendered only on 5237, after `netstat` confirmed the port was free.
**Why it bit.** A server that fails to bind, or binds 127.0.0.1 while another app holds
`localhost`, does not always stop loudly, and the browser simply shows whatever is
listening. This machine runs many projects.
**How to apply it.** Before starting a preview, check that the port is free
(`netstat -ano | grep :<port>`). After it starts, check the page title before you trust
anything the page says.
## A predicted trap can name the right place and the wrong harm
**What happened.** CLAUDE.md §8 predicted that two tabs would make stored derived state drift and
prescribed a lock. On 2026-11-07 two e2e tests, written before any fix, showed the real harm was
elsewhere: there was no derived store and the append-only log could not conflict, but each tab's
view went stale, so a player could water the rose twice. A lock would have fixed nothing.
**Why it bit.** A prediction is written before the code exists, so its remedy fits the design
that was imagined, not the one that was built.
**How to apply it.** Before acting on a predicted trap, write the test that would show it, run it
against the built app, and fix what fails. Then rewrite the trap's row with what was measured.
## Data built against a runtime's time zones goes stale when the runtime changes
**What happened.** On 2026-11-17 Node went from 22.11 to 22.23.4 and a test found a time zone
(America/Coyhaique) with no town guess. Rebuilding the town list then showed far worse: Santiago had
sat on a southern zone's clock since the first build, because Natural Earth files it under
America/Sao_Paulo and the build trusted any zone whose clock matched one of the country's own.
**Why it bit.** A build step that consults `Intl` bakes the runtime's time zone data into a file. An
upgrade changes the answers silently; only a test that asks *every* zone notices, and then the whole
derivation deserves a second look, not just the one zone.
**How to apply it.** After a Node upgrade, run the content tests first. When generated data changes,
diff it item by item (here: every town whose zone moved) and explain each change in the review.
+103
View File
@@ -43,3 +43,106 @@ firing has not been tested. Without the run, a review can only say "I believe".
**How to apply it.** For every guard a branch adds, apply the inverse change, run the **How to apply it.** For every guard a branch adds, apply the inverse change, run the
one suite that should catch it, record CAUGHT or MISSED, and restore the file with one suite that should catch it, record CAUGHT or MISSED, and restore the file with
`git checkout`. Commit first, so the restore is exact. `git checkout`. Commit first, so the restore is exact.
## Fill an empty slot for one run, to test the state it will have later
**What happened.** The Letter's e2e test branches: no link while `docs/LETTER.md` is
empty, and the page opens once it is written. Only the empty branch could run, because
the author has not written the letter. One run with a temporary sample letter took the
other branch. It found the stale-cache bug (`technical.md`), and then passed the
written-letter page, axe included, in a real browser. The scaffold was restored
afterwards.
**Why it bit.** A test written for a future state passes trivially until that state
arrives. Then it fails for the first time on the author's machine, with the author's words.
**How to apply it.** When a test branches on content that does not exist yet, fill the
content temporarily, run the suite, restore it, and record the run in the review.
## A one-time cold start is charged to the first case
**What happened.** On 2026-11-01, with the machine at 80% CPU, `pnpm test` failed one engine
case: `purity-lint.test.ts` › *reports Date.now()*, timed out at 5 s. The snippet was fine.
The first `eslint.lintText` call loads the whole config and typescript-eslint, and vitest
charged that load to whichever case ran first. The fix is a `beforeAll` that lints an
empty file once, with its own 60 s timeout.
**Why it bit.** A suite that passes on a quiet machine can still hide a fixed cost inside one
case. It fails only under load, and then it looks like a bug in the code that case tests.
**How to apply it.** When the first case of a file loads something heavy (a linter, a
compiler, a browser), load it in `beforeAll` with an explicit timeout. If only the first case
of a file times out, suspect a cold start before suspecting the code.
## An example of "missing" must stay missing
**What happened.** On 2026-11-01 two art-prep tests used *fox* as their example of a thing not
in the manifest: `unknown character "fox"` and `"fox-sheet" is not a picture`. The fox was the
next character on the roadmap. Adding him made both tests fail. They now name an owl, which no
plan mentions.
**Why it bit.** A negative test takes its example from what is not there yet, and the next
thing on the roadmap is exactly what is not there yet. The test then fails on the day the
feature lands, for a reason that has nothing to do with the feature.
**How to apply it.** For a "does not exist" example, pick a name no plan will ever add (an owl
in a game with a fox, `owl-sheet`), never the next item on the roadmap.
## A fake that does not do what the real thing refuses hides the bug
**What happened.** The UI tests for the sunset town used a fake `save` that pushed the
value into an array. The real save goes to IndexedDB, which clones the value and refuses
a Proxy. The fake never cloned, so 10 UI tests passed while saving was broken in every
browser (`code.md`). The same feature's e2e tests then raced the IndexedDB commit by
reloading milliseconds after a click, and passed or failed on alternate runs.
**Why it bit.** A fake is a claim about the real dependency. When the real one rejects
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.
## `toEqual` cannot see a field that is `undefined`
**What happened.** On 2026-11-02 a drill made the rose's export file carry an extra field
taken from the identity. The test passed: it kept no identity, so the field was
`undefined`; `toEqual` treats a missing property and an undefined one as equal, and
`JSON.stringify` drops it, so the text check saw nothing either.
**Why it bit.** "Nothing else in it" is a claim about absent fields, and the default
equality is blind to exactly the field that is absent by accident.
**How to apply it.** For "holds this and nothing else", use `toStrictEqual`, and give the
test something real to leak (here, a kept identity).
## A helper that searches for a moment can land on a boundary
**What happened.** On 2026-11-02 the petal's UI test asked a helper for "a moment when the
rose needs nothing", then recorded an opening "a minute earlier, today". The helper searched
hour by hour from a morning pour and returned 00:00 local, so a minute earlier was yesterday
and the test failed. The component was right; the first suspicion fell on it.
**Why it bit.** A search returns the first value that satisfies its condition, and the first
one is often an edge: midnight, the end of a window, the last day of a range. The test then
asserts something the edge makes false.
**How to apply it.** Bound every search to the region the test means (here: daytime on the
pour's own local day), and when a test built on a search fails, print what the search
returned before debugging the code under test.
+55
View File
@@ -0,0 +1,55 @@
# Review — `art/board-v2`
Adversarial self-review (CLAUDE.md §5.3) of the art board's second version, 2026-11-07, at Mark's
request: *rewrite the art board to provide better prompts, and update it for all assets to be
present.* Pipeline: [`docs/ART.md`](../../docs/ART.md). Style: [`art/STYLE.md`](../../art/STYLE.md).
## Why
Mark made the first `rose-sheet` from the old prompts and did not like it. Read against STYLE.md:
- **Wet, pale watercolour**, no outlines: the opposite of S1, and close to the book's own look.
- **A smiley on a round ball** inside the petals: the face sat on a head, not on the rose.
- **A children's sticker sheet**: identical sweet smiles, for players who are grown-ups.
- **No light**: one pink and one olive, lit from nowhere, though §1 asked for low light from the left.
The choices S1–S5 were right; the prompts did not carry them. They were long technical documents:
§1 came first, but then pixel coordinates, cut lines and two long lists of things not to draw.
## What changed
| # | Change | Why |
|:--|:--|:--|
| B1 | **STYLE.md §1 rewritten**: opaque matte gouache, dry brush, paper grain, an uneven plum-brown brush line, low light from the left with a cool shaded side, a restrained palette, *for grown-ups, never a children's sticker or a cute mascot*, faces as a few tiny marks painted on the character, *not watercolour*, *not digital*. | Says the look positively and specifically, the way the default it drifted to is specific. |
| B2 | **The rose's face is painted on her inner petals**, no wider than a fifth of the bloom, with *no round face, ball or bare patch* (§3, the character description, and an avoid line on every rose picture). Her bloom is a real cupped old garden rose. | The failure seen, named in the place every rose prompt reads. |
| B3 | **Prompts are short and ordered**: `Make` (what kind of image, in plain words), `Reference`, `Subject`, `Setting`/`Layout`, `Canvas`, `Include`, `Avoid`, `Board id`. | Generators follow the first lines and drift on the rest (STYLE.md §6). |
| B4 | **No pixel coordinates** in prompts: the grid is said in words (columns, rows, wide gaps). The board's dashed overlay and `art:accept` still cut by the exact grid. | A generator cannot measure pixels; the numbers only crowded out the picture. |
| B5 | **The book's motifs are no longer named in prompts** (glass dome, folding screen, tiny round planet, desert, scarf, wheat). They stay in STYLE.md §4 and review point 3, where Claude's review and Mark's eye check them. A test proves no prompt names them and the checklist still does. | Naming a motif, even to forbid it, makes a generator likelier to draw it. |
| B6 | **33 new pictures, 86 in all**, every one with a stand-in. Phase 1: her touch (tickled, *gently*), weeds growing, the can pouring, a gust, water drops, the Letter's header, a maskable icon, a tab icon. Phase 2: visitors, mementos, the Geographer's book, five planet drafts. Phase 3: the trace petal. Phase 4: a sky light, the sunset-wave lamps, two foxes meeting. Phase 5: the share frame. | *All assets present*: everything Phases 1–5 name, from CLAUDE.md §1, GAMEPLAY.md and ROADMAP.md. |
| B7 | The board page: texts no longer promise pixel grids; groups renamed (*Scenes*, *Icons*); a line on the first step says to make `rose-sheet` again first; the *All at once* prompt finds the style by `Make:` instead of `Asset:`. | The page must describe the prompts it holds. |
## Findings
| # | Area | Finding | Resolution |
|:--|:--|:--|:--|
| 1 | Soul | **The planets show grown-ups** the game wants players to feel for; STYLE.md says no people. | The grown-up is never drawn: each planet is a grassy hilltop (never a sphere) with what they keep there. A test proves every planet asks for *nobody there*. They are **drafts** until each planet's feature doc. |
| 2 | Soul | The sixth grown-up's planet (GAMEPLAY.md §6) would centre drinking, for players who may be fragile. | **Left out on purpose** until its feature doc decides how it can be shown gently (STYLE.md §4). |
| 3 | Copyright | The five planets echo the book's (a throne, a mirror, ledgers, a lamp, maps). | GAMEPLAY.md §8 takes the structure as reference and never the drawings. The objects are generic; the hilltop is not a planet sphere; review point 3 still applies. Mark decides each with its feature doc. |
| 4 | Copyright | ROADMAP Phase 2's *album of the rose's strange requests* has a name tied to the book. | No picture for it: it waits for its feature doc. |
| 5 | Words | The planets' first purpose line used the word the game never says. | `checkManifest` refused it; reworded. |
| 6 | Prompts | Two pictures still said *safe box*, a pixel-grid term. | The new test (no pixel terms) caught it; reworded. |
| 7 | Board | The *All at once* prompt cut the style by looking for `Asset:`, which prompts no longer have; it would have written no style at all. | Fixed to `Make:`. Not covered by a test (the page's JavaScript has none); checked by reading. |
| 8 | Stand-ins | The planet stand-ins' objects were too small to read. | Scaled up after looking at the board. |
| 9 | Phase 6 | No store pictures (a store banner is not a size generators offer). | Deferred to Phase 6, with the store work. |
## Gates
art-prep 61 tests (56 before: +7 new, 2 replaced), lint, typecheck, `lint:copy` clean. The board was
built (`pnpm art:board`: 35 cards, 86 pictures, 101 stand-ins), opened locally (all five groups, 101
stand-ins, none broken) and republished to its address as **version 4**. **The app is unchanged**:
no picture it shows changed; the new stand-ins are not used by it yet.
## Not verified
- **That the new prompts make a better rose.** Only a generator can say: make `rose-sheet` again.
- The *All at once* prompt with real uploads; the board on a phone.
+60
View File
@@ -0,0 +1,60 @@
# Review — `art/phase2-3-pictures`
Adversarial self-review (CLAUDE.md §5.3). Analysis:
[`features/art-pipeline.md`](../features/art-pipeline.md), decisions A11–A14. Reviewed 2026-11-01
on Node 22.11.0, Windows 10. There is no PR: the only remote is Gitea.
Mark asked for more pictures on the art board. The board went from 11 cards and 25 pictures to
18 cards and 53. The new ones are the fox (a character sheet and 12 poses), five berries and the
leaf he eats from, the wild bush in three states, the grooming brush, three path stages and a
lantern unlit and lit.
## Gates — counts, not exit codes
| Gate | Result |
|:--|:--|
| `pnpm lint` | exit 0 |
| `pnpm typecheck` | exit 0, after finding 4 |
| `pnpm test` | **186 passed**: schema 15, content 47, **art-prep 56 (+6)**, engine 52, ui 16 |
| `pnpm lint:copy` | 12 files, 0 problems |
| `pnpm validate:library` | 0 entries; 13 of 13 fixtures rejected |
| `pnpm test:e2e` | 7 passed |
| `pnpm test:offline` | 1 passed |
| `pnpm art:board` | 18 cards, 53 pictures, 63 stand-ins |
**The app is unchanged** (§5.4). No app file changed. **The board is republished** to the same
private address, version 2. Its capabilities and stored rows carried over.
**Bug drills.** Each new guard was switched off once, and its test failed:
| Put back | Result |
|:--|:--|
| Phases out of order accepted | CAUGHT: *a Phase 1 picture listed after Phase 3* |
| A missing stand-in drawing returns an empty box | CAUGHT: *a picture with no stand-in drawing stops the build* |
**The stand-ins, looked at.** The seven new stand-ins were rendered to one PNG with sharp.
The browser pane was hidden, so a screenshot there showed nothing. All 12 fox poses, the berries,
bush, brush, paths and lanterns read as what they are. The board, served on 127.0.0.1, showed 18
cards with *Phase N* on each, and no broken image.
## Findings
| # | Area | Finding | Resolution |
|:--|:--|:--|:--|
| 1 | Copyright | The planets' grown-ups are the book's most recognisable drawings. Pictures asked for before each planet's design exists would fix a look with no design behind it. | **By design (A12)**: no planet pictures. Each planet's feature doc asks for its own. |
| 2 | Copyright | The book's fox is pale, sandy and long-eared, and his chapter is full of wheat. A generic "cute fox" prompt drifts towards it. | **Fixed**: a russet fox with a cream mask and tail rings (F1); *pale sandy fur or very large ears* on every fox prompt; *a wheat field* on the shared avoid list; review point 8 names the difference. |
| 3 | Soul | The petted fox needs a touch, and STYLE.md forbids hands. A drawn hand would also put a person in the picture. | **Fixed**: the fox leans into "a touch we do not see", and *a human hand or arm* is on every fox sheet's avoid list. |
| 4 | Correctness | `board.test.ts` cast `readonly Cell[]` straight to a mutable type: vitest passed, `tsc` refused. | **Fixed** with a cast through `unknown`, as the other tests do. Found by the typecheck gate, not by tests. |
| 5 | Test honesty | Two tests used *fox* as their example of a thing not in the manifest (`unknown character "fox"`, `"fox-sheet" is not a picture`). Adding the fox made them fail for the wrong reason. | **Fixed**: the example is now *owl*. Lesson: `testing.md`. |
| 6 | Soul | A lantern unlit could read as *nobody answered*. | **Covered by the game, not the picture**: a lantern only one player lit is never shown to the other (CLAUDE.md §8). The unlit cell is described as "quiet, not sad". |
| 7 | Scope | Paths and lanterns are Phase 3. The screen that shows two roses and the path between them is not designed. | **Deferred, said on the card**: F4 and the card's *usedBy* say the Phase 3 feature doc may ask for them again. |
| 8 | Process | STYLE.md was approved an hour earlier. Adding the fox under that heading would stretch the approval over choices Mark never saw. | **Fixed**: F1–F4 were listed as a draft in §0. Mark then approved them with a deeper red-orange coat (`art/fox-coat`). |
| 9 | Process | The full run started with the machine at 85 % CPU. §5.7 says not above ~80 %. The load was not checked first. | **Noted.** The run passed and nothing else was disturbed, but the check comes first next time. |
| 10 | Process | A cleanup step in the drill command would have removed `F:\manifest.bak`, a path at the drive's root. The safety check refused it, and nothing ran. | **Fixed**: the drill was rerun with backups only in the scratchpad and no removal. |
## What was not verified
- Upload, Accept and the cut lines on the **published** board, for the new cards. That needs Mark signed in.
- The published board at phone width and in dark mode.
- Whether a generator keeps a 2 × 2 or 2 × 1 grid as well as the 4 × 1 ones. Nothing has been generated yet.
- Whether the fox reads as a fox and not a red panda. Only a real picture can show that, and `fox-sheet` is the test.
+97
View File
@@ -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*).
+73
View File
@@ -0,0 +1,73 @@
# Review — `feature/art-board`
Adversarial self-review (CLAUDE.md §5.3). Analysis:
[`features/art-pipeline.md`](../features/art-pipeline.md). Reviewed 2026-11-01 on Node 22.11.0,
Windows 10. There is no PR: the only remote is Gitea, and this session cannot open one there.
## Gates — counts, not exit codes
| Gate | Result |
|:--|:--|
| `pnpm lint` | exit 0 |
| `pnpm typecheck` | exit 0, now including `@rosea/art-prep`; `svelte-check` 0 errors, 0 warnings |
| `pnpm test` | **180 passed**: schema 15, content 47, **art-prep 50 (new)**, engine 52, ui 16 |
| `pnpm lint:copy` | 12 files, 0 problems (the board and prompts are not player copy; A3 covers prompts) |
| `pnpm validate:library` | 0 entries; 13 of 13 fixtures rejected |
| `pnpm test:e2e` | 7 passed |
| `pnpm test:offline` | 1 passed |
| `pnpm art:board` | 11 cards, 25 pictures, 29 stand-ins |
**The app is unchanged** (§5.4). No app file changed, so the bundle is the same; e2e and offline
ran to show that. **The board is published**, as a private claude.ai artifact (version 1).
Its `art` collection was read back once and is empty, as it should be.
**The board, rendered once** from `tools/art-prep/dist/board/` on 127.0.0.1:
*Rosea Domi Art Board*, 11 cards, 18 cell slots, groups *Character sheet · 1*,
*Sprite sheets · 4*, *Garden layers · 4*, *Single pictures · 1*, *App icon · 1*. No stand-in
failed to load and nothing overflowed sideways. Served locally, the page has no claude.ai
runtime, so it showed its read-only state. Upload and Accept were **not** exercised (see
*not verified*).
## Test honesty — bugs put back
| Bug put back | Result |
|:--|:--|
| The forbidden-word check skipped for asset texts | CAUGHT: 3 failed (book name, medical word, forbidden name never reaches the board) |
| The shared avoid list dropped from single-picture prompts | CAUGHT: *every one carries the shared avoid list* |
| `art:accept` stops refusing a sheet with an empty cell | CAUGHT: *refuses the whole sheet when a cell is empty* |
| The board page loses its *Garden layers* group | CAUGHT: *every kind in the manifest has a group on the board page* |
| A committed stand-in drifts from the generator | CAUGHT: *art/placeholders/ holds exactly what the generator makes* |
| `fit: cover` with `withoutEnlargement` (the first draft) | CAUGHT, as the real finding 1 |
## Findings
| # | Area | Finding | Resolution |
|:--|:--|:--|:--|
| 1 | **Correctness** | `art:accept` resized full pictures with `cover` + `withoutEnlargement`. A small, wrongly shaped picture skipped the crop too: a 900 × 600 picture accepted as the square app icon stayed 900 × 600. | **Fixed**: crop to shape first (`middle()`), then only shrink. Test asserts 600 × 600. Lesson: `art.md`. |
| 2 | **Copyright** | The manifest's own text said the waiting rose is *patient*, a forbidden word, and nothing would have caught a book name in a prompt either, because `lint:copy` does not read prompts. | **Fixed by design**: `checkManifest` runs `findForbidden` over every prompt word, and `art:board` refused its own first draft. Lesson: `art.md`. |
| 3 | **Copyright** | No automatic likeness check: a generated picture that looks like the book's drawings is caught only by Claude's review and Mark's eye. | **Accepted for Phase 0**, written down in docs/ART.md §5. The prompts' shared avoid list (A4) lowers the odds, and review point 3 names it. |
| 4 | **Soul** | The rose's moods are where guilt can enter art: a thirsty or waiting rose drawn as hurt blames the player (§8). | **Addressed in the prompts**: *tired, not hurt*, *gently comic, never ill*, *quiet, waiting with patience, never sad, hurt or blaming*. Review point 7. The real pictures still need looking at, which is Mark's and Claude's job on the board. |
| 5 | **Privacy** | The board stores pictures on claude.ai. | **Accepted**: only generated art and Mark's notes. The app never contacts the board, and art reaches the app only through git. Nothing about a player exists there. |
| 6 | Process | The roadmap and CLAUDE.md planned `tools/art-prep` as a 127.0.0.1 page. The board replaces it at Mark's request. | **Recorded**: ROADMAP Phase 0 *Decided 2026-11-01*, CLAUDE.md §2, §3 and §9, docs/ART.md §3. |
| 7 | Correctness | STYLE.md is Claude's draft. The roadmap says *drafted with Mark*. Every prompt on the board inherits the draft. | **Closed 2026-11-01**: Mark kept the draft; S1–S5 are decided (`docs/style-approved`). Still true: the first card, `rose-sheet`, is the test. If it looks wrong, STYLE.md changes, `art:board` rebuilds and the board is republished. |
| 8 | Correctness | The board's local preview first showed **Ludus**: ports 5180 and 5191 were taken on this machine. | **Fixed** for the preview (port 5237, checked free). It affected only this review's look at the page, not the board. Lesson: `technical.md`. |
| 9 | Scope | The garden layers assume a horizon at 40 % and a bed at 72 %. Phase 1's screen design may want other numbers. | **Accepted**: the numbers are in the manifest, so changing them costs a rebuild and new pictures, which is the reason to decide before Mark makes the layers. Noted for the Phase 1 feature doc. |
| 10 | Offline | The board needs the network; the game doesn't. | **Not applicable to the player**: the board is a tool. `art/final/` ships inside the precached bundle (Phase 1). |
| 11 | Test honesty | `cli-board.ts` and `cli-accept.ts` (file writing, argument parsing) have no tests. `art:board` was run, and `art:accept` was not run on a real file. | **Accepted**: the logic under them is tested. `art:accept` runs for real with the first accepted picture, the Phase 0 gate. |
Looked for and found none:
- **Reachability.** No player is involved.
- **Correctness cases from §5.3.** Clock, DST, two tabs and partial writes do not apply to the
tool. On the board, a second tab is handled by the store's live snapshot, as in Panda Domi's.
## What was NOT verified
- **Uploading, pasting and accepting on the published board.** These need Mark signed in. The
page code is Panda Domi's, which works there, adapted only in tokens, groups, wording and the
review line.
- **Any real generated picture.** Every `art:accept` test uses synthetic pictures made with sharp.
- **The style itself.** Whether the gouache direction reads as Rosea and not as the book can only be
judged on real pictures.
- **Dark mode and phone width of the published board** were not looked at. The local check was one
desktop render.
+39
View File
@@ -0,0 +1,39 @@
# Review — `feature/calm-refresh`
Adversarial self-review (CLAUDE.md §5.3). Analysis: [`features/calm-refresh.md`](../features/calm-refresh.md).
Reviewed 2026-11-02 on Node 22.11.0, Windows 10. There is no PR: the only remote is Gitea.
## Gates
Counts are on the merge; HANDOVER repeats them. New: ui +3 (the line, Refresh, on the Letter);
e2e +1 (`update.spec.ts`: a real second version).
**The app changed** (CLAUDE.md §5.4): the worker is registered by the app (`virtual:pwa-register`)
instead of the emitted `registerSW.js`, and a waiting version shows one line with *Refresh*. Rebuilt by
the e2e and offline runs; **not deployed** (G0.13). This is the change that lets every later fix
reach an installed garden.
## Bug drills — each put back once, the app rebuilt each time
| Put back | Result |
|:--|:--|
| The app never hears that a version waits | CAUGHT |
| The new worker swaps itself in silently (`skipWaiting: true`) | CAUGHT: version B controlled the page before Refresh |
| Refresh does nothing | CAUGHT: version A still controlled after Refresh |
## Findings
| # | Area | Finding | Resolution |
|:--|:--|:--|:--|
| 1 | Test honesty | A waiting worker cannot be faked without testing the fake. | The test publishes a real version B (A's build, `sw.js` changed) on the same origin; B's own listener says which worker controls the page, before and after. |
| 2 | Correctness | Registration moved from `registerSW.js` to the app bundle. The first worker must still control the first page, or the offline promise breaks. | `clientsClaim: true` unchanged; the offline suite (first load, server closed, reload, cold start) passes on the merge. |
| 3 | Correctness | A player who ignores the line keeps version A until every garden tab closes, which is how service workers work. | Accepted and intended (U2). Closing and reopening the app also brings B. |
| 4 | Soul | An update line can nag. | One line, no badge, no count, never repeated in a modal; it disappears after Refresh. |
| 5 | Privacy | Update checks are requests. | They already happened (the browser checks `sw.js` on navigation), same origin only; nothing new is sent. |
| 6 | Correctness | Two tabs: Refresh in one reloads only that one; the other keeps showing the line until it reloads. | Accepted; it is still true there. |
## What was not verified
- An installed PWA on a real phone, and Safari's update timing.
- The leftover `dist/registerSW.js` from older builds is no longer emitted; GitHub Pages will simply
not serve it. No page references it.
+40
View File
@@ -0,0 +1,40 @@
# Review — `feature/chair-sunset`
Adversarial self-review (CLAUDE.md §5.3). Analysis: [`features/chair-sunset.md`](../features/chair-sunset.md).
Reviewed 2026-11-02 on Node 22.11.0, Windows 10. There is no PR: the only remote is Gitea.
## Gates
Counts are on the merge; HANDOVER repeats them. New: ui +7, e2e +1 (watch, again, Escape, focus,
axe during and after), and the offline suite now watches an in-game sunset with the server gone,
which CLAUDE.md §3 has always promised.
**The app changed** (CLAUDE.md §5.4): *Move the chair* under tonight's sunset line. Rebuilt by the
e2e and offline runs; **not deployed** (G0.13). Seen at phone width at the start, mid-sunset and
after: the first look letterboxed the scene and left the sun just above the horizon; both fixed (the
sky fills the screen, the garden stands on the bottom edge, the sun sinks behind the horizon).
## Bug drills
| Put back | Result |
|:--|:--|
| Buttons shown during the sunset | CAUGHT: 3 |
| Escape does nothing | CAUGHT |
| The half minute never ends | CAUGHT: 4 |
| Focus not given back to *Move the chair* | CAUGHT |
## Findings
| # | Area | Finding | Resolution |
|:--|:--|:--|:--|
| 1 | Accessibility | A full-screen scene with no buttons can trap a keyboard or screen-reader user. | Escape and a tap leave early; a screen-reader-only line says so (`aria-describedby`); focus goes in and comes back. Tested; axe passes during and after. Not tried with a real screen reader. |
| 2 | Soul | A screen sunset could stand in for the real one. | Its last words are the real sunset's time; it logs and counts nothing. |
| 3 | Design | First look: dusk-blue bars above and below the scene on a tall phone; the sun stopped above the horizon. | Fixed after the screenshots. |
| 4 | Design | The sky gradient and the sun are placeholders in code until the real sky (Phase 4) and art. | Accepted: the layer split (STYLE.md S5) is what the real sky needs. |
| 5 | Motion | Reduced motion: the global rule shortens animations, so the scene shows dusk at once and holds it for the half minute. | Accepted (C5); not seen with the setting on. |
| 7 | Process | Lint failed on an unused `svelte-ignore` comment after e2e and offline had passed; the comment was removed and lint, typecheck and the ui tests rerun. A template comment does not reach the build, so e2e and offline were not rerun. | Fixed. |
| 6 | Correctness | Playwright's `setFixedTime` freezes `Date` but lets timers run in real time; `clock.install` drives them. | The tests that watch the scene use `install`; the pour tests keep `setFixedTime`, whose real-time hold they need. |
## What was not verified
- A screen reader, reduced motion on a real device, Safari's `dvh` handling.
+60
View File
@@ -0,0 +1,60 @@
# Review — `feature/day-sentence`
Adversarial self-review (CLAUDE.md §5.3). Analysis: [`features/day-sentence.md`](../features/day-sentence.md).
Reviewed 2026-11-02 on Node 22.11.0, Windows 10. There is no PR: the only remote is Gitea.
## Gates
Counts are on the merge; HANDOVER repeats them. New: engine +25 (5 properties), schema +3,
storage +7, content +9, ui +7, e2e +3 (no petal in the shipped build; open, reload, tomorrow
in a fixture build; axe folded and open).
**The app changed** (CLAUDE.md §5.4), but **not visibly yet**: the shipped library is empty, so
the shipped build holds no petal and says nothing about one. The e2e fixture build shows it.
Rebuilt by the e2e and offline runs; **not deployed** (G0.13).
## Bug drills
| Put back | Result |
|:--|:--|
| The petal moves on by itself each day (lost) | CAUGHT: 3 |
| Every opening counts, not only the first of a day | CAUGHT |
| She remembers after any gap | CAUGHT |
| The order ignores when a sentence was verified | CAUGHT: 2 |
| She offers the petal over a need | CAUGHT |
| Loading care warns on every petal | CAUGHT |
| The rose file leaves her petals behind | CAUGHT: 3 |
| A candidate may carry `verifiedBy` | CAUGHT |
| `library:verify` accepts no name | CAUGHT |
Not drilled: the app build no longer running `validate:library` first. No test would fail; the
build script itself is the check (finding 8).
## Findings
| # | Area | Finding | Resolution |
|:--|:--|:--|:--|
| 1 | Soul | *Remembering on nearby days* could be a streak in disguise: a player who learns that a gap costs the extra line may feel they lost it. | Nothing names it, counts it or explains it, so there is nothing to lose sight of; after a gap the day's petal is exactly as full. Accepted, and flagged for the author's two-week play (ROADMAP Phase 1 gate). `PETAL.nearDays` is his. |
| 2 | Soul | *I am keeping a folded petal for you.* on every visit could feel like an obligation. | Said only when she needs nothing else, never after it is opened, never as a notification. Accepted; the author may soften it. |
| 3 | Soul | Opening at sunset could become the reward that keeps someone on the screen at sunset. | It gives nothing more; her words then send the player out: *Go and look at the sky. I will be here.* |
| 4 | Correctness | Two tabs open the petal on the same day: two events. | The first of a local day is that day's petal (P2); property-tested. |
| 5 | Correctness | Changing the town to a zone on another calendar day can show a folded petal again that day, so a second opening. | Accepted: at most one extra petal per change of zone, and nothing is lost. The event keeps the day it was recorded with. |
| 6 | Correctness | A sentence removed from the library after it was opened. | Today's opening still counts as today's (no second one); the UI shows nothing for it; it is never remembered. Tested in the engine. |
| 7 | Correctness | Turbo did not know `ROSEA_BASE` or `ROSEA_LIBRARY_DIR`, so a turbo build with either set replayed a build made without it. | Fixed: both are in the build task's `env`; checked that the cache key changes. Also seen: turbo's replay writes over `dist/` without clearing it, so a stale bundle from another build can sit beside the right one (unreferenced by the page and the worker). **A deploy must build into a clean folder** — noted for G0.13. |
| 8 | Process | What ships is what passed `validate:library` only because the app's build script runs it first. | Accepted; stated in `vite.config.ts` and the analysis (P5). A test that reads the script would only restate it. |
| 9 | Privacy | Which sentences were opened, and when, go into the rose file. | The same as care: the player's own file, never the town, never sent. |
| 10 | Copyright | A candidate could be quoted from a modern translation or from memory. | Candidates carry `check.url` and `check.publicDomain`; the helper that gathered them was told to copy from fetched public-domain editions; the validator holds them to the translation list. Only the author verifies (P8). |
| 11 | Accessibility | The petal is a button; the open words get focus; *Today's petal* is a toggle with `aria-expanded`. | Tested; axe passes folded and open. Not tried with a real screen reader. |
| 12 | Offline | No offline test opens a petal: the shipped library is empty. | Deferred until the first sentences are verified; the e2e reload covers the stored opening. |
| 13 | Test honesty | The first UI test of *opened earlier today* failed for the wrong reason: the helper that looks for a quiet moment picked local midnight, so "a minute earlier" was yesterday. | Fixed: the helper looks only at daytime on the pour's own day. `lessons/testing.md`. |
| 15 | Content | 78 candidates arrived from a helper agent. All pass every rule; a second script found all 78 word for word in the downloaded editions. Eleven translations were missing from the public-domain list. | Added to `validator.ts`, each the exact Gutenberg edition, with the translator's death year (all before 1956) and an edition before 1931. Ten lines are flagged for the author in `content/candidates/README.md`: possible promises, lines that could sting, cut points, editions. |
| 16 | Process | The helper downloaded 39 Project Gutenberg text files with `curl` into the session's scratch folder, without asking first. Downloading needs the person's permission. | Reported to the author. The files are outside the repository and are not committed. Next time a brief that needs downloads says so, and the request goes to the author first. |
| 14 | Process | An inline Python edit on Windows wrote CRLF line endings into two files; a heredoc broke on a template string again. | Normalised; edits made with the edit tool instead. `lessons/process.md`. |
## What was not verified
- A screen reader; Safari; the petal on a real phone.
- Offline opening of a petal (finding 12).
- That the Gutenberg editions themselves are faithful, and every public-domain reason: the
author's check, line by line, before `pnpm library:verify`. The match between candidate and
edition was checked by script (finding 15).
+43
View File
@@ -0,0 +1,43 @@
# Review — `feature/keep-her-safe`
Adversarial self-review (CLAUDE.md §5.3). Analysis: [`features/keep-her-safe.md`](../features/keep-her-safe.md).
Reviewed 2026-11-02 on Node 22.11.0, Windows 10. There is no PR: the only remote is Gitea.
## Gates
Counts are on the merge; HANDOVER repeats them. New here: engine +4, storage +6, ui +5, e2e +1
(save on one browser profile, bring her back on a fresh one, reload).
**The app changed** (CLAUDE.md §5.4): *Keep her safe* beside *Her numbers*. Rebuilt by the e2e run;
**not deployed** (no host, G0.13).
## Bug drills — each put back once
| Put back | Result |
|:--|:--|
| Only the current key counts | CAUGHT: 3 |
| One replay for all keys (the lossy merge K3 avoids) | CAUGHT: 2, the merge property among them |
| Import appends acts already there | CAUGHT: 2 |
| Export leaks a field from the identity | **MISSED at first** (finding 1), then CAUGHT |
| A file with one bad act half-imports the rest | CAUGHT |
## Findings
| # | Area | Finding | Resolution |
|:--|:--|:--|:--|
| 1 | Test honesty | The "nothing else in the file" test kept no identity, so a leaked field was `undefined`; `toEqual` treats a missing and an undefined property as equal, and `JSON.stringify` drops it. The leak drill passed. | **Fixed**: the test keeps a real identity and uses `toStrictEqual`. Lesson: `testing.md`. |
| 2 | Correctness | The private key cannot be exported, so a rose brought back lives under a new key. | K2: a rose is named by her current key and her past keys; the log is never rewritten. |
| 3 | Correctness | Replaying two devices' care as one log can take a day away (one watering makes the other "too much"). | K3: one replay per key, days unioned; property-tested. |
| 4 | Correctness | Weeds, petals and wind are seeded by key, so a moved rose's pattern of needs changes. | Accepted: the pattern is arbitrary, and her days, stage and drift come with her. A moved rose that is opening still drops petals (tested). |
| 5 | Privacy | The file is a diary of when someone was in the app. | Made only on request; the screen says what it holds; no town and no private key (tested in unit and e2e). It goes wherever the player puts it, which Rosea cannot see. |
| 6 | Privacy | A file brought back could have been edited by hand to give her days she was never given. | It only changes the player's own garden; nothing is counted against anyone (CLAUDE.md §1). Phase 3 must not treat imported care as proof towards friends: noted in the analysis. |
| 7 | Soul | "This browser may clear her" can frighten. | Shown only behind *Keep her safe*, with the remedy in the same sentence; a refusal is said calmly. Nothing reminds or nags. |
| 8 | Process | The first e2e run **and the full gate run** both started with the CPU at 100 %, above the 80 % rule (CLAUDE.md §5.7). The load was another project's test run on this machine. The second time the reading was taken, but the run was chained after it without depending on it. Both passed. | **Fixed on `fix/cpu-guard`**: `pnpm guard:cpu` now runs before every full run. Lesson: `process.md`. |
| 9 | Accessibility | A file input styled as a button. | The real input stays in place, labelled by its text, keyboard-operable; axe passes on the restored garden. Not tested with a screen reader. |
## What was not verified
- `persist()` in real browsers: Chromium under Playwright only answers for itself. Firefox's prompt,
Safari's behaviour, and an installed app's automatic call (K5) were not seen.
- The iOS hint on a real iPhone.
- A file saved by a later version of Rosea (`version` 2): refused today, by design.
+74
View File
@@ -0,0 +1,74 @@
# Review — `feature/letter-slot`
Adversarial self-review (CLAUDE.md §5.3). Analysis:
[`features/letter-slot.md`](../features/letter-slot.md). Reviewed 2026-11-01 on
Node 22.11.0, Windows 10. There is no PR: the only remote is Gitea, and this session
cannot open one there.
## Gates — counts, not exit codes
| Gate | Result |
|:--|:--|
| `pnpm lint` | exit 0 |
| `pnpm typecheck` | exit 0; `svelte-check` 0 errors **0 warnings** in ui and app (a bare `href="#"` warning was fixed) |
| `pnpm test` | **130 passed**: schema 15, content 47, engine 52, ui 16 (was 3) |
| `pnpm lint:copy` | **12 files** checked (was 9: `parse.ts`, `Letter.svelte`, `docs/LETTER.md`), 0 problems |
| `pnpm validate:library` | 0 entries; 13 of 13 fixtures rejected |
| `pnpm test:e2e` | **7 passed** (was 6), on the scaffold letter |
| `pnpm test:offline` | **1 passed** |
**Built, not deployed** (§5.4): there is no host. The change is **deliberately
invisible**: with the scaffold letter, the built page looks exactly as before. The
bundle is 8 precache entries, 42.74 KiB.
**The written-letter branch, run once.** `docs/LETTER.md` was given a temporary sample
letter (headings, a paragraph across lines, *emphasis*, an `https:` and a `tel:` link).
e2e: 7 passed, including the page opening from the link, axe with no violations, and
*Back*. Offline: 1 passed. The scaffold was then restored and both suites ran again
green. That run found finding 1.
## Test honesty — bugs put back
| Bug put back | Suite | Result |
|:--|:--|:--|
| `ALLOWED_HREF = /.*/` (any link scheme) | ui unit | CAUGHT: 2 failed |
| The letter link shown while the letter is empty | ui unit | CAUGHT: 2 failed |
| same | e2e | CAUGHT: `toHaveCount(0)` failed |
| The focus effect reads `heading` only after `if (moved)` | ui unit | CAUGHT: focus stayed on `<body>`. This was the first draft's real bug (finding 2). |
| *heal* in the body of `docs/LETTER.md` | `lint:copy` | CAUGHT: `docs/LETTER.md:36 'heal' (medical)` |
| `docs/LETTER.md` missing from turbo's cache key | e2e, written letter | CAUGHT, as the real finding 1 |
Not caught by any test: removing `docs/LETTER.md` from `lint:copy`'s file list. Only
the quoted file count (12) would show it. See finding 6.
## Findings
| # | Area | Finding | Resolution |
|:--|:--|:--|:--|
| 1 | **Correctness** | Turbo hashed only the app package, so after the letter changed, `test:e2e` printed `cache hit` and tested the **old bundle**. A deploy from a warm cache would ship the old letter. | **Fixed**: `docs/LETTER.md` is in `globalDependencies` (L8). Shown as `cache miss` after the change. Lesson: `technical.md`. |
| 2 | Correctness | The first focus effect returned before reading `heading`, so it never re-ran and focus never moved. | **Fixed** before review, caught by the Shell test. Lesson: `code.md`. |
| 3 | **Offline** | The letter opens offline, because it is bundled. A support line given as an `https:` link does **not** work offline, but a `tel:` link does. | **Deferred** to G0.27, with the advice that each support line has a phone number. |
| 4 | **Privacy** | An `https:` link in the letter takes the player to another site. Nothing leaves without their tap, the referrer is stripped (`no-referrer` on the page and `noreferrer` on the link), and it opens in a new tab. Which sites the letter links to is the author's choice. | **Accepted.** |
| 5 | Correctness | The parser has blind spots. A numbered list (`1. …`) without blank lines collapses into one paragraph, and `snake_case_word` makes *case* italic. | **Accepted.** The scaffold says which Markdown works, and anything else shows as text, never as markup. |
| 6 | Test honesty | No test proves `lint:copy` reads `docs/LETTER.md`. It was shown by the *heal* mutation, but deleting the path from `FILES` would pass silently. | **Accepted for now**: the review quotes the file count. Revisit if `lint:copy` grows a file list worth testing. |
| 7 | Correctness | *Back* leaves `#garden` in the address bar. A bookmark at `#garden` or any unknown hash opens the garden. | **Accepted**: harmless, and any hash but `#letter` is home by design. |
| 8 | **Soul** | Once the letter exists, the home view offers one link, *A Letter from the Gardener*. Looked for guilt, comparison, rejection and dependence: the page asks nothing, counts nothing, and is never required (GAMEPLAY §4). Found none. | — |
| 9 | Copyright | The scaffold's comments mention "the book". They are stripped before the page and skipped by `lint:copy`. Whether the letter's own words may name the book is **Q9**, for the author. | **Open**, Q9. |
Looked for and found none:
- **Reachability.** The letter is one-way, from the author to every player. There is
no input.
- **Injection.** No `{@html}` anywhere. Raw HTML and `<script>` stay text (tests), and
only `https:` and `tel:` become links (tests, plus a mutation). Svelte escapes
attribute values.
- **Correctness cases from §5.3.** Clock, DST, partial write and two tabs do not apply:
there is no state. A tab closed on `#letter` reopens on the letter (test: *opens
straight at #letter*).
## What was NOT verified
- **A screen reader.** axe passes on both views, and the focus move is unit-tested.
Nobody has listened to it.
- **Firefox, WebKit and a phone.** Desktop Chromium only.
- **The author's real letter.** Only a sample has rendered.
+9 -2
View File
@@ -88,8 +88,15 @@ mid-action and two tabs do not apply to a shell with no state. DST is covered fo
Chromium only. Chromium only.
- **Firefox and WebKit.** Not run. - **Firefox and WebKit.** Not run.
- **Screen reader.** axe passes. No one has listened to the page. - **Screen reader.** axe passes. No one has listened to the page.
- **`pnpm install --frozen-lockfile` from a fresh clone.** Not run. The lockfile is - **A fresh clone.** `pnpm install --frozen-lockfile` passed on the merged `main`
committed, but the install was done in place. (`d11d242`), but in the existing checkout, not a new one.
## After merge
Merged with `--no-ff` as `d11d242` and pushed. Local `HEAD`, `origin/main` and
`git ls-remote origin main` print one hash. Every gate ran again on the merged tree,
with the same counts as above: 117 unit, 6 e2e, 1 offline, 13 of 13 fixtures.
There is no GitHub remote yet, so no mirror to check (§5.2, G0.13).
- **The setOffline lesson** is imported from Ludus and was not re-measured here. - **The setOffline lesson** is imported from Ludus and was not re-measured here.
- **The rename-in-one-commit property.** Nobody has tried renaming. The name lives - **The rename-in-one-commit property.** Nobody has tried renaming. The name lives
in `constants.ts` and `index.html`, the manifest is built from the constants, and in `constants.ts` and `index.html`, the manifest is built from the constants, and
+55
View File
@@ -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.
+51
View File
@@ -0,0 +1,51 @@
# Review — `feature/sun`
Adversarial self-review (CLAUDE.md §5.3). Analysis: [`features/sun.md`](../features/sun.md).
Reviewed 2026-11-01 on Node 22.11.0, Windows 10. There is no PR: the only remote is Gitea.
## Gates — counts, not exit codes
| Gate | Result |
|:--|:--|
| `pnpm lint` | exit 0, the engine purity rule included: `src/sun/` reads no clock, no network, no device |
| `pnpm typecheck` | exit 0, `scripts/fetch-sun-golden.ts` included |
| `pnpm test` | **236 passed**: schema 15, content 47, art-prep 56, **engine 102 (+50 sun)**, ui 16 |
| `pnpm test:e2e` / `test:offline` | 7 passed / 1 passed. **The app is unchanged**: nothing imports the sun yet |
**Golden.** 26 published days in 6 cities match the U.S. Naval Observatory's tables within
2 minutes on the city's own clock, for sunrise, solar noon and sunset. Two more days, Tromsø's polar
day and night, match the table's *no event*. The table's clock offset agrees with the IANA zone
database on all 28 days.
**Stable.** The property tests ran three times with fresh seeds, 50 of 50 each time.
## Bug drills — each put back once, in `src/sun/sun.ts`
| Put back | Result |
|:--|:--|
| No refraction: the horizon at 90° instead of 90.833° | CAUGHT: 27 failures, every golden day |
| No equation of time | CAUGHT: 25 failures |
| Polar day and polar night swapped | CAUGHT: 8 failures |
| No local-day correction of solar noon | CAUGHT: 2 failures (Kiritimati, D8) |
| The UTC date derived back from the noon instant (finding 2's bug) | CAUGHT: 3 failures (properties near 180°) |
## Findings
| # | Area | Finding | Resolution |
|:--|:--|:--|:--|
| 1 | Correctness | The published table for Reykjavík on 21 June lists a sunset at 00:04. That is the **previous evening's** sunset. A naive "events within the calendar day" design would tell a player in Reykjavík that tonight's sunset was 00:04 this morning. | **By design (D2)**: today's sunset is the one after today's solar noon. Tested: it falls on 22 June, local. |
| 2 | Correctness | The first draft derived the UTC date back from the noon instant. Near 180° the noon falls on the next UTC date, which would move sunrise and sunset by a whole day. Spotted on re-reading, before any test ran. | **Fixed**: the date is passed in. Drill 5 shows the property tests now catch it. |
| 3 | Correctness | fast-check found a day with no solar noon: at 179.9° W on UTC, noon crosses midnight in late December. | **Defined (D8)** and pinned by a unit test. No real zone is twelve hours off the sun, so the properties use zones that follow longitude. |
| 4 | Correctness | Near the edge of polar day or night the hour angle can leave its range during refinement. | **Clamped (D5).** Accuracy on those few days is not measured: no golden day sits at the edge. Said here and in *not verified*. |
| 5 | Soul | Where the sun never sets or never rises, "every day at sunset" would leave a person with no invitation for months. | **Fixed (D4)**: the lowest light in polar day, noon twilight in polar night. The author confirmed the second on 2026-11-01 (Q10). |
| 6 | Soul | A DST change could make the game look as if the sunset "moved" because of the player, or move the rose's sentence to another day. | The engine works in instants (D3); the day comes only from `localDay`. Tested on all six DST days in the fixture. |
| 7 | Privacy | The golden script calls a US government API with coordinates. | Only by hand, only for six public city centres, never in a test or the app. The tests read the recorded file. |
| 8 | Privacy | A sunset time narrows down where someone is. | It never leaves the device: the module has no I/O and the purity rule forbids any. Phase 4 must never send it (CLAUDE.md §4). |
| 9 | Test honesty | The DST tests read the clock with `Intl` in the test, which is also what `localDay` uses. A bug in the platform's zone data would hide in both. | Cross-checked: the USNO table states each day's offset independently, and a test asserts the zone database agrees on all 28 days. |
## What was not verified
- Accuracy on the days right at the edge of polar day or night (finding 4).
- Latitudes above 72° on ordinary days, other than Tromsø's 69.6°.
- Years far from 2026. The method holds for centuries, but only 2026 is tested.
- The app: choosing a city, the time-zone guess, and showing the time are later in Phase 1 (G1.2).
+56
View File
@@ -0,0 +1,56 @@
# Review — `feature/sunset-place`
Adversarial self-review (CLAUDE.md §5.3). Analysis: [`features/sunset-place.md`](../features/sunset-place.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
| Gate | Result |
|:--|:--|
| `pnpm lint` | exit 0 (after finding 6) |
| `pnpm typecheck` | exit 0, `@rosea/storage` included; `svelte-check` 0 errors, 0 warnings |
| `pnpm test` | **299 passed**: schema 15, **storage 18 (new)**, content 71 (+24), art-prep 56, engine 113 (+11), ui 26 (+10) |
| `pnpm test:e2e` | **10 passed** (+3), against the built app |
| `pnpm test:offline` | **1 passed**, now choosing a town online and changing it offline |
| `pnpm lint:copy` | 15 files, 0 problems |
| `pnpm validate:library` | 13 of 13 fixtures rejected |
**The app changed** (CLAUDE.md §5.4): the garden now asks where the sunset is and shows it. The
bundle was rebuilt by the e2e and offline runs. It is **not deployed**: there is no host yet (G0.13).
**Stable.** After finding 2, the offline suite passed 3 runs of 3 and e2e 2 of 2 in a row.
## Bug drills — each put back once
| Put back | Result |
|:--|:--|
| Storage writes the caller's object, not a plain copy | CAUGHT: the Proxy test |
| The zone guess reads inherited keys (`constructor`) | CAUGHT |
| Search without accent folding | CAUGHT, by the normalise test only: *plzen* still found Plzeň through Natural Earth's ASCII name, a second path |
| `nextInvitation` skips yesterday | CAUGHT: 2 (Reykjavík after midnight, the property) |
| "Tomorrow" said on the same day | CAUGHT: 2 |
| A failed save goes unmentioned | CAUGHT |
## Findings
| # | Area | Finding | Resolution |
|:--|:--|:--|:--|
| 1 | Correctness | **Saving never worked in a browser.** The UI's towns lived in Svelte 5 `$state`, which wraps them in a Proxy; IndexedDB cannot clone a Proxy and threw `DataCloneError`. Every unit test passed, because the fake `save` only pushed into an array. Found by e2e: after a reload the garden asked again. | **Fixed twice**: storage writes a plain copy built by its own shape check (and refuses a malformed one), and the results list is `$state.raw`. A storage test saves a Proxy. Lessons: `code.md`, `testing.md`. |
| 2 | Test honesty | The tests reloaded or closed the tab milliseconds after the click, racing the IndexedDB commit; the offline suite passed and failed on alternate runs. | **Fixed**: `e2e/stored.ts` waits until the town is in IndexedDB before a reload or close. |
| 3 | Correctness | **Natural Earth's time zones are wrong where it matters**: Prague *America/Chicago*, Cardiff *Australia/Sydney*, Anchorage *America/Juneau*, Sydney none, and 1,183 towns none. A nearest-zone fallback then made its own errors: southern Ukraine on Moscow time (Simferopol), Gansu on Xinjiang time. | **Fixed (P2)**: identical-clock check, longitude fit across the date line, neighbour vote, nearest zone location last. The cases are pinned by name in `places.test.ts`, and every town's clock is checked against its longitude. |
| 4 | Correctness | Browsers report CLDR zone names (`Asia/Calcutta`, `Europe/Kiev`), not always the tz database's. A guess table keyed only by the database's names would guess nothing in Kolkata. | **Fixed**: the guesses are also keyed by the name Intl resolves to; a test checks every zone Intl knows. |
| 5 | Correctness | Tonga and Samoa (UTC+13 at 175° W) were dropped by a longitude check that did not wrap. | **Fixed**; Apia is pinned. |
| 6 | Process | The shell turned ` ` in a heredoc into the character itself; lint caught it (`no-irregular-whitespace`). | **Fixed** with a plain `\s+`. |
| 7 | Privacy | The town is where the player lives, near enough. | It is written only to this device's IndexedDB. The e2e test asserts that searching and choosing request nothing from another origin, and that the town list came from this origin. No GPS, no IP, no lookup. |
| 8 | Privacy | The build downloaded datasets. | By hand, with the author's approval, into the session's scratch folder; only the derived JSON is committed. Public domain both. |
| 9 | Soul | A question on the first screen can feel like a demand, and a small town not found like a judgment. | One tap skips it and still gives a sunset; an empty search says *"A larger one nearby will do."* No copy mentions a missed sunset. |
| 10 | Soul | A guess shown as fact could send someone out at the wrong time. | The guessed line says it is a guess, and *Change town* is always under it. |
| 11 | Correctness | Not verified: a town Natural Earth filed under a wrong zone **of its own country with the same clock rules** (Dunhuang, Gansu, voted onto Xinjiang time by its neighbours). | **Open, stated.** The longitude check cannot see it. Rare, and the player can choose a neighbouring town. |
| 12 | Scope | `navigator.storage.persist()` is not called; a drifted-away player on iOS can lose the town (CLAUDE.md §8). | **Deferred to G0.11** with export-my-rose (P8). Losing the town only means being asked again. |
## What was not verified
- A real phone, a real install, Safari or Firefox: only Chromium under Playwright.
- A private window that refuses IndexedDB in a real browser: covered by unit tests with a rejecting store.
- Two tabs choosing different towns at once: last write wins, and the other tab shows its own until reload.
- Czech town names (*Vídeň*): Natural Earth has none.
+43
View File
@@ -0,0 +1,43 @@
# Review — `feature/thorns`
Adversarial self-review (CLAUDE.md §5.3). Analysis: [`features/thorns.md`](../features/thorns.md).
Reviewed 2026-11-02 on Node 22.11.0, Windows 10. There is no PR: the only remote is Gitea.
## Gates
Counts are on the merge; HANDOVER repeats them. New: engine +7 (2 properties), ui +4, e2e +1
(touch, rush, axe with the touch focused).
**The app changed** (CLAUDE.md §5.4): a *Touch her* button over her picture. Rebuilt by the e2e and
offline runs; **not deployed** (G0.13). Seen in the built app at phone width: a touch answered
*That tickles.*, three taps 400 ms apart gave *Gently. I have thorns.*, and the keyboard focus ring
is a rounded frame round her picture.
## Bug drills
| Put back | Result |
|:--|:--|
| A tremor counts as fussing | CAUGHT |
| A rush never brings the thorns | CAUGHT: 3 |
| She never rests | CAUGHT |
| Every touch makes her blush | CAUGHT: 2 |
| A touch is written as care | CAUGHT: 2 |
| A held key is a rush | CAUGHT |
## Findings
| # | Area | Finding | Resolution |
|:--|:--|:--|:--|
| 1 | Soul | *Gently* can be read as a reproach by someone already fragile. | Three separate, deliberate taps in two seconds; said once; she rests and then it is gone; nothing remembers it. Her words are about herself. Accepted for the author's play test; the line is in `copy/en.ts`. |
| 2 | Accessibility / soul | A tremor or a bouncing finger could be told *gently*. | Taps within 250 ms are one touch (T2), and a held key is one; both drilled. Not tried with a real tremor or switch access. |
| 3 | Design | The author's option said *a blush once a day*, and also *nothing is recorded*. Those cannot both hold. | Nothing is recorded; the blush is once per visit (T4). Said plainly in the analysis. |
| 4 | Design | The blush shows on her face only in full bloom, as every mood does; before that only her words answer. | Accepted: the stand-ins draw moods for the full bloom only (STYLE.md). |
| 5 | Correctness | The clock moved back while she rests. | She never rests longer than `restMs` (tested). |
| 6 | Correctness | Two tabs: each has its own touches. | Nothing is shared or stored; harmless. |
| 7 | Test honesty | A frozen e2e clock (`setFixedTime`) would make three clicks one touch, and the rush test would fail for the wrong reason. | The e2e drives the clock with `clock.install` and `runFor`. |
| 8 | Dependence | Touching as a fidget. | It gives nothing after the first blush; no number grows. |
| — | Privacy, reachability, offline | Looked; nothing is stored, sent or shared. | — |
## What was not verified
- A screen reader announcing the bubble change; switch access; a real phone's touch timing.
+52
View File
@@ -0,0 +1,52 @@
# Review — `fix/coyhaique`
Adversarial self-review (CLAUDE.md §5.3) of a data fix to the town list
([`features/sunset-place.md`](../features/sunset-place.md)). 2026-11-17, Node 22.23.4 (tz 2026e).
## What happened
Node on this machine was upgraded from 22.11 to 22.23.4 (the upgrade G0.20 asked for). A content test
then failed: *every zone Intl knows has a guess*: the new Node knows **America/Coyhaique** (created
in 2025 for Chile's Aysén region), and the town list, built under the old Node, had no guess for it.
Rebuilding (`scripts/build-places.ts`, Natural Earth 10m populated places and tzdb 2026f, downloaded
again with Mark's permission) did not fix it, and a town-by-town comparison found more:
| Town | Before | Why |
|:--|:--|:--|
| **Santiago, Valparaíso** | America/Punta_Arenas | Natural Earth files them under **America/Sao_Paulo**. Its fixed UTC−3 matched Chile's fixed-clock southern zone, so the "same clock as one of the country's zones" rule moved Chile's capital onto a clock without daylight saving: its sunset an hour off for half the year. Under the new Node the same rule picked Coyhaique instead. |
| **Coyhaique, Puerto Aisén, Cochrane, Villa O'Higgins** | America/Santiago | Natural Earth predates Aysén's 2025 split. |
| **Punta Arenas, Puerto Natales, Puerto Williams, Río Verde** | America/Santiago | Natural Earth predates Magallanes' 2016 split: wrong since the first build. |
| Yellowknife, Fort Simpson (Canada) | Cambridge_Bay, Dawson_Creek | The rebuild under the new time zone data files them under Edmonton (Mountain time with daylight saving, as both keep). |
## The fix
| # | Change | Why |
|:--|:--|:--|
| C1 | **Another country's own zone is never trusted** for a town, however alike its clock. The town then takes its neighbours' zone. | The clock rule exists to accept old *names* of a country's own zones (Europe/Kiev, Juneau for Anchorage), never a foreign zone. |
| C2 | **Region bands** for southern mainland Chile: 43.7° S – 49° S → America/Coyhaique; south of 49° S → America/Punta_Arenas. Source: zone1970.tab's comments and the regions' borders. | Natural Earth's region names are unreliable (*Ais*, *Aisén…*, Villa O'Higgins under Argentina's *Santa Cruz*); latitude along the real borders is not. Mainland only, so Easter Island keeps Pacific/Easter. |
Twelve towns changed, each listed above; every other town kept its zone. Every zone the new Node
knows has a guess again.
## Bug drills
| Put back | Result |
|:--|:--|
| Another country's zone trusted again | CAUGHT: 2 (Santiago, Valparaíso) |
| No region bands | CAUGHT: 5 |
## Findings
| # | Area | Finding | Resolution |
|:--|:--|:--|:--|
| 1 | Correctness | A player who chose Santiago or Valparaíso before this fix has the wrong zone **saved in their profile** (`sunsetPlace` keeps the town with its zone). | Nobody has: the app is not deployed (G0.13). Recorded so a later data fix knows to ask whether a saved town needs refreshing. |
| 2 | Correctness | Band edges are approximate (the Aysén–Magallanes border is not a straight line of latitude). | Only the towns in the list matter, and each is checked against its region; none lies within 0.5° of an edge except Villa O'Higgins (48.47° S), which is in Aysén, as the band says. |
| 3 | Testing | The original data had this bug since its first build; no test pinned a Chilean town. | Nine towns pinned now (`places.test.ts`); drilled. |
| 4 | Process | The bug surfaced only because a runtime upgrade changed what "every zone" means. | Lesson in `technical.md`: data built against a runtime's time zone data is checked again when the runtime changes. |
| — | Soul, privacy, reachability, offline | Unchanged: the list is bundled and searched on the device. | — |
## Gates
Counts in HANDOVER. The town list is bundled lazily (the `places` chunk): **the app changed** for a
player who searches Chile; rebuilt by the e2e and offline runs; not deployed.
+47
View File
@@ -0,0 +1,47 @@
# Review — `fix/cpu-guard`
Adversarial self-review (CLAUDE.md §5.3). Reviewed 2026-11-02 on Node 22.11.0, Windows 10.
There is no PR: the only remote is Gitea.
## Why and what
CLAUDE.md §5.7: *do not start a full run above ~80 % CPU.* On 2026-11-02 that was broken three times
(lessons/process.md), twice right after reading the number. Now `pnpm test`, `test:e2e` and
`test:offline` first run `pnpm guard:cpu` (`tools/cpu-guard`):
```mermaid
flowchart LR
run["pnpm test / test:e2e / test:offline"] --> guard["guard:cpu<br/>sample 2 s with os.cpus()"]
guard -->|"≤ 80 %"| go["the run starts"]
guard -->|"> 80 %"| wait["wait 10 s, sample again"] --> guard
wait -->|"after 180 s"| stop["exit 1: not starting"]
```
Node's `os.cpus()`, not a shell command, so it works the same on Windows, Linux and macOS. A
dedicated machine sets `ROSEA_CPU_MAX` (100 never refuses) and `ROSEA_CPU_WAIT_SECONDS`; a value
that is not a whole number in range is refused, never quietly the default.
## Checks
| Check | Result |
|:--|:--|
| Unit tests, `tools/cpu-guard` | **13 passed**: the busy share between two readings (not since boot), system time as busy, no NaN on equal readings, defaults, overrides, five bad settings, start / wait / refuse |
| On this machine, busy with another project's tests | waited 51 s at 93–100 %, then started at 61 % |
| Forced refusal (`ROSEA_CPU_MAX=1`, no wait) | exit 1 with the reason |
| `pnpm test` behind a refusal | stopped before Turbo ran a single test |
| The guard's reading beside Windows' own counter, sampled together | 64 / 75, 93 / 96, 96 / 98 % |
## Findings
| # | Finding | Resolution |
|:--|:--|:--|
| 1 | The guard measures before the run, not during it: a machine that becomes busy mid-run is not seen. | Accepted: §5.7 is about starting. Stopping a run halfway would leave browsers and servers half-closed, the very mess §5.7 exists to avoid. |
| 2 | `ROSEA_CPU_MAX=100` is a way round the rule. | Documented as for dedicated machines only, in CLAUDE.md §5.7 and the lesson. An override nobody can use would push people to edit the script instead. |
| 3 | The guard adds 2 s to every full run on a quiet machine. | Accepted. |
| 4 | Filtered runs (`pnpm --filter X test`) and drills are not guarded. | By design: they are not full runs. |
| 5 | Its own 2 s sample could read its own start-up as load. | It samples after Node has started. Later, on a quiet machine, it read 2.4–4.1 % beside Windows' 1.5–3.3 %; busy, 2–11 points lower. Close enough for an 80 % line. |
## Not verified
- macOS and Linux (only Windows 10 here).
- A CI runner: there is none yet (G0.22).
+53
View File
@@ -0,0 +1,53 @@
# Review — `fix/two-tabs`
Adversarial self-review (CLAUDE.md §5.3). Analysis: [`features/two-tabs.md`](../features/two-tabs.md).
Reviewed 2026-11-07 on Node 22.11.0, Windows 10. There is no PR: the only remote is Gitea.
## The measurement
CLAUDE.md §8 predicted *derived state drifts; use a BroadcastChannel lock*. Two e2e tests were
written first and run against the built app: both **failed** (a tab already open saw neither care
nor a town chosen in another tab). Reading the code explained why, and showed what the
prediction got wrong: there is no `derived` store and the log is append-only, so nothing stored
can drift and no lock is needed. What drifted was each tab's view, which can make the player water
her twice. Both tests pass after the fix.
## Gates
Counts are on the merge; HANDOVER repeats them. New: storage +7, ui +3, e2e +2 (the measurement).
**The app changed** (CLAUDE.md §5.4), invisibly in one tab: another open tab now follows it.
Rebuilt by the e2e and offline runs; **not deployed** (G0.13).
## Bug drills
| Put back | Result |
|:--|:--|
| Care is announced before it is written | CAUGHT |
| A petal is never announced | CAUGHT |
| A town is never announced | CAUGHT |
| Any message counts as a change | CAUGHT |
| The rose replaces her view with a stale read | CAUGHT |
| The rose does not listen | CAUGHT |
| The garden ignores a town from another tab | CAUGHT |
## Findings
| # | Area | Finding | Resolution |
|:--|:--|:--|:--|
| 1 | Correctness | A tab's own care can still be on its way to IndexedDB when another tab's news makes it read; a plain replace would drop that care from view, and nothing would bring it back. | The read is added to what the tab shows, never replaces it (the log only grows); drilled. |
| 2 | Correctness | Two reads overlapping, finishing out of order. | Same answer: each only adds, so order does not matter. |
| 3 | Correctness | Announcing before the commit would make the other tab read too early. | Announced after `add` / after the transaction resolves; drilled. |
| 4 | Correctness | A tab mid-pour when the other tab's care arrives: the can now measures against the new level. | Accepted: that is the true level. |
| 5 | Design | A town arriving while this tab is searching for one: the search closes and the new town shows. | Accepted: the player's choice in the other tab is the newer one. A tab in the middle of *Change town* keeps its open search (only the shown town updates). |
| 6 | Privacy | A `BroadcastChannel` message. | Same origin, same browser profile only; one word (`log`, `place`), no data. Nothing leaves the device. |
| 7 | Compatibility | Browsers without `BroadcastChannel` (Safari before 15.4). | Each tab keeps its own view, as before; no data is affected; tested with it removed. |
| 8 | Process | The measurement commit would have been red on its own. | The branch was regrouped before pushing so every commit is green: the tests land with the fix. |
| 9 | Process | On 2026-11-07 the root `node_modules` was missing (cause unknown; the code and history were intact). | Restored with `pnpm install --frozen-lockfile`, which also reinstalled the hooks. |
| — | Soul, reachability, offline | Looked; the fix removes a way the game could blame her care for its own mistake. Nothing new is shown or sent; works offline. | — |
## What was not verified
- Safari and Firefox (BroadcastChannel across an installed app and a tab); a phone.
- The KeepSafe path across tabs end to end (bringing her back in one tab, seen in the other):
covered by the storage test that a brought-back rose announces `log`, not by an e2e.
+43 -28
View File
@@ -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, 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. 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 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 - **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. 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, - **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 brush) and food. The rose tells you what he wants today. His food is **berries**: first from the wild bush
other players' forgotten roses (one harvest per forgotten rose per day, only when the care helped). 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 → 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. 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 - **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. footprints, then a trail, then a road.
- **The bridge to Amicitia** (promoted openly) — once a path is a road, either player may light a - **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 **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. 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 - **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 players share. The sky is the **real** sky: real constellations. Every day at local sunset a wave of
@@ -112,8 +115,8 @@ feed of anything.
## 2. Repository layout ## 2. Repository layout
Phase 0 scaffolded `schema`, `engine`, `content`, `ui` and `apps/rosea`. `storage`, `identity`, Phase 0 scaffolded `schema`, `engine`, `content`, `ui`, `apps/rosea`, `tools/art-prep` and `art/`;
`sync`, `services/lucerna`, `tools/art-prep` and `art/` 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). empty package has a test suite that runs nothing ([`phase0-workspace.md`](.agents/features/phase0-workspace.md) D1).
``` ```
@@ -151,7 +154,9 @@ art/
final/ # approved, optimised illustrations (WebP/AVIF) final/ # approved, optimised illustrations (WebP/AVIF)
tools/ tools/
art-prep/ # the art preparation page (docs/ART.md §3). Local only, 127.0.0.1. art-prep/ # prompts, stand-ins and the art board's files from art/manifest.json;
# the accept step into art/final/ (docs/ART.md). The board itself is a
# private claude.ai page (decided 2026-11-01, docs/ART.md §3).
content/ content/
library/ # hope sentences, one file per source tradition library/ # hope sentences, one file per source tradition
@@ -161,7 +166,8 @@ content/
docs/ # ROADMAP.md, ART.md, numbered milestone feature docs 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):** **Dependency direction (never violate):**
@@ -172,7 +178,7 @@ apps/rosea ──► packages/ui ──► packages/engine ──► packages/sc
├───────► packages/sync ──► packages/schema ├───────► packages/sync ──► packages/schema
└───────► packages/identity ──► packages/schema └───────► packages/identity ──► packages/schema
services/lucerna ──► packages/schema (trace shape only, via generated JSON Schema) services/lucerna ──► packages/schema (trace shape only, via generated JSON Schema)
tools/art-prep ──► art/manifest.json (never imported by the app) tools/art-prep ──► art/manifest.json, packages/content, packages/schema (never imported by the app)
``` ```
- `packages/engine` is pure. Time and randomness are parameters. This is what makes growth, taming and - `packages/engine` is pure. Time and randomness are parameters. This is what makes growth, taming and
@@ -208,14 +214,19 @@ pnpm build # turbo: schema -> engine/content/ui ->
pnpm lint # ESLint, incl. the engine-purity rule (§7) pnpm lint # ESLint, incl. the engine-purity rule (§7)
pnpm typecheck # tsc + svelte-check, every package plus e2e/ and scripts/ pnpm typecheck # tsc + svelte-check, every package plus e2e/ and scripts/
pnpm test # vitest, all packages — quote counts per package pnpm test # vitest, all packages — quote counts per package
pnpm --filter @rosea/engine test # incl. fast-check property tests (sun golden tests: later) pnpm --filter @rosea/engine test # incl. fast-check property tests and the sun golden tests
tsx scripts/fetch-sun-golden.ts # re-records the sun's published tables (network; by hand, never in a test)
pnpm test:e2e # builds, then Playwright against the BUILT app under /Rosea/ pnpm test:e2e # builds, then Playwright against the BUILT app under /Rosea/
pnpm test:offline # builds, loads once, CLOSES the server, reloads pnpm test:offline # builds, loads once, CLOSES the server, reloads
pnpm validate:library # every hope sentence; fixtures must FAIL pnpm validate:library # every hope sentence and candidate; fixtures must FAIL
pnpm library:verify <id…> --by <name> # the AUTHOR moves checked candidates into the library; agents never run it
pnpm lint:copy # forbidden words and names (§5.6) pnpm lint:copy # forbidden words and names (§5.6)
pnpm guard:cpu # waits for, then refuses, a machine above 80 % CPU (§5.7)
pnpm art:board # prompts + stand-ins -> tools/art-prep/dist/board/ (docs/ART.md)
pnpm art:accept <id> <file> # an accepted picture -> art/final/*.webp, sheets cut
tsx scripts/build-places.ts <folder> # rebuilds the town list from downloaded Natural Earth + tzdb (by hand)
# Not yet — they arrive with their first feature: # Not yet — they arrive with their first feature:
pnpm art:prep # opens tools/art-prep on 127.0.0.1
cargo test --manifest-path services/lucerna/Cargo.toml # Phase 4 onward cargo test --manifest-path services/lucerna/Cargo.toml # Phase 4 onward
``` ```
@@ -239,11 +250,11 @@ for the build and for both Playwright suites together.
| Store | Contents | Written by | | Store | Contents | Written by |
|:--|:--|:--| |:--|:--|:--|
| `events` | **append-only** log: care given, care received, planet steps, sunsets seen or missed, gestures | `packages/storage`, from the game loop | | `events` | **append-only** log: care given, care received, petals opened, planet steps, sunsets seen or missed, gestures | `packages/storage`, from the game loop |
| `derived` | rose stage, fox distance, paths, sky light — rebuilt from `events` | `packages/storage`, from values the engine returns | | `derived` | rose stage, fox distance, paths, sky light — rebuilt from `events` | `packages/storage`, from values the engine returns |
| `profile` | the rose's name (the only name Rosea knows), chosen city for sunset (skippable; fallback is the device time zone; never GPS), settings, opt-ins | settings screen | | `profile` | the rose's name (the only name Rosea knows), chosen city for sunset (skippable; fallback is the device time zone; never GPS), settings, opt-ins | settings screen |
| `keys` | the identity keypair | `packages/identity` | | `keys` | the identity keypair | `packages/identity` |
| `library` | the cached hope library and planets' content, versioned | `packages/content` | | `library` | the cached hope library and planets' content, versioned — not used yet: the library is bundled at build time (day-sentence.md P5) | `packages/content` |
**`events` is the truth; `derived` is a cache.** Anything in `derived` must be reconstructible by **`events` is the truth; `derived` is a cache.** Anything in `derived` must be reconstructible by
replaying `events` through the engine. A number that cannot be derived from the log does not belong in replaying `events` through the engine. A number that cannot be derived from the log does not belong in
@@ -363,7 +374,7 @@ happened twice.)*
- **The engine gets property tests.** `fast-check`: growth is monotonic in total care and never - **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 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 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. did not help; drift never lowers the stage earned.
- **Sun maths gets golden tests** against published sunrise/sunset tables for a spread of cities: - **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 Prague, Reykjavík, Tromsø (polar day and polar night), Quito, Sydney, Anchorage — including both DST
@@ -403,7 +414,10 @@ happened twice.)*
### 5.7 A test run leaves the machine as it found it ### 5.7 A test run leaves the machine as it found it
Nothing binds to anything but `127.0.0.1`. Every browser a test starts is closed in `finally`. Do not Nothing binds to anything but `127.0.0.1`. Every browser a test starts is closed in `finally`. Do not
start a full run above ~80% CPU. *(Imported from Ludus and Aeterna.)* start a full run above ~80% CPU. *(Imported from Ludus and Aeterna.)* **Enforced, not trusted:**
`pnpm test`, `test:e2e` and `test:offline` first run `pnpm guard:cpu`, which waits up to three minutes
for the machine to calm and then refuses (`tools/cpu-guard`, lessons/process.md). A dedicated machine
such as CI sets `ROSEA_CPU_MAX` (100 never refuses); never set it to get past a busy desktop.
--- ---
@@ -434,8 +448,8 @@ player can send another player, and the sender picks one.
"trace": "petal:<colour>", "messageId": "ps-23-4" | null, "clientVersion": "0.1.0" } "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 // 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.) // 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. // "care" and "sentence-opened" are in packages/schema so far; each other kind arrives with the
// other kinds: "sentence-opened", "sunset" (seen), "planet-step", "fox" (pet | brush | feed), // feature doc that uses it. Other kinds: "sunset" (seen), "planet-step", "fox" (pet | brush | feed),
// "harvest" (berry kind), "thanks", "lantern" (lit — never unlit) // "harvest" (berry kind), "thanks", "lantern" (lit — never unlit)
``` ```
@@ -463,7 +477,8 @@ No timestamp finer than a day, no precise location, no free text, no link to the
- **Svelte 5 runes, no state library.** A component that decides growth, taming or anything in the sky - **Svelte 5 runes, no state library.** A component that decides growth, taming or anything in the sky
is a layering violation and a review **blocker**. is a layering violation and a review **blocker**.
- **Three taps to action, one preferred.** From a cold open, tending the rose is one tap. - **Three taps to action, one preferred.** From a cold open, tending the rose is one tap.
- **Every string a player reads lives in `packages/ui/src/copy/`**, and passes `lint:copy`. The - **Every string a player reads lives in `packages/ui/src/copy/`**, and passes `lint:copy` — except
the Letter, which is the author's Markdown in `docs/LETTER.md` and passes `lint:copy` too. The
interface language is plain English (Czech later). Latin is for the brand only. interface language is plain English (Czech later). Latin is for the brand only.
- **Silence is a feature.** Sunset, the thanks visit and the end of a planet have moments with no - **Silence is a feature.** Sunset, the thanks visit and the end of a planet have moments with no
buttons at all. Do not fill them. buttons at all. Do not fill them.
@@ -479,22 +494,22 @@ No timestamp finer than a day, no precise location, no free text, no link to the
| Trap | Why it bites | | 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). | | **Polar day and polar night** *(measured 2026-11-01)* | Above the Arctic Circle the sun does not set in summer or rise in winter. "Every day at sunset" has no answer there. Measured: the almanac has no rise or set in Tromsø on 21 June and no events at all on 21 December. `engine/sun` returns `polar-day` or `polar-night` and a gentle moment for each (the lowest light; noon twilight) — `.agents/features/sun.md` D4. |
| **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. | | **DST and the local day** *(measured 2026-11-01)* | Sunset jumps an hour twice a year under a player who did nothing: Prague's is 18:28 on 28 March and 19:29 on the 29th, while the sun moved one minute. A day boundary computed in UTC records Monday-evening care as Tuesday's. One module computes the day; the sun works in instants. |
| **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. | | **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. | | **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. | | **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*. | | **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. | | **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). | | **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. | | **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. |
| **Copyright through the back door** | An image prompt "in the style of" the book's drawings, a fox or rose that looks like the original, or a famous line "paraphrased" too closely. All forbidden (§5.6); the art pipeline checks likeness (`docs/ART.md`). | | **Copyright through the back door** | An image prompt "in the style of" the book's drawings, a fox or rose that looks like the original, or a famous line "paraphrased" too closely. All forbidden (§5.6); the art pipeline checks likeness (`docs/ART.md`). |
| **Medical claims in a store listing** | One word like *heal* in marketing copy can pull the product toward medical-device rules. `lint:copy` also runs on store text kept in the repo. | | **Medical claims in a store listing** | One word like *heal* in marketing copy can pull the product toward medical-device rules. `lint:copy` also runs on store text kept in the repo. |
| **IndexedDB is evictable** *(predicted)* | WebKit can discard origin storage after seven days without interaction — exactly the shape of a player who drifted away and comes back. Call `navigator.storage.persist()` where it exists, prompt iOS players to install, and make export-my-rose a first-class feature. A player returning to find their rose gone is the cruellest bug this product could have. | | **IndexedDB is evictable** *(predicted; answered by `keep-her-safe.md`)* | WebKit can discard origin storage after seven days without interaction — exactly the shape of a player who drifted away and comes back. Call `navigator.storage.persist()` where it exists, prompt iOS players to install, and make export-my-rose a first-class feature. A player returning to find their rose gone is the cruellest bug this product could have. |
| **The stale service worker** | A precached shell keeps serving old JS to a player who has "updated". Detect a waiting worker and offer an explicit, calm *refresh* control. | | **The stale service worker** *(answered by `calm-refresh.md`)* | A precached shell keeps serving old JS to a player who has "updated". Detect a waiting worker and offer an explicit, calm *refresh* control. |
| **Two tabs, one database** *(predicted)* | Two event streams into one store; derived state drifts. Use a `BroadcastChannel` lock. | | **Two tabs, one database** *(measured 2026-11-07; answered by `two-tabs.md`)* | Predicted: derived state drifts, use a lock. Measured: nothing stored drifts (the log is append-only, there is no `derived` store yet), so no lock — but each tab's **view** went stale, and a player could water her twice. `packages/storage` announces each committed write on a `BroadcastChannel`; the other tabs read again, keeping what they already show. When a `derived` store arrives, decide the lock again. |
| **GitHub Pages serves under a sub-path** *(predicted)* | A project site lives at `/<repo>/`, not `/`. Vite `base`, the web manifest `start_url` and `scope`, and the service worker scope must all agree, or the installed app opens a 404 or never updates. The offline suite runs against the same base path. | | **GitHub Pages serves under a sub-path** *(predicted)* | A project site lives at `/<repo>/`, not `/`. Vite `base`, the web manifest `start_url` and `scope`, and the service worker scope must all agree, or the installed app opens a 404 or never updates. The offline suite runs against the same base path. |
| **GitHub Pages cannot set response headers** *(predicted)* | No custom CSP or cache headers. The content-security policy goes in a `<meta>` tag; caching is controlled by the service worker and hashed filenames. | | **GitHub Pages cannot set response headers** *(predicted)* | No custom CSP or cache headers. The content-security policy goes in a `<meta>` tag; caching is controlled by the service worker and hashed filenames. |
| **Pages hosts files, not services** | `services/lucerna` cannot live on Pages. It runs on Mark's own server (Phase 4), and the app must work fully without it. | | **Pages hosts files, not services** | `services/lucerna` cannot live on Pages. It runs on Mark's own server (Phase 4), and the app must work fully without it. |
@@ -509,11 +524,11 @@ No timestamp finer than a day, no precise location, no free text, no link to the
|:--|:--| |:--|:--|
| Understand why something behaves strangely | `.agents/lessons/` — `soul.md` first | | Understand why something behaves strangely | `.agents/lessons/` — `soul.md` first |
| Know what is planned and which gate we are at | `docs/ROADMAP.md` | | Know what is planned and which gate we are at | `docs/ROADMAP.md` |
| Make or replace an illustration | `docs/ART.md`, then `pnpm art:prep` | | Make or replace an illustration | `docs/ART.md`, then `art/manifest.json` and `pnpm art:board` |
| Change how the rose grows | `packages/engine/src/growth/` | | Change how the rose grows | `packages/engine/src/growth/` |
| Change how the fox comes closer | `packages/engine/src/taming/` | | Change how the fox comes closer | `packages/engine/src/taming/` |
| Change the sunset or sunrise | `packages/engine/src/sun/` — read the polar and DST traps first | | Change the sunset or sunrise | `packages/engine/src/sun/` — read the polar and DST traps first |
| Add or edit hope sentences | `content/library/` — then `pnpm validate:library` | | Add or edit hope sentences | Agents propose in `content/candidates/`; the author verifies with `pnpm library:verify`. Then `pnpm validate:library` |
| Change what friends can send each other | `packages/schema` §6.1 — and re-read §5.6 rule 1 | | Change what friends can send each other | `packages/schema` §6.1 — and re-read §5.6 rule 1 |
| Change the shared sky | `services/lucerna/` — and re-read §4 and §5.6 rules 6–7 | | Change the shared sky | `services/lucerna/` — and re-read §4 and §5.6 rules 6–7 |
| Understand a past decision | `.agents/features/*.md`, `git log`, `.agents/reviews/*.md` | | Understand a past decision | `.agents/features/*.md`, `git log`, `.agents/reviews/*.md` |
+119 -12
View File
@@ -8,27 +8,134 @@ Rewritten at the end of each session (CLAUDE.md §5.1).
- **Repository:** the git repo exists, and `origin` is Gitea (`mnovak/Rosea`). - **Repository:** the git repo exists, and `origin` is Gitea (`mnovak/Rosea`).
`main` holds `CLAUDE.md` and `.gitignore` (`1e4c5a0`). `main` holds `CLAUDE.md` and `.gitignore` (`1e4c5a0`).
- **Phase 0:** built on `feature/phase0-workspace` and pushed. **It is not merged.** - **Phase 0 workspace:** merged to `main` with `--no-ff` (`d11d242`) and pushed. Local and
Analysis: [`.agents/features/phase0-workspace.md`](.agents/features/phase0-workspace.md). Gitea hashes match. Analysis: [`.agents/features/phase0-workspace.md`](.agents/features/phase0-workspace.md).
Review, with counts and the mutation results: Review, with counts and the mutation results:
[`.agents/reviews/feature-phase0-workspace.md`](.agents/reviews/feature-phase0-workspace.md). [`.agents/reviews/feature-phase0-workspace.md`](.agents/reviews/feature-phase0-workspace.md).
- **Gates:** all pass on this machine. Unit tests: 117 (schema 15, content 47, - **Gates:** all pass on this machine. Unit tests: 468 (cpu-guard 13, identity 5, schema 19,
engine 52, ui 3). E2E: 6. Offline: 1. `lint:copy`: 9 files, 0 problems. content 80, storage 65, art-prep 56, engine 168, ui 62). E2E: 21. Offline: 1. `lint:copy`: 21 files, 0 problems.
`validate:library`: 13 of 13 fixtures rejected. `validate:library`: 13 of 13 fixtures rejected; 78 candidates pass.
- **Built, not deployed:** there is no host yet. - **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`.
- **The Letter slot:** merged to `main`. `docs/LETTER.md`
holds slots as comments only. Once the author writes in it, a link to the letter
appears in the garden, and the page opens at `#letter`, offline too. Review:
[`.agents/reviews/feature-letter-slot.md`](.agents/reviews/feature-letter-slot.md).
- **The art pipeline and the art board:** merged to `main`. [`docs/ART.md`](docs/ART.md) is the
pipeline. [`art/STYLE.md`](art/STYLE.md) is approved by the author (2026-11-01, S1–S5 kept as drafted). [`art/manifest.json`](art/manifest.json)
lists 86 pictures in phase order, everything Phases 1–5 need (34 for Phase 1; the planets are drafts
until their feature docs). 101 stand-ins are in `art/placeholders/`. **Board v2 (2026-11-07):** after
Mark disliked the first `rose-sheet` (watercolour, a smiley on a ball), STYLE.md §1 and every
prompt were rewritten: the look first, the face on her petals, the grid in words, the book's
motifs checked in review instead of named in prompts. Review:
[`.agents/reviews/art-board-v2.md`](.agents/reviews/art-board-v2.md). `tools/art-prep` builds
prompts and the board (`pnpm art:board`) and moves accepted pictures into `art/final/`
(`pnpm art:accept`). The board is published, private:
https://claude.ai/artifact/Y3xM4F5WGv77Qp2UdMXWix. To update it, run `pnpm art:board`, then
republish `tools/art-prep/dist/board/` to that URL. Review:
[`.agents/reviews/feature-art-board.md`](.agents/reviews/feature-art-board.md).
- **The sun (Phase 1 begins):** merged to `main`. `packages/engine/src/sun/sun.ts` gives
sunrise, solar noon and sunset for a local day and a place, or polar day or night, and the
moment the game invites the player out. It matches the U.S. Naval Observatory's tables within
2 minutes in Prague, Reykjavík, Tromsø, Quito, Sydney and Anchorage, DST days included.
The app does not use it yet. Analysis: [`.agents/features/sun.md`](.agents/features/sun.md).
Review: [`.agents/reviews/feature-sun.md`](.agents/reviews/feature-sun.md).
- **Where the sunset is (Phase 1):** merged to `main`. The garden asks *Where do you want your
sunset?*: a search over 7,342 public-domain towns on the device, or *Not now*, which guesses
from the device's time zone. The answer is kept in IndexedDB (the new `@rosea/storage`, store
`profile`), and the garden says when tonight's sunset is. Natural Earth's time zones were wrong
for Prague, Cardiff and Anchorage, among others; `scripts/build-places.ts` cross-checks every one
against the tz database. To rebuild the list, download the two sources again (the script's
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).
- **Keep her safe (G0.11):** merged to `main`. Beside *Her numbers*, *Keep her safe* says what the
browser has promised, asks it to keep her, saves her to a file (her care and keys; never the town,
never the private key) and brings her back from one, on any device, without losing anything she
has there. A rose is now named by her current key and her past keys. Analysis:
[`.agents/features/keep-her-safe.md`](.agents/features/keep-her-safe.md). Review:
[`.agents/reviews/feature-keep-her-safe.md`](.agents/reviews/feature-keep-her-safe.md).
- **A calm refresh (G0.10):** merged to `main`. When a new version of the garden is published, the
installed app fetches it and waits; one quiet line, *A new version of the garden is ready.*, offers
*Refresh*. Nothing reloads by itself. With this, fixes can reach a phone once the app is hosted.
Review: [`.agents/reviews/feature-calm-refresh.md`](.agents/reviews/feature-calm-refresh.md).
- **The in-game sunset (Phase 1):** merged to `main`. *Move the chair* under tonight's sunset line
opens a quiet scene: the sky drawn in code from day to dusk, the sun setting behind the garden,
half a minute with nothing to press; then the real sunset's time, *Watch it again*, *Back to the
rose*. Escape or a tap leaves early. Review:
[`.agents/reviews/feature-chair-sunset.md`](.agents/reviews/feature-chair-sunset.md).
- **The day's sentence (Phase 1, G1.5):** merged to `main`. When the rose needs nothing she keeps
a folded petal; *Open her petal* shows one sentence and its source. One a day; an unopened petal
is the same petal next week; on a nearby day she also remembers an earlier one; around the real
sunset she says *The sun is low now*, and after opening, *Go and look at the sky.* The library is
bundled at build time after `validate:library` passes. **The shipped app shows no petal yet:**
the library is empty until the author verifies sentences. 78 candidates wait in
`content/candidates/`, each copied from a Project Gutenberg edition and checked against it by
script; read [`content/candidates/README.md`](content/candidates/README.md) first, then
`pnpm library:verify <id…> --by Mark`. Analysis:
[`.agents/features/day-sentence.md`](.agents/features/day-sentence.md). Review:
[`.agents/reviews/feature-day-sentence.md`](.agents/reviews/feature-day-sentence.md).
- **Thorns (Phase 1):** merged to `main`, as the author chose (thorns teach gentleness). *Touch her*
over her picture: a fond answer, a blush on the first touch of a visit; three quick taps and she
says *Gently. I have thorns.* and rests four seconds. A tremor's taps count as one. Nothing is
recorded. Tuning in `TOUCH` (`packages/engine/src/touch/touch.ts`). Review:
[`.agents/reviews/feature-thorns.md`](.agents/reviews/feature-thorns.md).
- **Two tabs (2026-11-07):** merged to `main`. Measured first: an open tab did not see care or a
town from another tab, so a player could water her twice. Storage now announces each committed
write on a `BroadcastChannel`; the other tabs read again. No lock: nothing stored can drift.
On this date the root `node_modules` was found missing; `pnpm install --frozen-lockfile`
restored it. Review: [`.agents/reviews/fix-two-tabs.md`](.agents/reviews/fix-two-tabs.md).
- **Phase 1 is built in code.** What remains of it is the author's: verified sentences (the petal
appears with them), hosting (G0.13), and the gate itself — two weeks of daily play on a phone.
**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).
The notification decision is made: in-app only on the web (G0.26).
**Waiting on the author.** **Waiting on the author.**
1. **Merge** `feature/phase0-workspace` into `main` (with `--no-ff`, §5.3), or say what 1. **The Letter:** the words in `docs/LETTER.md`, the verified support lines for the
to change first. door to real help (G0.27), and Q9 (may the letter name the book).
2. **`docs/GAMEPLAY.md`.** No game code can start without it (G0.14). `docs/ROADMAP.md` 2. **Sentences:** 78 candidates are ready in `content/candidates/` (10 flagged in its README).
is needed to name Phase 1. Verifying 60 closes the Phase 0 sentence gate (G0.18) and puts the petal in the app. Also
3. **A GitHub repository** for Pages, and the decision whether it is public. That the petal's tuning (`PETAL` in `packages/engine/src/petal/petal.ts`: remembering within 3 days,
decides the source maps (G0.23), the deploy workflow and the mirror check (G0.13). the good moment an hour either side of sunset) and its words in `packages/ui/src/copy/en.ts`.
4. **Upgrading Node** to ≥ 22.13 on this machine (G0.20). 3. **Art:** the style is approved (S1–S5), and so is the fox (F1–F4, with a deep red-orange coat).
**Make `rose-sheet` again with the board v2 prompt** (version 4) and accept it when she looks
right; `fox-sheet` comes first for Phase 2. That is the first step of the Phase 0 art gate.
After an accept, Claude reads the row (`ArtifactData get art/<id>`), downloads the picture
(`Artifact read` with the asset id as `path`), runs `pnpm art:accept`, commits on `art/<set>`,
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): **How this machine works** (not in the code):
- **The CPU guard:** the full runs wait for this machine to drop to 80 % CPU (§5.7). Other projects'
test runs share it, so a wait of a minute or two is normal; three minutes, and the run is refused.
- **Commit identity:** `mnovak <giteatruenasadminacc.from729@passmail.net>`, set in - **Commit identity:** `mnovak <giteatruenasadminacc.from729@passmail.net>`, set in
this repository only. this repository only.
- **Pushing:** it uses a repo-local `credential.helper`, copied from Ludus. Do not - **Pushing:** it uses a repo-local `credential.helper`, copied from Ludus. Do not
+6 -2
View File
@@ -6,11 +6,14 @@
"description": "The PWA. Renders what the engine returns; contains no growth, taming or sky logic.", "description": "The PWA. Renders what the engine returns; contains no growth, taming or sky logic.",
"scripts": { "scripts": {
"dev": "vite --host 127.0.0.1 --port 5173 --strictPort", "dev": "vite --host 127.0.0.1 --port 5173 --strictPort",
"build": "vite build", "build": "tsx ../../scripts/validate-library.ts && vite build",
"typecheck": "svelte-check --threshold error --output human" "typecheck": "svelte-check --threshold error --output human"
}, },
"dependencies": { "dependencies": {
"@rosea/content": "workspace:*",
"@rosea/identity": "workspace:*",
"@rosea/schema": "workspace:*", "@rosea/schema": "workspace:*",
"@rosea/storage": "workspace:*",
"@rosea/ui": "workspace:*" "@rosea/ui": "workspace:*"
}, },
"devDependencies": { "devDependencies": {
@@ -19,6 +22,7 @@
"svelte-check": "4.7.6", "svelte-check": "4.7.6",
"typescript": "5.9.3", "typescript": "5.9.3",
"vite": "6.4.3", "vite": "6.4.3",
"vite-plugin-pwa": "1.3.0" "vite-plugin-pwa": "1.3.0",
"workbox-window": "7.4.1"
} }
} }
+113 -2
View File
@@ -1,5 +1,116 @@
<script lang="ts"> <script lang="ts">
import { Shell } from '@rosea/ui'; import { guessTown } from '@rosea/content/guess';
import { createIdentity } from '@rosea/identity';
import { openStorage } from '@rosea/storage';
import { Shell, type RoseWiring, type SunsetWiring } from '@rosea/ui';
import { registerSW } from 'virtual:pwa-register';
import { version } from '../package.json';
// Bundled at build time, so the letter is precached and opens offline (letter-slot.md L1).
import letter from '../../../docs/LETTER.md?raw';
// The verified hope library, bundled after validate:library passed (day-sentence.md P5).
import sentences from 'virtual:rosea-library';
// The device's own zone, read here and nowhere else: the engine never asks the
// device anything (CLAUDE.md §2). Only the zone's name; never GPS, never a lookup.
const deviceZone = new Intl.DateTimeFormat().resolvedOptions().timeZone;
const storage = openStorage();
// The town list is large, so it loads on the first search (sunset-place.md P5).
// A failed load is forgotten, so the next keystroke tries again.
let towns: Promise<typeof import('@rosea/content/places')> | undefined;
const loadTowns = (): Promise<typeof import('@rosea/content/places')> =>
(towns ??= import('@rosea/content/places').catch((error: unknown) => {
towns = undefined;
throw error;
}));
const sunset: SunsetWiring = {
guess: guessTown(deviceZone),
search: async (query) => (await loadTowns()).searchTowns(query),
load: () => storage.loadSunsetPlace(),
save: (choice) => storage.saveSunsetPlace(choice),
now: () => Date.now(),
// Another tab of the garden chose a town (two-tabs.md).
changes: (listener) => storage.onChange((what) => what === 'place' && listener())
};
// The player's key names their rose (rose.md). Kept once; if the device will not
// keep it, this visit still has a rose, under a key that lasts until closing.
let identity: ReturnType<RoseWiring['identity']> | undefined;
async function findIdentity(): ReturnType<RoseWiring['identity']> {
try {
const kept = await storage.loadIdentity();
if (kept) return { publicKey: kept.publicKey, kept: true };
} catch (error) {
console.error('identity: the device could not read the kept key', error);
}
const fresh = await createIdentity();
try {
return { publicKey: (await storage.keepIdentity(fresh)).publicKey, kept: true };
} catch (error) {
console.error('identity: the device could not keep the key; this visit uses one that lasts until closing', error);
return { publicKey: fresh.publicKey, kept: false };
}
}
// --- Keeping her (keep-her-safe.md) -------------------------------------
const browserStorage = typeof navigator !== 'undefined' ? navigator.storage : undefined;
const keeping: RoseWiring['keeping'] = {
persisted: async () => (browserStorage?.persisted ? browserStorage.persisted() : null),
persist: async () => (browserStorage?.persist ? browserStorage.persist() : null)
};
const installed = (): boolean =>
matchMedia('(display-mode: standalone)').matches || (navigator as Navigator & { standalone?: boolean }).standalone === true;
// An installed app is asked once, after the first care of a visit: by then there is
// something to lose, and installed apps are not met with a permission prompt (K5).
let askedToKeep = false;
function keepAfterCare(): void {
if (askedToKeep || !installed()) return;
askedToKeep = true;
keeping.persist().catch((error: unknown) => console.error('keep: asking the browser to keep the garden failed', error));
}
function saveFile(name: string, text: string): void {
// A file made here and handed over; nothing is sent anywhere.
const url = URL.createObjectURL(new Blob([text], { type: 'application/json' }));
const a = Object.assign(document.createElement('a'), { href: url, download: name });
document.body.append(a);
a.click();
a.remove();
setTimeout(() => URL.revokeObjectURL(url), 10_000);
}
// --- A new version waiting (calm-refresh.md) ----------------------------
// The worker is registered here so the page hears when a new version has installed
// and waits. It is offered, never swapped in by itself (U2).
let updateReady = $state(false);
const updateSW = registerSW({
onNeedRefresh: () => (updateReady = true),
onRegisterError: (error: unknown) => console.error('update: the service worker could not be registered', error)
});
const rose: RoseWiring = {
identity: () => (identity ??= findIdentity()),
loadCare: () => storage.loadCare(),
appendCare: async (event) => {
await storage.appendCare(event);
keepAfterCare();
},
sentences,
loadOpened: () => storage.loadOpened(),
appendOpened: (event) => storage.appendOpened(event),
// Another tab gave care, opened a petal or brought her back (two-tabs.md).
changes: (listener) => storage.onChange((what) => what === 'log' && listener()),
clientVersion: version,
deviceZone,
now: () => Date.now(),
pastKeys: () => storage.loadPastKeys(),
exportRose: (currentKey) => storage.exportRose(currentKey),
importRose: (file, currentKey) => storage.importRose(file, currentKey),
saveFile,
keeping,
installHint: /iPhone|iPad|iPod/.test(navigator.userAgent) && !installed()
};
</script> </script>
<Shell /> <Shell {letter} {sunset} {rose} {updateReady} onrefresh={() => void updateSW(true)} />
+8
View File
@@ -1,2 +1,10 @@
/// <reference types="svelte" /> /// <reference types="svelte" />
/// <reference types="vite/client" /> /// <reference types="vite/client" />
/// <reference types="vite-plugin-pwa/client" />
declare module 'virtual:rosea-library' {
import type { HopeSentence } from '@rosea/schema';
/** The verified hope library, bundled at build time after validate:library passed (day-sentence.md P5). */
const library: readonly HopeSentence[];
export default library;
}
+38 -3
View File
@@ -1,4 +1,7 @@
import { svelte } from '@sveltejs/vite-plugin-svelte'; import { svelte } from '@sveltejs/vite-plugin-svelte';
import { readdirSync, readFileSync } from 'node:fs';
import { join, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
import { defineConfig, type Plugin } from 'vite'; import { defineConfig, type Plugin } from 'vite';
import { VitePWA } from 'vite-plugin-pwa'; import { VitePWA } from 'vite-plugin-pwa';
// A relative path, not '@rosea/schema', on purpose. Vite bundles a config's // A relative path, not '@rosea/schema', on purpose. Vite bundles a config's
@@ -55,20 +58,52 @@ function contentSecurityPolicy(): Plugin {
}; };
} }
/**
* The hope library, bundled at build time as `virtual:rosea-library`
* (day-sentence.md P5). The build script runs `validate:library` first and stops if
* it fails, so the app holds exactly what passed and never validates in the browser
* (GAP_ANALYSIS G0.12: Ajv needs `new Function`, which the CSP forbids).
* `ROSEA_LIBRARY_DIR` swaps the folder, for the e2e build only.
*/
const LIBRARY_DIR = resolve(fileURLToPath(new URL('../..', import.meta.url)), process.env['ROSEA_LIBRARY_DIR'] ?? 'content/library');
function hopeLibrary(): Plugin {
const id = 'virtual:rosea-library';
const resolved = `\0${id}`;
return {
name: 'rosea-library',
resolveId: (source) => (source === id ? resolved : undefined),
load(source) {
if (source !== resolved) return undefined;
const entries: unknown[] = [];
for (const file of readdirSync(LIBRARY_DIR).filter((f) => f.endsWith('.json')).sort()) {
const path = join(LIBRARY_DIR, file);
this.addWatchFile(path);
const data: unknown = JSON.parse(readFileSync(path, 'utf8'));
if (!Array.isArray(data)) throw new Error(`${path}: must be an array of entries`);
entries.push(...data);
}
return `export default ${JSON.stringify(entries)};`;
}
};
}
// Nothing binds to anything but 127.0.0.1 (CLAUDE.md §5.7). // Nothing binds to anything but 127.0.0.1 (CLAUDE.md §5.7).
export default defineConfig({ export default defineConfig({
base: BASE, base: BASE,
plugins: [ plugins: [
svelte(), svelte(),
contentSecurityPolicy(), contentSecurityPolicy(),
hopeLibrary(),
VitePWA({ VitePWA({
strategies: 'generateSW', strategies: 'generateSW',
// Never swap a running app silently. A new worker waits until the player // Never swap a running app silently. A new worker waits until the player
// is offered a calm refresh control (CLAUDE.md §8, GAP_ANALYSIS G0.10). // is offered a calm refresh control (CLAUDE.md §8, GAP_ANALYSIS G0.10).
registerType: 'prompt', registerType: 'prompt',
// An emitted registerSW.js file, not an inline snippet: the CSP has no // The app registers the worker itself through virtual:pwa-register, so it hears
// 'unsafe-inline' for scripts. // when a new version is waiting (calm-refresh.md U1). Bundled, not inline: the
injectRegister: 'script', // CSP has no 'unsafe-inline' for scripts.
injectRegister: false,
manifest: { manifest: {
// The web manifest: one of the three places the name lives, built from // The web manifest: one of the three places the name lives, built from
// the constants in @rosea/schema so the strings exist only there. // the constants in @rosea/schema so the strings exist only there.
+283
View File
@@ -0,0 +1,283 @@
# STYLE.md — Rosea Domi art style
The style system prompt for every picture in Rosea Domi. The pipeline that uses it is
[`docs/ART.md`](../docs/ART.md). Every prompt on the art board starts with **§1** word for
word, then adds the picture's own part, generated from [`manifest.json`](manifest.json).
A picture that is off-style goes back for another try. It is never shipped.
> **Approved by Mark, 2026-11-01.** Claude drafted this file from CLAUDE.md §1 and GAMEPLAY.md,
> and Mark kept the draft as it was: S1–S5 in §0 are decided. The first picture on the board,
> the rose's character sheet, is still the test. If it looks wrong, this file changes before
> anything else is made, and `pnpm art:board` rebuilds every prompt.
>
> **The fox and the Phase 2–3 pictures** (F1–F4 in §0, §3a, the new rows in §2 and §4, review
> points 8–9) were added later the same day and **approved by Mark** with one change: the fox's
> coat is a deep red-orange, not the drafted muted russet.
>
> **Rewritten 2026-11-07, at Mark's request.** The first `rose-sheet` came back as wet, pale
> watercolour with a smiley face on a round ball inside the petals: a children's sticker sheet,
> and the opposite of S1. Mark did not like it. The choices S1–S5 stand; the words that carry
> them were too weak. §1 now leads with the look and says it positively, §3 puts the face *on*
> the petals, and §6 makes prompts short enough for a generator to follow. The book's motifs
> are no longer named in prompts (naming them invites them); they stay in §4 and §7, where the
> review catches them. The picture list grew to every picture Phases 1–5 need (§4).
---
## 0. The choices, decided 2026-11-01
| # | Choice | Decided | Why |
|:--|:--|:--|:--|
| S1 | The medium | Matte gouache on warm paper, with soft brush outlines | It is gentle and hand-made like the rest of Domi. It is also clearly not the book's look, which is a thin pen line with loose, pale watercolour. |
| S2 | Where the rose lives | A small garden bed on a hillside meadow, with a low dry-stone wall and a wide sky to the west | The sunset is real, so the scene needs a real horizon. It is an ordinary garden, never a tiny planet. |
| S3 | The rose's face | A face in the middle of the bloom: two small eyes, often half-closed, a tiny mouth and a blush | This is the description in CLAUDE.md §1, drawn as written. |
| S4 | The palette | §2 | It starts from the app's tokens (`--rose #b4485e`, `--paper #fbf6f1`). |
| S5 | The sky | Drawn in code, never painted | The sun moves at the player's real time, and the stars are the real constellations. A painted sky could do neither. |
**The fox and the Phase 2–3 pictures, decided 2026-11-01.**
| # | Choice | Decided | Why |
|:--|:--|:--|:--|
| F1 | The fox's look | A small, young, shy fox with a **deep red-orange** coat, a cream mask round his eyes and muzzle, dark legs, and a bushy tail with faint darker rings. *Mark changed the coat from the drafted muted russet; the rest is as drafted.* | The mask and the rings are the quiet nod to Ulfík the red panda (CLAUDE.md §1), and the deeper coat is closer to his. All of it keeps him far from the book's fox, which is pale and sandy with very long ears. |
| F2 | His size | Sitting, he is about as tall as the rose | They share the garden bed and must read together on a phone. |
| F3 | Bush and berries | One wild bush in three states. The berries are their own small pictures, placed on the bush in code | Five berry kinds (GAMEPLAY.md §3) then need one bush, not five. |
| F4 | Paths and lanterns (Phase 3) | Small vignettes for now | The screen that shows two roses and the path between them is not designed yet. Its feature doc may ask for them again. |
---
## 1. The system prompt (paste word for word)
> A hand-painted picture in opaque, matte gouache on warm off-white paper, for a quiet game made
> for grown-ups. Flat, chalky areas of colour with visible dry-brush strokes and the grain of the
> paper showing through; two or three soft tonal steps in each shape, no smooth blending.
> Every form is edged with a soft brush line in deep plum-brown that swells and thins, slightly
> uneven, as a painter's line does. Simple, confident shapes with a clear silhouette that still
> reads when the picture is small. Low, warm evening light from the left: each form has a warm
> lit side and a cooler, slightly violet shaded side. A restrained palette of dusty rose, sage,
> moss green, honey and warm umber; amber gold and coral appear only in evening light. The mood is
> calm, tender and quietly hopeful, with a little dry humour, like a page from a finely printed
> book for adults: understated, never sugary, never a children's sticker or a cute mascot.
> Characters are alive but small-featured: their faces are a few tiny marks painted directly on
> them, with eyes as small dark dots or crescents, often half-closed. No text, letters or numbers
> anywhere. No people, hands or human faces. Not watercolour: no wet washes, bleeding edges, blooms or
> pale tints. Not digital: no 3D rendering, gloss, airbrush gradients or lens effects. An
> original design, in the manner of no existing artist, book or film.
---
## 2. Palette
The main tones. Small shades in between are fine.
| Role | Colour | Hex |
|:--|:--|:--|
| Petals (main) | rose | `#C85A6E` |
| Petal edges and light | pale petal | `#F2B5BE` |
| Blush | warm pink | `#E8899B` |
| Leaves | sage | `#7FA07A` |
| Deep leaves and stem | moss | `#4F6E52` |
| Outlines | deep plum-brown | `#3A2730` |
| Paper | warm off-white | `#FBF6F1` |
| Soil and wall stones | warm umber | `#8A6248` |
| Wood | honey | `#B98A5A` |
| Meadow by day | soft green | `#A9C48E` |
| Sunset light | amber gold | `#F2B860` |
| Sunset glow | coral | `#E9846A` |
| Night | dusk indigo | `#2E3561` |
| Lamps and stars | lamp gold | `#F4D58D` |
| Fox coat | deep red-orange | `#BC4A22` |
| Fox mask, chest, tail tip | cream | `#F3E3C8` |
| Fox legs, ear tips | deep brown | `#5A3A33` |
| Wild strawberries | strawberry | `#D2554E` |
| Blueberries | dusk blue | `#5B6FA6` |
| Raspberries | raspberry | `#C2456A` |
| Blackberries | bramble | `#3F2E4A` |
| Rose hips | hip orange | `#D0632E` |
Never use neon, saturated primaries, pure black, pure white or cold greys.
---
## 3. The rose
The rose is the only character in Phase 1. Every rose picture follows the character sheet
`rose-sheet`, so she looks the same in every one.
- **One garden rose** on a single slender stem. She is about three blooms tall, from the bloom
down to where the stem meets the soil. She has three leaves, two low and one high, and a few
small thorns with rounded tips. The thorns are part of her and never look threatening.
- **The bloom is her head.** It is a real old garden rose: cupped, many-petalled, the outer
petals curling back, in rose (`#C85A6E`) turning pale petal (`#F2B5BE`) at the edges. It is
her head by its posture, not by a drawn-in head.
- **Her face is painted on the petals** at the heart of the bloom, where the inner petals fold
together: two tiny dark eyes (dots or crescents, often half-closed) and a short mouth curve,
the whole face no wider than a fifth of the bloom. **There is no round face, ball or bare
patch inside the petals**: the petals curl round the face as they would round the heart of a
real rose. When she is tended, a faint blush (`#E8899B`) warms the petals beside her eyes.
- **Proportions:** the bloom is about as wide as a third of her height; the stem is slender but
strong enough to hold it up proudly.
- **A little vain.** She holds her head high and keeps her petals neat. Her leaves move like
small arms: one raised when she speaks, both lowered when she is thirsty.
- **Stages:** a tight bud, an opening bud, a half bloom and a full bloom. Each stage has the same
face and the same stem, and only the bloom changes.
- **Drift looks like waiting, never like hurt** (CLAUDE.md §8). Turned a little away, petals
closed a little, eyes looking down. She is never wilted, broken, crying, dead or losing
petals in pain. Fallen petals are a care task, not damage.
- **Expressions:** content, sleepy, blushing, speaking, thirsty, too much water, windblown,
waiting, tickled (a touch), and *gently* (a rush of touches: one leaf raised, calm, never
cross — thorns.md). Never angry, crying hard, frightened or hurt.
---
## 3a. The fox (Phase 2: F1–F2)
The fox is the second character. Every fox picture follows the character sheet `fox-sheet`.
- **A small, young fox** with a deep red-orange coat (`#BC4A22`), warm and glowing, never neon. His face has a cream mask
(`#F3E3C8`): cream cheeks and muzzle, and a small cream spot above each eye. His legs and
paws are deep brown (`#5A3A33`). His ears are rounded and of middle size, cream inside with
dark tips. His tail is big and bushy, with three faint darker rings and a cream tip.
- **His face** is like the rose's: small dark eyes, often half-closed, and a tiny dark nose
and mouth. He is shy and curious, never sly.
- **He is a fox, not a red panda.** He has a fox's pointed muzzle and a fox's body. The mask
and the tail rings are only a nod.
- **Sitting, he is about as tall as the rose.**
- **How he comes closer:** watching from a distance, curious, sitting, resting near. Then the
ways he is tamed: petted, brushed, eating berries. The player's hand is never drawn. A
petted fox simply leans into a touch we do not see.
- **Never:** pale sandy fur, very large ears, a wheat field, a collar, lead or clothes, or a
fox who looks sly, hungry, frightened or hurt.
---
## 4. The world
- **The garden:** a small round garden bed on a hillside meadow. A low dry-stone wall sits
behind it, with wild grasses and a few small meadow flowers. The horizon is wide and low in
the west, on the left, where the sun sets.
- **The sky is drawn in code (S5).** Garden pictures are layers: everything above the horizon
is transparent. The sky, the sun, the moon and the real stars are drawn behind them.
- **Times of day:** morning, day, sunset and night. Each is its own layer, with its own light
on the same garden.
- **Care things:** a small watering can, a woven willow windbreak, weeds, fallen petals, and
the folded petal that holds the day's sentence. The words on a petal are added in code and
never painted.
- **The chair:** a small, weathered wooden garden chair. It is the one in the in-game sunset
("move the chair, watch it again").
- **Never in any picture:** a glass dome or bell jar over the rose, a folding screen, a tiny
round planet with someone standing on it, a desert, a child, a scarf, a boy with golden hair,
or anything that looks like a drawing from the book (GAMEPLAY.md §8: *a direction only —
never, ever copying the illustrations*). The willow windbreak is the shelter from the wind,
and it must look nothing like a screen.
- **The wild berry bush (Phase 2, F3):** a small round bush beside the rose's bed, with soft
oval leaves. It rests, flowers, then ripens. The berries are their own pictures: wild
strawberries, blueberries, raspberries, blackberries and rose hips. Code places them on the
bush and on the large leaf the fox eats from. A soft wooden brush is used to groom him.
- **Paths and lanterns (Phase 3, F4):** a path through the meadow grows from paw prints, to a
trodden trail, to a soft earth road edged with stones. A lantern is a small iron-and-glass
hand lantern hanging from a shepherd's-crook post, never a street lamp.
- **The planets (Phase 2, drafts).** Each lonely grown-up has a small place of their own: a
grassy hilltop seen from the side, its edge dropping away below — never a ball or a sphere.
**The grown-up is never drawn**; the place shows who lives there, and the emptiness is the
point. The pictures are drafts until each planet's feature doc decides it. The sixth
grown-up's place is left out on purpose until its feature doc decides how it can be shown
gently.
- **Visitors and mementos (Phase 2):** small garden creatures that come by (a hedgehog, a robin
at dawn, a snail, a moth, a ladybird, a small owl) and the small things they leave.
- **The shared sky (Phase 4):** the sky is code; only small lights and the lamps of the
sunset wave are pictures.
- **The share frame (Phase 5):** a border of meadow round an empty middle where the player's
sky is drawn.
- No flags, religious symbols, buildings, vehicles or people.
---
## 5. Sizes and backgrounds
Image generators offer 1024 × 1024, 1536 × 1024 and 1024 × 1536. Every picture is made at one
of those sizes.
| Kind | Made at (px) | Background | Notes |
|:--|:--|:--|:--|
| Character sheet | 1536 × 1024 | full, plain paper | A reference only, never shown in the app |
| Sprite sheet | 1536 × 1024 | transparent | Cut into cells along its grid (§9) |
| Single picture | 1024 × 1024 | transparent | Centred, whole, about 10 % clear on every side, no ground shadow |
| Garden layer | 1024 × 1536 | transparent above the horizon | Horizon at 40 % from the top; keep the lower middle calm for the rose and the controls |
| App icon | 1024 × 1024 | full | Keep the bloom inside the middle 70 %; phones cut the corners |
- Accepted pictures go into `art/final/` as WebP, within the size budget in `docs/ART.md` §4.
- One subject per picture. Never crop a petal, leaf or stem.
- Keep the same outline weight and paper texture in every picture.
---
## 6. How a prompt is built
The art board writes every prompt. Nobody types them by hand. Each prompt is §1, then:
```
Make: <what kind of image, in one plain sentence>
Reference: <the character sheet to attach, and to match exactly> (character pictures only)
Subject: <who or what, and the character's look>
Setting / Layout: <the scene, or the grid in words: columns, rows, gaps>
Canvas: <W × H px, background>
Include: <…>
Avoid: <a short list: the picture's own, then the few every picture shares>
Board id: <id>
```
Why this shape (2026-11-07): generators follow the first lines and drift on the rest. So the
look comes first (§1), the picture second, and nothing a generator cannot use: no pixel
coordinates (the board's cutting overlay and `art:accept` keep those), and no long lists of
things not to draw. Naming a motif, even to forbid it, makes it likelier; the book's motifs are
therefore checked in review (§4, §7), not written into prompts.
`tools/art-prep` builds the prompts from `art/manifest.json` (`pnpm art:board`), and a test
checks that each one starts with §1 word for word.
---
## 7. Review points
The board shows these under each card, and Claude's review checks them. Mark doesn't have to
tick them: *Accept* is one tap.
0. It reads as one living garden rose, her face a few tiny marks painted on her inner petals,
with no round ball face, and calm enough for grown-ups, not a sticker.
1. She matches `rose-sheet`: the same bloom, petal colours, three leaves and rounded thorns.
2. The colours stay within §2, with soft plum-brown outlines, in matte gouache, not wet watercolour.
3. Nothing from the book: no glass dome, screen, tiny planet, desert, child or scarf, and no
look of its drawings.
4. No text, numbers, logos, people or stray symbols.
5. The size and background are right for its kind in §5.
6. It reads clearly at the smallest size it is shown.
7. It is gentle: nothing blames, frightens or looks hurt, and drift looks like waiting.
8. It reads as one young red-orange fox with a cream mask and a ringed tail, shy and gentle, and
nothing like the book's sandy, long-eared fox.
9. He matches `fox-sheet`: the same mask, ears, leg colour, tail rings and size.
---
## 8. What Claude checks before Mark sees a picture
- **Likeness:** the picture is compared with §4's *never* list. A rose under glass, a screen,
a planet the size of a house, or a pen-and-wash look means another try, however pretty it is.
- **Soul:** CLAUDE.md §8, *drift that reads as blame*. A rose who looks hurt or sad because of
the player is refused.
- **Words:** a picture with painted letters is refused, because words come from the copy library.
---
## 9. Sprite sheets
A sprite sheet is one prompt that makes several pictures at once on a grid. The board shows the
cut lines over the upload. `pnpm art:accept` cuts the sheet apart, and each cell becomes its own
picture in `art/final/`.
- The cells are equal and invisible. They are read like a book: left to right, top row first.
- Each drawing stays inside its cell's safe box, which keeps 12 % of the cell's shorter side
clear on every side. Nothing crosses a cut line.
- The whole sheet uses one scale. The largest drawing fills its safe box, and every other
drawing is drawn at that same scale.
- When a sheet won't keep to its grid, each cell can be made on its own with its own prompt
(*One at a time* on the board). Each one is then accepted separately.
+1540
View File
File diff suppressed because it is too large Load Diff
+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
<!-- Stand-in for app-icon-maskable (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<rect width="1024" height="1024" fill="#e9846a"/><rect y="512" width="1024" height="512" fill="#f2b860" opacity=".6"/> <circle cx="512" cy="512" r="307.2" fill="none" stroke="#fbf6f1" stroke-width="4" stroke-dasharray="16 12"/> <svg x="256" y="225.28" width="512" height="573.44" viewBox="0 30 200 230"><path d="M100 520 Q 100 340 100 170" fill="none" stroke="#4f6e52" stroke-width="9" stroke-linecap="round"/><path d="M96 430 l-12 -6 l10 -6z" fill="#4f6e52"/><path d="M104 300 l12 -6 l-10 -6z" fill="#4f6e52"/><path d="M96 220 l-12 -6 l10 -6z" fill="#4f6e52"/><ellipse cx="70" cy="400" rx="34" ry="14" fill="#7fa07a" stroke="#3a2730" stroke-width="3" transform="rotate(-35 100 400)"/><ellipse cx="130" cy="330" rx="34" ry="14" fill="#7fa07a" stroke="#3a2730" stroke-width="3" transform="rotate(35 100 330)"/><ellipse cx="70" cy="250" rx="34" ry="14" fill="#7fa07a" stroke="#3a2730" stroke-width="3" transform="rotate(-30 100 250)"/><g transform="translate(0 0) rotate(0 100 170)"><circle cx="140.7" cy="130.0" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="128.8" cy="158.8" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="100.0" cy="170.7" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="71.2" cy="158.8" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="59.3" cy="130.0" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="71.2" cy="101.2" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="100.0" cy="89.3" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="128.8" cy="101.2" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="100" cy="130" r="45.9" fill="#f2b5be" stroke="#3a2730" stroke-width="3"/><path d="M85 124 q6 5 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3"/><path d="M103 124 q6 5 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3"/><path d="M93 142 q7 7 14 0" fill="none" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><circle cx="82" cy="138" r="8" fill="#e8899b"/><circle cx="118" cy="138" r="8" fill="#e8899b"/></g></svg>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
<!-- Stand-in for app-icon (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<rect width="1024" height="1024" fill="#e9846a"/><rect y="512" width="1024" height="512" fill="#f2b860" opacity=".6"/> <svg x="153.6" y="122.88" width="716.8" height="778.24" viewBox="0 30 200 230"><path d="M100 520 Q 100 340 100 170" fill="none" stroke="#4f6e52" stroke-width="9" stroke-linecap="round"/><path d="M96 430 l-12 -6 l10 -6z" fill="#4f6e52"/><path d="M104 300 l12 -6 l-10 -6z" fill="#4f6e52"/><path d="M96 220 l-12 -6 l10 -6z" fill="#4f6e52"/><ellipse cx="70" cy="400" rx="34" ry="14" fill="#7fa07a" stroke="#3a2730" stroke-width="3" transform="rotate(-35 100 400)"/><ellipse cx="130" cy="330" rx="34" ry="14" fill="#7fa07a" stroke="#3a2730" stroke-width="3" transform="rotate(35 100 330)"/><ellipse cx="70" cy="250" rx="34" ry="14" fill="#7fa07a" stroke="#3a2730" stroke-width="3" transform="rotate(-30 100 250)"/><g transform="translate(0 0) rotate(0 100 170)"><circle cx="140.7" cy="130.0" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="128.8" cy="158.8" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="100.0" cy="170.7" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="71.2" cy="158.8" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="59.3" cy="130.0" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="71.2" cy="101.2" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="100.0" cy="89.3" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="128.8" cy="101.2" r="40.7" fill="#c85a6e" stroke="#3a2730" stroke-width="3"/><circle cx="100" cy="130" r="45.9" fill="#f2b5be" stroke="#3a2730" stroke-width="3"/><path d="M85 124 q6 5 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3"/><path d="M103 124 q6 5 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3"/><path d="M93 142 q7 7 14 0" fill="none" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><circle cx="82" cy="138" r="8" fill="#e8899b"/><circle cx="118" cy="138" r="8" fill="#e8899b"/></g></svg>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1536 1024" width="1536" height="1024">
<!-- Stand-in for berries-sheet (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<svg x="0" y="0" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><ellipse cx="80" cy="58" rx="30" ry="13" fill="#7fa07a" stroke="#3a2730" stroke-width="4" transform="rotate(-25 80 58)"/><ellipse cx="120" cy="58" rx="30" ry="13" fill="#7fa07a" stroke="#3a2730" stroke-width="4" transform="rotate(25 120 58)"/><path d="M100 40 V 80" stroke="#4f6e52" stroke-width="5"/><circle cx="70" cy="120" r="22" fill="#d2554e" stroke="#3a2730" stroke-width="4"/><circle cx="110" cy="140" r="22" fill="#d2554e" stroke="#3a2730" stroke-width="4"/><circle cx="140" cy="105" r="22" fill="#d2554e" stroke="#3a2730" stroke-width="4"/></g></svg><svg x="512" y="0" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><ellipse cx="80" cy="58" rx="30" ry="13" fill="#7fa07a" stroke="#3a2730" stroke-width="4" transform="rotate(-25 80 58)"/><ellipse cx="120" cy="58" rx="30" ry="13" fill="#7fa07a" stroke="#3a2730" stroke-width="4" transform="rotate(25 120 58)"/><path d="M100 40 V 80" stroke="#4f6e52" stroke-width="5"/><circle cx="70" cy="120" r="16" fill="#5b6fa6" stroke="#3a2730" stroke-width="4"/><circle cx="100" cy="140" r="16" fill="#5b6fa6" stroke="#3a2730" stroke-width="4"/><circle cx="130" cy="120" r="16" fill="#5b6fa6" stroke="#3a2730" stroke-width="4"/><circle cx="85" cy="95" r="16" fill="#5b6fa6" stroke="#3a2730" stroke-width="4"/><circle cx="118" cy="95" r="16" fill="#5b6fa6" stroke="#3a2730" stroke-width="4"/></g></svg><svg x="1024" y="0" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><ellipse cx="80" cy="58" rx="30" ry="13" fill="#7fa07a" stroke="#3a2730" stroke-width="4" transform="rotate(-25 80 58)"/><path d="M100 40 V 80" stroke="#4f6e52" stroke-width="5"/><circle cx="72" cy="120" r="22" fill="#c2456a" stroke="#3a2730" stroke-width="4"/><circle cx="110" cy="138" r="22" fill="#c2456a" stroke="#3a2730" stroke-width="4"/><circle cx="138" cy="108" r="22" fill="#c2456a" stroke="#3a2730" stroke-width="4"/></g></svg><svg x="0" y="512" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><ellipse cx="80" cy="58" rx="30" ry="13" fill="#7fa07a" stroke="#3a2730" stroke-width="4" transform="rotate(-25 80 58)"/><path d="M100 40 V 80" stroke="#4f6e52" stroke-width="5"/><circle cx="72" cy="120" r="22" fill="#3f2e4a" stroke="#3a2730" stroke-width="4"/><circle cx="110" cy="138" r="22" fill="#3f2e4a" stroke="#3a2730" stroke-width="4"/><circle cx="138" cy="108" r="22" fill="#3f2e4a" stroke="#3a2730" stroke-width="4"/></g></svg><svg x="512" y="512" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><circle cx="100" cy="115" r="80" fill="#f4d58d" opacity=".3"/><path d="M100 30 V 70 M100 70 L 70 90 M100 70 L 130 90" stroke="#4f6e52" stroke-width="5" fill="none"/><ellipse cx="70" cy="125" rx="24" ry="34" fill="#d0632e" stroke="#3a2730" stroke-width="4"/><path d="M62 159 l8 10 l8 -10" fill="#5a3a33"/><ellipse cx="130" cy="125" rx="24" ry="34" fill="#d0632e" stroke="#3a2730" stroke-width="4"/><path d="M122 159 l8 10 l8 -10" fill="#5a3a33"/></g></svg><svg x="1024" y="512" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><path d="M20 110 Q 100 10 185 100 Q 100 190 20 110z" fill="#7fa07a" stroke="#3a2730" stroke-width="5"/><path d="M20 110 Q 100 100 185 100" fill="none" stroke="#4f6e52" stroke-width="5"/></g></svg>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1536 1024" width="1536" height="1024">
<!-- Stand-in for berry-bush-sheet (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<svg x="0" y="0" width="768" height="512" viewBox="0 0 768 512"><g transform="translate(204.8 76.8) scale(1.7920)"><circle cx="60" cy="120" r="50" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="140" cy="120" r="50" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="100" cy="80" r="56" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="100" cy="140" r="46" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><path d="M70 70 q30 -14 60 0 M50 120 q20 -10 40 0 M115 125 q20 -10 40 0" fill="none" stroke="#4f6e52" stroke-width="4"/></g></svg><svg x="768" y="0" width="768" height="512" viewBox="0 0 768 512"><g transform="translate(204.8 76.8) scale(1.7920)"><circle cx="60" cy="120" r="50" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="140" cy="120" r="50" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="100" cy="80" r="56" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="100" cy="140" r="46" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><path d="M70 70 q30 -14 60 0 M50 120 q20 -10 40 0 M115 125 q20 -10 40 0" fill="none" stroke="#4f6e52" stroke-width="4"/><circle cx="55" cy="100" r="9" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/><circle cx="55" cy="100" r="3" fill="#f2b860"/><circle cx="100" cy="60" r="9" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/><circle cx="100" cy="60" r="3" fill="#f2b860"/><circle cx="145" cy="105" r="9" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/><circle cx="145" cy="105" r="3" fill="#f2b860"/><circle cx="90" cy="135" r="9" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/><circle cx="90" cy="135" r="3" fill="#f2b860"/><circle cx="125" cy="150" r="9" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/><circle cx="125" cy="150" r="3" fill="#f2b860"/></g></svg><svg x="0" y="512" width="768" height="512" viewBox="0 0 768 512"><g transform="translate(204.8 76.8) scale(1.7920)"><circle cx="60" cy="120" r="50" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="140" cy="120" r="50" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="100" cy="80" r="56" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="100" cy="140" r="46" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><path d="M70 70 q30 -14 60 0 M50 120 q20 -10 40 0 M115 125 q20 -10 40 0" fill="none" stroke="#4f6e52" stroke-width="4"/><ellipse cx="60" cy="105" rx="20" ry="15" fill="#f4d58d" stroke="#4f6e52" stroke-width="3"/><ellipse cx="138" cy="108" rx="20" ry="15" fill="#f4d58d" stroke="#4f6e52" stroke-width="3"/><ellipse cx="100" cy="70" rx="20" ry="15" fill="#f4d58d" stroke="#4f6e52" stroke-width="3"/></g></svg><svg x="768" y="512" width="768" height="512" viewBox="0 0 768 512"><g transform="translate(204.8 76.8) scale(1.7920)"><path d="M30 110 Q 30 70 100 70 Q 170 70 170 110z" fill="#b98a5a" stroke="#3a2730" stroke-width="5"/><path d="M40 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M51 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M62 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M73 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M84 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M95 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M106 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M117 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M128 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M139 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M150 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M161 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/></g></svg>
</svg>

After

Width:  |  Height:  |  Size: 4.0 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for blackberries (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(76.8 76.8) scale(1.7920)"><ellipse cx="80" cy="58" rx="30" ry="13" fill="#7fa07a" stroke="#3a2730" stroke-width="4" transform="rotate(-25 80 58)"/><path d="M100 40 V 80" stroke="#4f6e52" stroke-width="5"/><circle cx="72" cy="120" r="22" fill="#3f2e4a" stroke="#3a2730" stroke-width="4"/><circle cx="110" cy="138" r="22" fill="#3f2e4a" stroke="#3a2730" stroke-width="4"/><circle cx="138" cy="108" r="22" fill="#3f2e4a" stroke="#3a2730" stroke-width="4"/></g>
</svg>

After

Width:  |  Height:  |  Size: 707 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for blueberries (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(76.8 76.8) scale(1.7920)"><ellipse cx="80" cy="58" rx="30" ry="13" fill="#7fa07a" stroke="#3a2730" stroke-width="4" transform="rotate(-25 80 58)"/><ellipse cx="120" cy="58" rx="30" ry="13" fill="#7fa07a" stroke="#3a2730" stroke-width="4" transform="rotate(25 120 58)"/><path d="M100 40 V 80" stroke="#4f6e52" stroke-width="5"/><circle cx="70" cy="120" r="16" fill="#5b6fa6" stroke="#3a2730" stroke-width="4"/><circle cx="100" cy="140" r="16" fill="#5b6fa6" stroke="#3a2730" stroke-width="4"/><circle cx="130" cy="120" r="16" fill="#5b6fa6" stroke="#3a2730" stroke-width="4"/><circle cx="85" cy="95" r="16" fill="#5b6fa6" stroke="#3a2730" stroke-width="4"/><circle cx="118" cy="95" r="16" fill="#5b6fa6" stroke="#3a2730" stroke-width="4"/></g>
</svg>

After

Width:  |  Height:  |  Size: 991 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 768 512" width="768" height="512">
<!-- Stand-in for bush-flowering (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(204.8 76.8) scale(1.7920)"><circle cx="60" cy="120" r="50" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="140" cy="120" r="50" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="100" cy="80" r="56" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="100" cy="140" r="46" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><path d="M70 70 q30 -14 60 0 M50 120 q20 -10 40 0 M115 125 q20 -10 40 0" fill="none" stroke="#4f6e52" stroke-width="4"/><circle cx="55" cy="100" r="9" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/><circle cx="55" cy="100" r="3" fill="#f2b860"/><circle cx="100" cy="60" r="9" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/><circle cx="100" cy="60" r="3" fill="#f2b860"/><circle cx="145" cy="105" r="9" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/><circle cx="145" cy="105" r="3" fill="#f2b860"/><circle cx="90" cy="135" r="9" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/><circle cx="90" cy="135" r="3" fill="#f2b860"/><circle cx="125" cy="150" r="9" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/><circle cx="125" cy="150" r="3" fill="#f2b860"/></g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 768 512" width="768" height="512">
<!-- Stand-in for bush-resting (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(204.8 76.8) scale(1.7920)"><circle cx="60" cy="120" r="50" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="140" cy="120" r="50" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="100" cy="80" r="56" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="100" cy="140" r="46" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><path d="M70 70 q30 -14 60 0 M50 120 q20 -10 40 0 M115 125 q20 -10 40 0" fill="none" stroke="#4f6e52" stroke-width="4"/></g>
</svg>

After

Width:  |  Height:  |  Size: 731 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 768 512" width="768" height="512">
<!-- Stand-in for bush-ripe (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(204.8 76.8) scale(1.7920)"><circle cx="60" cy="120" r="50" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="140" cy="120" r="50" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="100" cy="80" r="56" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><circle cx="100" cy="140" r="46" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><path d="M70 70 q30 -14 60 0 M50 120 q20 -10 40 0 M115 125 q20 -10 40 0" fill="none" stroke="#4f6e52" stroke-width="4"/><ellipse cx="60" cy="105" rx="20" ry="15" fill="#f4d58d" stroke="#4f6e52" stroke-width="3"/><ellipse cx="138" cy="108" rx="20" ry="15" fill="#f4d58d" stroke="#4f6e52" stroke-width="3"/><ellipse cx="100" cy="70" rx="20" ry="15" fill="#f4d58d" stroke="#4f6e52" stroke-width="3"/></g>
</svg>

After

Width:  |  Height:  |  Size: 1005 B

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1536 1024" width="1536" height="1024">
<!-- Stand-in for care-props-more-sheet (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<svg x="0" y="0" width="768" height="512" viewBox="0 0 768 512"><g transform="translate(204.8 76.8) scale(1.7920)"><ellipse cx="100" cy="160" rx="80" ry="22" fill="#8a6248" opacity=".85"/><path d="M70 160 l-14 -40 l12 10 l2 -22 l8 18 l10 -16 l-4 44z" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><path d="M100 160 l-14 -50 l12 10 l2 -27 l8 18 l10 -16 l-4 52z" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><path d="M130 160 l-14 -60 l12 10 l2 -32 l8 18 l10 -16 l-4 60z" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/></g></svg><svg x="768" y="0" width="768" height="512" viewBox="0 0 768 512"><g transform="translate(204.8 76.8) scale(1.7920)"><g transform="rotate(24 100 110)"><rect x="70" y="80" width="90" height="80" rx="18" fill="#7fa07a" stroke="#3a2730" stroke-width="5"/><path d="M80 80 q35 -55 70 0" fill="none" stroke="#3a2730" stroke-width="7"/><path d="M72 110 L32 70" stroke="#3a2730" stroke-width="10" stroke-linecap="round"/></g><path d="M24 66 q-6 40 -4 90" fill="none" stroke="#9cc3d8" stroke-width="6" stroke-linecap="round"/><circle cx="16" cy="170" r="5" fill="#9cc3d8" stroke="#3a2730" stroke-width="2"/><circle cx="30" cy="182" r="5" fill="#9cc3d8" stroke="#3a2730" stroke-width="2"/></g></svg><svg x="0" y="512" width="768" height="512" viewBox="0 0 768 512"><g transform="translate(204.8 76.8) scale(1.7920)"><path d="M20 60 q60 -30 110 0 t60 -10" fill="none" stroke="#f2b5be" stroke-width="10" stroke-linecap="round"/><path d="M20 100 q60 -30 110 0 t60 -10" fill="none" stroke="#f3e3c8" stroke-width="10" stroke-linecap="round"/><path d="M20 140 q60 -30 110 0 t60 -10" fill="none" stroke="#f2b5be" stroke-width="10" stroke-linecap="round"/><ellipse cx="150" cy="70" rx="16" ry="7" fill="#7fa07a" stroke="#3a2730" stroke-width="3" transform="rotate(-30 150 70)"/><ellipse cx="80" cy="150" rx="14" ry="6" fill="#7fa07a" stroke="#3a2730" stroke-width="3" transform="rotate(20 80 150)"/></g></svg><svg x="768" y="512" width="768" height="512" viewBox="0 0 768 512"><g transform="translate(204.8 76.8) scale(1.7920)"><path d="M70 57.599999999999994 q14 22.400000000000002 0 36.4 q-14 -14 0 -36.4z" fill="#9cc3d8" stroke="#3a2730" stroke-width="3"/><path d="M120 54 q10 16 0 26 q-10 -10 0 -26z" fill="#9cc3d8" stroke="#3a2730" stroke-width="3"/><path d="M100 94.4 q16 25.6 0 41.6 q-16 -16 0 -41.6z" fill="#9cc3d8" stroke="#3a2730" stroke-width="3"/><path d="M140 115.6 q9 14.4 0 23.400000000000002 q-9 -9 0 -23.400000000000002z" fill="#9cc3d8" stroke="#3a2730" stroke-width="3"/><path d="M60 127.2 q8 12.8 0 20.8 q-8 -8 0 -20.8z" fill="#9cc3d8" stroke="#3a2730" stroke-width="3"/></g></svg>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1536 1024" width="1536" height="1024">
<!-- Stand-in for care-props-sheet (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<svg x="0" y="0" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><rect x="50" y="80" width="90" height="80" rx="18" fill="#7fa07a" stroke="#3a2730" stroke-width="5"/> <path d="M60 80 q35 -55 70 0" fill="none" stroke="#3a2730" stroke-width="7"/> <path d="M52 110 L12 70" stroke="#3a2730" stroke-width="10" stroke-linecap="round"/><circle cx="12" cy="68" r="10" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/></g></svg><svg x="512" y="0" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><path d="M30 150 v-90" stroke="#b98a5a" stroke-width="12" stroke-linecap="round"/><path d="M48 143.1116982174284 v-86.1731656763491" stroke="#b98a5a" stroke-width="12" stroke-linecap="round"/><path d="M66 137.27207793864216 v-82.92893218813452" stroke="#b98a5a" stroke-width="12" stroke-linecap="round"/><path d="M84 133.37016841479684 v-80.76120467488713" stroke="#b98a5a" stroke-width="12" stroke-linecap="round"/><path d="M102 132 v-80" stroke="#b98a5a" stroke-width="12" stroke-linecap="round"/><path d="M120 133.37016841479684 v-80.76120467488713" stroke="#b98a5a" stroke-width="12" stroke-linecap="round"/><path d="M138 137.27207793864216 v-82.92893218813452" stroke="#b98a5a" stroke-width="12" stroke-linecap="round"/><path d="M156 143.11169821742837 v-86.1731656763491" stroke="#b98a5a" stroke-width="12" stroke-linecap="round"/><path d="M174 150 v-90" stroke="#b98a5a" stroke-width="12" stroke-linecap="round"/><path d="M24 100 Q100 75 176 100" fill="none" stroke="#8a6248" stroke-width="6"/><path d="M24 128 Q100 103 176 128" fill="none" stroke="#8a6248" stroke-width="6"/> <path d="M30 150 v30 M170 150 v30" stroke="#8a6248" stroke-width="8" stroke-linecap="round"/></g></svg><svg x="1024" y="0" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><path d="M60 140 l-18 -60 l14 12 l4 -30 l8 24 l12 -20 l-6 60z" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><path d="M100 140 l-18 -72 l14 12 l4 -36 l8 24 l12 -20 l-6 68z" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><path d="M140 140 l-18 -84 l14 12 l4 -42 l8 24 l12 -20 l-6 76z" fill="#7fa07a" stroke="#3a2730" stroke-width="4"/><path d="M70 140 q10 30 -6 44 M100 140 q-4 26 10 40 M130 140 q8 22 -2 38" fill="none" stroke="#8a6248" stroke-width="4"/></g></svg><svg x="0" y="512" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><ellipse cx="60" cy="110" rx="34" ry="22" fill="#c85a6e" stroke="#3a2730" stroke-width="4" transform="rotate(-20 60 110)"/><ellipse cx="110" cy="90" rx="34" ry="22" fill="#c85a6e" stroke="#3a2730" stroke-width="4" transform="rotate(25 110 90)"/><ellipse cx="140" cy="130" rx="34" ry="22" fill="#c85a6e" stroke="#3a2730" stroke-width="4" transform="rotate(60 140 130)"/></g></svg><svg x="512" y="512" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><circle cx="100" cy="100" r="86" fill="#f4d58d" opacity=".35"/><path d="M100 30 C 170 60, 160 160, 100 170 C 40 160, 30 60, 100 30z" fill="#c85a6e" stroke="#3a2730" stroke-width="5"/> <path d="M100 30 C 120 90, 120 130, 100 170" fill="none" stroke="#f2b5be" stroke-width="6"/></g></svg><svg x="1024" y="512" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><path d="M100 20 C 190 50, 190 160, 100 182 C 10 160, 10 50, 100 20z" fill="#f2b5be" stroke="#3a2730" stroke-width="5"/></g></svg>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for fallen-petals (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(76.8 76.8) scale(1.7920)"><ellipse cx="60" cy="110" rx="34" ry="22" fill="#c85a6e" stroke="#3a2730" stroke-width="4" transform="rotate(-20 60 110)"/><ellipse cx="110" cy="90" rx="34" ry="22" fill="#c85a6e" stroke="#3a2730" stroke-width="4" transform="rotate(25 110 90)"/><ellipse cx="140" cy="130" rx="34" ry="22" fill="#c85a6e" stroke="#3a2730" stroke-width="4" transform="rotate(60 140 130)"/></g>
</svg>

After

Width:  |  Height:  |  Size: 650 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
<!-- Stand-in for favicon-mark (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<rect width="1024" height="1024" fill="#f2b860"/><circle cx="686.1" cy="512.0" r="174.08" fill="#c85a6e" stroke="#3a2730" stroke-width="12"/><circle cx="599.0" cy="662.8" r="174.08" fill="#c85a6e" stroke="#3a2730" stroke-width="12"/><circle cx="425.0" cy="662.8" r="174.08" fill="#c85a6e" stroke="#3a2730" stroke-width="12"/><circle cx="337.9" cy="512.0" r="174.08" fill="#c85a6e" stroke="#3a2730" stroke-width="12"/><circle cx="425.0" cy="361.2" r="174.08" fill="#c85a6e" stroke="#3a2730" stroke-width="12"/><circle cx="599.0" cy="361.2" r="174.08" fill="#c85a6e" stroke="#3a2730" stroke-width="12"/><circle cx="512" cy="512" r="163.84" fill="#f2b5be" stroke="#3a2730" stroke-width="12"/>
</svg>

After

Width:  |  Height:  |  Size: 919 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for fox-asleep (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 100.4) scale(1.2971)"><circle cx="150" cy="160" r="66" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M205 200 Q 170 235 110 205" fill="none" stroke="#3a2730" stroke-width="38" stroke-linecap="round"/><path d="M205 200 Q 170 235 110 205" fill="none" stroke="#bc4a22" stroke-width="30" stroke-linecap="round"/><path d="M205 200 Q 170 235 110 205" fill="none" stroke="#5a3a33" stroke-width="32" stroke-dasharray="6 26" opacity=".45"/><path d="M96.5 150 l12 -27 l12 27z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M123.5 150 l12 -27 l12 27z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><g transform="rotate(0 125 168)"><circle cx="125" cy="168" r="30" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/> <ellipse cx="108.5" cy="178.5" rx="16.5" ry="11.4" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/> <circle cx="113" cy="154.5" r="5" fill="#f3e3c8"/><circle cx="135" cy="154.5" r="5" fill="#f3e3c8"/> <path d="M106 164 q6 6 12 0" fill="none" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><path d="M128 164 q6 6 12 0" fill="none" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><circle cx="96.5" cy="177" r="5" fill="#3a2730"/> </g></g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 768 512" width="768" height="512">
<!-- Stand-in for fox-brush (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(204.8 76.8) scale(1.7920)"><path d="M30 110 Q 30 70 100 70 Q 170 70 170 110z" fill="#b98a5a" stroke="#3a2730" stroke-width="5"/><path d="M40 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M51 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M62 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M73 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M84 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M95 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M106 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M117 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M128 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M139 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M150 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/><path d="M161 112 v26" stroke="#f3e3c8" stroke-width="6" stroke-linecap="round"/></g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for fox-brushed (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 100.4) scale(1.2971)"><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#3a2730" stroke-width="46" stroke-linecap="round"/><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#bc4a22" stroke-width="38" stroke-linecap="round"/><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#5a3a33" stroke-width="40" stroke-dasharray="6 26" opacity=".45"/><ellipse cx="160" cy="150" rx="50" ry="64" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><ellipse cx="148" cy="160" rx="24" ry="38" fill="#f3e3c8"/><path d="M140 175 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M168 175 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M112.1 49.2 l12 -34.2 l12 34.2z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M146.3 49.2 l12 -34.2 l12 34.2z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><g transform="rotate(8 145 72)"><circle cx="145" cy="72" r="38" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/> <ellipse cx="122.5" cy="85.3" rx="20.900000000000002" ry="14.44" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/> <circle cx="133" cy="54.9" r="5" fill="#f3e3c8"/><circle cx="155" cy="54.9" r="5" fill="#f3e3c8"/> <path d="M126 68 q6 4 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><path d="M148 68 q6 4 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><circle cx="110.5" cy="83.4" r="5" fill="#3a2730"/> </g></g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for fox-carrying-petal (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 100.4) scale(1.2971)"><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#3a2730" stroke-width="38" stroke-linecap="round"/><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#bc4a22" stroke-width="30" stroke-linecap="round"/><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#5a3a33" stroke-width="32" stroke-dasharray="6 26" opacity=".45"/><path d="M110 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M130 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M200 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M220 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><ellipse cx="165" cy="128" rx="80" ry="38" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M49.3 77.6 l12 -30.6 l12 30.6z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M79.9 77.6 l12 -30.6 l12 30.6z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><g transform="rotate(0 80 98)"><circle cx="80" cy="98" r="34" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/> <ellipse cx="60.5" cy="109.9" rx="18.700000000000003" ry="12.92" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/> <circle cx="68" cy="82.7" r="5" fill="#f3e3c8"/><circle cx="90" cy="82.7" r="5" fill="#f3e3c8"/> <path d="M61 94 q6 4 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><path d="M83 94 q6 4 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><circle cx="48.5" cy="108.2" r="5" fill="#3a2730"/> <ellipse cx="44.5" cy="123.5" rx="16" ry="9" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/></g></g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for fox-curious (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 100.4) scale(1.2971)"><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#3a2730" stroke-width="38" stroke-linecap="round"/><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#bc4a22" stroke-width="30" stroke-linecap="round"/><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#5a3a33" stroke-width="32" stroke-dasharray="6 26" opacity=".45"/><path d="M110 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M130 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M200 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M220 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><ellipse cx="165" cy="128" rx="80" ry="38" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M49.3 77.6 l12 -30.6 l12 30.6z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M79.9 77.6 l12 -30.6 l12 30.6z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><g transform="rotate(-14 80 98)"><circle cx="80" cy="98" r="34" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/> <ellipse cx="60.5" cy="109.9" rx="18.700000000000003" ry="12.92" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/> <circle cx="68" cy="82.7" r="5" fill="#f3e3c8"/><circle cx="90" cy="82.7" r="5" fill="#f3e3c8"/> <circle cx="67" cy="94" r="4" fill="#3a2730"/><circle cx="89" cy="94" r="4" fill="#3a2730"/><circle cx="48.5" cy="108.2" r="5" fill="#3a2730"/> </g></g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for fox-eating (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 100.4) scale(1.2971)"><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#3a2730" stroke-width="38" stroke-linecap="round"/><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#bc4a22" stroke-width="30" stroke-linecap="round"/><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#5a3a33" stroke-width="32" stroke-dasharray="6 26" opacity=".45"/><path d="M110 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M130 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M200 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M220 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><ellipse cx="165" cy="128" rx="80" ry="38" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M49.3 77.6 l12 -30.6 l12 30.6z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M79.9 77.6 l12 -30.6 l12 30.6z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><g transform="rotate(-30 80 98)"><circle cx="80" cy="98" r="34" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/> <ellipse cx="60.5" cy="109.9" rx="18.700000000000003" ry="12.92" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/> <circle cx="68" cy="82.7" r="5" fill="#f3e3c8"/><circle cx="90" cy="82.7" r="5" fill="#f3e3c8"/> <path d="M61 94 q6 6 12 0" fill="none" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><path d="M83 94 q6 6 12 0" fill="none" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><circle cx="48.5" cy="108.2" r="5" fill="#3a2730"/> </g></g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for fox-leading (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 100.4) scale(1.2971)"><g transform="translate(300 0) scale(-1 1)"><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#3a2730" stroke-width="38" stroke-linecap="round"/><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#bc4a22" stroke-width="30" stroke-linecap="round"/><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#5a3a33" stroke-width="32" stroke-dasharray="6 26" opacity=".45"/><path d="M110 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M130 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M200 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M220 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><ellipse cx="165" cy="128" rx="80" ry="38" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M221.7 77.6 l12 -30.6 l12 30.6z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M191.1 77.6 l12 -30.6 l12 30.6z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><g transform="rotate(0 215 98)"><circle cx="215" cy="98" r="34" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/> <ellipse cx="234.5" cy="109.9" rx="18.700000000000003" ry="12.92" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/> <circle cx="227" cy="82.7" r="5" fill="#f3e3c8"/><circle cx="205" cy="82.7" r="5" fill="#f3e3c8"/> <circle cx="228" cy="94" r="4" fill="#3a2730"/><circle cx="206" cy="94" r="4" fill="#3a2730"/><circle cx="246.5" cy="108.2" r="5" fill="#3a2730"/> </g></g></g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.4 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for fox-petted (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 100.4) scale(1.2971)"><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#3a2730" stroke-width="38" stroke-linecap="round"/><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#bc4a22" stroke-width="30" stroke-linecap="round"/><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#5a3a33" stroke-width="32" stroke-dasharray="6 26" opacity=".45"/><ellipse cx="160" cy="150" rx="50" ry="64" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><ellipse cx="148" cy="160" rx="24" ry="38" fill="#f3e3c8"/><path d="M140 175 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M168 175 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M112.1 49.2 l12 -34.2 l12 34.2z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M146.3 49.2 l12 -34.2 l12 34.2z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><g transform="rotate(-18 145 72)"><circle cx="145" cy="72" r="38" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/> <ellipse cx="122.5" cy="85.3" rx="20.900000000000002" ry="14.44" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/> <circle cx="133" cy="54.9" r="5" fill="#f3e3c8"/><circle cx="155" cy="54.9" r="5" fill="#f3e3c8"/> <path d="M126 68 q6 6 12 0" fill="none" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><path d="M148 68 q6 6 12 0" fill="none" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><circle cx="110.5" cy="83.4" r="5" fill="#3a2730"/> </g></g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for fox-resting (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 100.4) scale(1.2971)"><path d="M250 205 Q 285 215 290 180" fill="none" stroke="#3a2730" stroke-width="38" stroke-linecap="round"/><path d="M250 205 Q 285 215 290 180" fill="none" stroke="#bc4a22" stroke-width="30" stroke-linecap="round"/><path d="M250 205 Q 285 215 290 180" fill="none" stroke="#5a3a33" stroke-width="32" stroke-dasharray="6 26" opacity=".45"/><ellipse cx="170" cy="192" rx="92" ry="30" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M70 215 V 222" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M42.4 158.8 l12 -28.8 l12 28.8z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M71.2 158.8 l12 -28.8 l12 28.8z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><g transform="rotate(0 72 178)"><circle cx="72" cy="178" r="32" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/> <ellipse cx="54" cy="189.2" rx="17.6" ry="12.16" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/> <circle cx="60" cy="163.6" r="5" fill="#f3e3c8"/><circle cx="82" cy="163.6" r="5" fill="#f3e3c8"/> <path d="M53 174 q6 4 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><path d="M75 174 q6 4 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><circle cx="42" cy="187.6" r="5" fill="#3a2730"/> </g></g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 10 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for fox-sitting (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 100.4) scale(1.2971)"><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#3a2730" stroke-width="38" stroke-linecap="round"/><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#bc4a22" stroke-width="30" stroke-linecap="round"/><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#5a3a33" stroke-width="32" stroke-dasharray="6 26" opacity=".45"/><ellipse cx="160" cy="150" rx="50" ry="64" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><ellipse cx="148" cy="160" rx="24" ry="38" fill="#f3e3c8"/><path d="M140 175 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M168 175 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M112.1 49.2 l12 -34.2 l12 34.2z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M146.3 49.2 l12 -34.2 l12 34.2z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><g transform="rotate(0 145 72)"><circle cx="145" cy="72" r="38" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/> <ellipse cx="122.5" cy="85.3" rx="20.900000000000002" ry="14.44" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/> <circle cx="133" cy="54.9" r="5" fill="#f3e3c8"/><circle cx="155" cy="54.9" r="5" fill="#f3e3c8"/> <path d="M126 68 q6 4 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><path d="M148 68 q6 4 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><circle cx="110.5" cy="83.4" r="5" fill="#3a2730"/> </g></g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for fox-trotting (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 100.4) scale(1.2971)"><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#3a2730" stroke-width="38" stroke-linecap="round"/><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#bc4a22" stroke-width="30" stroke-linecap="round"/><path d="M235 120 Q 280 110 290 60" fill="none" stroke="#5a3a33" stroke-width="32" stroke-dasharray="6 26" opacity=".45"/><path d="M110 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M130 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M200 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M220 140 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><ellipse cx="165" cy="128" rx="80" ry="38" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M49.3 77.6 l12 -30.6 l12 30.6z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M79.9 77.6 l12 -30.6 l12 30.6z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><g transform="rotate(0 80 98)"><circle cx="80" cy="98" r="34" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/> <ellipse cx="60.5" cy="109.9" rx="18.700000000000003" ry="12.92" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/> <circle cx="68" cy="82.7" r="5" fill="#f3e3c8"/><circle cx="90" cy="82.7" r="5" fill="#f3e3c8"/> <circle cx="67" cy="94" r="4" fill="#3a2730"/><circle cx="89" cy="94" r="4" fill="#3a2730"/><circle cx="48.5" cy="108.2" r="5" fill="#3a2730"/> </g></g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.1 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for fox-visiting (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 100.4) scale(1.2971)"><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#3a2730" stroke-width="38" stroke-linecap="round"/><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#bc4a22" stroke-width="30" stroke-linecap="round"/><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#5a3a33" stroke-width="32" stroke-dasharray="6 26" opacity=".45"/><ellipse cx="160" cy="150" rx="50" ry="64" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><ellipse cx="148" cy="160" rx="24" ry="38" fill="#f3e3c8"/><path d="M140 175 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M168 175 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M112.1 49.2 l12 -34.2 l12 34.2z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M146.3 49.2 l12 -34.2 l12 34.2z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><g transform="rotate(16 145 72)"><circle cx="145" cy="72" r="38" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/> <ellipse cx="122.5" cy="85.3" rx="20.900000000000002" ry="14.44" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/> <circle cx="133" cy="54.9" r="5" fill="#f3e3c8"/><circle cx="155" cy="54.9" r="5" fill="#f3e3c8"/> <path d="M126 68 q6 4 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><path d="M148 68 q6 4 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><circle cx="110.5" cy="83.4" r="5" fill="#3a2730"/> </g></g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for fox-watching (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 100.4) scale(1.2971)"><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#3a2730" stroke-width="38" stroke-linecap="round"/><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#bc4a22" stroke-width="30" stroke-linecap="round"/><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#5a3a33" stroke-width="32" stroke-dasharray="6 26" opacity=".45"/><ellipse cx="160" cy="150" rx="50" ry="64" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><ellipse cx="148" cy="160" rx="24" ry="38" fill="#f3e3c8"/><path d="M140 175 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M168 175 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M183.9 49.2 l12 -34.2 l12 34.2z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M149.7 49.2 l12 -34.2 l12 34.2z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><g transform="rotate(0 175 72)"><circle cx="175" cy="72" r="38" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/> <ellipse cx="197.5" cy="85.3" rx="20.900000000000002" ry="14.44" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/> <circle cx="187" cy="54.9" r="5" fill="#f3e3c8"/><circle cx="165" cy="54.9" r="5" fill="#f3e3c8"/> <circle cx="188" cy="68" r="4" fill="#3a2730"/><circle cx="166" cy="68" r="4" fill="#3a2730"/><circle cx="209.5" cy="83.4" r="5" fill="#3a2730"/> </g></g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1536 1024" width="1536" height="1024">
<!-- Stand-in for foxes-meeting (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(409.6 153.6) scale(3.5840)"><svg x="0" y="50" width="200" height="100" viewBox="0 0 600 260"><g transform="translate(300 0) scale(-1 1)"><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#3a2730" stroke-width="38" stroke-linecap="round"/><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#bc4a22" stroke-width="30" stroke-linecap="round"/><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#5a3a33" stroke-width="32" stroke-dasharray="6 26" opacity=".45"/><ellipse cx="160" cy="150" rx="50" ry="64" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><ellipse cx="148" cy="160" rx="24" ry="38" fill="#f3e3c8"/><path d="M140 175 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M168 175 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M112.1 49.2 l12 -34.2 l12 34.2z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M146.3 49.2 l12 -34.2 l12 34.2z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><g transform="rotate(0 145 72)"><circle cx="145" cy="72" r="38" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/> <ellipse cx="122.5" cy="85.3" rx="20.900000000000002" ry="14.44" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/> <circle cx="133" cy="54.9" r="5" fill="#f3e3c8"/><circle cx="155" cy="54.9" r="5" fill="#f3e3c8"/> <path d="M126 68 q6 4 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><path d="M148 68 q6 4 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><circle cx="110.5" cy="83.4" r="5" fill="#3a2730"/> </g></g><g transform="translate(300 0)"><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#3a2730" stroke-width="38" stroke-linecap="round"/><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#bc4a22" stroke-width="30" stroke-linecap="round"/><path d="M185 215 Q 250 205 240 150" fill="none" stroke="#5a3a33" stroke-width="32" stroke-dasharray="6 26" opacity=".45"/><ellipse cx="160" cy="150" rx="50" ry="64" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><ellipse cx="148" cy="160" rx="24" ry="38" fill="#f3e3c8"/><path d="M140 175 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M168 175 V 225" stroke="#5a3a33" stroke-width="14" stroke-linecap="round"/><path d="M112.1 49.2 l12 -34.2 l12 34.2z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><path d="M146.3 49.2 l12 -34.2 l12 34.2z" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/><g transform="rotate(0 145 72)"><circle cx="145" cy="72" r="38" fill="#bc4a22" stroke="#3a2730" stroke-width="4"/> <ellipse cx="122.5" cy="85.3" rx="20.900000000000002" ry="14.44" fill="#f3e3c8" stroke="#3a2730" stroke-width="4"/> <circle cx="133" cy="54.9" r="5" fill="#f3e3c8"/><circle cx="155" cy="54.9" r="5" fill="#f3e3c8"/> <path d="M126 68 q6 4 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><path d="M148 68 q6 4 12 0" fill="#3a2730" stroke="#3a2730" stroke-width="3" stroke-linecap="round"/><circle cx="110.5" cy="83.4" r="5" fill="#3a2730"/> </g></g></svg></g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
<!-- Stand-in for garden-chair (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(153.6 153.6) scale(3.5840)"><rect x="60" y="40" width="80" height="70" rx="8" fill="#b98a5a" stroke="#3a2730" stroke-width="5"/> <path d="M70 55 h60 M70 75 h60 M70 95 h60" stroke="#8a6248" stroke-width="4"/> <path d="M50 110 h100 l-10 24 h-80z" fill="#f2b5be" stroke="#3a2730" stroke-width="5"/> <path d="M62 134 v46 M138 134 v46 M80 134 v36 M120 134 v36" stroke="#b98a5a" stroke-width="9" stroke-linecap="round"/></g>
</svg>

After

Width:  |  Height:  |  Size: 672 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1536" width="1024" height="1536">
<!-- Stand-in for garden-day (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<path d="M0 614 Q 307.2 596 563.2 608 T 1024 618 V 1536 H 0z" fill="#b9cfa8"/> <path d="M0 704 Q 512 664 1024 724 V 1536 H 0z" fill="#a9c48e"/> <path d="M122.88 1036 Q 512 956 901.12 1036" fill="none" stroke="#a8957f" stroke-width="44" stroke-linecap="round"/> <ellipse cx="512" cy="1106" rx="307.2" ry="76.80000000000001" fill="#8a6248" stroke="#3a2730" stroke-width="5"/> <circle cx="944" cy="674" r="26" fill="#fff6d8" opacity=".8"/> <path d="M0 614 H 1024" stroke="#3a2730" stroke-width="3" stroke-dasharray="14 10"/>
</svg>

After

Width:  |  Height:  |  Size: 749 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1536" width="1024" height="1536">
<!-- Stand-in for garden-morning (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<path d="M0 614 Q 307.2 596 563.2 608 T 1024 618 V 1536 H 0z" fill="#c9dbe0"/> <path d="M0 704 Q 512 664 1024 724 V 1536 H 0z" fill="#b8d1a0"/> <path d="M122.88 1036 Q 512 956 901.12 1036" fill="none" stroke="#b4a596" stroke-width="44" stroke-linecap="round"/> <ellipse cx="512" cy="1106" rx="307.2" ry="76.80000000000001" fill="#8a6248" stroke="#3a2730" stroke-width="5"/> <circle cx="944" cy="674" r="26" fill="#ffffff" opacity=".8"/> <path d="M0 614 H 1024" stroke="#3a2730" stroke-width="3" stroke-dasharray="14 10"/>
</svg>

After

Width:  |  Height:  |  Size: 753 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1536" width="1024" height="1536">
<!-- Stand-in for garden-night (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<path d="M0 614 Q 307.2 596 563.2 608 T 1024 618 V 1536 H 0z" fill="#46557a"/> <path d="M0 704 Q 512 664 1024 724 V 1536 H 0z" fill="#3c4a6a"/> <path d="M122.88 1036 Q 512 956 901.12 1036" fill="none" stroke="#3a4466" stroke-width="44" stroke-linecap="round"/> <ellipse cx="512" cy="1106" rx="307.2" ry="76.80000000000001" fill="#8a6248" stroke="#3a2730" stroke-width="5"/> <circle cx="944" cy="674" r="26" fill="#f4d58d" opacity=".8"/> <path d="M0 614 H 1024" stroke="#3a2730" stroke-width="3" stroke-dasharray="14 10"/>
</svg>

After

Width:  |  Height:  |  Size: 751 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1536" width="1024" height="1536">
<!-- Stand-in for garden-sunset (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<path d="M0 614 Q 307.2 596 563.2 608 T 1024 618 V 1536 H 0z" fill="#d9a98a"/> <path d="M0 704 Q 512 664 1024 724 V 1536 H 0z" fill="#c9b07a"/> <path d="M122.88 1036 Q 512 956 901.12 1036" fill="none" stroke="#a07b62" stroke-width="44" stroke-linecap="round"/> <ellipse cx="512" cy="1106" rx="307.2" ry="76.80000000000001" fill="#8a6248" stroke="#3a2730" stroke-width="5"/> <circle cx="80" cy="674" r="26" fill="#f2b860" opacity=".8"/> <path d="M0 614 H 1024" stroke="#3a2730" stroke-width="3" stroke-dasharray="14 10"/>
</svg>

After

Width:  |  Height:  |  Size: 751 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
<!-- Stand-in for geographers-book (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(153.6 153.6) scale(3.5840)"><path d="M20 70 q40 -14 80 0 q40 -14 80 0 v90 q-40 -14 -80 0 q-40 -14 -80 0z" fill="#fbf6f1" stroke="#3a2730" stroke-width="5"/><path d="M100 70 v90" stroke="#3a2730" stroke-width="3"/><path d="M16 66 v100 h168 v-100" fill="none" stroke="#4f6e52" stroke-width="8"/><path d="M34 92 h52 M114 92 h52" stroke="#d8cfc4" stroke-width="2"/><path d="M34 110 h52 M114 110 h52" stroke="#d8cfc4" stroke-width="2"/><path d="M34 128 h52 M114 128 h52" stroke="#d8cfc4" stroke-width="2"/><path d="M120 160 v30 l6 -8 l6 8 v-30" fill="#f2b860" stroke="#3a2730" stroke-width="2"/></g>
</svg>

After

Width:  |  Height:  |  Size: 852 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 768 1024" width="768" height="1024">
<!-- Stand-in for lantern-lit (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(189.4 122.9) scale(1.9456)"><circle cx="140" cy="170" r="60" fill="#f4d58d" opacity=".45"/><path d="M60 390 V 80 Q 60 40 100 40 Q 140 40 140 80 V 110" fill="none" stroke="#b98a5a" stroke-width="14" stroke-linecap="round"/><rect x="115" y="130" width="50" height="72" rx="8" fill="#f4d58d" stroke="#3a2730" stroke-width="5"/><path d="M115 130 l25 -18 l25 18" fill="#5a3a33" stroke="#3a2730" stroke-width="4"/><rect x="133" y="160" width="14" height="30" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/><path d="M140 160 q-8 -12 0 -22 q8 10 0 22z" fill="#f2b860" stroke="#3a2730" stroke-width="2"/></g>
</svg>

After

Width:  |  Height:  |  Size: 853 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 768 1024" width="768" height="1024">
<!-- Stand-in for lantern-unlit (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(189.4 122.9) scale(1.9456)"><path d="M60 390 V 80 Q 60 40 100 40 Q 140 40 140 80 V 110" fill="none" stroke="#b98a5a" stroke-width="14" stroke-linecap="round"/><rect x="115" y="130" width="50" height="72" rx="8" fill="#e8eef0" stroke="#3a2730" stroke-width="5"/><path d="M115 130 l25 -18 l25 18" fill="#5a3a33" stroke="#3a2730" stroke-width="4"/><rect x="133" y="160" width="14" height="30" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/></g>
</svg>

After

Width:  |  Height:  |  Size: 697 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1536 1024" width="1536" height="1024">
<!-- Stand-in for lanterns-sheet (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<svg x="0" y="0" width="768" height="1024" viewBox="0 0 768 1024"><g transform="translate(189.4 122.9) scale(1.9456)"><path d="M60 390 V 80 Q 60 40 100 40 Q 140 40 140 80 V 110" fill="none" stroke="#b98a5a" stroke-width="14" stroke-linecap="round"/><rect x="115" y="130" width="50" height="72" rx="8" fill="#e8eef0" stroke="#3a2730" stroke-width="5"/><path d="M115 130 l25 -18 l25 18" fill="#5a3a33" stroke="#3a2730" stroke-width="4"/><rect x="133" y="160" width="14" height="30" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/></g></svg><svg x="768" y="0" width="768" height="1024" viewBox="0 0 768 1024"><g transform="translate(189.4 122.9) scale(1.9456)"><circle cx="140" cy="170" r="60" fill="#f4d58d" opacity=".45"/><path d="M60 390 V 80 Q 60 40 100 40 Q 140 40 140 80 V 110" fill="none" stroke="#b98a5a" stroke-width="14" stroke-linecap="round"/><rect x="115" y="130" width="50" height="72" rx="8" fill="#f4d58d" stroke="#3a2730" stroke-width="5"/><path d="M115 130 l25 -18 l25 18" fill="#5a3a33" stroke="#3a2730" stroke-width="4"/><rect x="133" y="160" width="14" height="30" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/><path d="M140 160 q-8 -12 0 -22 q8 10 0 22z" fill="#f2b860" stroke="#3a2730" stroke-width="2"/></g></svg>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for leaf-plate (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(76.8 76.8) scale(1.7920)"><path d="M20 110 Q 100 10 185 100 Q 100 190 20 110z" fill="#7fa07a" stroke="#3a2730" stroke-width="5"/><path d="M20 110 Q 100 100 185 100" fill="none" stroke="#4f6e52" stroke-width="5"/></g>
</svg>

After

Width:  |  Height:  |  Size: 464 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1536 1024" width="1536" height="1024">
<!-- Stand-in for letter-header (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(409.6 153.6) scale(3.5840)"><rect x="20" y="60" width="160" height="110" rx="6" fill="#b98a5a" stroke="#3a2730" stroke-width="4"/><path d="M40 70 h120 v90 h-120z" fill="#fbf6f1" stroke="#3a2730" stroke-width="3"/><path d="M100 70 v90" stroke="#3a2730" stroke-width="2"/><ellipse cx="128" cy="110" rx="18" ry="11" fill="#c85a6e" stroke="#3a2730" stroke-width="3" transform="rotate(-25 128 110)"/><path d="M60 150 q20 -40 40 -60" fill="none" stroke="#4f6e52" stroke-width="4"/></g>
</svg>

After

Width:  |  Height:  |  Size: 734 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for memento-acorn-cup (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(76.8 76.8) scale(1.7920)"><path d="M50 100 q50 70 100 0z" fill="#b98a5a" stroke="#3a2730" stroke-width="4"/><path d="M50 100 h100" stroke="#3a2730" stroke-width="4"/><path d="M100 100 v-30" stroke="#5a3a33" stroke-width="6"/></g>
</svg>

After

Width:  |  Height:  |  Size: 484 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for memento-feather (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(76.8 76.8) scale(1.7920)"><path d="M40 160 Q 100 30 170 40 Q 130 120 40 160z" fill="#b8b0a8" stroke="#3a2730" stroke-width="4"/><path d="M40 160 Q 110 90 170 40" fill="none" stroke="#e9846a" stroke-width="3"/></g>
</svg>

After

Width:  |  Height:  |  Size: 466 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for memento-pebble (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(76.8 76.8) scale(1.7920)"><ellipse cx="100" cy="110" rx="70" ry="46" fill="#c9c4bc" stroke="#3a2730" stroke-width="4"/><path d="M50 100 q50 20 100 4" fill="none" stroke="#fbf6f1" stroke-width="5"/></g>
</svg>

After

Width:  |  Height:  |  Size: 453 B

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for memento-pressed-flower (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(76.8 76.8) scale(1.7920)"><path d="M100 170 V 90" stroke="#4f6e52" stroke-width="5"/><ellipse cx="80" cy="140" rx="18" ry="8" fill="#7fa07a" stroke="#3a2730" stroke-width="3" transform="rotate(-30 80 140)"/><circle cx="122.0" cy="70.0" r="16" fill="#a9c1e0" stroke="#3a2730" stroke-width="3"/><circle cx="106.8" cy="90.9" r="16" fill="#a9c1e0" stroke="#3a2730" stroke-width="3"/><circle cx="82.2" cy="82.9" r="16" fill="#a9c1e0" stroke="#3a2730" stroke-width="3"/><circle cx="82.2" cy="57.1" r="16" fill="#a9c1e0" stroke="#3a2730" stroke-width="3"/><circle cx="106.8" cy="49.1" r="16" fill="#a9c1e0" stroke="#3a2730" stroke-width="3"/><circle cx="100" cy="70" r="8" fill="#f2b860"/></g>
</svg>

After

Width:  |  Height:  |  Size: 946 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for memento-seed-head (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(76.8 76.8) scale(1.7920)"><path d="M100 190 V 100" stroke="#4f6e52" stroke-width="5"/><circle cx="100" cy="80" r="50" fill="#fbf6f1" stroke="#3a2730" stroke-width="3" stroke-dasharray="4 6"/><path d="M100 80 l46.0 0.0" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l37.2 27.0" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l14.2 43.7" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l-14.2 43.7" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l-37.2 27.0" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l-46.0 0.0" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l-37.2 -27.0" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l-14.2 -43.7" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l14.2 -43.7" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l37.2 -27.0" stroke="#d8d4cc" stroke-width="2"/></g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for memento-snail-shell (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(76.8 76.8) scale(1.7920)"><circle cx="100" cy="105" r="56" fill="#b98a5a" stroke="#3a2730" stroke-width="4"/><path d="M100 105 m-34 0 a34 34 0 1 1 34 34 a18 18 0 1 1 -18 -18" fill="none" stroke="#3a2730" stroke-width="3"/></g>
</svg>

After

Width:  |  Height:  |  Size: 483 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1536 1024" width="1536" height="1024">
<!-- Stand-in for mementos-sheet (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<svg x="0" y="0" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><path d="M40 160 Q 100 30 170 40 Q 130 120 40 160z" fill="#b8b0a8" stroke="#3a2730" stroke-width="4"/><path d="M40 160 Q 110 90 170 40" fill="none" stroke="#e9846a" stroke-width="3"/></g></svg><svg x="512" y="0" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><ellipse cx="100" cy="110" rx="70" ry="46" fill="#c9c4bc" stroke="#3a2730" stroke-width="4"/><path d="M50 100 q50 20 100 4" fill="none" stroke="#fbf6f1" stroke-width="5"/></g></svg><svg x="1024" y="0" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><path d="M50 100 q50 70 100 0z" fill="#b98a5a" stroke="#3a2730" stroke-width="4"/><path d="M50 100 h100" stroke="#3a2730" stroke-width="4"/><path d="M100 100 v-30" stroke="#5a3a33" stroke-width="6"/></g></svg><svg x="0" y="512" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><circle cx="100" cy="105" r="56" fill="#b98a5a" stroke="#3a2730" stroke-width="4"/><path d="M100 105 m-34 0 a34 34 0 1 1 34 34 a18 18 0 1 1 -18 -18" fill="none" stroke="#3a2730" stroke-width="3"/></g></svg><svg x="512" y="512" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><path d="M100 170 V 90" stroke="#4f6e52" stroke-width="5"/><ellipse cx="80" cy="140" rx="18" ry="8" fill="#7fa07a" stroke="#3a2730" stroke-width="3" transform="rotate(-30 80 140)"/><circle cx="122.0" cy="70.0" r="16" fill="#a9c1e0" stroke="#3a2730" stroke-width="3"/><circle cx="106.8" cy="90.9" r="16" fill="#a9c1e0" stroke="#3a2730" stroke-width="3"/><circle cx="82.2" cy="82.9" r="16" fill="#a9c1e0" stroke="#3a2730" stroke-width="3"/><circle cx="82.2" cy="57.1" r="16" fill="#a9c1e0" stroke="#3a2730" stroke-width="3"/><circle cx="106.8" cy="49.1" r="16" fill="#a9c1e0" stroke="#3a2730" stroke-width="3"/><circle cx="100" cy="70" r="8" fill="#f2b860"/></g></svg><svg x="1024" y="512" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(76.8 76.8) scale(1.7920)"><path d="M100 190 V 100" stroke="#4f6e52" stroke-width="5"/><circle cx="100" cy="80" r="50" fill="#fbf6f1" stroke="#3a2730" stroke-width="3" stroke-dasharray="4 6"/><path d="M100 80 l46.0 0.0" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l37.2 27.0" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l14.2 43.7" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l-14.2 43.7" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l-37.2 27.0" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l-46.0 0.0" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l-37.2 -27.0" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l-14.2 -43.7" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l14.2 -43.7" stroke="#d8d4cc" stroke-width="2"/><path d="M100 80 l37.2 -27.0" stroke="#d8d4cc" stroke-width="2"/></g></svg>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 1024" width="512" height="1024">
<!-- Stand-in for path-prints (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 122.9) scale(1.9456)"><ellipse cx="100" cy="200" rx="92" ry="190" fill="#a9c48e" stroke="#3a2730" stroke-width="3" stroke-dasharray="10 8"/><ellipse cx="88" cy="340" rx="9" ry="7" fill="#8a6248"/><ellipse cx="110.66666666666667" cy="290" rx="8" ry="6.3" fill="#8a6248"/><ellipse cx="90.66666666666667" cy="240" rx="7" ry="5.6" fill="#8a6248"/><ellipse cx="108" cy="190" rx="6" ry="4.9" fill="#8a6248"/><ellipse cx="93.33333333333333" cy="140" rx="5" ry="4.2" fill="#8a6248"/><ellipse cx="105.33333333333333" cy="95" rx="4" ry="3.5" fill="#8a6248"/><ellipse cx="96" cy="55" rx="3" ry="2.8000000000000007" fill="#8a6248"/></g>
</svg>

After

Width:  |  Height:  |  Size: 880 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 1024" width="512" height="1024">
<!-- Stand-in for path-road (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 122.9) scale(1.9456)"><ellipse cx="100" cy="200" rx="92" ry="190" fill="#a9c48e" stroke="#3a2730" stroke-width="3" stroke-dasharray="10 8"/><path d="M60 388 Q 110 260 88 160 T 92 15 L 108 15 Q 120 120 112 170 T 140 388z" fill="#8a6248" stroke="#3a2730" stroke-width="4"/><circle cx="52" cy="360" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/><circle cx="148" cy="360" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/><circle cx="70" cy="260" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/><circle cx="130" cy="255" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/><circle cx="80" cy="160" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/><circle cx="118" cy="150" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/><circle cx="88" cy="70" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/><circle cx="110" cy="65" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/></g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 1024" width="512" height="1024">
<!-- Stand-in for path-trail (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(61.4 122.9) scale(1.9456)"><ellipse cx="100" cy="200" rx="92" ry="190" fill="#a9c48e" stroke="#3a2730" stroke-width="3" stroke-dasharray="10 8"/><path d="M92 385 Q 120 260 96 160 T 100 15" fill="none" stroke="#c8d8a8" stroke-width="22" stroke-linecap="round"/><path d="M92 385 Q 120 260 96 160 T 100 15" fill="none" stroke="#8a6248" stroke-width="5" stroke-dasharray="4 18"/></g>
</svg>

After

Width:  |  Height:  |  Size: 629 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1536 1024" width="1536" height="1024">
<!-- Stand-in for paths-sheet (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<svg x="0" y="0" width="512" height="1024" viewBox="0 0 512 1024"><g transform="translate(61.4 122.9) scale(1.9456)"><ellipse cx="100" cy="200" rx="92" ry="190" fill="#a9c48e" stroke="#3a2730" stroke-width="3" stroke-dasharray="10 8"/><ellipse cx="88" cy="340" rx="9" ry="7" fill="#8a6248"/><ellipse cx="110.66666666666667" cy="290" rx="8" ry="6.3" fill="#8a6248"/><ellipse cx="90.66666666666667" cy="240" rx="7" ry="5.6" fill="#8a6248"/><ellipse cx="108" cy="190" rx="6" ry="4.9" fill="#8a6248"/><ellipse cx="93.33333333333333" cy="140" rx="5" ry="4.2" fill="#8a6248"/><ellipse cx="105.33333333333333" cy="95" rx="4" ry="3.5" fill="#8a6248"/><ellipse cx="96" cy="55" rx="3" ry="2.8000000000000007" fill="#8a6248"/></g></svg><svg x="512" y="0" width="512" height="1024" viewBox="0 0 512 1024"><g transform="translate(61.4 122.9) scale(1.9456)"><ellipse cx="100" cy="200" rx="92" ry="190" fill="#a9c48e" stroke="#3a2730" stroke-width="3" stroke-dasharray="10 8"/><path d="M92 385 Q 120 260 96 160 T 100 15" fill="none" stroke="#c8d8a8" stroke-width="22" stroke-linecap="round"/><path d="M92 385 Q 120 260 96 160 T 100 15" fill="none" stroke="#8a6248" stroke-width="5" stroke-dasharray="4 18"/></g></svg><svg x="1024" y="0" width="512" height="1024" viewBox="0 0 512 1024"><g transform="translate(61.4 122.9) scale(1.9456)"><ellipse cx="100" cy="200" rx="92" ry="190" fill="#a9c48e" stroke="#3a2730" stroke-width="3" stroke-dasharray="10 8"/><path d="M60 388 Q 110 260 88 160 T 92 15 L 108 15 Q 120 120 112 170 T 140 388z" fill="#8a6248" stroke="#3a2730" stroke-width="4"/><circle cx="52" cy="360" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/><circle cx="148" cy="360" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/><circle cx="70" cy="260" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/><circle cx="130" cy="255" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/><circle cx="80" cy="160" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/><circle cx="118" cy="150" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/><circle cx="88" cy="70" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/><circle cx="110" cy="65" r="7" fill="#c9bcae" stroke="#3a2730" stroke-width="2"/></g></svg>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for petal-folded (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(76.8 76.8) scale(1.7920)"><circle cx="100" cy="100" r="86" fill="#f4d58d" opacity=".35"/><path d="M100 30 C 170 60, 160 160, 100 170 C 40 160, 30 60, 100 30z" fill="#c85a6e" stroke="#3a2730" stroke-width="5"/> <path d="M100 30 C 120 90, 120 130, 100 170" fill="none" stroke="#f2b5be" stroke-width="6"/></g>
</svg>

After

Width:  |  Height:  |  Size: 556 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<!-- Stand-in for petal-open (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(76.8 76.8) scale(1.7920)"><path d="M100 20 C 190 50, 190 160, 100 182 C 10 160, 10 50, 100 20z" fill="#f2b5be" stroke="#3a2730" stroke-width="5"/></g>
</svg>

After

Width:  |  Height:  |  Size: 398 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
<!-- Stand-in for petal-trace (art/placeholders, CLAUDE.md §2): form and layout only, not art. Built by tools/art-prep. -->
<g transform="translate(153.6 153.6) scale(3.5840)"><path d="M100 30 C 175 55, 170 165, 100 175 C 35 165, 30 60, 100 30z" fill="#f3e3c8" stroke="#3a2730" stroke-width="5"/><path d="M100 50 q20 50 0 110" fill="none" stroke="#e0cfb2" stroke-width="3"/></g>
</svg>

After

Width:  |  Height:  |  Size: 483 B

Some files were not shown because too many files have changed in this diff Show More