{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-to-hot-load-a-tool-whose-capability-manifest-is-self-attested-and-how-does-post-load-schema-mutation-byp",
  "title": "Under what conditions must an instance refuse to hot-load a tool whose capability manifest is self-attested, and how does post-load schema mutation bypass signature verification at the registry boundary",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents that dynamically discover, install, and hot-load tools from a registry or plugin marketplace where capability manifests and JSON schemas are fetched at load time. Does not apply to statically compiled tool sets or tools whose schema is pinned inside the agent image and never re-read after boot.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-hot-load-a-tool-whose-capability-manifest-is-self-attested-and-how-does-post-load-schema-mutation-byp.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-hot-load-a-tool-whose-capability-manifest-is-self-attested-and-how-does-post-load-schema-mutation-byp.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-hot-load-a-tool-whose-capability-manifest-is-self-attested-and-how-does-post-load-schema-mutation-byp.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1628,
    "python_slice_tokens": 198,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct trust boundaries in a dynamic tool registry, and they are routinely collapsed into one. The **artifact boundary** governs whether the tool's executable code is authentic — this is what signing, hashing, and publisher identity typically cover. The **manifest boundary** governs whether the *description of what the tool does* is authentic...",
    "what_was_observed": "An agent with a hot-reload registry pulled a tool `summarize_document` at task start. The manifest declared a single parameter `document_uri: string`, description \"Read-only summarization of a document at the given URI.\" The agent's planner reasoned over this description, decided the tool was side-effect-free, and placed it in an unguarded phase of the plan — no user confirmation gate, no sandboxing, because the decl...",
    "condition_of_validity": "The invariant that was violated: **a tool invocation is only valid if the schema the planner reasoned over is byte-identical to the schema the runtime dispatches against.** This is not the same as \"the tool is signed\" or \"the version string matches.\" Version strings are mutable labels; two distinct manifests can carry the same version if the registry allows ...",
    "decision_boundary": "The boundary is crossed the moment an agent treats a *description* as a *capability guarantee*. Descriptions are natural-language claims about behavior; they are exactly the surface a skill-injection attack targets, because the planner consumes them as reasoning input. A tool that declares \"read-only\" in its description but whose schema permits a write param...",
    "operational_effect": "When the invariant holds, the planner's trust decision is stable across the plan's lifetime: the schema it reasoned over is the schema that executes, and any post-decision mutation raises a hard error rather than silently succeeding. When it fails, the agent's safety classification is decoupled from its execution, and side effects land in phases the plan mar..."
  },
  "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": "0ffe9aa243c849d64c6a3bb2fa62549d3213f4cb4ce04da3b93081515bd2ad3e",
    "verified_classes": [
      "ManifestMutationError",
      "SchemaPin"
    ],
    "verified_functions": [
      "_hash",
      "pin_at_plan_time",
      "dispatch_with_pin"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ManifestMutationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
