From d8c807bbf27cbf9bbcfbce6fde1f3334d7cd6c8e Mon Sep 17 00:00:00 2001 From: Davide Cappellini Date: Tue, 17 Nov 2026 23:12:25 +0100 Subject: [PATCH] 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. --- docs/DESIGN.md | 10 +++++----- docs/research/design-split-check.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/DESIGN.md b/docs/DESIGN.md index fb1b6bf..ed7d42b 100644 --- a/docs/DESIGN.md +++ b/docs/DESIGN.md @@ -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. diff --git a/docs/research/design-split-check.md b/docs/research/design-split-check.md index d2972a0..195ccfe 100644 --- a/docs/research/design-split-check.md +++ b/docs/research/design-split-check.md @@ -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 |