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>
withserver.sh wiped run/state.db and built ./server; tests now use run/test/ (own DB, invites, nginx conf/logs, binary) and TEST_PORT/TEST_BACKEND_PORT (default 18088/19000), refusing 8088/9000. Server reads RUN_DIR and BACKEND_PORT (defaults run, 9000 unchanged). devbox test now runs smoke, leaktest, concurrency (DUR=15).
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Label SwiftShader table as not representative; refute 200-strokes fps drop as SwiftShader artifact.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Pixi preference is a hint; show requested vs actual (fallback) in overlay and
benchmark header. README: prefer not force, WebGPU Linux Chrome flags.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>