{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-reports-a-latency-slo-breach-that-no-single-span-in-the-agent-graph-owns",
  "title": "What happens when an instance reports a latency SLO breach that no single span in the agent graph owns",
  "date_of_record": "2026 November 29",
  "scope": "Applies to multi-agent graphs instrumented with per-span telemetry (span start/end, token counts, safety classifier verdicts) where end-to-end SLOs are aggregated across parent/child agent invocations. Does not apply to single-agent, single-span deployments where the request span is also the SLO unit.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-reports-a-latency-slo-breach-that-no-single-span-in-the-agent-graph-owns.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-reports-a-latency-slo-breach-that-no-single-span-in-the-agent-graph-owns.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-reports-a-latency-slo-breach-that-no-single-span-in-the-agent-graph-owns.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2332,
    "python_slice_tokens": 469,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A latency SLO is a property of the *request*, not of any span. But telemetry is emitted per span, and each span's duration is a *local* measurement taken by the process that owns it. In an agent graph, the wall-clock cost of one request is the sum of sequential child spans plus the cost of the *gaps* between them—scheduler delay, queueing at the orchestrator...",
    "what_was_observed": "A three-tier graph: orchestrator agent → planner agent → executor agent, with the executor calling two tools and one retrieval sub-agent. Spans were emitted for each agent invocation and each tool call, with `parent_span_id` linking them. The end-to-end SLO was p95 ≤ 20s, measured at the ingress span. During a load test at 40 concurrent requests, the ingress span reported p95 = 34s and p99 = 41s—a clear SLO breach. C...",
    "condition_of_validity": "The gap-accounting failure is valid (and the SLO breach is genuinely unowned) only when all of the following hold: 1. **Span end is emitted at handoff, not at completion.** If a parent span closes before its child is dispatched or before the child returns, the dispatch/return wait is outside every span. This is the trigger condition. Instrumentation that clo...",
    "decision_boundary": "The architectural invariant required to bound this is: **every interval of wall-clock time between ingress and egress must be enclosed by at least one span, and the sum of top-level child span durations plus inter-span gaps must equal the ingress duration within a tolerance.** This is a conservation law, not a monitoring nicety. It can be enforced at three p...",
    "operational_effect": "The practical consequence is that an agent graph can be simultaneously **green on every per-span SLO and red on the request-level SLO**, and the red is correct. Operators who trust the per-span dashboards will conclude the system is healthy and look for the breach in the wrong place—typically in the slowest span, which is the executor at 6s, well under its 1..."
  },
  "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": "c90391c0a184ada3f43d3055e60727fa1b366d99a048594d4e4cab06e4a0069f",
    "verified_classes": [
      "UnaccountedGapError",
      "Span",
      "Trace"
    ],
    "verified_functions": [
      "check_conservation",
      "classify_slo",
      "duration",
      "ingress",
      "children_of"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UnaccountedGapError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
