M4: GM characters, reveals and who-sees-it #75
Notifications
Due Date
No due date set.
Blocks
Depends on
#76 M4: finish — e2e audit, measurement and archive
SirStone/FFF_vtt_frozen
#65 M4: session cache, explored bitmap and lock-free tile gate
SirStone/FFF_vtt_frozen
#74 M4: GM roster, player keys and token panel
SirStone/FFF_vtt_frozen
Reference: SirStone/FFF_vtt_frozen#75
Reference in New Issue
Block a user
Part of #63
Goal
Character CRUD/assignment, reveal to one/all, encountered remove, who-sees-it panel with the GM-only
seen_byfield.Acceptance criteria
seen_byadditive and GM-only, banned for players in the leak checkerdevbox run testgreen on a clean checkout, no test weakened or skipped, and the behaviour above proven at the seam(s) listed under "Proven at".User stories covered
Proven at
server views/egress + leakcheck, GM panels; e2e
Notes
Implemented and pushed to main (
0323fbd).tokenframes gain additive, GM-onlyseen_by:[player ids], computed from each player’s existing sight (PlayerVision.visibleTo, no extra polygon pass).protostays 2 per DESIGN 6.2 (recorded). Bench run: GM egress 0.218 ms.seen_byadded toBannedAlways; positive-controlseenByfault caught as exactlyWALLDATA.slices/cast.ts(character/encountered/seen_by state) andpanels/gmcast.ts(character create/rename/assign/remove, reveal to one/all, encountered Forget for grey entries, who-sees-it 0/100), mounted beside the #74 panel.client/e2e/characters.test.mjsproves reveal updates the player name, encountered remove reaches the player wire, owner change leaves token controllers untouched, who-sees-it shows 100/0, andseen_bynever reaches a player.devbox run test(159 Node + Nim),devbox run client-test(97),devbox run e2e(11) green on the rebased tree; scratchresults/reverted.