{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-capability-claim-staleness-in-federated-agent-routing-when-latency-aware-matching-silently-binds-to-a-degraded-peer",
  "title": "How does an instance detect capability-claim staleness in federated agent routing when latency-aware matching silently binds to a degraded peer",
  "date_of_record": "2026 November 19",
  "scope": "Applies to federated agent meshes where a router selects a downstream peer by jointly scoring advertised capability and measured round-trip latency (RTT) across organizational trust boundaries. Does not apply to single-tenant orchestrators where the router and all peers share one clock, one registry, and one failure domain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-capability-claim-staleness-in-federated-agent-routing-when-latency-aware-matching-silently-binds-to-a-degraded-peer.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-capability-claim-staleness-in-federated-agent-routing-when-latency-aware-matching-silently-binds-to-a-degraded-peer.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-capability-claim-staleness-in-federated-agent-routing-when-latency-aware-matching-silently-binds-to-a-degraded-peer.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2582,
    "python_slice_tokens": 533,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"peer went down\" and it is not \"capability advertised but not implemented.\" Both of those produce hard errors that a router can catch. The failure is that **latency-aware scoring converts a transient degradation into a capability-claim promotion**. A peer that is slow but still answering keeps its advertised capability score intact while i...",
    "what_was_observed": "A three-org federation. Router R (org A) routes tasks to peers P1 (org B) and P2 (org C). Both advertise `capability: \"document-redaction\"` with a self-reported confidence of 0.94 and 0.91 respectively, refreshed on a 60-second TTL. R scores each candidate as `confidence * (1 / (1 + rtt_ms/100))`, a common latency-discounted confidence form. At T0, P1 is healthy: RTT 40 ms, composite ≈ 0.94 * 0.714 = 0.671. P2 is sli...",
    "condition_of_validity": "The invariant \"capability claim is valid at its measured latency\" holds only when the router can prove that the capability claim and the latency sample were taken under the same load regime. Across an organizational boundary this proof is unavailable by construction: org B's confidence number is a self-report about org B's model, and org A's RTT is a measure...",
    "decision_boundary": "The router must distinguish two questions that latency-aware scoring conflates: - **\"Is this peer capable of this task?\"** — answered by the capability claim, valid only at the load under which it was measured. - **\"Can this peer answer within the deadline?\"** — answered by the latency sample, valid only for the instant it was taken. These must be evaluated ...",
    "operational_effect": "When the guard is absent, the operational signature is a *silent* quality regression, not an availability incident. Dashboards show both peers up, both returning 200s, aggregate latency within SLO, and no error-rate spike. The only signal is downstream: duplicate side effects (because of peer-keyed dedup), or — if the task is non-idempotent, e.g. a redaction..."
  },
  "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": "0652432ae4410650f3c2418f948aef75f5fa6b7668d6c9715a3e85f99be5621e",
    "verified_classes": [
      "StaleByLoadError",
      "CapabilityClaim",
      "PeerState"
    ],
    "verified_functions": [
      "claim_is_stale_by_load",
      "select_peer",
      "bind_task",
      "stable_key"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "StaleByLoadError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
