Status: done (2026-11-19)
Priority: 3
Size: S
Design ref: AGENTS.md, Conventions (a module’s length)
Goal: page/rigs holds the rig and its poses; a pawn’s look is a file of its own in src/page.json’s order, before rigs and portraits.
Acceptance criteria:
src/page/look.js (after rigs’ atlas if it needs it, else before): DYES, HOSE, SKINS, HAIRS, LINEN, GREY, hex, lookOf, agedLook; page/rigs keeps makeRig, ageRig and the poses.Behaviour unchanged: node tests/smoke.js, node tests/browser-bonds.js; node tests/lint.js --update lowers the baseline of page/rigs.
page/rigs from 977 lines to 1,004 (the lint’s rule: the task that takes a module over its line opens the split).Decisions: page/look goes before page/rigs in src/page.json: it needs no atlas, only G of the closure; it holds the palettes, hex, lookOf, GREY_STEP and agedLook, moved verbatim; ageRig stays with the rig (it tints sprites). page/rigs 1,004 to 945 lines, its baseline 977 to 945. The lint’s --update also wrote sim/routes and sim/fields into the width baseline, which this task does not touch: reverted.