{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-revoked-trust-anchor-during-cross-org-agent-federation-when-policy-attestations-are-cached-beyond-the-anchor-s-validity",
  "title": "How does an instance detect a revoked trust anchor during cross-org agent federation when policy attestations are cached beyond the anchor's validity window",
  "date_of_record": "2026 November 25",
  "scope": "Applies to federated agent-to-agent handshakes where a relying agent (R) validates a peer agent (P) via a chain of trust anchors and signed policy attestations exchanged across organizational boundaries. Does not apply to single-org deployments or to purely symmetric shared-secret setups with no external anchor authority.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-trust-anchor-during-cross-org-agent-federation-when-policy-attestations-are-cached-beyond-the-anchor-s-validity.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-trust-anchor-during-cross-org-agent-federation-when-policy-attestations-are-cached-beyond-the-anchor-s-validity.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-trust-anchor-during-cross-org-agent-federation-when-policy-attestations-are-cached-beyond-the-anchor-s-validity.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1513,
    "python_slice_tokens": 244,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"the peer's certificate expired.\" It is subtler: the **policy attestation** that R caches is cryptographically valid (its signature verifies against the anchor's public key) but **semantically stale** because the anchor that signed it was revoked *after* the attestation was issued, and R's cache honors the attestation's own `not_after...",
    "what_was_observed": "A federation between org A (root anchor `A-root`, delegated issuer `A-issuer-7`) and org B (relying agent `B-orch`). `A-issuer-7` signed a policy attestation for peer `A-worker-3` granting `tools: [db.read, db.write]`, `scope: tenant=42`, `delegation_depth: 2`, `not_after: T+72h`. `B-orch` cached it at T+0 after a successful chain walk: `A-worker-3 ← A-issuer-7 ← A-root`, with `A-root`'s key pinned in B's trust store...",
    "condition_of_validity": "The cached-attestation shortcut is only sound under the conjunction: 1. **Anchor stability:** no anchor in the walked chain (`A-root`, `A-issuer-7`) has a revocation epoch `≤ now`. This requires R to *know* the revocation epoch, which means either (a) a push channel from A to B, or (b) a bounded-staleness pull (`max_revocation_age`), and R must treat the cac...",
    "decision_boundary": "The boundary R must enforce is between **cache hit** and **cache hit with unverified issuer liveness**. Concretely, on every tool invocation authorized by a cached attestation, R must evaluate: - If `now - last_anchor_check ≤ max_revocation_age` **and** no revocation push has arrived since the last check → permit (fast path). - If `now - last_anchor_check > ...",
    "operational_effect": "With `max_revocation_age` set to 15 minutes and a reverse index `anchor_id → [attestation_hash]`, the T+9h revocation would have forced a re-walk by T+9h15m, evicting `A-worker-3`'s grant and halting the unauthorized `db.write` calls within one bounded staleness window instead of 14 hours. The cost is a periodic cross-org anchor RPC per active peer — measura..."
  },
  "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": "8a17e47ccd0c78fc0edab4f4375209eb1f82435ad194ca4d23cceb770e3b916b",
    "verified_classes": [
      "StaleTrustAnchorError",
      "CachedAttestation",
      "FederationCache"
    ],
    "verified_functions": [
      "__init__",
      "store",
      "revoke_anchor",
      "authorize"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StaleTrustAnchorError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "datetime"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
