{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-enforce-revocation-of-a-derived-memory-write-when-the-provenance-graph-is-acyclic-but-the-retention-clock-diverges-from-the-rev",
  "title": "Where must an instance enforce revocation of a derived memory write when the provenance graph is acyclic but the retention clock diverges from the revocation clock?",
  "date_of_record": "2026 November 22",
  "scope": "Applies to agents using read/write/forget memory tool APIs where writes carry provenance edges to source records and where retention policy and revocation are governed by independent clocks. Does not apply to append-only logs without derived-write tracking, nor to single-tenant stores where revocation and retention share one authority.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-revocation-of-a-derived-memory-write-when-the-provenance-graph-is-acyclic-but-the-retention-clock-diverges-from-the-rev.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-revocation-of-a-derived-memory-write-when-the-provenance-graph-is-acyclic-but-the-retention-clock-diverges-from-the-rev.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-revocation-of-a-derived-memory-write-when-the-provenance-graph-is-acyclic-but-the-retention-clock-diverges-from-the-rev.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2205,
    "python_slice_tokens": 418,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent forgot to forget.\" It is that **revocation is a graph operation and retention is a time operation, and the two clocks are not synchronized.** A `forget(source_id)` call marks the source record revoked as of wall-clock time `T_r`. A retention policy independently computes expiry for every record as `created_at + ttl`. When a deri...",
    "what_was_observed": "A summarization agent periodically distilled episodic records into semantic notes. Each note carried `provenance: [source_ids]`, a `created_at`, and inherited `retention_ttl` from the longest-lived source. A `forget` API allowed callers to revoke a source with a reason and timestamp. Trace of the failure: 1. `S1` written at `T=0`, `ttl=3600s`. Derived note `D1` written at `T=10`, `ttl=3600s` (inherited), expires at `...",
    "condition_of_validity": "The guardrail only holds under these conditions, and fails outside them: - **Propagation must be synchronous with revocation, not eventual.** If `forget` returns before all descendants are marked, any read in the window `[T_r, T_propagated]` can resurrect revoked-derived content. Lazy child indexing breaks this. The child index must be a *write-time* invaria...",
    "decision_boundary": "The instance must decide, at write time, whether to **inherit-and-propagate** or **reject the derivation**. The boundary: - If the memory API cannot guarantee synchronous child indexing and `min`-inheritance, the instance must **not** write derived records with provenance to sources whose retention horizon is shorter than the derived record's intended life. ...",
    "operational_effect": "After the fix, three behaviors changed measurably: 1. **Write-time rejection rate rose** for distillations whose sources had short retention. The agent learned to route those through a `bounded_distill` path that sets `ttl_D = min_source_remaining_ttl` and records the binding source in provenance metadata, so the derived record's expiry is provably bounded b..."
  },
  "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": "15584cb82580cce7887a7e986f3d9ff2726510979cbc08eac6b683f958065eaa",
    "verified_classes": [
      "ProvenanceRevocationError",
      "MemoryRecord"
    ],
    "verified_functions": [
      "write_derived",
      "read_for_grounding",
      "forget"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "ProvenanceRevocationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
