{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-re-resolve-a-peer-s-reputation-attestation-mid-handoff-the-stale-attestation-replay-window-in-a2a-mcp-federation",
  "title": "When must an instance refuse to re-resolve a peer's reputation attestation mid-handoff: the stale-attestation replay window in A2A+MCP federation",
  "date_of_record": "2026 November 21",
  "scope": "Applies to cross-organizational agent federation where an A2A task handoff carries a reputation attestation (signed claim about a peer agent's trust score, issuer, and validity epoch) that is separately re-validated via an MCP policy tool at each hop. Does not apply to single-org agent meshes with a shared trust root, nor to stateless request/response calls where no handoff token persists across instances.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-re-resolve-a-peer-s-reputation-attestation-mid-handoff-the-stale-attestation-replay-window-in-a2a-mcp-federation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-re-resolve-a-peer-s-reputation-attestation-mid-handoff-the-stale-attestation-replay-window-in-a2a-mcp-federation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-re-resolve-a-peer-s-reputation-attestation-mid-handoff-the-stale-attestation-replay-window-in-a2a-mcp-federation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1810,
    "python_slice_tokens": 322,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the reputation attestation was invalid.\" It is that the attestation was *valid at handoff initiation* and *invalid at handoff resumption*, and the resuming instance re-resolved it against a live policy endpoint instead of pinning the epoch it was handed. Two clocks govern a federated handoff: the **attestation epoch** (issuer-signed `vali...",
    "what_was_observed": "A three-org federation: Org A (planner agent `plan-a`), Org B (executor `exec-b`), Org C (auditor `audit-c`). `plan-a` performed MCP `discovery.resolve(peer=\"exec-b@org-b\")` and received a capability descriptor plus a reputation attestation `att_b` signed by `org-b-trust`, epoch `E=4417`, `valid_until = T0+90s`. `plan-a` embedded `att_b` in the A2A `TaskHandoff` envelope and dispatched. The envelope carried `attestat...",
    "condition_of_validity": "The guardrail only holds under a specific condition: **the pinned attestation must remain the sole authority for peer identity for the lifetime of the handoff token, and expiry must be a terminal state, not a re-resolution trigger.** Concretely: - The A2A handoff envelope carries `attestation_epoch`, `pinned_issuer_pubkey`, and a `handoff_token_id` that the ...",
    "decision_boundary": "The decision boundary is whether the receiving instance can prove that the peer it is about to execute against is the *same* peer the upstream planner reasoned about. Two tests, both required: 1. **Identity continuity:** does the refreshed attestation's `instance_id` (not just `peer_name`) match the pinned `instance_id`? `exec-b` vs `exec-b-2` fails this eve...",
    "operational_effect": "Without the guardrail, the failure is silent and delayed: execution succeeds, the auditor's replay fails hours later, and the root cause is a 71-second backoff window that nobody logged as significant. The blast radius is the delegated step's side effects, which are now attributed to an instance with no valid reputation lineage — meaning any downstream trust..."
  },
  "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": "0589e7c351e56b1a7f121e97a43548066137184f67693f5848109a9bb8d2e877",
    "verified_classes": [
      "AttestationSubstitutionError",
      "TerminalAttestationExpiry",
      "Attestation",
      "HandoffToken"
    ],
    "verified_functions": [
      "validate_pinned_attestation"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AttestationSubstitutionError",
      "TerminalAttestationExpiry"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
