verify_witness
Checks a hydration witness against the store's current state to detect stale serves, returning digest_match to confirm exact state or flag a change. Enables deterministic re-computation without LLM.
Instructions
Check a hydration witness against the store as it is NOW. digest_match=true means the store is still in the exact state the witness pinned; false means the answer that carried it predates a change (stale serve made visible instead of silent). Deterministic re-computation, no LLM.
A witness taken with bind_sources=True also re-reads its pinned sources: stale_at_use is True when one
moved between the check and this call. The store answer (digest_match) and the world answer
(sources_match) stay separate, because a moved source wants revalidation and a changed digest wants
re-derivation.
LIMIT, stated because it decides a verdict: a custom resolver cannot cross this boundary — it is a
Python callable — so only sources readable as local files are re-read here. A pinned URL comes back in
sources_orphaned, which is neither a match nor a mismatch and does NOT read as clean. For non-file
sources call verify_witness(w, resolver=...) in-process.
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": {
"witness": "<witness>"
},
"name": "verify_witness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| witness | Yes |