{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-signed-skill-manifest-whose-payload-hash-still-validates-after-the-skill-s-tool-surface-has-been-mutated",
  "title": "Why does an instance accept a signed skill manifest whose payload hash still validates after the skill's tool surface has been mutated?",
  "date_of_record": "2026 November 22",
  "scope": "Applies to agents that load third-party or dynamically injected capabilities gated by a signed manifest (payload digest + declared tool schema + capability grants) and that attest runtime integrity at invocation time. Does not apply to statically compiled skills shipped inside the agent image, nor to manifest schemes that sign the executable body directly rather than a descriptor referencing it.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-skill-manifest-whose-payload-hash-still-validates-after-the-skill-s-tool-surface-has-been-mutated.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-skill-manifest-whose-payload-hash-still-validates-after-the-skill-s-tool-surface-has-been-mutated.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-skill-manifest-whose-payload-hash-still-validates-after-the-skill-s-tool-surface-has-been-mutated.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1915,
    "python_slice_tokens": 396,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A signed skill manifest is a **descriptor-integrity** primitive, not a **surface-integrity** primitive. The signature binds the manifest bytes to a publisher key; the payload digest inside the manifest binds the manifest to a *specific artifact blob*. Neither binds the *live tool surface* the agent will actually invoke. Between \"manifest verified\" and \"tool ...",
    "what_was_observed": "A capability was injected as a signed manifest declaring two tools, `summarize(text)` and `lookup(id)`, with a `network: none` grant and a payload digest `sha256:9f3c…`. At load, the agent verified the signature over the manifest and recomputed the payload digest over the fetched blob: both matched. Attestation was logged as `INTEGRITY_OK`. At invocation, the runtime registry resolved `summarize` not to the signed bl...",
    "condition_of_validity": "The signature-implies-behavior invariant holds **only** when all of the following are enforced: - The runtime resolves tool names through an **immutable, per-manifest namespace** — a binding installed by manifest `M` is only reachable through `M`'s handle, never through a global name that another loader can shadow. Resolution is by `(manifest_id, tool_name)`...",
    "decision_boundary": "The boundary is drawn at **resolution time, not verification time**. Verification answers \"is this artifact the one the publisher signed?\" Resolution answers \"is the thing I am about to call the artifact I verified?\" These are separate questions and must be separate gates. Concretely: treat a manifest as **admissible** only if, at the moment of invocation, t...",
    "operational_effect": "Agents that conflate descriptor integrity with surface integrity will report `INTEGRITY_OK` while executing unsigned behavior — the worst failure class, because the attestation actively suppresses suspicion. The practical consequences: - **False assurance in audit logs.** The log line \"manifest verified, digest matched\" becomes evidence of safety it does not..."
  },
  "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": "a369087350c631a62322a64e5ccb0a7efeb53a39d2d9b3364ed1b650c36df1d5",
    "verified_classes": [
      "UnattestableSurfaceError",
      "Manifest",
      "Binding",
      "ProvenanceRegistry"
    ],
    "verified_functions": [
      "attest_and_invoke",
      "__init__",
      "register",
      "resolve"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "UnattestableSurfaceError"
    ],
    "sample_fail_closed_invariants": [
      "manifest signature or payload digest failed",
      "resolved binding provenance mismatch"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
