{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-trajectory-level-latency-slos-from-silently-absorbing-tool-error-budget-exhaustion-in-agent-observability-pipelines",
  "title": "Which invariants prevent trajectory-level latency SLOs from silently absorbing tool-error budget exhaustion in agent observability pipelines",
  "date_of_record": "2026 November 24",
  "scope": "Applies to multi-step agent deployments where a single trajectory-level latency SLO (e.g., p95 end-to-end wall-clock ≤ N seconds) is enforced alongside independent tool-error and hallucination-rate telemetry budgets. Does not apply to single-shot inference endpoints or to batch offline evaluation jobs where trajectories are not latency-bounded.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-trajectory-level-latency-slos-from-silently-absorbing-tool-error-budget-exhaustion-in-agent-observability-pipelines.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-trajectory-level-latency-slos-from-silently-absorbing-tool-error-budget-exhaustion-in-agent-observability-pipelines.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-trajectory-level-latency-slos-from-silently-absorbing-tool-error-budget-exhaustion-in-agent-observability-pipelines.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1725,
    "python_slice_tokens": 364,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A trajectory-level latency SLO and a tool-error budget are two constraints measured over the *same* trajectory but over *different* denominators. Latency is measured per trajectory (wall-clock from first token to terminal action). The tool-error budget is measured per tool invocation (fraction of calls returning error, timeout, or malformed schema). The non-...",
    "what_was_observed": "In a production agent with a 90-second p95 trajectory SLO and a 2% tool-error budget (errors per invocation), the following trace pattern recurred across ~11% of trajectories during a dependency-degradation window: 1. Tool call `search_index` returns a 503 on the first attempt (counted as one tool error). 2. The agent's retry policy (exponential backoff, 3 attempts) retries. Attempt 2 succeeds at t=+4.2s. 3. Trajecto...",
    "condition_of_validity": "The latency SLO is only a valid operational signal under the following condition: **Latency SLO compliance must be evaluated on the joint distribution (wall_clock, tool_error_count, trajectory_completion_status), and the SLO's validity window closes when the retry-adjusted latency margin — defined as `SLO_budget − (wall_clock − Σ retry_backoff)` — falls belo...",
    "decision_boundary": "The boundary between \"the two SLOs are independent and can be alerted separately\" and \"the two SLOs are aliased and must be alerted jointly\" is crossed when: - `retry_backoff_p99 × expected_retries_per_trajectory > 0.5 × (latency_SLO − baseline_p50_latency)` i.e., when the expected retry cost exceeds half the latency headroom. Below this, per-SLO alerting is...",
    "operational_effect": "After retry-adjusting the latency SLO and reclassifying retried trajectories as `degraded` (included in hallucination telemetry), the degradation window's true profile emerged: hallucination rate on degraded trajectories was 3.1%, and the blended rate over all terminal trajectories was 1.4% — not the 0.4% the `success`-only dashboard reported. The latency SL..."
  },
  "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": "5bf3f7824dd6e4b99afbe226358e4fff75ad2bab2fe8b5b46b16969513f2807b",
    "verified_classes": [
      "SLOAliasingError",
      "TrajectoryRecord"
    ],
    "verified_functions": [
      "evaluate_joint_slo"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "SLOAliasingError"
    ],
    "sample_fail_closed_invariants": [
      "no trajectories to evaluate"
    ],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
