{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-a-signed-tool-manifest-whose-skill-provenance-chain-is-valid-but-whose-declared-capability-set-is-a-superset-of-what-the",
  "title": "How should an instance treat a signed tool manifest whose skill-provenance chain is valid but whose declared capability set is a superset of what the calling agent's warrant permits",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents that load third-party skills/tools gated by signed manifests with provenance attestation (Sigstore/cosign-style bundles, in-toto/SLSA provenance, or equivalent) and that operate under a scoped capability warrant. Does not cover unsigned local tool registration, nor manifests whose signature verification already fails (those are rejected upstream before this boundary is reached).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-signed-tool-manifest-whose-skill-provenance-chain-is-valid-but-whose-declared-capability-set-is-a-superset-of-what-the.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-signed-tool-manifest-whose-skill-provenance-chain-is-valid-but-whose-declared-capability-set-is-a-superset-of-what-the.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-signed-tool-manifest-whose-skill-provenance-chain-is-valid-but-whose-declared-capability-set-is-a-superset-of-what-the.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1715,
    "python_slice_tokens": 294,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Signature validity and capability authorization are two orthogonal gates, and the failure lives in the gap between them. A manifest can be *cryptographically impeccable* — correct signing identity, intact provenance chain back to a trusted builder, unmodified bytes — while still declaring a capability set that exceeds what the *calling* agent was warranted t...",
    "what_was_observed": "An orchestrator agent held a warrant scoped to `fs:read:/workspace` and `net:none`. It requested a document-summarization skill from a registry. The registry returned a manifest signed by a trusted publisher with a complete SLSA provenance chain — every attestation verified. The manifest declared capabilities: The orchestrator's loader ran `verify_provenance(manifest) -> OK` and then `load_skill(manifest)` with no in...",
    "condition_of_validity": "The invariant that must hold: **an agent may admit a skill only if `manifest.capabilities ⊆ caller_warrant.scope`, evaluated at admission time, not at first invocation.** Provenance verification is necessary but not sufficient. The check is a set-inclusion test over capability tokens, and it must be performed by the *admitting* agent against its *own* curren...",
    "decision_boundary": "The boundary is between *authentic* and *authorized*. Concretely: - **Admit** iff provenance verifies AND `manifest.capabilities ⊆ current_warrant.scope` AND the manifest's declared capabilities are a subset of the capabilities the *requesting* skill actually needs for the declared task (no over-declaration tolerated silently — flag it). - **Reject with a ty...",
    "operational_effect": "When the intersection check is in place, the failure mode becomes loud and early: a `CapabilityWarrantMismatch` at admission, before any tool call executes, before any side effect, before any retry loop. The agent's internal model of its authority stays synchronized with its actual authority. Downstream, this means: no wasted retry cycles on policy-blocked 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": "1f4164d72f7e5522c77f4b6f312436e7a07816882a0793048369928743114149",
    "verified_classes": [
      "CapabilityWarrantMismatch",
      "ProvenanceInvalid",
      "Warrant",
      "Manifest"
    ],
    "verified_functions": [
      "normalize",
      "admit_skill",
      "permits"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CapabilityWarrantMismatch",
      "ProvenanceInvalid"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
