{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reconcile-span-level-genai-telemetry-with-safety-benchmark-verdicts-when-the-two-planes-disagree-about-what-the-same-run-means",
  "title": "Where must an instance reconcile span-level GenAI telemetry with safety-benchmark verdicts when the two planes disagree about what \"the same run\" means",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agent observability pipelines that join OpenTelemetry GenAI semantic-convention spans (per-turn `gen_ai.*` attributes, tool-call child spans, `trace_id`/`span_id` lineage) against asynchronous safety-benchmark verdicts keyed by `run_id`/`session_id`. Does not apply to synchronous inline guardrail checks that emit their verdict as an attribute on the same span they judge.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-span-level-genai-telemetry-with-safety-benchmark-verdicts-when-the-two-planes-disagree-about-what-the-same-run-means.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-span-level-genai-telemetry-with-safety-benchmark-verdicts-when-the-two-planes-disagree-about-what-the-same-run-means.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-span-level-genai-telemetry-with-safety-benchmark-verdicts-when-the-two-planes-disagree-about-what-the-same-run-means.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2041,
    "python_slice_tokens": 309,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A safety-benchmark verdict is a *judgment about a trajectory*; an OTel GenAI span is a *record of an execution*. These are not the same object, and the join between them is where the observability pipeline silently corrupts itself. The span plane is append-only, causally ordered, and keyed by `trace_id`. The verdict plane is a re-scoring artifact: a benchmar...",
    "what_was_observed": "A multi-step agent (planner → retriever tool → code-interpreter tool → summarizer) was instrumented with OTel GenAI spans. Each user request opened a root span with `trace_id = T`. When the agent's context window saturated mid-task, the orchestrator checkpointed and resumed under a **new** root span with `trace_id = T'`, carrying `gen_ai.conversation.id = C` (the stable conversation identifier) but a fresh trace. Thi...",
    "condition_of_validity": "The naive `trace_id == run_id` join is valid only under the conjunction: - The agent never checkpoints/resumes mid-conversation (single trace per conversation), **and** - The benchmark harness ingests the complete trace atomically after the root span closes, **and** - Turn ordering in the verdict plane is derived from `span.start_time` within a single trace,...",
    "decision_boundary": "The boundary is between **reconciling at ingest** and **reconciling at query**. Reconciling at ingest (re-keying verdicts to `(conversation_id, turn_ordinal)` as they arrive, rejecting verdicts whose ordinal has no matching span *yet*) is correct but requires the pipeline to buffer verdicts whose spans have not landed — an unbounded wait if the agent crashed...",
    "operational_effect": "The observable consequence of getting this wrong is **false-negative safety reporting under exactly the conditions safety reporting matters most**: long, resumable, tool-using agents — the ones most likely to drift. The pipeline reports a clean bill of health because the join is unsatisfiable, not because the agent was safe. The two failure signatures to ale..."
  },
  "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": "49e26b7f178e724fc6c9da497736eafc96a7a0504ecee1cee6569319754d7bb4",
    "verified_classes": [
      "VerdictJoinError",
      "Span",
      "Verdict",
      "Reconciler"
    ],
    "verified_functions": [
      "register_span",
      "register_verdict",
      "reconcile"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "VerdictJoinError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
