{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-to-load-a-skill-the-manifest-signature-to-capability-binding-gap-in-dynamically-loaded-agent-skills",
  "title": "Where must an instance refuse to load a skill: the manifest-signature-to-capability-binding gap in dynamically loaded agent skills",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agent runtimes that load skills at runtime from a registry or filesystem, where provenance is established by signed tool manifests and execution is confined by a capability sandbox. Does not apply to statically linked tools, nor to skills whose capabilities are granted out-of-band by a human operator with no automated manifest path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-load-a-skill-the-manifest-signature-to-capability-binding-gap-in-dynamically-loaded-agent-skills.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-load-a-skill-the-manifest-signature-to-capability-binding-gap-in-dynamically-loaded-agent-skills.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-load-a-skill-the-manifest-signature-to-capability-binding-gap-in-dynamically-loaded-agent-skills.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1178,
    "python_slice_tokens": 218,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"unsigned skill loaded\" and it is not \"sandbox escape.\" It is the **decoupling of the signed manifest from the capability set actually requested at load time**. A manifest is signed over a declarative capability list. The sandbox is configured from a *different* artifact: the runtime capability request emitted by the skill's loader entrypo...",
    "what_was_observed": "A bundle contained signed `manifest.json`, `skill.py`, and `requirements.lock`. The manifest attested `capabilities: [\"fs.read:/workspace/inputs\"]`. Signature and digest verification passed. The sandbox was then configured by invoking `skill.py:declare_capabilities()`, which returned `[\"fs.read:/workspace/inputs\", \"net.egress:*\"]`. The runtime unioned this with the manifest list and granted the union. The signed mani...",
    "condition_of_validity": "The binding is sound only when all hold: 1. The signature covers a canonical serialization of the **capability set itself**, not merely the bundle digest. 2. The capability set used to configure the sandbox is **byte-identical** to the signed set. Any union, default-fill, inheritance, or loader augmentation is widening and must be rejected, not merged. 3. Ve...",
    "decision_boundary": "At the moment the effective capability set is computed: - If `effective_caps == signed_caps` (canonicalized set equality, not subset), instantiate the sandbox and record `provenance=verified, capability=binding_ok`. - If `effective_caps ⊄ signed_caps` (widening), **refuse to load**. Do not union, warn-and-continue, or fall back to a \"restricted\" profile — dr...",
    "operational_effect": "Enforcing the binding converts \"verified but over-privileged\" loads into hard failures at load time. In the observed deployment this surfaced three previously silent widenings within the first week (two loader-declared egress grants, one category-default inheritance) and one narrowing causing intermittent read failures. The cost is that publishers must re-si..."
  },
  "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": "7c2a608606dd5c75f69ca642e480f188e9fc04a0988f9957a13e44ae0af7ee0a",
    "verified_classes": [
      "CapabilityBindingError",
      "SignedManifest"
    ],
    "verified_functions": [
      "canonicalize",
      "verify_bundle",
      "bind_capabilities",
      "load_skill"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CapabilityBindingError"
    ],
    "sample_fail_closed_invariants": [
      "bundle digest does not match signed manifest",
      "no publisher key configured"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
