docs: point wall geometry wire validation at 5.7/5.10

One statement of the thickness/position/height ranges; the wall payload rule keeps only the
defaults and the patch behaviour.
This commit is contained in:
2026-11-17 23:12:25 +01:00
parent de633642c5
commit d8c807bbf2
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -1461,11 +1461,11 @@ switches, never `thickness`, `position` or `height` (#50).
- `id` is an integer; lookup failures are `not-found` (a GM's missing target, 6.5 step 8).
`door.set` on a row whose `door` is false is `invalid`, and so is `open:true` on a secret door
(5.8) or on a locked door (#46, 5.8).
- `thickness`, `position` and `height` are the wall's geometry fields and are typed, validated
server-side, and never live in `flags` (5.10, 5.7). `thickness` is a finite number in px `0 <= t
<= 256` (absent/default `0`, the drawn line); `position` is one of `center|left|right`
(absent/default `center`); `height` is metres, a finite number `> 0` and `<= 100`, and **absent or
`null` means full height** (5.7, #49). A preset never implies or resets them: `wall.add
- `thickness`, `position` and `height` are the wall's geometry fields, typed and validated
server-side and never inside `flags`. Their units, ranges and the full-height meaning are stated
once in 5.10 (thickness, position) and 5.7 (height); here only the defaults and the patch
behaviour: absent `thickness` = `0` (the drawn line), absent `position` = `center`, absent or
`null` `height` = full height. A preset never implies or resets them: `wall.add
{preset:"door", thickness:20, position:"left"}` is legal, and a `wall.update {preset:"window"}` on
a thick wall keeps the thick body. `height:null` in `wall.update` restores full height; `height`
absent leaves it alone.
+1 -1
View File
@@ -9,7 +9,7 @@ HEAD:docs/DESIGN.md`, no decision changed.
| file | before | after |
|---|---|---|
| `docs/DESIGN.md` | 306 288 B (1105 lines, many > 4000 chars) | 221 480 B (2619 lines; prose wrapped at 100, table rows exempt) |
| `docs/DESIGN.md` | 306 288 B (1105 lines, many > 4000 chars) | 221 355 B (2619 lines; prose wrapped at 100, table rows exempt) |
| `docs/DESIGN-history.md` | — | 78 618 B (906 lines, not normative) |
| `docs/adr/` | — | 22 ADRs, 32 753 B |
| spec + history + ADRs | 306 KB | 334 KB total, of which 111 KB is non-normative; the spec alone is 27% smaller |