verify_witness
Check a hydration witness against the current store to see if the answer is stale: digest mismatch means store changed, source mismatch means a pinned source moved. Deterministic, no 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| witness | Yes |