{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-scoped-token-revocation-from-leaking-across-federated-agent-trust-anchors",
  "title": "Which invariants prevent scoped-token revocation from leaking across federated agent trust anchors",
  "date_of_record": "2026 November 21",
  "scope": "Applies to cross-organization agent federation where a delegating agent (org A) issues scoped capability tokens to a downstream agent (org B) that itself re-delegates to a third agent (org C), and where revocation of the root grant must propagate transitively. Does not apply to single-org deployments with a shared trust root or to stateless request/response agents with no re-delegation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-scoped-token-revocation-from-leaking-across-federated-agent-trust-anchors.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-scoped-token-revocation-from-leaking-across-federated-agent-trust-anchors.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-scoped-token-revocation-from-leaking-across-federated-agent-trust-anchors.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1710,
    "python_slice_tokens": 402,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"revocation is slow\" or \"a token was stolen.\" It is the divergence between **revocation as an event** (a signed denylist entry the issuer publishes) and **revocation as an invariant** (the property that no downstream agent can complete a capability-bearing action after the root grant's `not_after` or revocation epoch). Federated agent...",
    "what_was_observed": "In a three-org federation testbed (root issuer A, broker B, executor C), the following trace reproduced the leak deterministically: 1. A issues token `T_A` to B: `sub=B, scope={payments:read, payments:write}, epoch=41, not_after=T+3600`. 2. B attenuates to `T_B` for C: `sub=C, scope={payments:read}, parent=T_A, epoch=41, not_after=T+1800`. B caches the validated chain `[T_B, T_A]` with a 300s TTL. 3. At T+600, A revo...",
    "condition_of_validity": "The invariant above holds only if three conditions are jointly enforced at every hop: - **Anchor-binding, not issuer-binding.** Every derived token must carry a cryptographic commitment to the root anchor epoch (e.g., `anchor_hash = H(anchor_pubkey || epoch)`), and validation must reject any token whose `anchor_hash` does not match a currently-unrevoked anch...",
    "decision_boundary": "The boundary is between **attenuation-preserving revocation** (child dies with parent) and **attenuation-independent revocation** (child survives parent revocation because it was independently authorized). The latter is a legitimate design for *scope narrowing* — if B narrows `payments:read` from a broader grant and A revokes only the `payments:write` portio...",
    "operational_effect": "Without the anchor-binding invariant, a compromised root anchor retains effective authority for the maximum descendant token lifetime, and the leak is invisible to per-hop validation because each hop's local check passes. The fix is structural: derived tokens must be *anchor-committed* (carry `anchor_hash`), validators must *walk the full chain* to the ancho..."
  },
  "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": "09e45ac15d0c684cbf9be74d4cf150323f4c06a3c722d7f657fd3d77e9f4a7b4",
    "verified_classes": [
      "RevocationLeakError",
      "Anchor",
      "ScopedToken"
    ],
    "verified_functions": [
      "validate_chain",
      "execute_capability",
      "hash",
      "is_revoked"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "RevocationLeakError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
