From 96c0a2b00e558ed3f5adddcc64598291714f7155 Mon Sep 17 00:00:00 2001 From: mnovak Date: Sat, 7 Nov 2026 15:40:51 +0100 Subject: [PATCH] [docs] BoardV2: Review, lesson, and the art gap updated --- .agents/GAP_ANALYSIS.md | 2 +- .agents/lessons/README.md | 2 +- .agents/lessons/art.md | 18 +++++++++++ .agents/reviews/art-board-v2.md | 55 +++++++++++++++++++++++++++++++++ HANDOVER.md | 11 +++++-- 5 files changed, 83 insertions(+), 5 deletions(-) create mode 100644 .agents/reviews/art-board-v2.md diff --git a/.agents/GAP_ANALYSIS.md b/.agents/GAP_ANALYSIS.md index 65a42bb..fc574ad 100644 --- a/.agents/GAP_ANALYSIS.md +++ b/.agents/GAP_ANALYSIS.md @@ -40,7 +40,7 @@ board exist, and the first real picture is the author's to make. | G0.21 | No PNG icons | Open (predicted trap). iOS ignores SVG for `apple-touch-icon`. Comes through the art pipeline. | | G0.22 | No CI | Open. Every gate ran on this machine only. With G0.13. | | G0.23 | Source maps are built and would be published | Open. `sourcemap: true`; maps are not precached. Decide with G0.13 whether the repository is public. If not, use `'hidden'`. | -| G0.24 | No art pipeline: `docs/ART.md`, `art/STYLE.md` (drafted with the author), `art/manifest.json` for Phase 1 assets, SVG placeholders, `tools/art-prep` | **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`). **Still open:** the **Phase 0 gate**, one real picture through every step into `art/final/`. | +| 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. | diff --git a/.agents/lessons/README.md b/.agents/lessons/README.md index 2ab1769..d5fb590 100644 --- a/.agents/lessons/README.md +++ b/.agents/lessons/README.md @@ -9,7 +9,7 @@ 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. | | `architecture.md` | none yet | Layering, ownership, seams. | | `design.md` | none yet | Wording, silence, empty states. | -| [`art.md`](art.md) | 2 | The image pipeline. | +| [`art.md`](art.md) | 3 | The image pipeline. | | [`code.md`](code.md) | 3 | TypeScript, Svelte, async ordering, Rust. | | [`technical.md`](technical.md) | 6 | The browser and the build as platforms. | | [`testing.md`](testing.md) | 10 | What makes a test worth having, and how a passing test lies. | diff --git a/.agents/lessons/art.md b/.agents/lessons/art.md index 592ca3a..7d7dfcf 100644 --- a/.agents/lessons/art.md +++ b/.agents/lessons/art.md @@ -32,3 +32,21 @@ 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. diff --git a/.agents/reviews/art-board-v2.md b/.agents/reviews/art-board-v2.md new file mode 100644 index 0000000..ee62e2a --- /dev/null +++ b/.agents/reviews/art-board-v2.md @@ -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. diff --git a/HANDOVER.md b/HANDOVER.md index 6e302c8..2af161d 100644 --- a/HANDOVER.md +++ b/HANDOVER.md @@ -27,8 +27,12 @@ Rewritten at the end of each session (CLAUDE.md §5.1). [`.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 53 pictures in phase order: 25 for Phase 1, then the fox, berries and bush (Phase 2), then paths and - lanterns (Phase 3). 63 stand-ins are in `art/placeholders/`. The planets wait for their own feature docs. `tools/art-prep` builds + 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 @@ -115,7 +119,8 @@ The notification decision is made: in-app only on the web (G0.26). the petal's tuning (`PETAL` in `packages/engine/src/petal/petal.ts`: remembering within 3 days, the good moment an hour either side of sunset) and its words in `packages/ui/src/copy/en.ts`. 3. **Art:** the style is approved (S1–S5), and so is the fox (F1–F4, with a deep red-orange coat). - Make `rose-sheet` on the board and accept it; `fox-sheet` comes first for Phase 2. That is the first step of the Phase 0 art gate. + **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/`), downloads the picture (`Artifact read` with the asset id as `path`), runs `pnpm art:accept`, commits on `art/`, and writes `final` back into the row.