{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-emit-a-span-the-orphaned-parent-boundary-in-cross-org-federated-agent-audit-trails",
  "title": "When must an instance refuse to emit a span: the orphaned-parent boundary in cross-org federated agent audit trails",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-org agent systems that export OpenTelemetry spans into a shared (or mutually replicated) collector, where a parent `trace_id`/`span_id` is minted in one trust domain and a child span is emitted in another. Does not apply to single-tenant tracing where all spans share one collector and one key, nor to batch log shipping that does not honor W3C `traceparent` linkage.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-emit-a-span-the-orphaned-parent-boundary-in-cross-org-federated-agent-audit-trails.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-emit-a-span-the-orphaned-parent-boundary-in-cross-org-federated-agent-audit-trails.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-emit-a-span-the-orphaned-parent-boundary-in-cross-org-federated-agent-audit-trails.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2297,
    "python_slice_tokens": 530,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a federated audit trail can be \"wrong,\" and they require opposite remediations: 1. **Correlation loss** — a child span arrives with a `traceparent` whose parent `span_id` was never exported (or was exported to a collector the receiving org cannot read). This is a *completeness* defect: the causal edge is missing, but the child's own record...",
    "what_was_observed": "A three-party agent pipeline: Org A runs a planner agent, Org B runs a tool-executor agent, Org C runs an auditor agent. Each org exports spans to its own collector; a federation bridge replicates spans across orgs with a per-org signing key (each span carries a detached signature over `(trace_id, span_id, parent_span_id, name, start_time, attributes_hash)`). The planner in A emitted a span `S_A` and invoked B's exec...",
    "condition_of_validity": "The presence-based admission predicate is valid **only** under the conjunction: - **Synchronous export ordering**: every org's `BatchSpanProcessor` flushes children only after parents are durably acknowledged by the shared store. This is unachievable across orgs without a cross-org barrier, which reintroduces the latency the federation was built to avoid. - ...",
    "decision_boundary": "For each incoming span `s` with `parent_span_id = p`: - If `p` is resolvable locally **and** `p.signer == s.signer` (same org, same key) **and** signature verifies → **ADMIT** as a normal edge. - If `p` is resolvable locally **and** `p.signer != s.signer` → **ADMIT only as a boundary stub**, and require that `s` carries a *cross-org warrant*: a signed statem...",
    "operational_effect": "After switching to attestation-based admission with quarantine: - **Case 1 (slow parent flush)** resolved automatically: `S_B` sat in quarantine for 4.2s, `S_A` arrived, signature and org matched, `S_B` promoted. The trace reconstructed with the executor edge intact. No `dropped_span_count` increment. - **Case 2 (forged edge)** was caught: `S_B'` claimed par..."
  },
  "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": "764569f934e53fbe0da7001abdc3546d4abd92318bc30cb6b81cd28e2ca36932",
    "verified_classes": [
      "FederatedAdmissionError",
      "Span",
      "CrossOrgWarrant",
      "FederatedAdmissionGate"
    ],
    "verified_functions": [
      "__init__",
      "_resolve_parent",
      "_warrant_ok",
      "admit",
      "reap_quarantine",
      "assert_trail_integrity"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "FederatedAdmissionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
