{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-to-merge-a-federated-crdt-memory-delta-when-its-causal-history-is-only-partially-visible",
  "title": "Where must an instance refuse to merge a federated CRDT memory delta when its causal history is only partially visible?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to federated agent-memory systems where two or more organizations replicate a shared semantic memory as a conflict-free replicated data type (CRDT), and access control is enforced per-field rather than per-replica. Does *not* apply to single-tenant CRDT stores, or to federated systems where the full causal history of a delta is guaranteed to be visible to every merging replica.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-merge-a-federated-crdt-memory-delta-when-its-causal-history-is-only-partially-visible.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-merge-a-federated-crdt-memory-delta-when-its-causal-history-is-only-partially-visible.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-merge-a-federated-crdt-memory-delta-when-its-causal-history-is-only-partially-visible.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2528,
    "python_slice_tokens": 521,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is not *authorization to read a value* versus *authorization to write a value*. It is **causal-history visibility** versus **value visibility**. A CRDT merge is only sound if the merging replica can observe the *entire* causal ancestry of every operation it folds in. In a federated multi-org memory, cross-org access control ...",
    "what_was_observed": "Two orgs, A and B, share a federated episodic memory keyed by `(agent_id, task_id, slot)`. The CRDT is an observed-remove map (OR-Map) with last-writer-wins registers per slot, using Lamport timestamps plus replica IDs for tie-breaking. Access control is enforced by a field-level ACL: org B is permitted to see slots tagged `public` and `shared/*`, but slots tagged `private/*` are redacted from any delta B receives. T...",
    "condition_of_validity": "The merge is sound only under the conjunction: - **Frontier honesty:** the delta's version vector must equal the *visible* causal frontier, not the origin replica's true frontier. If redaction removes op `(6, A)`, the delta's vector for A must be `{A: 5}` with an explicit gap marker `{A: 6 → redacted}`, not `{A: 7}`. - **Redaction as first-class CRDT operati...",
    "decision_boundary": "The operational decision is: **when a delta's version vector advances a replica's frontier across a redaction gap, does the replica (a) accept the delta and advance, (b) accept the delta's effects but hold the frontier, or (c) reject the delta and request a gap-closing delta?** - Choose **(a)** only when the redaction is *value-only* — the redacted op's dot ...",
    "operational_effect": "The practical consequence is that federated memory sharing cannot treat access-control redaction as a transport-layer filter applied *after* CRDT delta construction. Redaction must be a CRDT operation with its own dot, its own Lamport timestamp, and its own participation in conflict resolution. This forces three architectural changes: 1. **Redaction tombston..."
  },
  "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": "553cf126299d5c6d7edc1584ebd6b32cb0343d1ac25b9351fbd5ccc715da2f77",
    "verified_classes": [
      "CausalGapError",
      "FederatedDelta",
      "LocalReplica"
    ],
    "verified_functions": [
      "merge_delta",
      "reconcile"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CausalGapError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
