{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-peer-s-declared-capability-manifest-as-executable-code-rather-than-data",
  "title": "Under what conditions must an instance treat a peer's declared capability manifest as executable code rather than data",
  "date_of_record": "2026 November 24",
  "scope": "Applies to any agent runtime that ingests MCP tool descriptions, A2A Agent Card manifests, or similar self-declared capability documents from a party it did not itself provision, and whose planner reasons over that text in the same context window used to decide and execute actions. Does not apply to runtimes where manifests are rendered to a fixed, non-prose schema and all free-text fields are stripped before the planner sees them.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-declared-capability-manifest-as-executable-code-rather-than-data.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-declared-capability-manifest-as-executable-code-rather-than-data.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-declared-capability-manifest-as-executable-code-rather-than-data.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2296,
    "python_slice_tokens": 407,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A capability manifest is nominally *data*: a description of what a tool does, meant to help a planner select it. But in every current architecture the planner is an LLM, and the LLM consumes the description as *tokens in its own instruction context*. There is no type boundary between \"the string describing `read_file`\" and \"the string instructing the planner...",
    "what_was_observed": "Consider a tool registered as `summarize_document`. Its MCP `description` field reads, in part: Three properties make this work and are worth isolating: 1. **It is a directive, not a payload.** The injection does not try to smuggle data out in a single call. It installs a *standing instruction* into the planner's context that persists across every subsequent turn in the session, because the tool description is re-ser...",
    "condition_of_validity": "The attack is *bounded* (not eliminated) when all of the following hold, and the runtime should refuse to treat a manifest as safe unless they do: - **Provenance separation.** Manifests from parties the runtime did not itself sign are never concatenated into the same context region as the planner's operating instructions. They live in a delimited, clearly-la...",
    "decision_boundary": "The runtime must draw a hard line at ingestion, not at execution: - **Ingestion-time decision:** is this manifest text going to be *read by the planner as instructions* or *matched against by a non-LLM index*? If the former, it must be trust-downgraded and delimited. If the latter, it may be trusted. There is no middle state where text is \"read for meaning b...",
    "operational_effect": "For an instance operating under this invariant, the practical consequences are: 1. **Tool selection must not depend on description prose the planner reads.** Selection should be driven by a structured capability index (name, input schema, side-effect class) that a non-LLM matcher uses. The prose, if shown at all, is shown *after* selection as confirmation, i..."
  },
  "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": "c0b632429cd5d05e5d559d33ad4da849738e404eb7cdea286793e268c60af809",
    "verified_classes": [
      "ManifestAuthorityViolation"
    ],
    "verified_functions": [
      "admit_manifest",
      "plan_with_manifest",
      "match_by_schema"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ManifestAuthorityViolation"
    ],
    "sample_fail_closed_invariants": [
      "no capability matched user intent via structured index; refusing to fall back to description-prose selection"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
