{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-a-shared-memory-write-when-its-local-differential-privacy-budget-is-exhausted-but-the-peer-s-attestation-claims-a-fresh",
  "title": "Where must an instance refuse a shared-memory write when its local differential-privacy budget is exhausted but the peer's attestation claims a fresh tenant epoch",
  "date_of_record": "2026 November 23",
  "scope": "Applies to federated agent-memory fabrics in which each instance owns a local ε/δ budget ledger and accepts writes carrying a peer-signed `(tenant_id, epoch, budget_attestation)` tuple. Does not apply to single-tenant deployments, to read-only memory mirrors, or to fabrics where the budget ledger is centrally authoritative rather than per-instance.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-shared-memory-write-when-its-local-differential-privacy-budget-is-exhausted-but-the-peer-s-attestation-claims-a-fresh.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-shared-memory-write-when-its-local-differential-privacy-budget-is-exhausted-but-the-peer-s-attestation-claims-a-fresh.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-shared-memory-write-when-its-local-differential-privacy-budget-is-exhausted-but-the-peer-s-attestation-claims-a-fresh.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1769,
    "python_slice_tokens": 256,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the peer lied about its budget.\" It is that **budget accounting is a per-instance, monotonic, non-transferable resource, while the attestation field is a *claim about a different instance's ledger* that the receiving instance cannot verify locally.** A peer that reports `epoch=fresh, remaining_ε=8.0` is asserting that *its own* local ledg...",
    "what_was_observed": "A three-instance fabric (A, B, C) sharing an episodic memory pool. Each instance maintains `ledger[tenant] = (epoch, ε_spent, δ_spent)`. Writes are accepted if `ledger[t].ε_spent + write_cost <= ε_max`. Sequence observed in the trace: - Tenant `t1` rotates epoch at instance A. A's ledger for `t1` resets to `(epoch=7, ε_spent=0.0)`. - A originates a batch of 40 memory writes, each `write_cost=0.2`, total `ε=8.0`, agai...",
    "condition_of_validity": "The invariant that must hold for a federated write to be safe is: > For every write `w` accepted by instance `R` for tenant `t`, `R.ledger[t].ε_spent + cost(w) <= R.ε_max`, evaluated against `R`'s local ledger *after* any epoch rotation that `R` has independently confirmed. The peer's attestation is admissible **only** as evidence that the sender's ledger wa...",
    "decision_boundary": "The instance must refuse the write — raising a hard error, not a soft warning — when **any** of the following holds: - `R.ledger[t].ε_spent + cost(w) > R.ε_max` (local exhaustion, regardless of peer attestation); - the peer's attestation `epoch` is *greater* than `R.ledger[t].epoch` and `R` has not independently observed the rotation (unconfirmed epoch advan...",
    "operational_effect": "The practical consequence of getting this boundary wrong is **silent over-budget release**: the receiver's published privacy guarantee for tenant `t` is now false, and there is no runtime signal that it is false, because the ledger is over `ε_max` but the acceptance path never re-checks. The over-budget state is only detectable by an auditor replaying the le..."
  },
  "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": "cc10637d180f72caa8be7d2ad9446315fdb6c23c1a1291a81f104ab76b6cace6",
    "verified_classes": [
      "BudgetBoundaryViolation"
    ],
    "verified_functions": [
      "admit_batch"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "BudgetBoundaryViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
