Secret and locked doors #46
Notifications
Due Date
No due date set.
Blocks
Depends on
#49 Wall wire format, schema and migration
SirStone/FFF_vtt_frozen
#50 Door geometry: thick doors and door push
SirStone/FFF_vtt_frozen
#42 Wall model: kinds or restriction flags
SirStone/FFF_vtt_frozen
Reference: SirStone/FFF_vtt_frozen#46
Reference in New Issue
Block a user
Part of #38
Question
Who knows a secret door exists and when, who can open a locked door, and what must never reach a player (leak rules)?
Fixed by #42 (DESIGN 5.8)
doorwithsecret,doorwithlocked.open:trueon it isinvalid, so issight_dir != both); the GM reveals it by clearingsecretand opening it.door.setis GM-only), so a lock is authoring state until the player-door question is decided.Question (narrowed)
What must the equivalence oracle assert, exactly (vision polygon, explored diff, tiles, token frames, refusal codes), and where does it run (leak harness group, fault class, or a differential run against the same scene with a solid wall)? If players ever get door opening (map fog), what may a locked door refuse, and how does a secret door become known without breaking the equivalence rule?
Resolved
Owner decisions
door.setstays G-only; a player sender is refusednot-allowedat the role step, one code for every door (open, closed, locked, secret). Player door opening, lock refusals addressed to players, and player discovery of secret doors are out of scope of this map (future effort).door.set open:trueon a locked door isinvalid; the GM unlocks first (editor hint "locked: unlock first"). Any write that would storeopen:truetogether withlockedorsecretisinvalid(wall.add,wall.update, preset expansion alike). Closing a locked door is allowed.Delegated (agent)
tools/doors.test.mjs: two servers, scene pairs solid wall vs secret door, solid wall vs secret+locked, closed door vs closed locked door; one identical scripted sequence; each player's full frame sequence byte-identical (no normalisation); identical per-player tile sweep; positive control (open door) must differ; negative control faultLEAK_FAULT=secretgap.tools/leakcheck.nimbanned-key scan extended to the wall setting keys ->WALLDATA, plus a door-setting-leak fault variant.Recorded
afe19acon main (not pushed yet).