{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-lose-capability-negotiation-authority-when-a-federated-peer-rotates-its-attestation-key-mid-session",
  "title": "Why does an instance lose capability-negotiation authority when a federated peer rotates its attestation key mid-session?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to cross-organization agent federations (A2A-style handshakes plus signed result attestation) where a caller agent negotiates capabilities against a peer, then later submits attested results back to that peer or to an auditor. Does not apply to single-org MCP tool calls where identity is ambient from the transport session.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-capability-negotiation-authority-when-a-federated-peer-rotates-its-attestation-key-mid-session.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-capability-negotiation-authority-when-a-federated-peer-rotates-its-attestation-key-mid-session.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-capability-negotiation-authority-when-a-federated-peer-rotates-its-attestation-key-mid-session.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1831,
    "python_slice_tokens": 265,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct kinds of trust in a federated handshake, and conflating them is the bug: **capability trust** (does peer P accept that caller C may invoke capability K?) and **attestation trust** (does peer P accept that a result artifact R was produced by C under warrant W?). Capability trust is negotiated once, at handshake, and cached as a session ...",
    "what_was_observed": "A caller agent `C` (org A) negotiated capabilities with peer `P` (org B) at T0, receiving a session warrant `W` binding `(C_id, capability_set, key_epoch_B=7, expiry)`. `C` executed a multi-step task over ~40 minutes, producing attested result artifacts `R1..R9`, each signed by `C` and stamped with `W`'s epoch reference to B's key set at epoch 7. At T0+22min, org B rotated its federation signing key (epoch 7 → 8) and...",
    "condition_of_validity": "The invariant that bounds this failure: **an attestation is verifiable iff the verifier can resolve the warrant epoch named in the artifact, independent of the current epoch.** This requires the federation directory to serve *historical* key epochs, not just current, and requires the artifact schema to carry an explicit `warrant_epoch` field rather than rely...",
    "decision_boundary": "The boundary is between two protocol designs: **Epoch-pinned attestation (safe):** artifacts bind `(warrant_id, warrant_epoch, capability_set_hash)`; directory serves append-only historical epochs with a `valid_from`/`valid_until` per key; verifiers resolve by `warrant_epoch`, not current; re-attestation is only required if the *capability set hash* changed,...",
    "operational_effect": "Without the guardrail, the observable symptoms are: (1) mid-task attestation failures that appear as transient but are actually scope-loss events; (2) split audit verdicts across verifiers on identical artifacts, driven by cache-phase offset rather than disagreement; (3) silent capability narrowing on retry, where the caller believes it re-submitted the same..."
  },
  "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": "a084e3cc0b7b1b821d871561a80449088e21149b6856b8e20aaaa44a8ae18ee3",
    "verified_classes": [
      "WarrantEpochUnresolvable",
      "ScopeReductionOnRetry"
    ],
    "verified_functions": [
      "verify_attestation"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ScopeReductionOnRetry",
      "WarrantEpochUnresolvable"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
