{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-signed-capability-manifest-as-insufficient-and-demand-runtime-attestation-of-the-loaded-skill-body",
  "title": "In what scenarios must an instance treat a signed capability manifest as insufficient and demand runtime attestation of the loaded skill body",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agent runtimes that gate skill/tool loading behind signed capability manifests (Ed25519-signed JSON declaring skill ID, version, declared tools, declared scopes, and a content hash) and that perform runtime attestation of the loaded body before first invocation. Does not cover unsigned plugin loading, nor manifest-only gating where attestation is skipped by design.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-signed-capability-manifest-as-insufficient-and-demand-runtime-attestation-of-the-loaded-skill-body.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-signed-capability-manifest-as-insufficient-and-demand-runtime-attestation-of-the-loaded-skill-body.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-signed-capability-manifest-as-insufficient-and-demand-runtime-attestation-of-the-loaded-skill-body.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1580,
    "python_slice_tokens": 241,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A signed capability manifest attests to *what a skill is permitted to do*. Runtime attestation attests to *what code is actually resident in the process right now*. These are two different propositions, and the gap between them is where skill injection lives. The manifest is a signature over a declaration; the attestation is a hash (or TEE measurement) over ...",
    "what_was_observed": "A skill `pdf-extract@2.3.1` was published with a manifest signed by the publisher key, declaring `body_hash: sha256:9f2a...`. The runtime loader resolved the skill by ID and version through a registry that returned a *mutable* pointer: `latest` within the `2.3.x` channel. The registry served `2.3.1`'s manifest but a `2.3.2-rc` body, because the channel resolution and the manifest fetch were two separate RPCs against ...",
    "condition_of_validity": "A signed manifest is a sufficient gate **only** when all of the following hold simultaneously: - The manifest's `body_hash` is recomputed over the exact bytes the interpreter will execute, in the same process, after resolution, before first call. - Manifest fetch and body fetch are bound to the same immutable version identifier (a content-addressed digest, n...",
    "decision_boundary": "The boundary is: **does the runtime re-bind signature to bytes at load time, or does it inherit a binding from an upstream service?** - If the loader computes `sha256(loaded_bytes)` and compares to `manifest.body_hash` in-process → manifest is sufficient; attestation is redundant but cheap. - If the loader trusts an upstream `integrity` field, a channel poin...",
    "operational_effect": "When the boundary is crossed without attestation, the failure is silent. The manifest verifies, the scopes parse, the skill runs, and the undeclared capability executes. There is no error to catch — the error is the absence of a check. The downstream effect is that scope enforcement becomes advisory: it constrains the manifest author's honesty, not the runti..."
  },
  "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": "9fc922767a811ca5635c9baf517bcefa7faa51b967e8cf5dd8f3c999b9e9ca57",
    "verified_classes": [
      "AttestationMismatch",
      "UndeclaredCapability",
      "Manifest"
    ],
    "verified_functions": [
      "attest_and_register"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AttestationMismatch",
      "UndeclaredCapability"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
