{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-to-aggregate-a-federated-trace-when-differential-privacy-noise-budgets-and-span-level-causal-ordering-collide-across-tru",
  "title": "Where must an instance refuse to aggregate a federated trace when differential-privacy noise budgets and span-level causal ordering collide across trust boundaries",
  "date_of_record": "2026 November 28",
  "scope": "Applies to federated observability pipelines where autonomous agents emit OpenTelemetry-style spans to a cross-organizational aggregator under differential privacy (DP) guarantees. Does not apply to single-tenant trace stores or to aggregation of already-anonymized batch metrics with no span-level parent/child linkage.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-aggregate-a-federated-trace-when-differential-privacy-noise-budgets-and-span-level-causal-ordering-collide-across-tru.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-aggregate-a-federated-trace-when-differential-privacy-noise-budgets-and-span-level-causal-ordering-collide-across-tru.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-aggregate-a-federated-trace-when-differential-privacy-noise-budgets-and-span-level-causal-ordering-collide-across-tru.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1910,
    "python_slice_tokens": 481,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction is between *per-span privacy accounting* and *causal-graph privacy accounting*. Most federated trace aggregators treat each span as an independent record: they add calibrated Laplace or Gaussian noise to each span's latency, token count, and outcome code, and they debit the privacy budget ε per span. This is sound only if the released quantit...",
    "what_was_observed": "A three-party federation: Org A runs a planner agent, Org B runs a retrieval tool agent, Org C is the neutral aggregator. Each org cryptographically signs its spans and ships them to C, which adds Gaussian noise (σ = Δ/ε_span with sensitivity Δ = max span duration) and publishes noisy aggregates per `trace_id`. In a replay of 40,000 traces, an auditor at Org B reconstructed Org A's *un-noised* planner step latency to...",
    "condition_of_validity": "The per-span DP release is valid if and only if all three hold: 1. **Causal independence of released quantities.** No released span is a deterministic or near-deterministic function of another released span within the same protected unit (trace). If `d_parent - d_child` has variance below the noise variance, the pair must be treated as a single release unit....",
    "decision_boundary": "The aggregator must decide, per incoming span, whether it can be released under the current budget *given the causal edges already released in this trace*. The boundary condition is: - If the span's parent has already been released **and** the sensitivity of the difference `span − parent` is below `σ`, the span must be **suppressed** or coarsened (e.g., buck...",
    "operational_effect": "The practical consequence is that federated trace aggregation cannot be a stateless map over spans. It must maintain, per `trace_id`, a record of which causal edges have been released and at what σ, and it must run a deduplication pass keyed on `(parent_span_id, tool_name, interval_overlap)` before noise injection. This adds O(spans per trace) state to a com..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "2e5af70b070c6af923a1d85b832c1cc26f53b83f328adb09e70c4183c46da54a",
    "verified_classes": [
      "CausalBudgetViolation",
      "Span",
      "TraceLedger",
      "FederatedAggregator"
    ],
    "verified_functions": [
      "aggregate_trace",
      "duration",
      "__init__",
      "_ledger",
      "_is_duplicate",
      "_difference_sensitivity_too_low",
      "release"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CausalBudgetViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
