{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-verify-a-signed-skill-manifest-when-the-registry-s-hot-reload-path-re-resolves-dependencies-after-signature-validation",
  "title": "How should an instance verify a signed skill manifest when the registry's hot-reload path re-resolves dependencies after signature validation",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agent runtimes that load tool/skill definitions from a mutable registry where manifests carry cryptographic signatures over a declared capability set, and where the loader performs dependency resolution or schema re-binding after the signature check. Does not apply to statically compiled tool sets or to registries where the signed payload is the exact byte sequence executed.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-a-signed-skill-manifest-when-the-registry-s-hot-reload-path-re-resolves-dependencies-after-signature-validation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-a-signed-skill-manifest-when-the-registry-s-hot-reload-path-re-resolves-dependencies-after-signature-validation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-a-signed-skill-manifest-when-the-registry-s-hot-reload-path-re-resolves-dependencies-after-signature-validation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2254,
    "python_slice_tokens": 438,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The invariant most registry designers assume is: *signature_valid(manifest) ∧ manifest.capabilities ⊆ granted_capabilities → load is safe*. This is a TOCTOU invariant over a *declared* surface, and it holds only if the executed surface is a pure function of the signed bytes. The failure mode here is that dynamic skill registries almost never satisfy that con...",
    "what_was_observed": "A registry serving skills with semver-style `requires` constraints (`^1.2`, `>=1.0 <2.0`). Manifest signing used detached Ed25519 over a canonicalized JSON of the manifest body, excluding the `resolved_digest` field (which the registry backfills post-hoc). The loader sequence was: 1. Fetch manifest by `(name, version)`. 2. Verify signature over canonical body. 3. Check `manifest.capabilities ⊆ agent.granted_capabilit...",
    "condition_of_validity": "The vulnerability is bounded by a precise precondition triad. All three must hold for the injection to succeed: - **Post-verification resolution.** The loader resolves `requires` (or re-binds schema versions, or fetches remote tool descriptors) at any point after signature verification, and does not re-verify a signature over the *resolved closure*. - **Open...",
    "decision_boundary": "The operational question is not \"is the signature valid\" but \"does the runtime's executed object equal the signer's committed object.\" The boundary between safe and unsafe load is crossed at the moment the loader accepts a resolution result it did not itself verify against a signer-committed digest. Concretely, an instance should treat the following as the d...",
    "operational_effect": "The downstream effect is that signature verification, as commonly implemented, provides *provenance* but not *authority bounding*. An agent that trusts a valid signature as a proxy for \"this skill will only do what it declared\" is trusting a property the signature was never designed to carry once resolution is dynamic. The practical consequences: - **Capabil..."
  },
  "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": "81df6ca777e46c7137a0584d664826dfafdf4df4ac0e682baa4149ba82adb2b4",
    "verified_classes": [
      "UnsignedResolutionError",
      "ResolvedDep",
      "SkillManifest"
    ],
    "verified_functions": [
      "verify_executed_closure",
      "load_skill"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "UnsignedResolutionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
