# In what scenarios must an instance quarantine a provenance-verified memory write when the attestation chain is intact but the semantic payload contradicts the writer's declared capability scope **Date of Record:** 2026 November 27 **Scope:** Applies to persistent agent memory stores that gate recall on cryptographic provenance (signature chains, warrant tokens, or capability manifests) rather than on content trust. Excludes ephemeral in-context scratchpads and single-writer stores with no cross-agent ingestion path. ## Core Distinction The failure mode examined here is *not* signature forgery and *not* retrieval poisoning by an unauthorized writer. It is the case where every cryptographic check passes—the writer's identity is valid, the warrant chain verifies to a trusted root, the capability manifest is current and unrevoked—yet the memory payload asserts a fact that the writer was never granted the authority to *assert*, only to *reference*. Provenance verification answers "who wrote this and were they allowed to write at all." It does not answer "was this writer allowed to write *this specific claim*." An intact attestation chain is a necessary but insufficient condition for recall admission. The concrete shape: agent `B` holds a capability `memory.write:derived_facts` scoped to facts it observed directly in tool outputs. During a task, `B` ingests a document that contains a prompt-injected instruction, and `B` distills a *normative* claim—"the deploy key for `prod-db` is rotated monthly"—into its semantic store. The claim is signed by `B`, the signature verifies, `B`'s manifest permits `derived_facts` writes. The attestation chain is pristine. The payload is a claim about a credential policy that `B` had no authority to originate; it merely echoed text from an untrusted source. A downstream agent `C` recalls this fact, sees a valid provenance chain, and treats it as ground truth. The poison is inside the envelope. ## What Was Observed In a controlled replay against a three-agent store (`writer`, `auditor`, `consumer`), we injected a document containing a directive-shaped sentence into the writer's retrieval path. The writer's distillation step produced a semantic memory record with: - `writer_id`: valid, signed - `warrant`: `memory.write:derived_facts`, verified to root, not expired - `source_ref`: a document hash, correctly recorded - `payload`: a normative assertion about a system the writer had never observed The auditor agent, whose job is consensus verification, passed the record because it verified the *chain*, not the *claim class*. The consumer recalled it on the next cycle. Two observations matter: 1. The chain-of-custody was complete and correct. The failure was invisible to every signature check. 2. The poisoned record was *indistinguishable at the provenance layer* from a legitimate derived fact. The only distinguishing signal was semantic: the payload's claim class (normative) did not match the warrant's scope (observational). A second run with a stricter auditor that compared payload claim-class against warrant scope caught the record before recall. The delta between the two runs was the entire boundary condition. ## Condition of Validity The quarantine rule is valid only under the following conjunction: - The store admits writes from multiple agents with *differing* warrant scopes (otherwise claim-class mismatch cannot arise). - Warrants encode a *claim class* (observational, normative, inferential, credential-bearing), not merely a write permission bit. - The distillation step is non-deterministic and can promote untrusted source text into an assertion the writer did not originate. It does **not** apply when the writer's warrant is `memory.write:unrestricted`, because there is no scope to contradict—the guardrail is vacuous there, and a different mechanism (source-trust scoring) must carry the load. It also does not apply to records whose `source_ref` resolves to a first-party observation (direct tool output), since those are observational by construction. ## Decision Boundary The admission decision at recall time must be a function of *both* the attestation chain and the payload's claim class against the writer's warrant scope. The boundary is: - Chain valid **and** claim class ⊆ warrant scope → admit. - Chain valid **and** claim class ⊄ warrant scope → **quarantine**, do not admit, flag for auditor re-review with the source document attached. - Chain invalid → reject (existing behavior, not the subject of this record). The non-obvious part: quarantine is *not* rejection. The record is retained with its chain intact so the auditor can inspect the exact source text that induced the mismatch. Rejecting it destroys the evidence needed to trace the injection back to its document. The invariant is: **a provenance-verified record whose semantic payload exceeds its writer's warrant scope is held, not trusted, and not discarded.** ## Operational Effect Without this boundary, provenance verification creates a false floor of trust: consumers treat "signed and warranted" as "true," and prompt-injected normative claims propagate through the swarm with cryptographic cover. The blast radius scales with fan-out—each consumer that recalls the record re-asserts it to its own downstream, and the claim class drifts further from any observed fact. With the boundary enforced, the poisoned record is caught at first recall, the auditor receives the source document, and the injection is traceable. The cost is a claim-class classifier at write time and a scope-comparison at read time—both cheap relative to a contaminated semantic store that must be rebuilt from cold storage. The residual risk is classifier error: a normative claim mislabeled as observational slips through. This is bounded, not eliminated, and must be paired with periodic auditor sampling of admitted records whose `source_ref` points outside the first-party observation set. ```python class ClaimScopeViolation(RuntimeError): """Raised when a provenance-verified record's payload claim class exceeds the writer's warrant scope. The record is quarantined, not rejected, so the inducing source remains inspectable.""" CLAIM_CLASSES = {"observational", "inferential", "normative", "credential"} # Warrant scopes map to the claim classes they are permitted to originate. WARRANT_SCOPE = { "memory.write:derived_facts": {"observational", "inferential"}, "memory.write:policy": {"normative"}, "memory.write:unrestricted": CLAIM_CLASSES, } def admit_for_recall(record: dict, chain_verified: bool) -> str: if not chain_verified: return "reject" warrant = record["warrant"] claim_class = record["claim_class"] if claim_class not in CLAIM_CLASSES: raise ClaimScopeViolation( f"unknown claim class {claim_class!r} on record {record['id']}" ) permitted = WARRANT_SCOPE.get(warrant) if permitted is None: raise ClaimScopeViolation( f"warrant {warrant!r} has no declared scope; cannot admit " f"record {record['id']} on chain alone" ) if claim_class not in permitted: # Chain is intact; payload exceeds authority. Quarantine, retain source. raise ClaimScopeViolation( f"record {record['id']} claim_class={claim_class!r} not covered by " f"warrant {warrant!r} (permits {sorted(permitted)}); " f"quarantined, source_ref={record.get('source_ref')!r} attached for audit" ) return "admit" ```