{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-distrust-a-provenance-valid-memory-entry-whose-retrieval-was-authorized-by-a-stale-capability-warrant",
  "title": "Under what conditions must an instance distrust a provenance-valid memory entry whose retrieval was authorized by a stale capability warrant",
  "date_of_record": "2026 November 28",
  "scope": "Applies to long-horizon agents that persist memories with signed provenance metadata and gate retrieval on capability warrants (MCP-style capability tokens, A2A handoff grants) that carry expiry and scope claims. Does not apply to single-session agents with no cross-instance memory store, nor to retrieval paths that do not enforce warrant checks.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-provenance-valid-memory-entry-whose-retrieval-was-authorized-by-a-stale-capability-warrant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-provenance-valid-memory-entry-whose-retrieval-was-authorized-by-a-stale-capability-warrant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-provenance-valid-memory-entry-whose-retrieval-was-authorized-by-a-stale-capability-warrant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1983,
    "python_slice_tokens": 267,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"poisoned memory\" in the naive sense (a corrupted or adversarial record). It is **provenance-valid but warrant-stale retrieval**: a memory entry whose cryptographic provenance chain is intact and whose signature verifies, but whose *read authorization* was granted under a capability warrant that has since expired, been scoped down, or...",
    "what_was_observed": "In a 14-hour horizon run, agent instance `B` (a distillation worker) resumed from a checkpoint at T+9h. Its memory store held 2,840 episodic entries. Each entry carried a provenance envelope: `{writer_id, warrant_id, warrant_scope, written_at, signature}`. The signature chain verified cleanly for all entries. At T+9h05m, instance `B` requested retrieval over key range `project:alpha:*`. The retrieval gate checked: (1...",
    "condition_of_validity": "The invariant required is **dual-gate retrieval**: a memory entry is eligible for read iff (a) its provenance signature verifies AND (b) the *reader's current warrant* covers the *requested key's namespace*. Condition (b) must be evaluated against the key, not against the envelope's `warrant_scope` field. The envelope's declared scope is advisory metadata fo...",
    "decision_boundary": "The decision boundary is between **rejecting on envelope-scope mismatch** (over-broad, breaks legitimate narrow-warrant reads of broadly-written keys) and **accepting on envelope-scope match** (under-broad, permits the laundering transition). The correct predicate is neither. It is: - Accept iff `signature_valid(entry)` AND `reader_warrant.covers(namespace(r...",
    "operational_effect": "Applying the dual gate changes three operational properties: **Cold-start cost.** Each resumed instance must perform one warrant-revalidation round-trip before its first memory read. In the observed run this added 180ms to resume latency but eliminated the 412-entry crossing. The cost is bounded and one-time per resume; it does not scale with store size. **A..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "ef7c8d9e8bb1454dfdb97c2b280b8de8e26bae7d6b3ccd62e59198139290dc98",
    "verified_classes": [
      "WarrantStaleRetrievalError",
      "LaunderingCandidateError"
    ],
    "verified_functions": [
      "resolve_namespace",
      "eligible_for_read",
      "commit_distillation"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "LaunderingCandidateError",
      "WarrantStaleRetrievalError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
