verify
Checks a zipped or extracted bundle against its manifest before building, reporting missing or changed files, missing assets, font-face status, and a non-blocking preflight findings list.
Instructions
Check a bundle, zipped or extracted, against its manifest before building from it: verified, missing and changed files, the bundle's missing assets, and the font faces the visible text uses (with node ids). Each font face is looked up by its name table in this machine's user and system font folders and in fonts (a project font folder): status local_file with localFiles {path, matchedBy, inProject} when a file is found (WOFF/WOFF2 by file name only), else unverified; a match inside fonts also carries a ready fontFace @font-face (src relative to fonts, font-display swap; licensing is the user's call, nothing is copied). local_file never shows the browser loads the face: confirm each in the running project with document.fonts.load, and check browser delivery of assets there. findings gathers these checks with the bundle's unresolved variables, truncated state inventory, render limitations and unemitted semantics into one handoff preflight list, each with node ids, evidence, impact and next action. Reports without blocking; no design file is read.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bundle": "<bundle>"
},
"name": "verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fonts | No | absolute path of a project directory of font files (subfolders included) searched before the system folders; must be inside the configured roots | |
| bundle | Yes | path to a bundle .zip or the directory it was extracted to |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| files | Yes | verified count; missing paths; changed entries with expected and actual size/sha256 (actual null when larger than declared, unreadable, with error, or not a regular file inside the bundle); invalid manifest paths | |
| fonts | Yes | family, style, weight, postScriptName, nodeIds, status (local_file or unverified; neither shows the browser loads the face), localFiles (up to 3 {path, matchedBy postScriptName|family+style|filename, inProject}) and, for a match inside fonts, fontFace: an @font-face snippet | |
| findings | Yes | handoff preflight, missing inputs first: category (integrity, asset, variable, scope, render, semantics, font), status (missing, unsupported or unverified), source file, nodeIds (at most 20, none over 1 KiB) and nodeCount, evidence, impact and action; at most 500 entries and 1 MiB | |
| truncated | Yes | original length of each other list cut to stay within the reply budget (files.missing, files.changed, files.invalid, missingAssets, fonts); empty when nothing was cut | |
| fontLookup | Yes | searched folders, filesRead (font files whose names were read) and truncated (a file, entry or byte budget stopped the lookup, so an unverified face may still have a file) | |
| unverified | Yes | ||
| missingAssets | Yes | missing-assets.json entries | |
| findingsSummary | Yes | scope (bundle root nodeId and name), total, returned, truncated, counts per category/status, unexamined metadata files, semanticsCoverage (the handoff inventory's coverage) and the coverage the findings do not establish |