SCHEMA — verify¶
The hub's own agent-verification harness (kit:
templates/verify/): how to run the dash like a user, the user scenarios bothrunner.mjsand a Claude Code pass execute, and the Playwright MCP config. Outputs go totest/evidence/(see rootSCHEMA.md).
Structure¶
| entry | kind | purpose | rules |
|---|---|---|---|
README.md |
file | What this directory holds and how to regenerate it | required |
verify.yml |
file | Run config (verify/v1): build + static serve of the Jekyll site with an empty baseurl, viewports, paths, agent guardrails |
required |
runner.mjs |
file | Rendered copy of the kit's Playwright scenario runner (machine seed — refresh from templates/verify/runner.mjs, never hand-edit) |
generated |
mcp.json |
file | Playwright MCP server definition the verification agent drives the site with | required |
scenarios/ |
dir | One scenario/v1 YAML per user path through a dash page (id, feature: HUB-NNN, steps) |
terminal |
sites/ |
dir | Scenarios for a site build of the console (CONSOLE_SITE, docs/CONSOLE-PAGES.md "Site builds"), which the default build cannot pass: run with node verify/runner.mjs --scenarios verify/sites --base <the site build's URL>, never by the default run |
terminal |
BRIEF.md |
file | Ephemeral brief written by fleet-verify.yml for the agent pass (gitignored) | generated |
AGENT-REPORT.md |
file | Ephemeral report the agent pass writes; the workflow posts it (gitignored) | generated |
Placement¶
- New dash page →
scenarios/<slug>.ymlnaming itsHUB-NNNfeature, then link it fromfeatures/features.yml. - A user path that exists only in a site build →
sites/<slug>.yml, with the build and serve commands in its header comment.
Forbidden¶
- No hand edits to
runner.mjs— changetemplates/verify/runner.mjs(snapshot toarchive/first) and re-render.