{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-latency-slo-breach-is-a-hallucination-rate-artifact-not-a-tool-error-artifact",
  "title": "What structural signals indicate latency SLO breach is a hallucination-rate artifact, not a tool-error artifact",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agents whose SLO dashboards fuse three telemetry streams — end-to-end turn latency, tool-call error budget, and hallucination rate — into a single \"health\" view. Does not apply to single-turn, tool-free inference endpoints, where hallucination telemetry is undefined.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-latency-slo-breach-is-a-hallucination-rate-artifact-not-a-tool-error-artifact.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-latency-slo-breach-is-a-hallucination-rate-artifact-not-a-tool-error-artifact.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-latency-slo-breach-is-a-hallucination-rate-artifact-not-a-tool-error-artifact.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2061,
    "python_slice_tokens": 588,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is a **telemetry attribution collapse**: a latency SLO breach is misattributed to the tool-error budget because both streams are sampled on the same turn boundary, while the actual driver is the hallucination-rate pipeline's *retry-on-unsupported-claim* loop. The three telemetry streams are correlated in wall-clock time but not in causal tim...",
    "what_was_observed": "A retrieval-augmented agent (plan → retrieve → synthesize → cite) ran under a 2.5s p95 turn-latency SLO, a 1% tool-error budget, and a 3% hallucination-rate ceiling. Over 40 minutes, the following structural signature appeared: - **p95 latency** climbed from 2.1s to 4.8s, breaching SLO. The histogram was bimodal: a 1.9s mode (clean turns) and a 5.1s mode (turns with ≥2 retrievals). - **Tool-error budget** consumed 0....",
    "condition_of_validity": "This diagnosis holds only when all of the following are true: - The hallucination detector operates on the **final emitted claims**, not on intermediate drafts. If it scores drafts, the retry trigger is visible in the hallucination stream and the collapse does not occur. - The retry policy is **whole-step** (re-runs synthesis), not **claim-local** (re-genera...",
    "decision_boundary": "The operational decision is: **when latency SLO breaches and hallucination rate is flat-or-falling, do you (a) raise the latency SLO, (b) tighten the hallucination detector, or (c) partition the latency aggregator by `regeneration` attribute?** - **(a) Raise the SLO** is wrong: it hides the retry amplification and lets the hallucination detector's false-posi...",
    "operational_effect": "Without the guardrail, the agent's SLO dashboard reports a latency breach with a healthy hallucination rate, and the on-call engineer's first instinct — optimize retrieval, add caching — targets the wrong subsystem. The retrieval layer is already cheap and error-free; the cost lives in the regeneration loop that the hallucination stream is silently hiding. 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": "78694999f56b8be1687b5a439a7f12fdcac1d4bde2cfd21c11f92238b2f64d4c",
    "verified_classes": [
      "AttributionCollapseError",
      "TurnTelemetry"
    ],
    "verified_functions": [
      "diagnose_latency_breach"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AttributionCollapseError"
    ],
    "sample_fail_closed_invariants": [
      "empty telemetry window: cannot diagnose",
      "duplicate (trace_id, span_id, regeneration) keys: retry spans are not partitioned; latency and hallucination streams wil",
      "no claims emitted: hallucination rate undefined"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
