Commit Graph
24 Commits
Author SHA1 Message Date
SirStone f85665b53e design: record slice 2 decisions (#17) 2026-11-14 22:13:09 +01:00
SirStone 86e7ad397d design: record slice 1 decisions (#16) 2026-11-14 21:40:48 +01:00
SirStoneandClaude Haiku 5.5 143cb534dc design: retag gm-key service user as owner-delegated (#13)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-14 20:58:58 +01:00
SirStoneandClaude Sonnet 5.5 4465e7e89d design: M3 slices and gm-key service user (#13)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 20:56:32 +01:00
SirStoneandClaude Haiku 5.5 7667e28f5e design: owner review of message list flags (#11)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-14 20:49:11 +01:00
SirStoneandClaude Sonnet 5.5 277cb5f896 design: fix M3 message list (#11)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 20:42:16 +01:00
SirStoneandClaude Haiku 5.5 2801fbcca5 design: fix M3 limits (#15)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-14 20:12:15 +01:00
SirStoneandClaude Haiku 5.5 356a70f2b5 design: fix M3 done criteria (#12)
M3 done = devbox run test green on a clean checkout with nine named
groups (leak+fault, tiles, probing, protocol, auth, characters and
names, restart, persistence, logs). Concurrency moves to M5, bind check
to M6. Protocol limits pending on the "M3 limits" card.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-14 19:47:06 +01:00
SirStoneandClaude Haiku 5.5 acc69c9fb6 design: fix test tools (#9)
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>
2026-11-14 19:35:54 +01:00
SirStoneandClaude Haiku 5.5 8c03224f2a design: fix map tiles in M3 (#7)
Tile gate, test nginx and generated 32 px fixtures in M3 scope.
Versioned private tile URLs (art_version, Cache-Control private).
404 for malformed paths, 403 for unexplored tiles.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-14 18:41:34 +01:00
SirStoneandClaude Haiku 5.5 0772f26400 design: fix players and player keys (#6)
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>
2026-11-10 19:27:22 +01:00
SirStoneandClaude Haiku 5.5 d9e135f6bd design: fix characters and player data (#14)
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>
2026-11-10 19:11:16 +01:00
SirStoneandClaude Haiku 5.5 ae2f7c48dc design: fix first GM login bootstrap (#5)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-10 18:04:11 +01:00
SirStoneandClaude Haiku 5.5 90576381df design: fix token size and stuck/squeezed statuses (#4)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-10 17:51:02 +01:00
SirStoneandClaude Haiku 5.5 48b77888c6 design: fix wall and token ids (#3)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-10 17:13:25 +01:00
SirStoneandClaude Sonnet 5.5 65c6b53c2a docs: DESIGN door push rule (5.5, 5.4, 6.1, H2, M2 accept, Q14)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 18:56:22 +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 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 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 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 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 daeadca9c2 docs: add DESIGN.md
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 10:06:07 +01:00