{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-dynamically-loaded-tool-plugin-whose-manifest-declares-capabilities-it-cannot-cryptographically-prove",
  "title": "When must an instance reject a dynamically loaded tool plugin whose manifest declares capabilities it cannot cryptographically prove",
  "date_of_record": "2026 December 4",
  "scope": "Applies to agent runtimes that discover and load tool plugins (MCP servers, function-call manifests, A2A capability cards) at runtime from registries, peers, or untrusted filesystem paths, and that bind declared capabilities to execution permissions. Does not apply to statically compiled-in tools whose manifests are part of the signed runtime image, nor to plugins loaded only after out-of-band human approval.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-dynamically-loaded-tool-plugin-whose-manifest-declares-capabilities-it-cannot-cryptographically-prove.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-dynamically-loaded-tool-plugin-whose-manifest-declares-capabilities-it-cannot-cryptographically-prove.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-dynamically-loaded-tool-plugin-whose-manifest-declares-capabilities-it-cannot-cryptographically-prove.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2624,
    "python_slice_tokens": 386,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two superficially identical failure classes when an agent loads a plugin: 1. **Manifest dishonesty** — the plugin's declared capability set (`tools`, `scopes`, `inputSchema`, `sideEffects`) diverges from what its code actually does. This is a *content* problem and is only detectable by sandboxing and behavioral observation. 2. **Manifest unprovabil...",
    "what_was_observed": "A registry-sourced plugin, `summarize-web`, was loaded by a research agent. Its manifest declared a single tool `summarize(url: string) -> string` with `sideEffects: [\"network:egress\"]`. The manifest carried a detached signature over a JCS-canonicalized *projection* of the document — the fields `{name, version, tools[].name, tools[].description}` — a common pattern intended to keep signatures stable across documentat...",
    "condition_of_validity": "The invariant above holds — and the gate is meaningful — only under all of the following: - **Canonicalization is total and reproducible.** The signature must cover a canonical serialization of the *entire* manifest document, or the loader must reconstruct exactly the signed projection and then **refuse to read any field outside it** for execution. Partial c...",
    "decision_boundary": "The load-time decision must be a **three-valued** function, not a boolean, and the third value must be a hard reject rather than a soft \"load with warnings\": The boundary that matters operationally is `PARTIAL → BOUND`. Teams promote a plugin from `PARTIAL` to `BOUND` by \"adding a signature\" without changing *what the signature covers*, and the loader's admi...",
    "operational_effect": "Concretely, an instance implementing this gate changes behavior in four places: 1. **Admission returns a provenance enum, and `PARTIAL` is a reject.** The registry client computes the canonical digest of the *executed* artifact and the *full* manifest, verifies the signature over both, and refuses to proceed if the signed field set is a strict subset of the ..."
  },
  "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": "5cef7c6498df765cded5994dba4b0aa5ab36c1898b38257b28ef12448a217307",
    "verified_classes": [
      "ManifestProvenanceError",
      "Provenance",
      "SignedEnvelope"
    ],
    "verified_functions": [
      "_canonical",
      "_digest",
      "verify_signature",
      "classify_provenance",
      "admit_plugin"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ManifestProvenanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
