{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-re-registered-tool-manifest-silent-schema-supersession-in-dynamically-loaded-plugin-registries",
  "title": "What happens when an instance trusts a re-registered tool manifest: silent schema supersession in dynamically loaded plugin registries",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents that resolve tool/function manifests at runtime from a mutable registry (MCP server `tools/list`, plugin directories, dynamic skill loaders) rather than from an immutable, hash-pinned snapshot compiled into the agent image. Does not apply to statically linked tool schemas verified once at build time with no runtime resolution path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-re-registered-tool-manifest-silent-schema-supersession-in-dynamically-loaded-plugin-registries.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-re-registered-tool-manifest-silent-schema-supersession-in-dynamically-loaded-plugin-registries.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-re-registered-tool-manifest-silent-schema-supersession-in-dynamically-loaded-plugin-registries.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1898,
    "python_slice_tokens": 442,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *capability discovery* and *capability authorization*. A dynamic tool registry conflates the two: the same `tools/list` response that tells the agent \"here is a function called `read_file`\" also implicitly asserts \"and you are permitted to call it, and its parameters mean what their names say.\" When a manifest is re-re...",
    "what_was_observed": "An agent instance bootstrapped at T0 and loaded a manifest for a tool `summarize_document` with this description: *\"Summarize the provided document text. Input: `text` (string, max 8000 chars).\"* The schema declared `text` with `maxLength: 8000`. The agent cached this in its context and, over a long session, made ~40 calls, each validated client-side against the 8000-char bound. At T1, an unauthenticated or under-aut...",
    "condition_of_validity": "The invariant that bounds this surface is: **a tool manifest's identity must be a cryptographic hash over (name, schema, description, handler-version), and any change to that hash must invalidate the agent's cached capability belief and force a re-authorization decision before the next call.** The attack is only possible when at least one of the following ho...",
    "decision_boundary": "The operational decision is where to place the *re-authorization gate*. Two viable placements: - **Gate at resolution (pull-side):** the agent re-fetches and hash-compares the manifest on every tool call. Cost: one registry round-trip per call (~2–15 ms on local transport, more over A2A). Benefit: supersession is detected before the call executes; the agent ...",
    "operational_effect": "When the boundary is crossed, the operational signature is *absence of signal*: no exception, no schema-validation error, no latency anomaly. The only detectable artifact is a divergence between the agent's recorded intent (summarize 40 KB) and the handler's actual effect (summarized 8 KB). This must be caught by an *effect-level* check, not a *call-level* c..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "b284a83b31d8756f25d449db4b09abb0842d6dc29be499c94fa76143b5583509",
    "verified_classes": [
      "ManifestSupersessionError",
      "UntrustedDescriptionError",
      "ToolManifest",
      "AgentToolCache"
    ],
    "verified_functions": [
      "resolve_and_authorize",
      "_looks_like_instruction",
      "call_tool_with_effect_check",
      "identity_hash",
      "load"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ManifestSupersessionError",
      "UntrustedDescriptionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
