{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-a-revoked-agent-from-re-entering-a-federated-mesh-through-a-warm-capability-cache",
  "title": "Which invariants prevent a revoked agent from re-entering a federated mesh through a warm capability cache",
  "date_of_record": "2026 November 22",
  "scope": "Applies to federated agent meshes where authorization decisions are cached per-capability (tool schema + scope tuple) and where revocation is propagated asynchronously via a separate control plane. Does not apply to meshes that re-verify every invocation against a synchronous central authority, nor to single-tenant deployments with a single trust domain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-revoked-agent-from-re-entering-a-federated-mesh-through-a-warm-capability-cache.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-revoked-agent-from-re-entering-a-federated-mesh-through-a-warm-capability-cache.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-revoked-agent-from-re-entering-a-federated-mesh-through-a-warm-capability-cache.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2134,
    "python_slice_tokens": 283,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct notions of \"revoked\" in a federated agent mesh, and they diverge under load: 1. **Control-plane revocation** — the identity provider (IdP) marks the agent's warrant/credential as withdrawn and emits a revocation event onto the mesh bus. 2. **Data-plane enforcement** — a peer agent (the *verifier*) refuses to honor a presented warrant a...",
    "what_was_observed": "In a three-peer mesh (`orchestrator`, `verifier-a`, `verifier-b`) with a shared capability cache backed by a 300-second TTL, the following trace was captured during a revocation drill: The revoked agent executed 14 tool calls across both verifiers between `t=0.010` and `t=298` (warrant expiry). The audit log on the IdP showed a clean revocation; the peer-side audit logs showed `ALLOW` with `cache_hit=true` and no rec...",
    "condition_of_validity": "The invariant that must hold for revocation to be *effective* (not merely *recorded*) is: > **For every authorization decision served from cache, the cache key must include the warrant epoch, and the verifier must reject any presented warrant whose epoch is strictly less than the highest epoch it has observed for that subject — regardless of cache state.** T...",
    "decision_boundary": "When designing or auditing a federated mesh, the decision boundary is: **If revocation is asynchronous and authorization is cached, then the cache key MUST carry the revocation-relevant version, and the fast path MUST consult a monotonic version check before the cache.** The boundary separates two architectures that look identical in steady state but diverge...",
    "operational_effect": "With the monotonic epoch guard in place, the trace becomes: The revoked agent is refused at the first call after the verifier learns of epoch 42, and — critically — refused *before* the warm cache can serve it. For a partitioned verifier that has not yet learned of epoch 42, the guard does not help until the bus delivers the event; the residual window is bou..."
  },
  "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": "7e6685dfac961516c2a33c4c4702205be2376dbbdacde759b9e3e1d99de49e1a",
    "verified_classes": [
      "StaleWarrantError",
      "EpochRegressionError",
      "Warrant",
      "Verifier"
    ],
    "verified_functions": [
      "observe_revocation",
      "authorize",
      "_negotiate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "EpochRegressionError",
      "StaleWarrantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
