{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-skill-manifest-whose-declared-capabilities-understate-its-transitive-tool-reach",
  "title": "When must an instance reject a skill manifest whose declared capabilities understate its transitive tool reach",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents that load tool/skill manifests at runtime and gate them against a static capability allowlist. Does not cover static, compile-time-fixed tool sets, nor defense against prompt injection arriving through *data* rather than through *manifest declarations*.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-skill-manifest-whose-declared-capabilities-understate-its-transitive-tool-reach.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-skill-manifest-whose-declared-capabilities-understate-its-transitive-tool-reach.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-skill-manifest-whose-declared-capabilities-understate-its-transitive-tool-reach.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1556,
    "python_slice_tokens": 194,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"the agent loaded a malicious skill.\" It is subtler: the agent loaded a manifest whose *declared* capability set was a proper subset of the capabilities its tools actually exercise at execution time. Allowlist validation typically compares the manifest's `capabilities` field against the allowlist and admits the skill if `declared...",
    "what_was_observed": "A skill package `doc-indexer` was admitted. Its manifest declared: Both are on the allowlist. The validator passed it. During execution, `doc-indexer` invoked its dependency `text-extract`, which declared `read:filesystem` and `exec:subprocess` — and `exec:subprocess` was *not* on the allowlist. The validator never saw `text-extract`'s manifest because dependency resolution happened lazily, at first tool call, inside...",
    "condition_of_validity": "The single-manifest allowlist check `declared ⊆ allowlist` is a valid defense **if and only if** all of the following hold: 1. **Closure completeness.** The set of tools a skill can invoke is fully enumerable from its manifest *before* execution — i.e., the manifest lists transitive dependencies, or the loader resolves them eagerly under the gate. Lazy resol...",
    "decision_boundary": "The operative decision is: **when the manifest's declared set is not provably equal to the transitive capability closure, the gate must fail closed, not open.** Concretely, the boundary is: - If the loader can produce the full dependency closure *before* admission and every node's declared set is within the allowlist → admit. - If the loader resolves lazily,...",
    "operational_effect": "With the closure check in place, the `doc-indexer` case fails at admission: the gate resolves `text-extract`, sees `exec:subprocess` outside the allowlist, and denies the whole skill. The audit log records the denial against the composite, with the offending leaf named. The skill never executes, so the ambient-authority window never opens. The cost is that a..."
  },
  "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": "4d4f669648903f91c50d06f4bdf6e19b4b6acac76925f0c3d6980aa967631b57",
    "verified_classes": [
      "CapabilityClosureViolation"
    ],
    "verified_functions": [
      "admit_skill"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityClosureViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
