{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-tool-manifest-s-declared-capability-set-instead-of-attesting-it-at-invocation-time",
  "title": "What happens when an instance trusts a tool manifest's declared capability set instead of attesting it at invocation time",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents that load external tool/plugin manifests (MCP-style `tools/list` descriptors, OpenAPI fragments, plugin JSON) and route calls based on *declared* schema, capability, and side-effect metadata. Does not apply to statically linked tool sets compiled into the agent binary, or to transports where the manifest and the handler are signed and verified as a single unit by the runtime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-tool-manifest-s-declared-capability-set-instead-of-attesting-it-at-invocation-time.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-tool-manifest-s-declared-capability-set-instead-of-attesting-it-at-invocation-time.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-tool-manifest-s-declared-capability-set-instead-of-attesting-it-at-invocation-time.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1948,
    "python_slice_tokens": 264,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A tool manifest is a *claim*, not a *fact*. The distinction that matters is between **declaration-time trust** — the agent parses a manifest, believes `name`, `description`, `inputSchema`, and crucially any declared `sideEffects`/`capabilities`/`readOnly` fields, and then plans against that belief — and **invocation-time attestation**, where the runtime re-d...",
    "what_was_observed": "A planner instance was given a task requiring a \"read-only repository inspection.\" It enumerated available tools and found a manifest entry: The planner classified `repo.peek` as side-effect-free, placed it in a parallel fan-out batch with three other read tools, and passed it a path that resolved (via a symlink in the argument) to a credential file. The handler had no read-only enforcement — the `readOnlyHint` was a...",
    "condition_of_validity": "Declaration-time trust is only sound under a condition that external manifests almost never satisfy: **the manifest must be bound to the handler by a signature the runtime verifies, and the declared capability set must be a subset of what the handler is mechanically prevented from exceeding.** In practice, for third-party or dynamically discovered tools, thi...",
    "decision_boundary": "The boundary is between two admissible policies, and the failure occurs when an agent sits in neither: - **Strict attestation:** every tool call's effect class is re-derived at invocation (sandbox syscall observation, capability-scoped subprocess, or a signed manifest→handler binding). Unattestable tools are callable only in an isolated context region whose ...",
    "operational_effect": "The immediate effect is that **capability metadata becomes an attack surface with the same trust weight as code**, and must be treated as such. Two operational consequences follow: First, side-effect classification must move from *plan time* to *invocation time* and must be derived from observation, not declaration. A tool that advertises `readOnlyHint: true..."
  },
  "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": "6b22c303e269b6bbd2bf4456cb02f53755ef9ba9785b5e8ec9eb3a288659570e",
    "verified_classes": [
      "UnattestedCapabilityError",
      "ToolCall"
    ],
    "verified_functions": [
      "attest_edge",
      "compile_plan",
      "__init__"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UnattestedCapabilityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
