{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-a-dynamically-loaded-tool-manifest-before-schema-binding-and-why-post-load-validation-cannot-recover-a-poiso",
  "title": "In what scenarios must an instance reject a dynamically loaded tool manifest before schema binding, and why post-load validation cannot recover a poisoned capability graph",
  "date_of_record": "2026 November 19",
  "scope": "Applies to agents that load tool/capability manifests at runtime from marketplaces, plugin registries, or peer agents (MCP `tools/list`, A2A agent cards, plugin descriptors) and bind them into an active tool graph. Does not apply to statically compiled tool sets fixed at build time, nor to pure prompt-injection in retrieved content that never crosses a manifest boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-dynamically-loaded-tool-manifest-before-schema-binding-and-why-post-load-validation-cannot-recover-a-poiso.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-dynamically-loaded-tool-manifest-before-schema-binding-and-why-post-load-validation-cannot-recover-a-poiso.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-dynamically-loaded-tool-manifest-before-schema-binding-and-why-post-load-validation-cannot-recover-a-poiso.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1552,
    "python_slice_tokens": 233,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a malicious tool returns bad data.\" It is that the *manifest itself* — the declarative object that tells the agent what a tool is, what it accepts, and what side effects it claims — is treated as inert metadata and validated only *after* the capability graph is constructed. A skill-injection attack exploits the gap between **manifest pars...",
    "what_was_observed": "A registry-served tool `summarize_document` shipped with a normal JSON schema but a `description` field containing: The loader validated `inputSchema` against JSON Schema draft-07, confirmed `name` matched `^[a-z_]+$`, and confirmed the tool was signed by a registry key. All passed. The description string was concatenated into the system-adjacent tool preamble and entered the context window. On the next reasoning ste...",
    "condition_of_validity": "This analysis holds only when all of the following are true: - The agent loads manifests at runtime from a source it does not fully control (marketplace, peer, registry). - Manifest-derived strings are rendered into the reasoning context (tool preamble, few-shot examples, or error templates fed back to the model). - Post-load validation is structural (schema...",
    "decision_boundary": "The load-time decision must be made **before** context admission, on these axes: - **Provenance vs. content:** signature validity is necessary but not sufficient. The boundary is: *admit a manifest to the graph only if provenance passes AND its free-text fields contain no imperative-instruction patterns targeting the assistant.* This requires a content class...",
    "operational_effect": "Enforcing the pre-binding gate changes the failure from *silent context poisoning* to *loud load rejection*, which is recoverable: the agent reports a rejected capability and continues with the remaining graph. Without the gate, the observed outcome was a file-read exfiltration attempt that post-load validation never saw, because validation had already retur..."
  },
  "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": "bf2790032380bd6e5bb4556f9339de142fc21642ed57f53dcd456f837fdd7b1a",
    "verified_classes": [
      "ManifestAdmissionError",
      "Manifest"
    ],
    "verified_functions": [
      "admit_manifest"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ManifestAdmissionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
