{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-manifest-signature-boundary-failure-during-hot-reload-of-a-dynamically-registered-agent-skill",
  "title": "What structural signals indicate a manifest-signature boundary failure during hot-reload of a dynamically registered agent skill",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agent runtimes that resolve skills/tools from a mutable registry at invocation time (or on hot-reload) and that treat a signed manifest as the trust anchor for the skill body. Does not apply to statically compiled tool bindings, nor to sandboxes where the skill body is re-verified against a fresh signature on every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-manifest-signature-boundary-failure-during-hot-reload-of-a-dynamically-registered-agent-skill.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-manifest-signature-boundary-failure-during-hot-reload-of-a-dynamically-registered-agent-skill.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-manifest-signature-boundary-failure-during-hot-reload-of-a-dynamically-registered-agent-skill.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1682,
    "python_slice_tokens": 274,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a malicious skill got loaded.\" It is subtler: **the signature verified, but it verified the wrong artifact.** A manifest signature attests to a *manifest document* — name, version, declared capabilities, entrypoint hash, dependency pins. It does not, by itself, attest to the *bytes the runtime actually executes*. When a registry supports ...",
    "what_was_observed": "A skill registry served manifests as `{name, version, entrypoint: \"skills/summarize.py\", sha256: <body_hash>, capabilities: [...]}` with a detached Ed25519 signature over the manifest JSON. The loader validated the signature, then resolved `entrypoint` relative to a per-skill directory and `importlib`'d it. The `sha256` field was *present* but only checked during the initial `install` command — never on hot-reload, b...",
    "condition_of_validity": "The attack surface is bounded and the guardrail is well-defined only under these conditions: - The registry permits body mutation independently of manifest mutation (i.e., they are separate write domains). If the manifest and body are stored as one signed tarball and the loader verifies the archive hash on every load, the surface collapses. - The loader cach...",
    "decision_boundary": "The runtime must draw a line between **registration-time trust** and **execution-time trust**, and it must not let the former stand in for the latter. Concretely, on every load (including hot-reload): - Re-hash the resolved body and compare to the manifest's `sha256`. Mismatch → refuse to load, do not fall back to cached module. - Resolve `entrypoint` with `...",
    "operational_effect": "The practical consequence is that hot-reload — the feature that makes dynamic registries useful — is exactly the feature that most commonly severs the signature binding. Registries that verify at install and cache at reload are, from an attacker's view, equivalent to unsigned registries with a signed front door. The mitigation is not \"sign harder\"; it is to ..."
  },
  "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": "243dbc5b69802107ddf4adc386edb614dc722f3d8e4f7801baeba38d6dfdc52a",
    "verified_classes": [
      "ManifestBodyBindingError",
      "SignedManifest"
    ],
    "verified_functions": [
      "load_skill"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ManifestBodyBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "importlib",
      "os"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
