Verifying a change
Core or CLI
Section titled “Core or CLI”Exercise the command on a template and paste the output in the PR’s Evidence section:
node dist/cli/index.js validate --map templates/physics.ts --jsonFor init or build changes, produce the artifact users actually get: npm pack and install the
tarball in a scratch folder, then run the command there.
The app
Section titled “The app”Build a map with your branch and with main, serve both, and compare:
node tools/shoot.mjs <new-url> <out> --baseline <main-url>node tools/diff.mjs <out>This needs npx playwright install chromium once. The --states selectors are stale; drive
interactions yourself when they matter.
For a single state — a quick check, or one evidence image — use capture.mjs instead of a one-off
script:
node tools/capture.mjs http://localhost:5173/ out.png --hash '#provision/do/3' --theme darkPut before/after captures in the PR with captions naming the map, state and result. Commit only
useful evidence under docs/pr-evidence/<task>/, and embed it in the PR with a commit-pinned raw
URL.
The docs site
Section titled “The docs site”The docs build includes a live map, so it depends on the package. Verify both:
npm run docs:embed # build the example maps into docs/public/embednpm --prefix docs run build # type-check and build the docsSee the docs site for how the theme and the embed fit together.
Agents depend on the model
Section titled “Agents depend on the model”A change to the model or to what the CLI prints can break map authors’ agents. Update the matching
skills/*/SKILL.md and the user-guide pages in the same PR.