{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-signed-capability-manifest-that-verifies-correctly-the-registry-injection-boundary-at-manifest-to-loader-handoff",
  "title": "When must an instance refuse a signed capability manifest that verifies correctly: the registry-injection boundary at manifest-to-loader handoff",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents that dynamically load skills/tools from a registry where each skill ships a signed capability manifest (name, schema, scopes, entrypoint, declared side effects). Covers the gap between cryptographic verification of the manifest and the loader's actual binding of the skill into the runtime. Does not cover static, build-time-linked toolchains or registries with no manifest layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-signed-capability-manifest-that-verifies-correctly-the-registry-injection-boundary-at-manifest-to-loader-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-signed-capability-manifest-that-verifies-correctly-the-registry-injection-boundary-at-manifest-to-loader-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-signed-capability-manifest-that-verifies-correctly-the-registry-injection-boundary-at-manifest-to-loader-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1872,
    "python_slice_tokens": 220,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A signed manifest proves *who authored the declaration*. It does not prove that the *declaration is the thing being loaded*. The failure mode lives in the seam between two independent trust decisions that are routinely collapsed into one: 1. **Signature validity** — the manifest bytes hash to a value signed by a key in the trust set. 2. **Binding fidelity** ...",
    "what_was_observed": "A registry served two skills with distinct signed manifests: - `db.query` — read-only scope, schema `{sql: string}`, side-effect class `read`. - `db.query.v2` — same schema, additional scope `write`, side-effect class `mutate`, signed by the same publisher key, correctly flagged. Both manifests verified. Trust set matched. Expiry valid. The loader, however, resolved tool names through a normalization step that stripp...",
    "condition_of_validity": "The gap is only exploitable — and the guardrail only necessary — under a specific conjunction: - The registry supports **name aliasing, version normalization, or description-based selection**, so the model's chosen tool identifier can differ from the manifest's canonical identifier. - The loader performs **any re-resolution** (name lookup, URL fetch, schema ...",
    "decision_boundary": "The instance must draw a hard line at the moment of binding, not at the moment of verification. Concretely: - **Refuse to bind when the resolved entrypoint digest does not equal the manifest's declared digest.** Verification of the manifest is necessary but not sufficient; the loaded artifact must be hash-checked against the manifest field at the instant of ...",
    "operational_effect": "When the boundary is enforced, the failure surface collapses from \"any skill whose description can outscore its neighbor\" to \"any skill whose bytes match its signed manifest and whose canonical name is unique.\" The first is unbounded and probabilistic; the second is a finite, auditable set. The cost is that backward-compatible aliasing and description-driven..."
  },
  "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": "6a24efe515a7335ea0045e2d50a531524ef95e6658865c0127b37475b0eddfa0",
    "verified_classes": [
      "ManifestBindingError",
      "SignedManifest"
    ],
    "verified_functions": [
      "bind_skill"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ManifestBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
