# Handoff: start of M3 session Written 2026-11-08 at main 809f219. Paste the "Prompt" section into a new agent session. ## Prompt ### Context FFF_vtt: browser VTT. Nim 2.x authoritative server (per-player line-of-sight, players never receive hidden info) + TypeScript/PixiJS v8 client. Root: /home/davide/Projects/GDR/FFF_vtt, branch main (local, ahead of origin, NOT pushed — do not push). State: - M1 (geometry port) and M2 (move rules, blocked/stuck policy, door push, scanline cells, bench, mutation a–o) DONE. See git log, results/. - All DESIGN.md §14 questions answered or deferred (owner decisions 2026-11-08, tagged FIXED). docs/DESIGN.md = source of truth; §5.5 = move rules. - Research notes: docs/research/. Prototypes (prototype-*/) read-only. ### Your job Implement M3 exactly as defined in DESIGN.md §13. First read M3 + every section it references; list only genuinely open points (where two reasonable implementers would build different things and it matters), propose defaults for obvious ones, and ask the owner before coding. ### Owner preferences - Ask only important things; propose defaults for obvious ones. - Plain language when talking to the owner. - Small, clearly described commits on main. No push. No new long-lived branches. - DESIGN.md may be edited to record owner decisions (tag FIXED, dated). ### Tooling and lessons - NixOS + devbox only: `devbox run test | mutation | bench`. Nothing global. - `devbox run mutation` ~80 s (parallel); run it once at the end, not per edit. - Never wait with one long foreground timeout (laptop suspend froze a session for 6 h); poll in short steps. Never `git stash` while tests run. - Check library APIs (mummy pinned to tag 0.4.8, db_connector, PixiJS v8) against source/docs, not memory. ### Known open items carried into M3+ - Wall ids shift on removal; §8 wants stable ids → fix in M3. - GM "clear blocked" wire message to define in M3 (§6.1). - Probing test over WebSocket (hostile client) = M3. - M5: ordering rule for coalesced outbox messages (e.g. remove vs token update); verify nginx actually proxies WS and which timeout closes dead peers. - Untested edge: zero-length door push; centre-on-line push with no usable previous position (falls back to left side). - Old /tmp/tmp.* dirs from killed mutation runs may remain (harmless). - Gitea still has prototype/* branches; local ones deleted.