Snapshot health audit
snapshot_healthAudit a generated snapshot against its repository: verify manifest shape, part hashes, artifacts, unmasked secrets, host paths, token count and freshness. Returns a score per check.
Instructions
Audit the generated snapshot against the repository: manifest shape, part hashes, the artifacts it claims, unmasked secrets anywhere in the written text, values from files that were excluded as sensitive, host paths, the recorded token count and freshness. Returns a score and one entry per check. Read-only; it never regenerates anything.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "snapshot_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | Replay every full body against the source on disk. Slower, and catches a generator that wrote the wrong bytes. | |
| root | No | Repository root. Defaults to the directory this server was started in. | |
| outDir | No | Snapshot directory, relative to the root, and it must resolve inside the served repository. Defaults to the project configuration's outDir. | |
| maxScanBytes | No | Cap on the text the secret and host-path scans read (default 8 MB). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | No | ||
| checks | No | ||
| counts | No |