results: rerun the slice 7 gates on the final tree (#22)

devbox run test green: 317 Nim [OK] blocks and 77/77 Node harness tests
(migration step 6, the details group, the twelve fault classes).
devbox run mutation green: control plus a..au, no survivors, no no-ops.
This commit is contained in:
2026-11-15 11:09:15 +01:00
parent 3c6e926122
commit 34a33b5ead
8 changed files with 4000 additions and 662 deletions
+65 -10
View File
@@ -87,7 +87,7 @@
... [OK] a DB from a newer server is refused, not downgraded
... [OK] a failing step rolls back: no DDL, no history, version unchanged
... [OK] a slice-2 DB migrates on: the scene is seeded, players and keys survive
... [OK] a slice-5 DB migrates on: explored_chunk appears and the world survives
... [OK] a schema-4 DB migrates on: explored_chunk and entity_status appear, the world survives
Success: Execution finished
Compiling /home/davide/Projects/GDR/FFF_vtt/tests/testutil (from package fff_vtt) using c backend
Success: Execution finished
@@ -106,7 +106,7 @@
... [OK] restore: two players' explored never mix
... [OK] restore: an empty store restores nothing and a removed player takes its chunks
... [Suite] cost
... chunk write: avg 0.015 ms, p99 0.037 ms over 200 commits
... chunk write: avg 0.016 ms, p99 0.035 ms over 200 commits
... [OK] a mutation-scale chunk write stays inside the 4.3 commit budget
Success: Execution finished
Compiling /home/davide/Projects/GDR/FFF_vtt/tests/tgeometry (from package fff_vtt) using c backend
@@ -201,15 +201,15 @@
... [OK] owner check: not yours is mkError, no position
... [OK] GM-controlled token (no owner): players get mkError
... [OK] step cap = scene default without vision, token vision radius with it
... [OK] over-cap, blocked-by-wall, blocked-flag and out-of-bounds nacks are identical
... [OK] over-cap, wall, lock-flag and out-of-bounds nacks are identical
... [OK] an accepted move applies and echoes the destination
... [OK] player move honours walls (capsule) via moveToken
... [OK] GM: ignores walls, step cap and blocked; bounds still apply
... [Suite] blocked flag
... [OK] wall added within r of the circle (centre not on it) sets blocked; exactly r does not
... [OK] GM: ignores walls, step cap and the lock; bounds still apply
... [Suite] stuck/squeezed statuses (walls source)
... [OK] wall added within r of the circle (centre not on it) sets stuck; exactly r does not
... [OK] GM-controlled tokens get the flag too; wall bbox does not matter, distance does
... [OK] open door added or opened never sets; closing a door on a token pushes it, never sets
... [OK] blocked token: player moves refused, GM move allowed
... [OK] a stuck token: player moves refused, GM move allowed
... [OK] cleared by removing the wall; unrelated removals keep it
... [OK] cleared by opening the door; a second open is a no-op
... [OK] cleared by the GM; not re-set by itself
@@ -219,7 +219,7 @@
... [OK] push: centre on the door line -> side of the previous position; no history -> left of a->b
... [OK] push: past the end of the door the offset shrinks (minimal), still >= r from the door
... [OK] push: one side blocked by another wall -> the other side; out of bounds -> the other side
... [OK] push: both sides invalid -> blocked in place; door open -> free; GM can still move it
... [OK] push: both sides invalid -> squeezed in place; door open -> still squeezed (KEEP); GM can move it
... [OK] push: wall added on a token still sticks it (regression); closing on nobody pushes nobody
... [OK] doorway: token in an open doorway, door closes -> pushed clear, free; door reopens/closes again -> unchanged
... [OK] KEEP: opening one door / removing one wall while another overlaps -> still blocked; last one frees
@@ -230,15 +230,54 @@
... [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token
... [Suite] seed scene
... [OK] no escape hatch: a player cannot walk through any wall of a boxed room
... [Suite] per-token radius (5.6, #4)
... [OK] the overlap test, the escape and the push use the token's own radius
... [OK] a big token is refused where a small one passes, on the same geometry
... [OK] the door push clears the token's own radius
... [Suite] resize: shrink never pushes, grow pushes or squeezes (5.6)
... [OK] a grow that already fits does not move the token
... [OK] grow inside r of a wall pushes it out by the minimal perpendicular distance
... [OK] grow with no room on either side squeezes the token and leaves it in place
... [OK] a squeeze from a failed grow clears when a later shrink ends the overlap
... [OK] a shrink that still overlaps keeps the stuck entry
... [OK] a grow out of a corner relaxes off both walls
... [OK] a grow that would have to cross a wall squeezes instead of jumping through it
... [OK] a grow that would leave the world squeezes instead of teleporting the token
... [OK] resize ignores an out-of-range token index
... [Suite] status sources (5.5: walls and GM are independent entries)
... [OK] a GM-sourced lock refuses player moves without touching the walls entries
... [OK] a wall added over a GM-locked token only adds the walls entry
... [OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
Success: Execution finished
Compiling /home/davide/Projects/GDR/FFF_vtt/tests/tprobing (from package fff_vtt) using c backend
Nim Output [Suite] probing (T8)
... [OK] P1: probes longer than the cap get one fixed nack regardless of the scene
... [OK] P2: scenes differing only beyond the bound give identical replies over 3000 probes
... [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail)
... [OK] P4: probing cannot unflag or move a blocked token
... [OK] P4: probing cannot unlock or move a locked token
... [OK] doors beyond the bound: opening or closing them changes no reply
Success: Execution finished
Compiling /home/davide/Projects/GDR/FFF_vtt/tests/tprops (from package fff_vtt) using c backend
Nim Output [Suite] caps (6.1, numbers FIXED owner-delegated by #22)
... [OK] 64 keys per bucket, the 65th is refused and nothing changes
... [OK] an existing key can still be overwritten at the cap
... [OK] a key is 1..64 code points, trimmed, with no control characters
... [OK] a value is at most 8 KB of serialized JSON
... [Suite] parseProps (the `props` field of token.create)
... [OK] absent and null mean three empty buckets
... [OK] the three bucket names are the only ones accepted
... [OK] the caps are enforced while parsing
... [Suite] the registry (DESIGN 8/9: v1 is empty and permissive)
... [OK] with no entries every key is accepted in every bucket
... [OK] a registered key is enforced: kind and bucket
... [OK] a schema with no bucket accepts the key anywhere
... [Suite] set / unset
... [OK] unsetting an absent key is allowed and reports it did nothing
... [OK] buckets are independent: the same key may live in all three
... [OK] propsJson carries all three buckets, always as objects
... [OK] clone gives fresh buckets: editing the copy cannot reach the original
... [OK] normalize repairs nil buckets
Success: Execution finished
Compiling /home/davide/Projects/GDR/FFF_vtt/tests/tprotocol (from package fff_vtt) using c backend
Nim Output [Suite] envelope (6.5 step 2)
... [OK] a well-formed intent parses and keeps its reqId and node
@@ -301,9 +340,18 @@
... [OK] an empty name writes nothing
... [OK] the same id is never handed out twice by the caller-supplied taken list
... [OK] a lookup by id is exact
... [Suite] size, props and statuses (slice 7: #4, #22)
... [OK] a per-token radius round-trips and overrides the scene default (5.6)
... [OK] a non-positive radius is refused, and nothing is written
... [OK] the three property buckets round-trip unchanged (6.1, 8)
... [OK] a new token starts with three empty buckets, never null
... [OK] statuses round-trip sorted, and a store replaces them (5.5)
... [OK] removing a token removes its status rows (FK cascade)
... [OK] status helpers keep the entry set unique and ordered
Success: Execution finished
Compiling /home/davide/Projects/GDR/FFF_vtt/tests/tviews (from package fff_vtt) using c backend
Nim Output [Suite] GM view (3.1: everything, with the GM-only extras)
Nim Output /home/davide/Projects/GDR/FFF_vtt/tests/tviews.nim(6, 8) Warning: imported and not used: 'geometry' [UnusedImport]
... [Suite] GM view (3.1: everything, with the GM-only extras)
... [OK] every token, in token order, with controller and both names
... [OK] a GM-controlled token shows controller null
... [OK] the GM never gets vision polygons or explored cells
@@ -324,6 +372,13 @@
... [OK] explored fresh is a list of [cx, cy]
... [OK] the vision payload uses integer pixels (6.4, Q16 FIXED)
... [OK] the hello scene block carries the 6.1 fields and no counts
... [Suite] props and statuses (#22, 6.1: the bucket and the source are per-recipient)
... [OK] the GM frame carries all three buckets and the source of every status
... [OK] a player who sees the token gets the public bucket only
... [OK] the controller gets public + owner, never the gm bucket
... [OK] the controller is not told what caused a status either (5.5, 6.1 note 6)
... [OK] a prop change and a status change each reach a viewer as one `token` frame
... [OK] a radius change reaches every viewer as the effective radius
Success: Execution finished
Compiling /home/davide/Projects/GDR/FFF_vtt/tests/tvision (from package fff_vtt) using c backend
Nim Output [Suite] polygons (5.1: one per controlled token with the `vision` flag)