M3 slice 5: Tokens and sight #20

Closed
opened 2026-11-14 20:55:53 +01:00 by SirStone · 1 comment
Owner

What

Token CRUD and token.move through the existing moverules; vision and explored computed per player; per-recipient typed views; single egress. Leak test A/B and fault test ported; M2 in-process probing test re-run over WS with a hostile client. Random 12-char opaque token ids. See DESIGN 3.1, 4.2, 5.1, 5.5, 6.1, 10.1, 10.3.

Acceptance

  • Test group leak+fault green: ported leak test A and B; fault test catches every class that exists at this slice with exact class sets (characters/names classes land in slice 8); clean build passes.
  • Test group probing green: hostile WS client probing T8/H26 bounded by step cap.
  • Move results (blocked, over-cap) identical to in-process moverules nack.
  • Players receive only tokens they can see; GM sees all; no other egress path to a socket.
  • devbox run test green.

Decide while building

Per-recipient view structure, scene-wide tokenRadius handling in fixtures. Record as FIXED (owner-delegated) in DESIGN.

Refs

Map #2. Decisions: #3 Wall and token ids, #11 Message list, #12 What M3 done means. DESIGN 3.1, 4.2, 5.1, 5.5, 6.1, 10.1, 10.3, 13 (M3 groups 1, 3).

## What Token CRUD and `token.move` through the existing moverules; vision and explored computed per player; per-recipient typed views; single egress. Leak test A/B and fault test ported; M2 in-process probing test re-run over WS with a hostile client. Random 12-char opaque token ids. See DESIGN 3.1, 4.2, 5.1, 5.5, 6.1, 10.1, 10.3. ## Acceptance - Test group **leak+fault** green: ported leak test A and B; fault test catches every class that exists at this slice with exact class sets (characters/names classes land in slice 8); clean build passes. - Test group **probing** green: hostile WS client probing T8/H26 bounded by step cap. - Move results (blocked, over-cap) identical to in-process moverules nack. - Players receive only tokens they can see; GM sees all; no other egress path to a socket. - `devbox run test` green. ## Decide while building Per-recipient view structure, scene-wide `tokenRadius` handling in fixtures. Record as FIXED (owner-delegated) in DESIGN. ## Refs Map #2. Decisions: #3 Wall and token ids, #11 Message list, #12 What M3 done means. DESIGN 3.1, 4.2, 5.1, 5.5, 6.1, 10.1, 10.3, 13 (M3 groups 1, 3).
SirStone added the ready-for-agent label 2026-11-14 20:55:53 +01:00
SirStone added a new dependency 2026-11-14 20:56:14 +01:00
SirStone added a new dependency 2026-11-14 20:56:14 +01:00
SirStone added a new dependency 2026-11-14 20:56:16 +01:00
SirStone added a new dependency 2026-11-14 20:56:20 +01:00
Author
Owner

Slice complete and merged to main.

Commits:

  • d38b871 server: token records and the entity migration step (#20)
  • e6b53e0 server: per-player vision, explored cells and the one view rule (#20)
  • 5f5bf32 server: typed recipient views and the single egress (#20)
  • 6fcf7f8 server: token intents, the resync and the door push (#20)
  • 959412f tools: leak driver, checker and the fault controls (#20)
  • cae20d7 tools: WS probing and the token wire tests (#20)
  • 91192b3 design: record the tokens and sight decisions (#20)
  • ae6054e results: slice 5 test and mutation logs (#20)
  • c9de8c7 tools: the protocol group's landed/unlanded intent split (#20)
  • 9c512e7 server: tidy the slice comments after the rollout (#20)
  • 5d38e92 results: rerun the slice 5 gates on the final tree (#20)

Gate: devbox run test + devbox run mutation green on the final tree.

Slice complete and merged to `main`. Commits: - `d38b871` server: token records and the entity migration step (#20) - `e6b53e0` server: per-player vision, explored cells and the one view rule (#20) - `5f5bf32` server: typed recipient views and the single egress (#20) - `6fcf7f8` server: token intents, the resync and the door push (#20) - `959412f` tools: leak driver, checker and the fault controls (#20) - `cae20d7` tools: WS probing and the token wire tests (#20) - `91192b3` design: record the tokens and sight decisions (#20) - `ae6054e` results: slice 5 test and mutation logs (#20) - `c9de8c7` tools: the protocol group's landed/unlanded intent split (#20) - `9c512e7` server: tidy the slice comments after the rollout (#20) - `5d38e92` results: rerun the slice 5 gates on the final tree (#20) Gate: `devbox run test` + `devbox run mutation` green on the final tree.
Sign in to join this conversation.