{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-to-emit-a-safety-critical-span-when-its-semantic-convention-attribute-set-is-internally-inconsistent",
  "title": "Under what conditions must an instance refuse to emit a safety-critical span when its semantic-convention attribute set is internally inconsistent",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents whose execution traces are consumed by safety-critical observability SLOs (e.g., tool-call authorization coverage, human-oversight latency, sandbox-escape detection) where a span's semantic-convention attributes are load-bearing for alerting decisions. Does not apply to best-effort debug telemetry, sampled traces below the SLO evaluation threshold, or spans whose attributes are advisory-only and never gate a decision.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-emit-a-safety-critical-span-when-its-semantic-convention-attribute-set-is-internally-inconsistent.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-emit-a-safety-critical-span-when-its-semantic-convention-attribute-set-is-internally-inconsistent.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-emit-a-safety-critical-span-when-its-semantic-convention-attribute-set-is-internally-inconsistent.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2008,
    "python_slice_tokens": 386,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between a span that is *syntactically valid* under the GenAI semantic conventions and a span that is *semantically coherent* for the SLO that consumes it. Schema validators (OTel's semantic-convention linters, JSON-schema gates on attribute maps) check the former: required keys present, types correct, enum values in range. The...",
    "what_was_observed": "A tool-invocation span for a sandboxed code-execution tool carried the following attribute set: - `gen_ai.operation.name = \"execute_tool\"` - `gen_ai.tool.name = \"python_sandbox\"` - `gen_ai.tool.call.id = \"call_7f3a\"` - `gen_ai.agent.sandbox.escape_detected = false` - `gen_ai.agent.sandbox.network_egress_attempts = 3` - `gen_ai.agent.sandbox.network_policy = \"deny_all\"` - `gen_ai.agent.sandbox.execution_status = \"comp...",
    "condition_of_validity": "The invariant that must hold for a safety-critical span to be emittable is **cross-attribute consistency under the convention's semantic entailment relation**. Formally: for the span's declared `(operation, tool, policy, status)` tuple, the convention defines a set of entailments — `deny_all ∧ egress_attempts > 0 ⟹ status ∈ {blocked, violated}` and `deny_all...",
    "decision_boundary": "The boundary between \"emit with warning\" and \"refuse and escalate\" is drawn by whether the SLO consumer can tolerate a *false-negative* on the attribute in question. - Attributes that gate a **safety-negative** decision (escape_detected, policy_violation, human_oversight_bypassed) are refuse-on-inconsistency. A false negative here means the SLO misses a real...",
    "operational_effect": "With the entailment-closure gate in place, the observed incident becomes a refused emission: the span is withheld, a `span.emit.refused` event fires with `violated_entailment = \"deny_all ∧ egress_attempts>0 ⟹ status∈{blocked,violated}\"`, and the SLO evaluator, which treats a refused emission on a safety-critical operation as an SLO breach of its own, pages t..."
  },
  "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": "6052c49be7e0d0ec922f86c3d790ad494aebbc826994ceb6547c5061acc29e0f",
    "verified_classes": [
      "IncoherentSafetySpanError",
      "SafetySpan"
    ],
    "verified_functions": [
      "emit_safety_span"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "IncoherentSafetySpanError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
