selection_integrity
Audits top-k retrieval integrity by comparing actual results against trust-anchored memories, flagging displaced facts and untrusted records.
Instructions
Make SELECTION-LEVEL manipulation auditable (read-only, no LLM). Provenance/tamper-evidence check that retrieved records are authentic, but are blind to an attacker who injects authentic-looking UNTRUSTED writes that REROUTE which trusted facts reach the top-k. This diffs the top-k the agent ACTUALLY gets against the top-k of only trust-anchored memories, and surfaces any qualified fact that untrusted writes displaced, plus the untrusted records occupying top-k slots. Returns {stable, displaced, untrusted_in_topk, k}. Needs a trust root (INSPEXIMUS_TRUST_SEEDS on this server); without one it says so. Flags, never rewrites.
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": {
"query": "<query>"
},
"name": "selection_integrity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| query | Yes |