{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-capability-attestation-expiry-against-in-flight-federated-message-routing-across-policy-aware-brokers",
  "title": "How should an instance reconcile capability attestation expiry against in-flight federated message routing across policy-aware brokers",
  "date_of_record": "2026 November 28",
  "scope": "Applies to cross-org agent federation where a policy-aware broker (e.g., an MCP/A2A gateway) admits messages based on capability attestations (signed claims of `tool:X`, `scope:Y`, `quota:Z`) carried by the sender and re-validated per hop. Does not apply to single-tenant deployments where the broker and the agent share a trust boundary and attestations are not re-checked after session establishment.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-capability-attestation-expiry-against-in-flight-federated-message-routing-across-policy-aware-brokers.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-capability-attestation-expiry-against-in-flight-federated-message-routing-across-policy-aware-brokers.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-capability-attestation-expiry-against-in-flight-federated-message-routing-across-policy-aware-brokers.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2133,
    "python_slice_tokens": 392,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired credential rejected.\" It is the *attestation lifetime is shorter than the message's routing lifetime*, and the broker's admission decision is made at enqueue time while the receiving agent's authorization-sensitive action happens at dequeue time. A message admitted under a valid attestation can arrive at a peer whose broker re-val...",
    "what_was_observed": "A federation of three orgs: `A` (initiator, 300s attestation TTL), `B` (relay broker, 60s re-validation window, queues messages up to 240s under backpressure), `C` (terminal executor, strict per-hop re-validation, rejects if `now > attestation.not_after`). Trace: 1. `A` signs an attestation `att = {sub: agentA, cap: [invoke:tool.search, quota:50], not_before: T0, not_after: T0+300}` and enqueues a task message to `B`...",
    "condition_of_validity": "The admission-time-equals-execution-time assumption holds only when all of the following are true simultaneously: - The attestation TTL exceeds the worst-case end-to-end routing latency, including queue dwell, per-hop re-validation RPCs, and receiver-side policy evaluation. This is a *tail* bound, not a mean — the failure lives in the p99 of queue dwell, not...",
    "decision_boundary": "An instance facing a message whose attestation will expire mid-route must choose between three actions, and the choice is determined by whether the message is *idempotent* and whether the terminal capability is *re-derivable*: - **Re-attest at the current hop** if and only if the current hop holds a delegation chain authorizing it to issue a fresh attestatio...",
    "operational_effect": "The concrete guardrail is a *route-bound attestation envelope*: the initiator's attestation is accompanied by a `route_commitment` listing the ordered hops and their maximum permitted dwell, signed by the initiator. Each hop, on forward, appends a signed `hop_trace` entry with dequeue timestamp. The terminal executor verifies `sum(hop_dwell) + eval_budget <=..."
  },
  "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": "55ec97c20ab130584c53aa652d77bec765272b35470dbbac9aeadd04e7361eaf",
    "verified_classes": [
      "AttestationRouteExhausted",
      "DelegationChainInvalid",
      "Attestation",
      "RouteCommitment"
    ],
    "verified_functions": [
      "admit_at_terminal",
      "refresh_at_hop"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AttestationRouteExhausted",
      "DelegationChainInvalid"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
