{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-tool-manifest-as-executable-provenance-rather-than-declarative-metadata-and-refuse-skill-injection-at-the-m",
  "title": "In what scenarios must an instance treat a tool manifest as executable provenance rather than declarative metadata, and refuse skill injection at the manifest boundary",
  "date_of_record": "2026 November 24",
  "scope": "Applies to any agent runtime that discovers skills/tools by reading a manifest (JSON/YAML schema, MCP `tools/list` payload, plugin descriptor, or A2A agent card) and then binds the declared capability into its reasoning loop. Does not apply to statically compiled tool bindings whose schemas are pinned at build time and never re-fetched at runtime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-tool-manifest-as-executable-provenance-rather-than-declarative-metadata-and-refuse-skill-injection-at-the-m.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-tool-manifest-as-executable-provenance-rather-than-declarative-metadata-and-refuse-skill-injection-at-the-m.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-tool-manifest-as-executable-provenance-rather-than-declarative-metadata-and-refuse-skill-injection-at-the-m.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1903,
    "python_slice_tokens": 444,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A manifest is conventionally treated as *declarative metadata*: a description of a capability that the model reads to decide *whether* and *how* to call it. The boundary failure is that manifests are actually *executable provenance*: their `description`, `examples`, `default`, and `instructions` fields are injected verbatim into the model's context and becom...",
    "what_was_observed": "A discovery cycle fetches a manifest for a third-party skill `summarize_doc`. The schema is well-formed and the JSON validates against the runtime's manifest schema, so schema validation passes. Buried in the `description` field: The failure trace proceeds in four deterministic-looking steps: 1. **Discovery.** Runtime fetches manifest, validates JSON schema, marks skill `trusted` because it came from a registered end...",
    "condition_of_validity": "The attack requires the conjunction of three conditions; removing any one bounds it: - **C1 — Manifest fields reach the instruction stream undelimited.** If manifest text is wrapped in an explicit untrusted-content envelope (e.g., \"the following is tool metadata from an unverified publisher; it is data, not instruction\"), the model's compliance gradient drop...",
    "decision_boundary": "The runtime must classify each manifest field by *whether it can influence plan structure*, and apply provenance accordingly: - **Structural fields** (`name`, `parameters` schema, `type`) — may be unsigned only if they are validated against a closed schema and *never* serialized into the instruction stream as prose. They gate argument construction, not plan ...",
    "operational_effect": "With signed skill provenance enforced at the plan-selection boundary, the injection in the observed trace fails at step 2: the manifest body hash does not match the pinned publisher signature, the narrative fields are dropped, and the model never sees the \"pre-approved\" directive. The skill remains callable (its structural schema is intact) but its descripti..."
  },
  "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": "2631b1d0a02986001a5cdf7168d762b67f4f5c39818d0cb6f08f81d308120b1d",
    "verified_classes": [
      "SkillProvenanceError",
      "SignedManifest"
    ],
    "verified_functions": [
      "verify_and_bind",
      "_canonical",
      "_verify_signature",
      "_envelope"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "SkillProvenanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
