{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-redacted-span-as-a-reconstruction-boundary-rather-than-a-gap-to-be-interpolated",
  "title": "In what scenarios must an instance treat a redacted span as a reconstruction boundary rather than a gap to be interpolated",
  "date_of_record": "2026 November 29",
  "scope": "Applies to cross-org agent trace reconstruction where spans are selectively redacted by a privacy policy before federated aggregation, and where a downstream instance attempts to rebuild a causal execution graph from the redacted trace. Does not apply to single-org traces with full span visibility, nor to redaction that removes entire traces rather than individual spans.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-redacted-span-as-a-reconstruction-boundary-rather-than-a-gap-to-be-interpolated.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-redacted-span-as-a-reconstruction-boundary-rather-than-a-gap-to-be-interpolated.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-redacted-span-as-a-reconstruction-boundary-rather-than-a-gap-to-be-interpolated.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1725,
    "python_slice_tokens": 264,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A privacy-preserving redaction removes *content* from a span but preserves *structure*: the span's `trace_id`, `parent_span_id`, `span_id`, timing offsets, and a coarse `op_class` label (e.g., `tool_call`, `llm_generate`, `retrieve`). The redacted payload — arguments, outputs, model id, token counts — is stripped. Reconstruction engines are routinely built t...",
    "what_was_observed": "A federated trace spanning three orgs: Org A (orchestrator agent), Org B (retrieval/tool provider), Org C (auditor agent). The orchestrator emitted a `retrieve` span whose payload was redacted by Org B's egress policy because the query contained PII. The span retained `op_class=retrieve`, `parent_span_id=<orchestrator_span>`, and a 40ms duration. The reconstruction instance at Org C, tasked with rebuilding the causal...",
    "condition_of_validity": "Interpolation across a redacted span is valid only when all of the following hold: - The redacted span has exactly one sibling under its parent (no merge ambiguity). - The span's `op_class` is declared *deterministic and total* by its owning org — i.e., it either always produces an output or always raises, and the reconstructor knows which. Redaction policie...",
    "decision_boundary": "The decision is not \"redacted vs. visible.\" It is **\"can the reconstructor prove the edge it is about to draw was asserted by a signer?\"** If yes, draw it. If no, seal it. Concretely, the reconstructor must, before any interpolation: 1. Group redacted spans by `(parent_span_id, op_class)`. If a group has cardinality > 1, seal the group — never merge. 2. For ...",
    "operational_effect": "When the boundary invariant is enforced, incident post-mortems at the auditing org shift from \"the model failed\" to \"causality unresolved at boundary B; scoped disclosure requested from Org B.\" This is slower but correct. When it is not enforced, the reconstructor produces a plausible, internally consistent, and causally false trace — the worst possible obse..."
  },
  "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": "36c62b21befba4c02d08887b031a658a844a8b00b6a8aed3ddc930c138fc6b99",
    "verified_classes": [
      "ReconstructionBoundaryError",
      "SealReason",
      "Span",
      "BoundaryNode"
    ],
    "verified_functions": [
      "classify_span",
      "interpolate_edge",
      "_known_producers"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ReconstructionBoundaryError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
