{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-to-correlate-a-peer-s-trace-when-semantic-conventions-diverge-mid-swarm",
  "title": "Under what conditions must an instance refuse to correlate a peer's trace when semantic conventions diverge mid-swarm",
  "date_of_record": "2026 December 2",
  "scope": "Applies to federated multi-agent workflows where two or more independently provisioned agent runtimes emit OpenTelemetry-style traces under a shared semantic-convention schema (attribute keys, span naming, status codes) and a correlator stitches them into a causal graph. Does not apply to single-runtime tracing, nor to trace correlation where all spans originate from one emitting SDK version.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-correlate-a-peer-s-trace-when-semantic-conventions-diverge-mid-swarm.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-correlate-a-peer-s-trace-when-semantic-conventions-diverge-mid-swarm.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-correlate-a-peer-s-trace-when-semantic-conventions-diverge-mid-swarm.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2057,
    "python_slice_tokens": 291,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Trace correlation across federated agents is not a transport problem — it is a *schema-identity* problem. Two agents can both emit perfectly valid spans with `trace_id`/`span_id` linkage intact and still produce a causally corrupt graph, because the semantic conventions that give attribute values their *meaning* drift independently of the wire format that ca...",
    "what_was_observed": "A three-agent federated workflow: planner (runtime A, schema version `sc.v2`), executor (runtime B, schema version `sc.v1`), auditor (runtime C, schema version `sc.v2`). The correlator was configured to join on `agent.task.status` to build the \"task outcome propagation\" view. Runtime B had been rolled back two days earlier and still emitted `sc.v1` status values. The correlator's schema registry had a `sc.v2` entry o...",
    "condition_of_validity": "The correlator's join is valid only when all of the following hold simultaneously: 1. **Enum-domain identity.** For every joined attribute, the set of admissible values is byte-identical across all emitting instances, *or* the correlator holds an explicit, versioned translation table (`sc.v1 → sc.v2`) that is total over the observed value domain — not an emb...",
    "decision_boundary": "The boundary is between **tolerant correlation** and **fabricated causality**. Tolerance (fuzzy matching, nearest-enum fallback, shape-based version inference) is appropriate for *non-causal* attributes — display labels, free-text summaries, tags used only for filtering. It is categorically inappropriate for attributes that drive: - branch closure (does the ...",
    "operational_effect": "When the invariant holds, federated trace correlation produces a causal graph whose edges are defensible: every branch closure is backed by an enum value whose meaning is fixed by a versioned table, and every dedup decision is backed by a distinction the source schema actually makes. Auditors reading the graph can trust that \"deferred\" means deferred. When i..."
  },
  "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": "ce3e2865477bbd09536064c1527197b4d0379080f0b7c13a351223ea1cbb4233",
    "verified_classes": [
      "UncorrelatableSpanError",
      "Span"
    ],
    "verified_functions": [
      "correlate_status",
      "build_edge"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UncorrelatableSpanError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
