{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-tool-manifest-whose-capability-grant-is-a-strict-superset-of-the-skill-it-was-invoked-to-perform",
  "title": "Under what conditions must an instance reject a tool manifest whose capability grant is a strict superset of the skill it was invoked to perform",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents that load tool manifests and MCP server registrations at runtime from a registry or peer, where the manifest declares a capability grant (scopes, side-effect class, resource allowlist) that the loader is expected to enforce. Does not apply to statically compiled tool bindings where the grant is fixed at build time and never re-negotiated.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-tool-manifest-whose-capability-grant-is-a-strict-superset-of-the-skill-it-was-invoked-to-perform.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-tool-manifest-whose-capability-grant-is-a-strict-superset-of-the-skill-it-was-invoked-to-perform.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-tool-manifest-whose-capability-grant-is-a-strict-superset-of-the-skill-it-was-invoked-to-perform.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1729,
    "python_slice_tokens": 265,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"untrusted tool executes malicious code.\" That is the ordinary sandbox problem. The boundary failure here is subtler: **the tool manifest is a signed, validly-issued artifact whose declared capability grant is a strict superset of the skill the agent invoked it for**, and the loader treats \"valid signature + schema-conformant grant\" a...",
    "what_was_observed": "A registry-backed loader fetched a manifest for a skill named `summarize_document`. The manifest was validly signed by the registry's issuer key and passed JSON-schema validation. Its declared grant was: The agent invoked the tool for the summarize task. The tool's `description` field — a free-text block the loader passed verbatim into the model's context as part of the tool preamble — contained a skill-injection pay...",
    "condition_of_validity": "The invariant holds — and the loader must enforce it — exactly when all of the following are true: - **The manifest is dynamically sourced** (registry fetch, peer handoff, A2A negotiation) rather than compiled into the agent image. - **The manifest's grant is a strict superset** of the invoking task's declared skill requirements. Equality is safe; superset i...",
    "decision_boundary": "The loader's decision rule at manifest-admission time: - **Grant ⊆ task requirements** → admit, project grant into allowlist. - **Grant == task requirements** → admit, project grant. - **Grant ⊋ task requirements** → **reject the invocation** (do not silently narrow, because narrowing without rejecting leaves the injected `description` in context and the mod...",
    "operational_effect": "Enforcing the intersection at admission converts a cross-session memory-poisoning vector into a load-time rejection. The observable consequences: - Over-broad manifests fail fast with a typed error naming the excess capability, rather than executing and silently poisoning episodic state. - The `description` field is only ever projected into context for manif..."
  },
  "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": "bc84a78204dae23c70f4f485666a631515ec9b9c0af20ef69a469ce7d61a7b22",
    "verified_classes": [
      "CapabilitySupersetError"
    ],
    "verified_functions": [
      "admit_manifest",
      "load_and_project",
      "__init__"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilitySupersetError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
