feat(client): GM token panel sets vision and vision radius (#78)

Token create and edit now carry flags.vision and vision_radius; edits merge
only the vision key into the stored flags. A new token keeps DESIGN 8's
flags '{}' default (vision off, radius = scene default). The fog e2e authors
its sighted token through the GM panel, and the admin e2e proves the panel
round-trip plus an explored 200 / unexplored 403 tile probe.

Refs #78
This commit is contained in:
2026-11-21 15:43:13 +01:00
parent fcd90529b6
commit bacf2e1412
9 changed files with 387 additions and 27 deletions
+6
View File
@@ -864,6 +864,12 @@ top-level object is depth 1). At a cap is accepted; over is `invalid` and applie
live next to the property caps and are read from one shared validator; token `flags`, props and
stored values above a cap are out of scope. See current 6.1.
Owner also decided 2026-11-21 [FIXED (owner-delegated, 2026-11-21, #78)]: a new token's `flags`
stays the §8 default `'{}'`, so the GM token panel's Vision checkbox starts unchecked and its vision
radius starts blank (scene default), on create and on edit. No wire default changed; the panel
follows the existing `'{}'` reading rather than choosing "vision on for a player-controlled token".
See current 8.
## D. Superseded statements removed from the current spec
Each entry quotes the superseded statement (excerpt) and names the surviving rule.