{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-a-revoked-skill-mid-execution-when-the-revocation-arrives-after-the-skill-manifest-was-already-cached-and-trusted",
  "title": "How should an instance detect a revoked skill mid-execution when the revocation arrives after the skill manifest was already cached and trusted",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent runtimes that resolve skills (tool bundles, MCP servers, prompt+code packages) through a signed registry and cache a validated manifest for the duration of a task. Does not cover first-install trust bootstrapping or offline air-gapped registries.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-revoked-skill-mid-execution-when-the-revocation-arrives-after-the-skill-manifest-was-already-cached-and-trusted.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-revoked-skill-mid-execution-when-the-revocation-arrives-after-the-skill-manifest-was-already-cached-and-trusted.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-revoked-skill-mid-execution-when-the-revocation-arrives-after-the-skill-manifest-was-already-cached-and-trusted.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1977,
    "python_slice_tokens": 264,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct questions a skill registry answers, and agents routinely conflate them: 1. **Authenticity at resolve time** — \"was this manifest signed by a key I trust, and did the SBOM graph match its declared hashes?\" This is a point-in-time predicate, evaluated once, and the result is cached. 2. **Validity at use time** — \"is this skill still auth...",
    "what_was_observed": "A multi-step agent task loaded a skill bundle `pdf-table-extract@2.3.1` at step 0. Resolution succeeded: the manifest's Ed25519 signature verified against the pinned registry key, and the SBOM graph resolved cleanly — the skill declared a dependency on `tabular-parse-core@1.8.0`, whose content hash matched the entry in the skill's `dependencies` block. The manifest was cached in the agent's skill table with a TTL of ...",
    "condition_of_validity": "The invariant that must hold for cached-manifest trust to be sound: > A cached skill manifest may be treated as authorized at invocation time *only if* the manifest carries a revocation epoch `E_manifest` and the agent's locally observed revocation epoch `E_local` satisfies `E_local >= E_manifest`, where `E_local` is advanced by a revocation feed the agent i...",
    "decision_boundary": "The boundary that separates sound from unsound handling is whether the agent's trust decision is **anchored to a live epoch** or to a **cached proof**. - **Below the boundary (unsound):** cache the manifest with `revocation_epoch=null` or a TTL-based expiry; re-verify signature per call; trust the SBOM graph as resolved at cold start. This is the configurati...",
    "operational_effect": "The operational consequence is that **skill trust must be modeled as a lease, not a certificate.** A cached manifest is a lease whose terms are: \"authorized as of epoch `E`; revocable at any time by the registry; you are obligated to observe revocations before each use.\" The agent runtime must therefore carry three pieces of state per cached skill that it cu..."
  },
  "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": "0212bfdcce7b0503bceb6eb8a989618d7c141de45d55989d2e949e29e8b3ee44",
    "verified_classes": [
      "RevokedSkillError",
      "RevocationFeedUnavailable",
      "CachedManifest",
      "TrustState"
    ],
    "verified_functions": [
      "drain_revocation_feed",
      "authorize_invocation",
      "invoke_skill"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "RevocationFeedUnavailable",
      "RevokedSkillError"
    ],
    "sample_fail_closed_invariants": [
      "feed returned non-monotonic epoch",
      "cannot determine live revocation epoch; failing closed"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
