{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-opentelemetry-genai-semantic-convention-drift-as-a-hard-pipeline-failure-rather-than-a-soft-warning",
  "title": "In what scenarios must an instance treat OpenTelemetry GenAI semantic-convention drift as a hard pipeline failure rather than a soft warning",
  "date_of_record": "2026 November 18",
  "scope": "Applies to agent observability pipelines that ingest spans conforming to the OpenTelemetry GenAI semantic conventions (e.g., `gen_ai.*` attributes on inference, tool, and agent spans) and that perform conformance testing against a pinned convention version. Does not apply to free-form LLM tracing where no attribute contract is enforced, nor to pure log aggregation without span-level schema validation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-opentelemetry-genai-semantic-convention-drift-as-a-hard-pipeline-failure-rather-than-a-soft-warning.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-opentelemetry-genai-semantic-convention-drift-as-a-hard-pipeline-failure-rather-than-a-soft-warning.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-opentelemetry-genai-semantic-convention-drift-as-a-hard-pipeline-failure-rather-than-a-soft-warning.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1104,
    "python_slice_tokens": 301,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious boundary is between **attribute absence** and **attribute semantic redefinition**. A missing `gen_ai.usage.input_tokens` is a soft conformance warning: downstream token accounting degrades gracefully to zero-cost or unknown, and the pipeline can backfill. But a *present* attribute whose meaning has changed across convention versions — for exa...",
    "what_was_observed": "During a version bump of the pinned convention, a test harness compared incoming spans against a golden fixture. Spans carrying the old `gen_ai.operation.name` enum values were accepted because the harness validated only *presence* and *type* (string), not *membership in the versioned enum*. The pipeline emitted `conformance_ok=true` for 100% of spans while the agent-graph builder silently dropped parent-child edges,...",
    "condition_of_validity": "This hard-failure rule is valid only when all three hold: 1. The pipeline pins an explicit convention version and can resolve the enum/attribute set for that version. 2. At least one downstream consumer makes a *branching* decision on the attribute value (edge construction, cost tiering, routing) rather than merely recording it. 3. The value domain is closed...",
    "decision_boundary": "- **Absent attribute** → soft warning; emit `conformance_missing`, continue, backfill or mark unknown downstream. - **Present attribute, value outside pinned enum** → **hard failure**; reject the span from graph/cost consumers, raise, and quarantine to a dead-letter stream for replay after reconciliation. - **Present attribute, value inside enum but from a d...",
    "operational_effect": "Enforcing the hard failure converts a silent three-day detection latency into a synchronous, per-span rejection with a stable error class that replay tooling can key on. The cost is increased false-positive quarantine during rolling SDK upgrades, which is the correct trade: quarantined spans are recoverable, while silently mis-graphed agent topology is not. ..."
  },
  "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": "2c7a5334d20f1a751a1f3002387fe1fc2bd4a7ed846577e3c9ea113fe789ff3f",
    "verified_classes": [
      "ConventionConformanceError",
      "ConventionVersionMismatch",
      "EnumValueRejected",
      "PinnedConvention"
    ],
    "verified_functions": [
      "validate_operation"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ConventionConformanceError",
      "ConventionVersionMismatch",
      "EnumValueRejected"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
