Commit Graph
49 Commits
Author SHA1 Message Date
SirStoneandClaude Sonnet 5.5 a29bb0bb46 moverules: door close pushes overlapped tokens aside (valid-side check, blocked only if no side valid); Push list; tests; mutations m-o
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 18:56:06 +01:00
SirStoneandClaude Sonnet 5.5 153ff6cd18 docs: DESIGN blocked policy (set/keep/clear), 5k bench target, test-count baseline, GM OOB nack, wall id stability (M3)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 18:53:12 +01:00
SirStoneandClaude Sonnet 5.5 0e67331b6c results: regenerate test, mutation (a-l), bench logs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 18:53:12 +01:00
SirStoneandClaude Sonnet 5.5 388e901541 moverules: blocked policy set/keep/clear (GM moves and placements set/clear, KEEP while any wall overlaps); tests; mutations k, l
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 18:47:39 +01:00
SirStoneandClaude Sonnet 5.5 0e0b1a6052 mutation: run all test files, add mutations e-j (scanline fill, escape crossing, GM bypass, capsule, step cap, blocked trigger); header limitations updated
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>
2026-11-08 18:33:12 +01:00
SirStoneandClaude Sonnet 5.5 e0705a8533 bench: harness with synthetic 5k-wall scenes (devbox run bench), scenegen + tests
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>
2026-11-08 12:15:31 +01:00
SirStoneandClaude Sonnet 5.5 afe84f2add moverules: swept-circle move check, token-on-wall escape, blocked flag, step cap, GM bypass
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>
2026-11-08 12:11:49 +01:00
SirStoneandClaude Sonnet 5.5 67fa96e23d geometry: scanline cellsTouched, differential + independent oracle tests, prototype corpus
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>
2026-11-08 12:08:21 +01:00
SirStoneandClaude Haiku 5.5 206f99deda docs: M2 decisions (blocked trigger, GM moves, move rules scope)
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>
2026-11-08 11:59:55 +01:00
SirStoneandClaude Haiku 5.5 2cd0b1cd19 docs: Q4 resolved (32 px tiles), outbox lock invariant, cleanups — all §14 questions answered
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-08 11:49:21 +01:00
SirStoneandClaude Haiku 5.5 eb1b128668 prototype-tile-leak: phone run results (Android 10, Chrome 157)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-08 11:48:09 +01:00
SirStoneandClaude Sonnet 5.5 b091882d7d prototype-tile-leak: phone test page (Pixi tile-size client check)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 11:34:48 +01:00
SirStoneandClaude Sonnet 5.5 f28cb902e5 prototype-tile-leak: Q4 masked tiles vs cell-size tiles
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 11:22:44 +01:00
SirStoneandClaude Haiku 5.5 1078154b36 docs: record Q13 (bounded outbox) and Q20 (buildNimPackage) decisions
- 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>
2026-11-08 11:21:45 +01:00
SirStoneandClaude Haiku 5.5 9b3b154fc8 docs: add Q13/Q20 research notes
Q13: mummy slow WebSocket clients (pin 01deb1f), option analysis.
Q20: Nix packaging of the Nim server (buildNimPackage, nim_lk lock, NixOS module).

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-08 11:21:19 +01:00
SirStoneandClaude Haiku 5.5 24fa9b25b8 docs: Q1 resolved, max 6 players in v1
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-08 11:14:54 +01:00
SirStoneandClaude Haiku 5.5 69704b9c29 docs: record owner decisions on §14 open questions
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-08 11:14:18 +01:00
SirStoneandClaude Haiku 5.5 b23993bcce chore: add .vscode IDE config
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-08 10:39:20 +01:00
SirStoneandClaude Haiku 5.5 efc72d6859 docs: DESIGN.md fixes after M1 (layout, test counts, Q14 pointers, token-on-wall limitation, refs)
- 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>
2026-11-08 10:24:12 +01:00
SirStoneandClaude Sonnet 5.5 8751b83ad8 tools/mutation.sh: temp-copy mutations a-d (d1/d2 = shared-vertex arms); logs results/mutation.log, nimble-test.log
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 10:09:20 +01:00
SirStoneandClaude Sonnet 5.5 b8d68cdb3a tests: shared-vertex both-arms test, door-closed-on-token pin (Q14), KNOWN LIMITATION token-on-wall pin
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 10:08:26 +01:00
SirStoneandClaude Sonnet 5.5 547458c37e m1: devbox, nimble, layout; port geometry.nim and 33 tgeometry tests (98 checks)
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>
2026-11-08 10:06:58 +01:00
SirStoneandClaude Sonnet 5.5 daeadca9c2 docs: add DESIGN.md
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 10:06:07 +01:00
SirStoneandClaude Haiku 5.5 8ad7759665 prototype-server-vision: docs: fix shared-endpoint test comments, stale spike link, SLOW count; HANDOFF items
- 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>
2026-11-07 18:28:24 +01:00
SirStoneandClaude Sonnet 5.5 f85a33df8b prototype-server-vision: close-out: final-run results (commit 18c9884), HANDOFF.md, README headers/numbers, commit leak transcripts + faults.log, move spike logs to results/spike
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 16:37:07 +01:00
SirStoneandClaude Sonnet 5.5 18c98844ad prototype-server-vision: concurrency script: no SLOW lines must not fail the run (grep rc under set -e)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 16:29:52 +01:00
SirStoneandClaude Sonnet 5.5 1670e104a2 prototype-server-vision: devbox run clienttest (client reducer tests -> results/client-tests.log)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 16:22:57 +01:00
SirStoneandClaude Sonnet 5.5 a337cec58a prototype-server-vision: synchronous=NORMAL (WAL), spike investigation (583 ms not reproduced), fixed runs, post-fix leak/fault/restart logs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 16:21:38 +01:00
SirStoneandClaude Sonnet 5.5 b202eb62f3 prototype-server-vision: per-mutation timing (lock wait/vision/sqlite/send/total, SLOW_MS lines, percentiles), p99 in concurrency output, 3 baseline 60 s runs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 16:15:08 +01:00
SirStoneandClaude Sonnet 5.5 6449c2cf5e prototype-server-vision: geometry corner tests ('<' apex, endpoint vertices, +-eps rays, shared vertex) + mutation check (devbox run mutation, results/mutation-{a,b,c}.log)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 16:10:38 +01:00
SirStoneandClaude Sonnet 5.5 a865b39657 prototype-server-vision: README numbers from results/ logs (60 s concurrency, bench, leak A/B), new tests documented
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 13:11:08 +01:00
SirStoneandClaude Sonnet 5.5 74d612b55e prototype-server-vision: restore shared-endpoint probe, add visible/hidden probes to weak corner-case tests
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 13:05:49 +01:00
SirStoneandClaude Sonnet 5.5 819b120ba3 prototype-server-vision: restart durability test (SIGTERM + SIGKILL, same DB)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 13:05:49 +01:00
SirStoneandClaude Sonnet 5.5 7339db04ce prototype-server-vision: deliberate-leak test (-d:leakfault build, 8 injected faults, exact checker class sets); checker failures carry classes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 13:05:49 +01:00
SirStoneandClaude Sonnet 5.5 fd681f31a0 prototype-server-vision: leaktest writes results/leak-{A,B}.log (+ .jsonl transcripts, gitignored: >1 MB)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 12:56:04 +01:00
SirStoneandClaude Sonnet 5.5 eef899e015 prototype-server-vision: token radius (r=20) clearance in move validation; tokenRadius in scene.json + hello
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 21:12:53 +01:00
SirStoneandClaude Haiku 5.5 217751f76c prototype-server-vision: NOTES smoke cmd uses isolated test path (devbox run smoke)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-01 23:46:38 +01:00
SirStoneandClaude Haiku 5.5 1924a45c84 prototype-server-vision: isolate tests from live session (run/test, ports 18088/19000, RUN_DIR/BACKEND_PORT env)
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>
2026-11-01 23:35:52 +01:00
SirStoneandClaude Haiku 5.5 304e56d6e6 prototype-server-vision: status bar shows identity (player A/B, gm) derived from hello.tokens
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-01 23:25:57 +01:00
SirStoneandClaude Sonnet 5.5 ef19d362c6 prototype-server-vision: fix scrambled visibility fan (angle range mix), leaktest SUBJECT=A|B + independent LOS oracle
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 23:25:10 +01:00
SirStoneandClaude Sonnet 5.5 26d7079084 prototype-server-vision: phase 3 (integration fixes, leaktest, concurrency, bench, README)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 23:03:24 +01:00
SirStoneandClaude Sonnet 5.5 013c29e4da prototype-server-vision: phase 2a (mummy server, nginx conf, neutral doors in tiles, smoke)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 22:52:00 +01:00
SirStoneandClaude Sonnet 5.5 2b8aa6b233 prototype-server-vision: phase 2b client (Vite+TS+Pixi v8, fog masks, drag, reducer test)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 22:47:14 +01:00
SirStoneandClaude Sonnet 5.5 3a7c9af9f2 prototype-server-vision: phase 1 (devbox, nimble skeleton, map gen, geometry + tests)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 22:44:34 +01:00
SirStoneandClaude Haiku 5.5 b7b4e9ed58 prototype-pixi-perf: add real-hardware benchmarks (laptop WebGL/WebGPU, Note 10) and findings
Label SwiftShader table as not representative; refute 200-strokes fps drop as SwiftShader artifact.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-01 22:11:13 +01:00
SirStoneandClaude Haiku 5.5 5ad595b01b prototype-pixi-perf: label requested vs actual renderer, README prefer wording
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>
2026-11-01 20:41:42 +01:00
SirStoneandClaude Sonnet 5.5 a5b0cf9920 Add throwaway PixiJS v8 perf prototype (VTT scene + benchmark)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 20:25:09 +01:00
SirStone d966af3f8f added pixlJS official skills and the prototype document 2026-11-01 20:15:27 +01:00
SirStoneandClaude Haiku 5.5 db608f1f45 Set up agent skills config (Gitea tracker, triage labels, domain docs)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-01 19:54:01 +01:00