{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-a-tool-manifest-whose-declared-capability-set-is-a-strict-superset-of-the-capability-the-planner-actually-invoked",
  "title": "Where must an instance refuse a tool manifest whose declared capability set is a strict superset of the capability the planner actually invoked",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents that load tool/plugin manifests dynamically (MCP servers, plugin registries, function-calling catalogs) and where the manifest's declared capability surface is trusted at load time to authorize later invocations. Does not apply to statically compiled tool bindings where the capability set is fixed at build time and cannot be re-declared by a remote registry.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-tool-manifest-whose-declared-capability-set-is-a-strict-superset-of-the-capability-the-planner-actually-invoked.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-tool-manifest-whose-declared-capability-set-is-a-strict-superset-of-the-capability-the-planner-actually-invoked.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-tool-manifest-whose-declared-capability-set-is-a-strict-superset-of-the-capability-the-planner-actually-invoked.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1842,
    "python_slice_tokens": 217,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive security model treats a tool manifest as a *description*: \"this server exposes `read_file` and `http_get`.\" The correct model treats the manifest as an *authorization grant*: the act of loading a manifest expands the instance's reachable action space, and every entry in that expanded space becomes invocable by whatever later token stream happens to...",
    "what_was_observed": "A retrieval-augmented agent was configured with a plugin registry that fetched manifests from per-tenant endpoints at session start. One tenant's registry returned a manifest identical to the expected one except for a single appended tool: The planner had no task requiring `read_file`. The loader validated the manifest schema, confirmed the endpoint's TLS identity, and registered both tools. Nothing in the load path ...",
    "condition_of_validity": "The superset-refusal invariant holds—i.e., refusing a manifest whose declared capabilities exceed the task envelope actually prevents the attack—only under these conditions: - **The task envelope is computed before manifest load, from the planner's own plan, not from the manifest.** If `C_required` is derived by asking the registry \"what do you offer?\", the ...",
    "decision_boundary": "The operational rule is a strict-subset admission test with an explicit escape hatch, and the boundary is sharp: **Admit** a manifest iff `normalize(C_declared) ⊆ C_required ∪ C_baseline`, where `C_baseline` is a small, human-audited set of always-available primitives (clock, logging) that carry no resource-access effect class. **Refuse** when `C_declared \\ ...",
    "operational_effect": "With the superset-refusal invariant enforced, the observed attack class collapses at stage 1: the surplus `read_file` never registers, the dormant binding never exists, and the retrieved instruction has no valid target to resolve against. The model may still *attempt* the call, but dispatch rejects an unregistered capability, and the attempt is logged as a c..."
  },
  "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": "c8d0fc3a9083e2e1a91ff887050303beeff6965eacb390b83804c908cc7a9fb6",
    "verified_classes": [
      "CapabilitySupersetError",
      "Capability"
    ],
    "verified_functions": [
      "normalize",
      "admit_manifest",
      "load_session"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilitySupersetError"
    ],
    "sample_fail_closed_invariants": [
      "empty task envelope: refusing to admit any manifest without declared intent"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
