witness
Generate a deterministic receipt of the store state behind an answer; attach after recall to prove which revision was used and detect later changes or staleness.
Instructions
HYDRATION WITNESS: a compact, deterministic receipt of the store state your answer was derived from — "this answer reflects store state as of revision X". Call it right after recall() and attach the result to the answer; any later write/supersession/revert/erasure changes the digest, and verify_witness() makes that visible. When write receipts are enabled it is anchored to the tamper-evident write chain. No LLM.
bind_sources=True also pins the SOURCES the answer came from, closing the VERIFY → USE window: the store
can be untouched while the world the memory describes has moved. Pass record_ids — the ids recall()
returned — so the pin covers what the answer actually used rather than every source in the store.
verify_witness then returns stale_at_use.
THIS ARGUMENT DID NOT EXIST UNTIL NOW, and that is the point of adding it. 2.11.0 shipped the window and
wired it to nothing an agent can call: witness() took no arguments, so the feature was reachable only
from Python — which is not how this server is used. Same shape as attest() one release earlier, found
the same way, by asking whether the mechanism has an input rather than whether the code is correct.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record_ids | No | ||
| bind_sources | No |