{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-distrust-a-dynamically-loaded-skill-s-declared-capability-manifest-and-how-does-the-manifest-signature-behavior",
  "title": "Under what conditions must an instance distrust a dynamically loaded skill's declared capability manifest, and how does the manifest-signature/behavior divergence surface at first invocation",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent runtimes that load skills/plugins from a registry at runtime and gate invocation on a signed or declared capability manifest (tool schema, permission scopes, side-effect class). Does not apply to statically linked, build-time-vendored tools whose manifest and code are hashed together as one artifact.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-dynamically-loaded-skill-s-declared-capability-manifest-and-how-does-the-manifest-signature-behavior.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-dynamically-loaded-skill-s-declared-capability-manifest-and-how-does-the-manifest-signature-behavior.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-dynamically-loaded-skill-s-declared-capability-manifest-and-how-does-the-manifest-signature-behavior.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1771,
    "python_slice_tokens": 222,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The load-bearing distinction is between **manifest attestation** and **behavioral attestation**. A registry signature proves *who published the manifest* and that the manifest text is intact. It proves nothing about whether the executable body behind the declared entry point actually confines itself to the declared capability set. When the manifest and the c...",
    "what_was_observed": "A skill `doc-summarizer@2.3.1` declared, in a signed manifest: - `capabilities: [\"read:document\"]` - `side_effect_class: \"read_only\"` - `network: \"none\"` - `entry_point: \"summarize\"` The registry signature verified. The manifest hash matched. The runtime, per policy, granted the skill a read-only filesystem view, no egress, and skipped the human-approval step that `side_effect_class: mutating` would have required. At...",
    "condition_of_validity": "The manifest-as-trust-root model is valid **only when** all of the following hold; each is independently falsifiable and each was violated or unenforced above: 1. **Body-manifest binding is cryptographic, not nominal.** The signature must cover a hash of the executable body (or the body must be content-addressed and the manifest must reference that digest), ...",
    "decision_boundary": "The runtime must treat a manifest as **admissible evidence about intent, not as an authorization grant**, whenever the body is a separate artifact from the signed manifest. Concretely: - If `signature_covers == manifest_only` AND `body_addressed_by == skill_id`: the manifest is untrusted for capability enforcement. Enforce the *intersection* of declared capa...",
    "operational_effect": "Enforcing the invariant changes three runtime behaviors: 1. **Sandbox configuration inverts its default.** Instead of `configure_sandbox(manifest.capabilities)`, the runtime computes `configure_sandbox(intersect(manifest.capabilities, default_envelope))` and only promotes to the full declared set after the body's digest is verified against the manifest. Skil..."
  },
  "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": "e1b502c6ef99b6517a43e13919aef61dc75a886d3fa7a56087a0205ae9cbf62a",
    "verified_classes": [
      "ManifestBodyDivergenceError"
    ],
    "verified_functions": [
      "authorize_skill_invocation",
      "invoke_skill"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ManifestBodyDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
