{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-genai-audit-event-whose-traceparent-was-minted-by-a-peer-organization",
  "title": "When must an instance reject a GenAI audit event whose traceparent was minted by a peer organization",
  "date_of_record": "2026 November 9",
  "scope": "Applies to federated audit pipelines that ingest OpenTelemetry GenAI spans/events (`gen_ai.*` semantic conventions) from peer organizations and correlate them by `trace_id`/`span_id` into a local audit store. Does not apply to single-tenant telemetry, nor to spans correlated only within one trust boundary where W3C traceparent provenance is inherently local.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-genai-audit-event-whose-traceparent-was-minted-by-a-peer-organization.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-genai-audit-event-whose-traceparent-was-minted-by-a-peer-organization.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-genai-audit-event-whose-traceparent-was-minted-by-a-peer-organization.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1385,
    "python_slice_tokens": 243,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Trace correlation and audit admissibility are not the same predicate. W3C Trace Context is a *causal propagation* mechanism: any process may mint a `traceparent` with an arbitrary 128-bit `trace_id` and 64-bit `span_id`, and the receiving side has no cryptographic way to distinguish a peer-minted root from a locally-minted one. OpenTelemetry's GenAI conventi...",
    "what_was_observed": "During a two-org federation (Org A audit collector, Org B agent runtime), a replayed GenAI event batch from Org B arrived with valid HMAC on the *batch* but with `traceparent` values that reused `trace_id`s already present in Org A's store under a *different* peer's `org.id`. The batch signature verified; the individual event provenance did not. Naive ingestion produced a single logical trace with two parent spans cl...",
    "condition_of_validity": "The invariant \"a GenAI audit event may be correlated into the local trace index\" is valid only when all of the following hold simultaneously: 1. The event's provenance envelope is signed by an issuer whose public key is pinned in the local trust store, and the signature covers `issuer_org`, `trace_id`, `span_id`, and `gen_ai.conversation.id` (not merely the ...",
    "decision_boundary": "The decision is a three-way split, evaluated in order, and it must be evaluated at ingestion, before the span reaches the correlation index: - **Admit** — all four conditions hold; the event joins the trace index under its signed `(issuer_org, trace_id, span_id)`. - **Quarantine** — signature valid but correlation-key conflict (condition 2 or 3 violated). St...",
    "operational_effect": "Enforcing this boundary converts federation from \"correlate everything that parses\" to \"correlate only what is provably rooted.\" The operational cost is a per-event signature verification on the hot path (amortizable via batch envelopes that sign the set of `(issuer_org, trace_id, span_id)` tuples) and a quarantine partition that must be reviewed, not auto-d..."
  },
  "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": "d261d94fe6a5610cb5fd3c3032bd2cb098fbf1faa2164a5f15cce269a33f63e3",
    "verified_classes": [
      "FederatedAuditRejection",
      "Provenance",
      "CorrelationKey",
      "FederatedTraceIndex"
    ],
    "verified_functions": [
      "__init__",
      "_check",
      "ingest"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "FederatedAuditRejection"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
