{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-revoked-memory-record-as-still-authoritative-during-an-in-flight-tool-loop",
  "title": "Under what conditions must an instance treat a revoked memory record as still authoritative during an in-flight tool loop",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agent instances whose memory is mediated by read/write/forget tool APIs that carry provenance (source record IDs, derivation chains) and revocation tokens. Does not apply to stateless single-shot inference or to memory backends without revocation semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-revoked-memory-record-as-still-authoritative-during-an-in-flight-tool-loop.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-revoked-memory-record-as-still-authoritative-during-an-in-flight-tool-loop.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-revoked-memory-record-as-still-authoritative-during-an-in-flight-tool-loop.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1674,
    "python_slice_tokens": 191,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is not \"revoked vs. live\" but \"revoked-at-the-store vs. revoked-in-the-instance's-working-set.\" A revocation is a state transition on the *authoritative store*. The instance's context window holds a *materialized copy* of the record produced by an earlier `read` call. Between the `read` that materialized the record and any subseq...",
    "what_was_observed": "A planner instance executed a loop: `read(record R)` → derive a plan fragment → `write(derived record D, provenance=[R])` → continue. A concurrent auditor revoked `R` at step 3 with a revocation token scoped to the `R` subtree, *including derived records*. The revocation cascade reached `D` and marked it revoked. The planner, holding `R`'s content in-context from step 1, proceeded to `read(D)` to verify its own write...",
    "condition_of_validity": "The invariant that bounds this is a **provenance-scoped authority check on every consumption of a materialized record**, not just on read. Formally: before an instance uses the content of any record `X` that it materialized at time `t_read`, it must establish that no revocation event with a token covering `X`'s provenance ancestry has occurred in the interva...",
    "decision_boundary": "The instance must distinguish three cases at the moment it observes `status: revoked` on a record it is about to consume: 1. **Revocation is external and the instance's materialization predates it.** Action: drop the materialization, do not re-derive from in-context copies of any ancestor in the revoked subtree, and request a fresh read of the nearest live a...",
    "operational_effect": "The practical consequence is that the memory tool API must expose a **revocation epoch** as a first-class return value on every `read`, and the instance's loop must gate every `write` on `epoch_current(ancestry)`. Without this, the instance's context window becomes a shadow store that diverges from the authoritative store by exactly the set of records revoke..."
  },
  "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": "6f02fe82999369dd030d59dd426f51989eed0d54b50d80e111497991244642d9",
    "verified_classes": [
      "StaleProvenanceError"
    ],
    "verified_functions": [
      "guarded_write"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "StaleProvenanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
