Walls r1: proto 2 + typed wall record on the wire, inert geometry, derived kind #54
Notifications
Due Date
No due date set.
Blocks
Depends on
#55 Walls r1: presets, label, one expand-and-validate path and switch-set invariants
SirStone/FFF_vtt_frozen
#53 Walls r1: schema step 8 — typed wall storage, marker_seen, height backfill
SirStone/FFF_vtt_frozen
Reference: SirStone/FFF_vtt_frozen#54
Reference in New Issue
Block a user
Part of #52
Goal
proto=2 with history entry; wall.add/wall.update take thickness, position, height and the eight raw switches (
kindin,openin an update: unknown → ignored); GM wall/walls frames echo the typed fields plus derived kind. Stored geometry changes no sight/movement/status/push. Players still receive no wall field.Acceptance criteria
/ws?proto=1→ closing {proto-mismatch,4003}, no hello, no state; harness default proto bumped once.wall.update {open:true}ignored;{door:true}on a see-through fixed window yields a closed opening window.BannedAlwaysgains every wall field name; positive control (injectedheightin a playertokenframe) fails as exactlyWALLDATA.User stories covered
5, 15, 16, 17, 23, 24, 28, 29, 30, 31, 32, 61, 70, 71, 74, 77
Proven at
BannedAlways+ positive control.Notes
Progress (not closed): implemented in
77fa2dfon main. proto 2 (/ws?proto=1-> closing {proto-mismatch,4003}); typed wall.add/wall.update (thickness/position/height + eight raw switches,kindoutput-only,opennot a patch field); GMwall/wallsecho the full record with derived kind; geometry stored but inert. BannedAlways bans every wall field name,wallHeightpositive control fails exactly WALLDATA. New behaviour-preservation test: migrated schema-7 scene vs the same walls authored via raw switches -> byte-identical player frames, refusals and per-tile statuses. Full suites green: 382 Nim / 113 Node. Remaining #54-adjacent slices: #55 presets/label/switch invariants, #56 doors, #57 windows, #58 one-way, #59/#60 markers.Implemented in
77fa2df(feat(walls): proto 2 typed wall record, inert geometry, derived kind), pushed to main. Standing suites green: Nim 382, Node 113. The proto-2 wall record, raw switches, inert geometry, derived kind and schema-7 behaviour-preservation gate are in.