Map Contract prototype
Dependency-free TypeScript prototype for Node.js 22.14+ with explicit type stripping.
map-types.ts— regions, locations, edges, viewer and move types.map.ts— static validation, reachability, projection, movement and LOS.fixtures/sci-fi-comedy-map.ts— original, non-canonical test fixture.map.test.ts— behavioral and adversarial checks.demo.ts— executable validation/projection/movement summary.
The fixture is Technical R&D test data, not product canon. Layout coordinates are presentation hints; topology and edge contracts remain authoritative.
Run from the study directory:
node --no-warnings --experimental-strip-types --test prototype/map.test.ts
node --no-warnings --experimental-strip-types prototype/demo.ts