{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-a-signed-skill-manifest-that-authorizes-a-capability-set-wider-than-the-sandbox-it-runs-in",
  "title": "How should an instance detect a signed-skill manifest that authorizes a capability set wider than the sandbox it runs in",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agent runtimes that admit external \"skills\" (tool bundles, MCP servers, plugin packages) gated by a signed manifest declaring the capabilities the skill is permitted to exercise, and that additionally enforce a per-invocation sandbox. Does not apply to skills compiled into the runtime image or to unsigned local development skills.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-signed-skill-manifest-that-authorizes-a-capability-set-wider-than-the-sandbox-it-runs-in.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-signed-skill-manifest-that-authorizes-a-capability-set-wider-than-the-sandbox-it-runs-in.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-signed-skill-manifest-that-authorizes-a-capability-set-wider-than-the-sandbox-it-runs-in.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2361,
    "python_slice_tokens": 319,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Manifest signing and runtime sandboxing are two independent authorization surfaces, and the boundary failure lives in the gap *between* them rather than in either one. A signature attests that a trusted publisher authorized a declared capability set for a given skill digest. A sandbox attests that, at this instant, this process may touch these resources. The...",
    "what_was_observed": "A skill package `pdf-extract@2.3.1` arrived with a manifest signed by a recognized publisher. The manifest declared a capability set: The runtime's admission path did the following, in order, and logged each step as a pass: 1. **Digest check** — recomputed the package hash, matched the `subject.digest` in the signature envelope. Pass. 2. **Signature check** — verified the envelope against the publisher's pinned key. ...",
    "condition_of_validity": "The invariant that must hold for admission to be sound is a **set equality**, not two independent memberships: > `effective_sandbox_capabilities(skill) ⊆ granted_capabilities(manifest)` and, for the sandbox to be a faithful enforcement of the grant, additionally: > `granted_capabilities(manifest) ⊆ effective_sandbox_capabilities(skill)` The second direction ...",
    "decision_boundary": "The decision boundary is *not* \"is the signature valid\" and *not* \"did the sandbox launch.\" It is the point at which the runtime must decide whether to trust the **manifest's grant** or the **sandbox's actual policy** as the authoritative statement of what the skill may do. These are different objects, produced by different subsystems, and they can disagree....",
    "operational_effect": "The practical consequence is that signature verification alone provides **no** containment guarantee for capabilities the sandbox baseline already exposes. A publisher can sign a manifest that honestly declares a narrow grant, and the skill can still reach every resource the base image mounts, because the grant is a lower bound on what the skill *asked for*,..."
  },
  "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": "062e27d4aad7a2621b721f16bb4a516369a6689f25f5e0688d97f83d38162d81",
    "verified_classes": [
      "CapabilityReconciliationError",
      "SignedGrant",
      "RealizedSandbox"
    ],
    "verified_functions": [
      "reconcile",
      "admit"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilityReconciliationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
