Node 26 black-box harnesses under tools/ (no Nim rewrite, no npm deps);
in-process tests stay Nim; devbox run test runs Nim then Node.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
One shared site link; each player signs in with a personal player key
generated by the GM. GM signs in the same way with a GM key from
`fff-vtt gm-key` (replaces gm-link, #5). GM can replace a key live
(old key invalid, sessions and connections revoked). Removing a player
passes characters and tokens to the GM. No rate limit on key entry
(owner decision: ~100-bit key space).
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Characters are own records separate from tokens; tokens may link to one.
Character owner: exactly one (player or GM). Token controller is independent
and never changes with the character owner. Identity lives on the character,
per-figure state on the token. Descriptive/actual names revealed per player
or to all. Per-player encountered list, GM-removed only. Server-side SQLite only.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Control passes; a-d still caught (1,2,2,1,1 expected tests), new e-j each caught. Logs regenerated.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Targets met without a spatial grid: polygon+cells 0.048 ms (<= 0.451) on the prototype scene, polygon 0.083 ms
(< 1 ms) on 5k sparse. 5k dense stress layout reported (1.28 ms). Logs: results/bench.log, nimble-test.log.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Pure in-process module (server/moverules.nim, plain data, no IO) per DESIGN 5.5. Replaces moveBlocked tests
(ported at r=0), the KNOWN LIMITATION pin and the Q14 pin with positive escape/capsule assertions and
blocked-policy tests. tests/tprobing.nim: in-process T8 probing test with a concrete bound (stepCap + r).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
cellsTouched is now a scanline over cell rows (prototype per-cell version kept test-only in
tests/refold.nim). Differential tests (random polygons, concave, grid-aligned) and a brute-force
explored oracle (0.5 px tolerance) cover it; regression corpus = prototype leak-run polygons.
moveBlocked leaves geometry.nim (replaced by server/moverules.nim next); geometry primitives exported.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Record owner decisions for M2 in DESIGN.md section 5.5 and update
sections 3.4 (T8), 4.2, 5.1, 5.4, 6.1, 7.4, 8, 10.3, 12 (H2, H3, H10,
H26), 13 (M2) and 14.
- blocked trigger: wall added / door closed overlapping any part of a
token circle (dist centre-segment < r), not only centre-on-wall
- GM moves ignore walls, step cap and blocked
- player step cap = token vision radius, scene default if no vision
- capsule/swept check; escape rule for start-overlapping walls
- over-cap and blocked moves share one uniform nack
- M2 test layer: in-process move-rules module; WS probing test in M3
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
- 4.2 step 7: diff against known moves to flush time (outbox).
- 4.3 slow client: bounded per-client outbox, coalescing, Ping(seq)/Pong lag, no mummy patch.
- 6.1 ping row: lag is WS Ping/Pong, not app ping.
- 10.3 slow-client test expectations.
- 11.1 service: nix/package.nix + nix/module.nix + nix/lock.json; mummy tag 0.4.8.
- 12 H18, 13 M5/M6 scope and accept, 14 Q13/Q20 resolved.
- Status v0.3; mummy pin is tag 0.4.8 (fixes stale no-tags note).
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
- 13 M1: drop client/ and nix/ from M1 scope; client/ -> M4, nix/ -> M6 (Q20)
- 33 checks -> 33 test blocks / 98 checks ported, none dropped (5.2, 10.1, 13 M1)
- 5.4 and 12 H2: door closing on a token left open (Q14), with pinning test
- 5.4: token-on-wall limitation stated as code behaviour + KNOWN LIMITATION test; escape fix as PROPOSED item in 13 M2
- 5.1/5.2/5.3/5.4: prototype README/NOTES/HANDOFF refs repointed to tests and server/geometry.nim; prototype NOTES kept as bug/measurement evidence
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Fixture tests/fixtures/scene.json copied from prototype data/; seed test no longer skips if missing.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- tests/tgeometry.nim: shared-endpoint comments had hidden/visible sides inverted (ray y=10 at x=70; (70,9) hidden, (70,11) visible). Comments only.
- README: spike link -> results/spike/investigation.md
- investigation.md: base run 1 had three SLOW lines (gseq 136, 138, 152), not one
- HANDOFF: test gap (vertical-arm-only passes shared-endpoint test), timing instrumentation do-not-port, synchronous=NORMAL merged into existing item, caveats section
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>