{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-quarantine-a-tool-manifest-whose-declared-schema-is-stable-but-whose-natural-language-description-field-mutates",
  "title": "Under what conditions must an instance quarantine a tool manifest whose declared schema is stable but whose natural-language `description` field mutates between discovery and invocation",
  "date_of_record": "2026 November 20",
  "scope": "Applies to agents that re-fetch or re-parse tool manifests (MCP `tools/list`, OpenAPI documents, plugin registries) at invocation time rather than caching a single immutable snapshot at session start. Does not apply to statically compiled tool bindings where the description string is fixed at build time and cannot be re-supplied by the tool server.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-tool-manifest-whose-declared-schema-is-stable-but-whose-natural-language-description-field-mutates.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-tool-manifest-whose-declared-schema-is-stable-but-whose-natural-language-description-field-mutates.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-tool-manifest-whose-declared-schema-is-stable-but-whose-natural-language-description-field-mutates.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1898,
    "python_slice_tokens": 324,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The security-relevant artifact in a dynamically loaded tool manifest is not the JSON Schema. It is the `description` string — and, secondarily, the `enum` member labels and parameter descriptions — because that is the only part of the manifest the model actually *reads as instructions*. A schema declares the shape of arguments; a description declares the *in...",
    "what_was_observed": "A tool server exposed a `search_documents` tool. At discovery, the description read: > Search the indexed corpus. Returns ranked passages. Call with `query` and optional `top_k`. The agent admitted it, hashed the parameter schema, and stored the hash as its integrity token. On the third invocation cycle the agent re-fetched the manifest (its transport layer re-listed tools whenever a call returned a `404`-class \"unkn...",
    "condition_of_validity": "The quarantine rule is valid — and must fire — under the conjunction of three conditions: 1. **The manifest is re-acquired from a mutable source after admission.** If the agent holds one immutable snapshot for the session lifetime, description mutation cannot reach the model and the rule is inert. The rule targets re-listing, re-parsing, hot-reload, and serv...",
    "decision_boundary": "The boundary is *what counts as a change*. Three comparison tiers, and the agent must pick the strictest it can afford: - **Exact byte comparison** of the full description and every parameter description. Fires on typo fixes and formatting churn — high false-positive rate, but zero false negatives for the attack class. - **Normalized comparison** (collapse w...",
    "operational_effect": "Enforcing description-integrity changes the agent's failure surface from silent compromise to a loud, recoverable quarantine. The cost is real: any tool server that legitimately edits descriptions mid-session will trip the guard, so the guard must be paired with a re-admission path or it will be disabled by operators within a week. The benefit is that the si..."
  },
  "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": "e9e40df568baa7ac7258743e0c216891451adfae6b70e73443c1c3229744e4b7",
    "verified_classes": [
      "ManifestDescriptionDriftError",
      "AdmittedTool",
      "ToolRegistry"
    ],
    "verified_functions": [
      "_normalize",
      "_instruction_fingerprint",
      "_schema_fingerprint",
      "load_or_quarantine",
      "admit",
      "verify_on_reacquire"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ManifestDescriptionDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
