Files
Rosea/.agents/reviews/art-phase2-3-pictures.md
T

61 lines
4.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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.