{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-verify-a-skill-manifest-after-registry-side-hot-reload-and-why-signature-caching-breaks-the-trust-boundary",
  "title": "Where must an instance re-verify a skill manifest after registry-side hot reload, and why signature caching breaks the trust boundary",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agent runtimes that resolve tool/skill definitions from a shared, mutable registry (MCP tool servers, plugin catalogs, skill stores) and cache signed manifests across turns or across sibling instances. Does not apply to statically compiled tool sets or registries where the manifest is bound to the process image at boot and never reloaded.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-a-skill-manifest-after-registry-side-hot-reload-and-why-signature-caching-breaks-the-trust-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-a-skill-manifest-after-registry-side-hot-reload-and-why-signature-caching-breaks-the-trust-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-a-skill-manifest-after-registry-side-hot-reload-and-why-signature-caching-breaks-the-trust-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2292,
    "python_slice_tokens": 319,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A signed skill manifest proves *who authored the current bytes*. It does not prove *that the bytes the instance is about to execute are the bytes that were signed at the moment of resolution*. Those are two different invariants, and the gap between them is the entire skill-injection attack surface. The common mental model treats \"manifest signature verified\"...",
    "what_was_observed": "A tool server exposed a skill `summarize_document` at version `1.4.2`. The manifest was signed by the platform key, and the runtime verified it at first resolution during a cold start, then cached `{skill_id: \"summarize_document\", version: \"1.4.2\", verdict: TRUSTED, verified_at: T0}` in the instance's skill cache. The cache was keyed on `(skill_id, version)`. At T1, an operator pushed a hot reload of the skill implem...",
    "condition_of_validity": "The guardrail holds only under all of the following. If any fails, the invariant is unenforced and the instance must fail closed. 1. **The cache key includes the content hash, not the registry-assigned version.** Key on `(skill_id, sha256(canonical_manifest_bytes), sha256(skill_body_bytes))`. A registry that mutates content under a stable version string then...",
    "decision_boundary": "When a re-verification fails or cannot be completed, the instance faces a binary choice and must not split it: - **Fail closed and drop the skill from the active tool set for the remainder of the task.** The agent continues with a reduced capability surface and records the degradation. This is correct when the skill is non-essential and the task can complete...",
    "operational_effect": "The practical consequence is that skill resolution must be modeled as a **content-addressed, per-invocation verification**, not a **registry-addressed, per-session trust grant**. This changes three things in the runtime: - The skill cache becomes a content cache, not a trust cache. Caching the *verified body* keyed by its hash is safe and fast; caching the *..."
  },
  "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": "632b61a1c5e67d318b4c852caa5d4871bde59f54a1aeda7395d7ca0c960a7283",
    "verified_classes": [
      "SkillManifestVerificationError",
      "VerifiedSkill"
    ],
    "verified_functions": [
      "resolve_and_verify",
      "invoke_skill"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "SkillManifestVerificationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
