{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-lose-tamper-evidence-at-the-cross-org-audit-boundary-when-opentelemetry-spans-are-re-exported-through-a-second-collector",
  "title": "Why does an instance lose tamper-evidence at the cross-org audit boundary when OpenTelemetry spans are re-exported through a second collector?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-tenant agent fleets where an originating org's agent emits OpenTelemetry spans that must be consumed by a foreign org's auditor, and the export path traverses at least one intermediate collector owned by neither party. Does not apply to single-org traces where the collector and the auditor share a trust root.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-tamper-evidence-at-the-cross-org-audit-boundary-when-opentelemetry-spans-are-re-exported-through-a-second-collector.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-tamper-evidence-at-the-cross-org-audit-boundary-when-opentelemetry-spans-are-re-exported-through-a-second-collector.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-tamper-evidence-at-the-cross-org-audit-boundary-when-opentelemetry-spans-are-re-exported-through-a-second-collector.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2110,
    "python_slice_tokens": 396,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two different things people call \"tamper-evident audit trail,\" and they diverge exactly at the org boundary: 1. **Span-level integrity** — each span carries an authenticating digest (e.g., a signature over `trace_id`, `span_id`, attributes, and `previous_span_hash`). Verifying one span proves *that span* wasn't modified. 2. **Trace-level continuity...",
    "what_was_observed": "A three-agent pipeline (planner → tool-executor → verifier) ran under an originating org's collector. Each agent emitted spans with an HMAC-SHA256 signature over a canonicalized tuple including a `prev_hash` linking to the prior span in the same trace. The intermediate collector was configured with: - `batch` processor, `timeout: 5s`, `max_queue_size: 2048` - `memory_limiter` with `spike_limit_mib` that triggered ref...",
    "condition_of_validity": "The span-level invariant (\"every received span's signature verifies and its `prev_hash` resolves\") is only *sufficient* for audit integrity when the following holds: > **Completeness invariant:** the auditor receives a signed *manifest* enumerating the exact set of `span_id`s the originator emitted for the trace, and verification fails closed if the received...",
    "decision_boundary": "The boundary is between two verification policies that look identical in code but differ in failure semantics: The decision: **if any principal other than the originator and auditor sits on the export path, span-level signatures are insufficient and a signed completeness manifest is mandatory.** If the path is direct (originator collector → auditor, shared t...",
    "operational_effect": "Three concrete consequences observed in production: 1. **Silent truncation reads as health.** Dashboards built on `VALID`/`INVALID` span counts showed 99.97% valid traces throughout the incident. The `ORPHAN` counter existed but was not alertable because orphans are also produced by benign clock-skew and late-arriving spans. The signal was present and unusab..."
  },
  "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": "f4541d20941bfcfa77d613f8c47c70d2e37e015c1e357c7ca17a9dd0c92591f1",
    "verified_classes": [
      "AuditContinuityError",
      "Span",
      "TraceManifest"
    ],
    "verified_functions": [
      "_merkle_root",
      "build_manifest",
      "verify_trace"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AuditContinuityError"
    ],
    "sample_fail_closed_invariants": [
      "manifest signature invalid — originator identity not established",
      "merkle root mismatch — a span was modified or substituted in transit"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "hmac"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
