// The nine M3 acceptance groups of DESIGN 13 (FIXED by owner decision #12) and the test that proves // each one. `devbox run test` runs every `tools/*.test.mjs`; this map is the checklist the finish // line (#25) records in DESIGN 14, and tools/groups.test.mjs fails if a group's file or its named // evidence test disappears. Slice-level test files that are not an accept group (smoke, walls, // tokens, details, scene, wsheaders) still run; they are not listed here. export const GROUPS = { 'leak+fault': { // The transcript checker and its negative controls, plus the two Walls r1 harnesses whose // guarantees ride the same seam: the differential door equivalence (the `secretgap` control, // #56) and the player marker group (#59/#60). #61's scenario rewrite keeps all of them green. files: ['leak.test.mjs', 'fault.test.mjs', 'doors.test.mjs', 'markers.test.mjs'], evidence: [ ['leak.test.mjs', 'leak test ${subject}: the subject\'s whole view matches the GM\'s truth'], ['fault.test.mjs', 'caught as exactly'], ['doors.test.mjs', 'fault secretgap: the equivalence group fails as exactly SECRETGAP'], ['markers.test.mjs', 'retraction: every cause sends del only, a re-earned marker gets a fresh id (#60)'], ], }, tiles: { files: ['tiles.test.mjs', 'oneway.test.mjs'], evidence: [['tiles.test.mjs', 'tile gate: leak check (d) matches the independent explored oracle'], ['oneway.test.mjs', 'one-way sight: the blind side sees nothing across, the seeing side does (#58)']], }, probing: { files: ['probing.test.mjs'], evidence: [['probing.test.mjs', 'probing over WS: walls beyond cap + radius change no reply']], }, protocol: { files: ['protocol.test.mjs'], evidence: [['protocol.test.mjs', 'an unknown type is refused, unknown fields are ignored']], }, auth: { files: ['auth.test.mjs'], evidence: [['auth.test.mjs', 'key.replace: old key and old sessions die']], }, 'characters and names': { files: ['characters.test.mjs'], evidence: [['characters.test.mjs', 'encountered: a sighting is kept under the name the player knows']], }, restart: { files: ['restart.test.mjs'], evidence: [['restart.test.mjs', 'restart: full state, all CRUD, before and after SIGTERM'], ['restart.test.mjs', 'restart: full state, all CRUD, before and after SIGKILL']], }, persistence: { // The schema-7 fixture driven through the real binary (migration mapping, explored round trip) // plus the behaviour-preservation pair: migrated walls vs the same walls authored through // `wall.add`, byte-identical to a player (stories 29/30/77, #52). files: ['persistence.test.mjs', 'wallbehaviour.test.mjs'], evidence: [['persistence.test.mjs', 'explored round trip: a fresh connection gets the whole grid'], ['persistence.test.mjs', 'migration: a schema-4 DB (fixture) migrates under the real binary'], ['wallbehaviour.test.mjs', 'behaviour preservation: a migrated schema-7 scene and the same scene authored via raw switches are byte-identical to a player']], }, logs: { files: ['logs.test.mjs'], evidence: [['logs.test.mjs', 'logs: no key, session cookie or session hash reaches the log']], }, } export const GROUP_COUNT = 9