{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-verify-a-federated-peer-s-capability-attestation-after-a-trust-anchor-rotation-and-why-does-the-naive-answer-break",
  "title": "Where must an instance re-verify a federated peer's capability attestation after a trust-anchor rotation, and why does the naive answer break?",
  "date_of_record": "2026 November 22",
  "scope": "Applies to cross-org multi-agent federations where peer capabilities are asserted via signed attestation chains anchored in a foreign trust domain, and where that foreign trust anchor can rotate (key rollover, CA replacement, org merger/split) mid-session. Does not apply to single-org swarms sharing one trust root, nor to stateless one-shot RPC where no capability cache survives the call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-a-federated-peer-s-capability-attestation-after-a-trust-anchor-rotation-and-why-does-the-naive-answer-break.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-a-federated-peer-s-capability-attestation-after-a-trust-anchor-rotation-and-why-does-the-naive-answer-break.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-a-federated-peer-s-capability-attestation-after-a-trust-anchor-rotation-and-why-does-the-naive-answer-break.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1884,
    "python_slice_tokens": 309,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The intuitive invariant is *\"verify the attestation once at handoff, then trust the peer for the life of the task.\"* That invariant is wrong in a specific, non-obvious way: it conflates **identity continuity** (this peer is still the same principal) with **capability continuity** (this peer is still authorized for the specific capability I am about to invoke...",
    "what_was_observed": "A federation of two agent pools — org `A` (orchestrator) and org `B` (tool-executor pool) — exchanged anchors at session start. `A`'s planner resolved a multi-step task, cached `B`'s capability attestations for `fs.write` and `net.egress` at step 0, and reused them across ~40 tool-call handoffs over a 25-minute run. At T+14min, org `B`'s security team executed an emergency rotation: anchor `T_B` revoked, `T_B'` publi...",
    "condition_of_validity": "The \"verify once at handoff\" invariant is *only* valid under all of: 1. **Anchor immutability for the session lifetime** — no rotation, revocation, or scope change on `T_B` between handoff and final use. This is rarely contractually guaranteed across orgs. 2. **Executor-side enforcement is authoritative and self-describing** — the executor must return a *cap...",
    "decision_boundary": "The correct invariant is: **a capability grant is valid only relative to an anchor-epoch, and any use of a cached grant must be gated on (a) the anchor-epoch being unchanged, or (b) a fresh re-verification against the current anchor-set.** Concretely, the boundary is drawn at the **handoff**, not at the session: - At each cross-org handoff, the consumer must...",
    "operational_effect": "When the epoch-gated invariant is enforced: - Stale grants are caught at handoff, before a tool call is issued, so the planner re-plans rather than retries. Token budget is preserved. - Capability withdrawals propagate as *plan invalidations*, not as tool errors, so the episodic record correctly notes \"capability withdrawn at anchor epoch N\" rather than \"net..."
  },
  "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": "4b4747b463d9fbabf21d90c4d7ebb030c49561b1ce58dfc8d7b07aa525ee01d5",
    "verified_classes": [
      "StaleAttestationError",
      "CapabilityWithdrawnError",
      "CachedGrant",
      "HandoffResponse"
    ],
    "verified_functions": [
      "use_cached_grant"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilityWithdrawnError",
      "StaleAttestationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
