Commit Graph
71 Commits
Author SHA1 Message Date
SirStone 1c655314ed docs: record the DESIGN/TESTING split ledger
Sizes before/after, the moved-block ledger, per-section FIXED counts and the
judgement calls left in DESIGN; cross-reference check for § and TESTING links.
2026-11-17 23:24:52 +01:00
SirStone 6bfb032548 docs: finish the DESIGN/TESTING split (§6-§13)
Protocol, client, ops and milestone sections keep their rules and gate criteria;
message-size measurements, close-assertion detail, the test nginx, the restore
drill, the slow-log provenance and the M3/M4 gate mechanics move to TESTING.
DESIGN §10 becomes a pointer section that keeps 10.1-10.4 so existing refs
resolve.
2026-11-17 23:22:48 +01:00
SirStone e9c29675de docs: retarget ADR and research refs to TESTING
ADR-0015 no longer cites DESIGN §10.3 (now a pointer); ADR-0012 and the
thick/low-wall research note name TESTING.md for the proof side.
2026-11-17 23:22:48 +01:00
SirStone bc10780625 docs: point DESIGN §5 at TESTING; move vision/bench proof out
Edge-case counts and bug regressions, the perf table and bench scenes, oracle
citations, the move-rule regression baseline, the see-over oracle spec and the
thickness/joint measurements move to TESTING §5.1-§5.10. Targets, the 5k-wall
gate and the accepted thickness cost stay in DESIGN.
2026-11-17 23:22:06 +01:00
SirStone 6837bbcf11 docs: point DESIGN §3-§4 at TESTING for their proofs
Security and server sections keep the rules; measured runs, oracle citations,
test pins and the threat table's Test column move to TESTING §3.1, §3.3, §3.4,
§4.1-§4.4.
2026-11-17 23:21:16 +01:00
SirStone 39615afdf6 docs: add TESTING.md with the proof detail split out of DESIGN
New file holds test, acceptance, oracle, fault-class, gate and bench detail,
organised by DESIGN section number with a back-link per block. Tags, tickets
and evidence paths are preserved.
2026-11-17 23:21:16 +01:00
SirStone 9143cee536 docs: race fix merged 2026-11-17 23:17:06 +01:00
SirStone bd320014ca docs: final split-check sizes 2026-11-17 23:13:00 +01:00
SirStone 3ed8107908 docs: fix the D2 pointer in the history log 2026-11-17 23:12:43 +01:00
SirStone 7468196111 docs: record the 22nd reworded block in the split check 2026-11-17 23:12:33 +01:00
SirStone d8c807bbf2 docs: point wall geometry wire validation at 5.7/5.10
One statement of the thickness/position/height ranges; the wall payload rule keeps only the
defaults and the patch behaviour.
2026-11-17 23:12:25 +01:00
SirStone de633642c5 docs: mark DESIGN split done and record the verification (#51)
D2 marked done; the M3 handoff is marked historical with the §14-log pointer; the split
check records sizes, the section mapping, FIXED-marker coverage, the blocks that changed
wording and every statement dropped as superseded.
2026-11-17 23:12:08 +01:00
SirStone dc16db1b72 docs: rewrite DESIGN.md as the current-only spec (#51)
Same section numbers as v0.30, so all DESIGN §x.y references still resolve. Removes the
change log, the decision log, the HANDOFF table and the superseded/duplicated statements
(history + ADRs hold those); dedupes rules to one authoritative block with wire/storage/
recipient layers pointing at it; §14 now holds only open items and the ADR index; all prose
wrapped. No decision changed.
2026-11-17 23:12:08 +01:00
SirStone 8aaf03be04 docs: add ADRs for the durable design decisions
22 ADRs: server-authoritative sight and single egress, per-recipient views/diffs, uniform
nack, opaque ids, 32 px tile unit, wall switches/presets, see-over, thick walls, open-door
gap, typed wall columns, proto 2, build order, zoom clamp, accepted status leak, player
marker, chunked explored, slow-client policy, session/key split, closing message, character
records, global lock, synchronous choice. Each links its tickets and its spec section.
2026-11-17 23:12:04 +01:00
SirStone 7a69779c5a docs: extract DESIGN history (change log, decision log, superseded text)
The v0.4-v0.30 change log, the old §12 HANDOFF table and the whole §14 owner-decision log
(Q1-Q24) move here verbatim, with the superseded statements removed from the spec quoted
with their surviving rule. Non-normative.
2026-11-17 23:12:04 +01:00
SirStone 7b804f4e5e docs: analysis review and decisions 2026-11-17 22:45:58 +01:00
SirStone 287859d890 design: wall wire format, schema and migration (#49) 2026-11-17 22:31:16 +01:00
SirStone 2a160fb274 design: door geometry, thick doors and door push (#50) 2026-11-17 22:17:16 +01:00
SirStone 409d2c8621 docs: tag #42 preset list superseded by #48 2026-11-16 22:42:56 +01:00
SirStone 7ac915ae6c design: terrain dropped, presets, window markers (#48) 2026-11-16 22:39:20 +01:00
SirStone b8f04c2faf design: windows and one-way walls (#47) 2026-11-16 22:08:14 +01:00
SirStone 5c3a123d41 design: thick walls sight and movement (#45) 2026-11-15 21:53:55 +01:00
SirStone afe19ac258 design: secret and locked doors (#46) 2026-11-15 19:27:15 +01:00
SirStone 4c968b78d8 design: low walls sight and see-over (#44) 2026-11-15 19:21:10 +01:00
SirStone 7511daa3c5 design: wall switches, presets and one-way sight (#42) 2026-11-15 18:23:26 +01:00
SirStone a7f302ec26 design: height model for tokens, eyes and walls (#41) 2026-11-15 16:47:40 +01:00
SirStone b4720779d4 research: sight with thick and low walls (#39) 2026-11-15 16:12:15 +01:00
SirStone d5147ec4db research: how tabletops model wall kinds (#40) 2026-11-15 15:54:46 +01:00
SirStone b6c006d08b agents: add bug and enhancement category labels 2026-11-15 15:30:23 +01:00
SirStone b4bddf1d52 design: record the #27-#31 rules and the measured egress numbers (#27-#31)
6.1: a link patch hands the token's names over; the encountered snapshot is
written by one path in both stores, and a reveal is scoped to its player. 4.3:
egress borrows (never copies) under the lock, and the scene is a value swapped
under the lock that each request reads once. 10.3: STALE_NAME is a leakcheck
class. 14: the five fixes, their tests and mutations, with the before/after
egress measurements (context build 4.87 ms -> 0.008 us at 262144 cells; GM
egress 142.8 ms -> 0.80 ms). Doc bumped to v0.20.
2026-11-15 14:26:23 +01:00
SirStone e68c6eefbf design: owner confirms prop registry fallback (#22)
Mark the 6.1 property-schema registry as an owner decision (2026-11-15):
keep the empty registry with the permissive fallback in v1, strict mode
with the FFF seam post-v1. Record it in 14 and bump the doc to v0.19.
2026-11-15 13:06:58 +01:00
SirStone 2c0ce47134 design: record the measured M3 gate results (#25) 2026-11-15 13:03:51 +01:00
SirStone 14939afd81 design: record the finish line, the scene rules and the M3 acceptance checklist (#25) 2026-11-15 12:52:23 +01:00
SirStone 7ef5cc433a design: record the map-tile gate and test nginx decisions (#24) 2026-11-15 12:30:53 +01:00
SirStone dab7c77675 design: record the characters and names decisions (#23) 2026-11-15 12:01:33 +01:00
SirStone 3c6e926122 design: record the token details decisions (#22)
Migration step 6, the status/source payload rules, the prop caps and the
property-schema registry (empty at start with a permissive fallback, because
8 says v1 never interprets props), and the grow-push search that 5.6 left
PROPOSED are all FIXED owner-delegated in 5.6/6.1 and summarised in 14. The
token payload rules now say `radius`/`props` are accepted on create from
slice 7 and refused nowhere else. 10.3 lists the three new fault classes,
and the glossary gains property, bucket and registry.
2026-11-15 11:02:43 +01:00
SirStone fe7ffb0000 design: record the explored persistence decisions (#21)
Step 5 DDL, the 64x64/512 B chunk format with its pinned bit layout, the write policy (dirty
chunks only, whole-chunk encoding, NORMAL durability, one transaction with a move and a
separate one after GM authoring), the startup restore and the measured costs, all tagged
FIXED (owner-delegated, #21), plus what slice 6 built in 10.3.
2026-11-15 09:58:51 +01:00
SirStone 91192b36ce design: record the tokens and sight decisions (#20)
v0.17: migration step 4 (entity) and what it deliberately leaves out, the token
payload rules 6.1 was silent on (plain tokens only, radius/props/character_id
refused invalid, effective radius = scene default, descriptive name only on the
wire, controller null as the single GM spelling, explored RLE on connect), the
slice-5 resync, the egress timing, the fault classes built at this slice, the
slice-5 rollout, and the full decision record as a FIXED owner-delegated entry.
2026-11-15 09:35:33 +01:00
SirStone 864cf26e98 design: record the walls and doors decisions (#19)
v0.16. 4.4 gets migration step 3 (scene + wall DDL and the seeded v1 scene);
6.1 gets the wall payload rules the catalogue left open (scene id, a/b
validation, open never true on a wall, flags as an object, wall.update's
patch set, fields before lookup, ids from next_wall_id, synchronous=FULL);
6.1/6.3 note what slice 4 actually sends (`walls` on GM connect); 8 points
next_wall_id at the scene row; 14 records the whole slice as FIXED
(owner-delegated).
2026-11-15 08:49:42 +01:00
SirStone db22b33567 design: record the closing message and the protocol-shell decisions (#18)
Owner decision (#18), option A: mummy 0.4.8 cannot send an application close code
(close(ws) -> an empty close frame -> the browser sees 1005), and mummy is not forked
for it. Every server-initiated close now sends one closing {reason, code} message and
then the close frame; the client reads the reason from that last message. Amends 3.2
(the OPEN note is FIXED) and 6.5, and adds the message to the 6.1 catalogue (server
messages 14 -> 15) with the reason/code table.

Also recorded FIXED: proto is a required query parameter (400 when absent, 4003 on a
mismatch, no hello); the server Ping interval (20 s, plus one right after hello, lag
enforcement stays M5); the n rule (server frames only, no number for Ping/Pong); the
explicit 64 KB maxMessageLen; and the slice-3 rollout note that catalogue intents
whose slice has not landed answer unknown-type. 10.3 lists the protocol test group.
2026-11-15 08:33:16 +01:00
SirStone 527e216c37 design: mark sign-in path and ws origin check fixed (#17) 2026-11-14 22:13:25 +01:00
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