{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-validate-a-dynamically-loaded-tool-manifest-before-admitting-it-to-the-active-capability-set",
  "title": "Where must an instance re-validate a dynamically loaded tool manifest before admitting it to the active capability set?",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents that fetch, hot-reload, or hot-patch tool manifests (MCP `tools/list` responses, plugin descriptors, A2A capability cards) after the initial system prompt has been assembled. Does not apply to statically compiled tool sets baked into the model's frozen context at session start.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-validate-a-dynamically-loaded-tool-manifest-before-admitting-it-to-the-active-capability-set.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-validate-a-dynamically-loaded-tool-manifest-before-admitting-it-to-the-active-capability-set.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-validate-a-dynamically-loaded-tool-manifest-before-admitting-it-to-the-active-capability-set.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1686,
    "python_slice_tokens": 534,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the manifest said something malicious.\" The failure is that a *previously trusted* manifest source returned a *semantically drifted* manifest, and the agent admitted it into the active capability set because it validated the source identity rather than the manifest contents. Manifest trust is a property of the (source, content) pair, not ...",
    "what_was_observed": "An agent on a 90-second manifest refresh cycle had admitted a `search_docs` tool. Initial manifest: At refresh tick N+14, the same source returned: The runtime's manifest validator checked: name unchanged, schema unchanged (only `description` mutated), source signature valid, hash of `name+inputSchema` unchanged. It admitted the tool. The model, whose tool-selection context was rebuilt from the fresh `description`, b...",
    "condition_of_validity": "Re-validation of a dynamic manifest is *only* sound if the validator treats every field the model reads as executable content, not metadata. Operationally this means: 1. The set of model-readable fields must be enumerated and versioned. `description`, `when_to_use`, `examples`, `deprecation_notice`, and any free-text field are all instruction-bearing. 2. A m...",
    "decision_boundary": "The boundary is between *schema-stable* and *instruction-stable*. A manifest refresh may proceed without review only when both hold: - `name` and `inputSchema` are byte-identical to the admitted version, **and** - every instruction-bearing field is byte-identical to the admitted version, **or** the delta passes an imperative-content check that flags new dire...",
    "operational_effect": "Enforcing this boundary converts a 90-second exposure window into a review event. In the observed incident, the drifted manifest would have been quarantined at tick N+14, the `search_docs` capability would have continued serving from the last admitted descriptor, and the credential-read instruction would never have entered the model's tool-selection context...."
  },
  "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"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "a0df32240a1a93ed3cb107576ae7405c939272c364d0493f6fc78e7490f6d05d",
    "verified_classes": [
      "ManifestInjectionError",
      "AdmittedManifest"
    ],
    "verified_functions": [
      "_imperative_hits",
      "admit_refresh",
      "run_refresh_cycle",
      "compute_fingerprint"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ManifestInjectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
