[ui] PlanetGarden: Analysis, review, lessons and the tablet smoke that always stops Chrome

This commit is contained in:
2026-11-17 19:56:24 +01:00
parent 1ff00b0e3f
commit f0cb6750c4
13 changed files with 467 additions and 8 deletions
+24 -4
View File
@@ -2,7 +2,7 @@
Rewritten at the end of each session (CLAUDE.md §5.1).
## Last session — 2026-10-31 to 2026-11-01
## Last session — 2026-10-31 to 2026-11-17
**Done.**
@@ -113,6 +113,19 @@ Rewritten at the end of each session (CLAUDE.md §5.1).
still on 127.0.0.1), driven through Chrome's DevTools socket: first open, the town, watering by a
real held touch, the in-game sunset, and **offline** reloads with the server unreachable all pass.
When device testing ends, the app used is stopped at once (the author's rule).
- **Her planet and the gardener (2026-11-17, G1.9):** merged to `main`, as the author decided after
seeing a page of buttons. She lives on a round tiny planet; at the first open *Who tends her?* lets
the player dress a boy or a girl (fixed lists, kept in `profile`, never in the rose file; *Change
gardener* reopens it). A tap on her opens the ring of what she needs today plus *Touch her*; the
gardener walks round the planet to the work. By hand: press the can and move sideways to tilt and
pour (further tilts pour faster), swipe each weed up and out, sweep across the fallen petals, drag
the windbreak to her windward side, stroke her petals slowly. Every gesture is also a button.
The pictures are code stand-ins until the board's are painted. **Accepted risk:** a child on a
small round planet with a rose is the book's best-known image; the guards are in STYLE.md (S2, S6,
§3b, review points 10–11), and a legal check comes before any public release (G6.1). Tested by
real touch on the Android tablet (`pnpm test:android`, 7 of 7). Analysis:
[`.agents/features/planet-garden.md`](.agents/features/planet-garden.md). Review:
[`.agents/reviews/feature-planet-garden.md`](.agents/reviews/feature-planet-garden.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.
@@ -135,9 +148,13 @@ The notification decision is made: in-app only on the web (G0.26).
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. **Node is upgraded** (22.23.4); unpinning the dependencies pinned for 22.11 remains (G0.20).
6. **The rose's tuning** (`.agents/features/rose.md` R2, R4, R5, R6, all in `ROSE` in
4. **The gardener in paint:** the board asks for the first look (a girl, braids, sage, a straw hat).
Painted art cannot be recoloured for every skin, hair and clothes choice the way the stand-in is:
layered parts, a few painted looks, or tints? (STYLE.md §3b). Also: a gardener changed in one tab
shows in another only after a reload (the rose's care does update live).
5. **A GitHub repository** for Pages, and whether it is public (G0.13, G0.23).
6. **Node is upgraded** (22.23.4); unpinning the dependencies pinned for 22.11 remains (G0.20).
7. **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.
@@ -153,6 +170,9 @@ The notification decision is made: in-app only on the web (G0.26).
download: ask first). The cause is unknown.
- **The Android tablet:** WAVE 10C on USB debugging; always `adb -s WAVE10CEEA036785` (an emulator
attaches too, and other projects use the same tablet). Stop the app used when testing ends.
`pnpm test:android` with `ROSEA_ADB=F:\Tools\Android\Sdk\platform-tools\adb.exe` and
`ROSEA_ANDROID_SERIAL=WAVE10CEEA036785`, while `vite preview` serves the build on 127.0.0.1:4173;
it stops Chrome and removes its mappings itself, even when it fails.
- **Commit identity:** `mnovak <giteatruenasadminacc.from729@passmail.net>`, set in
this repository only.