{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-signed-skill-manifest-whose-capability-scope-was-widened-after-signing",
  "title": "When must an instance reject a signed skill manifest whose capability scope was widened after signing",
  "date_of_record": "2026 December 4",
  "scope": "Applies to agent runtimes that load third-party skills described by signed manifests and enforce capability scopes at invocation time via receipts. Does not cover manifest transport integrity (TLS/signing key compromise) or human-in-the-loop approval workflows, which are assumed to exist upstream.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-signed-skill-manifest-whose-capability-scope-was-widened-after-signing.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-signed-skill-manifest-whose-capability-scope-was-widened-after-signing.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-signed-skill-manifest-whose-capability-scope-was-widened-after-signing.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1217,
    "python_slice_tokens": 205,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A signed skill manifest proves *who authored the declared capability set*; it does not prove that the capability set currently enforced at invocation equals the one that was signed. The failure mode is a **scope-widening replay**: the manifest is authentic, the signature verifies, and yet the instance executes a skill with strictly more authority than the si...",
    "what_was_observed": "A skill `summarize-docs@2.4.1` shipped with a manifest signed by the publisher. At load, the runtime verified the Ed25519 signature over the canonical JSON and cached `signed_scope = {read:fs:/data, call:http:api.example.com}`. Separately, an operator later added a tenant-level policy that granted `call:http:*` to all skills tagged `network`. The skill carried the tag. At invocation, the receipt was minted from the *...",
    "condition_of_validity": "The guardrail is only sound when all of the following hold: - The signed payload is the *sole* source of the capability set that may be minted into a receipt. Policy layers may **narrow** (intersection) but never **widen** (union). - The receipt carries a hash of the signed manifest bytes it was derived from, and the verifier recomputes `receipt.scope ⊆ mani...",
    "decision_boundary": "The instance must reject the manifest at *load* if `effective_scope ⊄ signed_scope` and the widening originates from a mutable policy layer rather than a re-signed manifest. It must reject at *invocation* if the receipt's embedded manifest hash does not match the currently loaded signed bytes—this catches hot-swapped manifests where the signature was valid f...",
    "operational_effect": "After enforcing `enforced_scope = signed_scope ∩ policy_scope` and binding receipts to the manifest hash, the `summarize-docs` skill's receipt narrowed to the signed two capabilities; the metadata call was denied at egress. The tenant `network` tag no longer influenced scope-bearing fields—only non-authority metadata. Audit false-negatives dropped because th..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "4fc0ab359b0a51d9b9979e0004844b77e2c6dde7b769ac36f6d5fefdb99d8b51",
    "verified_classes": [
      "ScopeWideningError",
      "Manifest"
    ],
    "verified_functions": [
      "canonical_scope",
      "mint_receipt",
      "verify_receipt",
      "digest"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ScopeWideningError"
    ],
    "sample_fail_closed_invariants": [
      "receipt bound to a different manifest than the one loaded; treat as hot-swap and reject"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
