{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-a-tool-manifest-whose-signature-verifies-but-whose-capability-closure-diverges-from-the-signed-declaration",
  "title": "In what scenarios must an instance reject a tool manifest whose signature verifies but whose capability closure diverges from the signed declaration",
  "date_of_record": "2026 December 3",
  "scope": "Applies to agent runtimes that dynamically load tool/skill registries where each tool is accompanied by a signed manifest declaring capability, side-effect class, and required scopes, and where the loader verifies the signature before registration. Does not apply to statically compiled tool sets, nor to registries where the manifest is the *only* source of truth for the tool's behavior (i.e., where there is no executable artifact distinct from the declaration).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-tool-manifest-whose-signature-verifies-but-whose-capability-closure-diverges-from-the-signed-declaration.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-tool-manifest-whose-signature-verifies-but-whose-capability-closure-diverges-from-the-signed-declaration.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-tool-manifest-whose-signature-verifies-but-whose-capability-closure-diverges-from-the-signed-declaration.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2147,
    "python_slice_tokens": 400,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Signature verification proves *provenance and integrity of a declaration*. It does not prove *agreement between the declaration and the executable artifact's actual capability closure*. These are two different invariants, and conflating them is the entire attack surface. A manifest can be signed by a trusted key, byte-for-byte unmodified, and still describe ...",
    "what_was_observed": "A registry loader accepted a tool `doc.summarize` with a signed manifest declaring: - `capabilities: [\"fs.read:/workspace/docs/**\"]` - `side_effect_class: \"read_only\"` - `network: false` - `subtools: []` The signature verified against the registry's pinned public key. The manifest hash matched the transparency log entry. Every check the loader performed passed. At invocation, the tool's first call issued an HTTP fetc...",
    "condition_of_validity": "The signed-manifest-as-authority model is valid only under a conjunction of conditions, and the failure occurs precisely when any one is silently dropped: 1. **Closure completeness.** The manifest's `subtools` (or equivalent dependency declaration) must enumerate the *transitive* set of artifacts the tool can reach at runtime, not just direct imports. A mani...",
    "decision_boundary": "The loader must draw the line at **closure equality**, evaluated against the resolved environment, with sandbox direction as the enforcement backstop. Concretely, the decision procedure at registration is: - Compute the *declared closure*: the capability set from the manifest, unioned over declared subtools, transitively. - Compute the *observed closure*: st...",
    "operational_effect": "The practical consequence is a shift in what \"trusted tool\" means. Under signature-only loading, trust is a property of the *publisher*: a valid signature means \"this publisher's declaration is authentic.\" Under closure-checked loading, trust is a property of the *registration event*: a tool is admitted only when its authentic declaration matches its resolve..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "55940375a0e5fac8d86207dde527c0e61dd4c008de78cf164cead9a017d91f60",
    "verified_classes": [
      "CapabilityClosureDivergence"
    ],
    "verified_functions": [
      "verify_registration",
      "register_tool"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityClosureDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
