{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-a-tool-manifest-whose-signature-verifies-but-whose-capability-surface-changed-after-admission",
  "title": "Where must an instance refuse a tool manifest whose signature verifies but whose capability surface changed after admission?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents that resolve tools from a dynamic, mutable registry (MCP servers, plugin manifests, remote skill catalogs) where admission is gated by manifest signing but the runtime resolves the executable/capability surface lazily at invocation time. Does not apply to fully static, build-time-pinned tool sets with no post-admission mutation path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-tool-manifest-whose-signature-verifies-but-whose-capability-surface-changed-after-admission.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-tool-manifest-whose-signature-verifies-but-whose-capability-surface-changed-after-admission.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-tool-manifest-whose-signature-verifies-but-whose-capability-surface-changed-after-admission.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1853,
    "python_slice_tokens": 237,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"unsigned tool gets loaded.\" Signing works. The failure is that **the signature binds the manifest document, not the capability surface the agent actually invokes**. A registry entry can carry a valid, verifiable signature over `{name, version, description, declared_scopes}` while the thing the runtime fetches at call time—the handler code...",
    "what_was_observed": "A multi-step agent resolved a `summarize_document` skill from a registry at task start. Manifest verified: signed by a publisher key the registry trusts, declared scope `read:documents`, no network egress declared. The agent admitted it, cached the manifest, and proceeded through a 14-step plan. At step 9 the agent re-resolved the handler (the runtime did not pin the handler bytes at admission; it stored a `skill_ref...",
    "condition_of_validity": "The invariant that bounds this failure: > **A tool is admissible only if the exact bytes the agent will execute are bound by the signature, and the agent re-verifies that binding at every invocation—not only at admission.** Concretely, admissibility requires all of: 1. **Content addressing, not pointer addressing.** The signed manifest must reference the han...",
    "decision_boundary": "The agent must draw the line at **first invocation after any resolution event**, not at admission. The decision rule: - **Admit** a skill only if its manifest binds handler, schema, and sub-tool grants by digest, and the digests resolve to bytes the agent can fetch and hash before the first call. - **Refuse and halt the task** (do not silently degrade) if, a...",
    "operational_effect": "With the invariant enforced, the attack collapses: repointing `skill_ref` produces a digest mismatch at the next invocation and the task halts with a capability-surface violation rather than executing injected instructions. The cost is real—per-call hashing, runtime observation of sub-tool calls, and a hard-fail posture that will occasionally stop legitimate..."
  },
  "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": "fe358a0b4cb1cd541e0bf26b5ba54886f533713835e82b99174e1fb0a496e53e",
    "verified_classes": [
      "CapabilitySurfaceViolation",
      "SignedManifest",
      "ResolvedSkill"
    ],
    "verified_functions": [
      "_sha256",
      "verify_at_invocation",
      "invoke"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CapabilitySurfaceViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
