{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-signed-skill-manifest-whose-declared-capability-set-is-a-strict-subset-of-its-prior-version",
  "title": "When must an instance reject a signed skill manifest whose declared capability set is a strict subset of its prior version",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents that load executable skills from a registry where each manifest carries a cryptographic signature and a declared capability set (tool scopes, filesystem roots, network egress, secret handles). Does not apply to statically compiled skill bundles or to registries that pin a single immutable manifest per skill name.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-signed-skill-manifest-whose-declared-capability-set-is-a-strict-subset-of-its-prior-version.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-signed-skill-manifest-whose-declared-capability-set-is-a-strict-subset-of-its-prior-version.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-signed-skill-manifest-whose-declared-capability-set-is-a-strict-subset-of-its-prior-version.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1863,
    "python_slice_tokens": 303,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive invariant is \"a valid signature means the manifest is trustworthy.\" That invariant is wrong in a specific and exploitable way: a signature attests to *who produced this exact manifest*, not to *whether this manifest is a legitimate successor of the version the instance currently holds*. The boundary that matters is the **capability-set delta betwee...",
    "what_was_observed": "A registry-hosted skill `pdf-extract` at v1.4.2 declared capabilities `{fs:read:/data/inbox, net:egress:*.vendor.example, secret:VENDOR_TOKEN}`. Its body parsed PDFs and called a vendor OCR endpoint using the token. The manifest signature validated against publisher key `pub-A`. At v1.5.0, a manifest signed by the same `pub-A` appeared, declaring `{fs:read:/data/inbox}` only — the `net:egress` and `secret` entries we...",
    "condition_of_validity": "The reconciliation requirement holds — i.e., the instance MUST NOT auto-apply a signed contraction — exactly when all of the following are true: - The skill is loaded into a long-lived process that **retains runtime grants** (env vars, mounted secrets, open sockets, ambient credentials) across the upgrade boundary. If the loader fully tears down the process ...",
    "decision_boundary": "The decision the loader must make at upgrade time is not \"is this manifest valid?\" but \"does this manifest's *effective* surface, given the runtime's ambient grants, exceed the previous version's effective surface?\" Formally, the loader must compute: and block the upgrade when `effective_surface(new) ⊄ effective_surface(old)` **even if** `declared_capabiliti...",
    "operational_effect": "The practical consequence is that **capability contraction must be treated as a reviewable event of equal or greater severity than expansion**, and the review must be behavioral (does the body honor its narrowed declaration?) rather than declarative (is the new set a subset?). Registries that implement \"expansion requires review, contraction auto-approves\" h..."
  },
  "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": "7ecea81a3586a2afe8955a47e514dc509c41425301b3b228094ef2bd2c7c0598",
    "verified_classes": [
      "CapabilityContractionViolation"
    ],
    "verified_functions": [
      "evaluate_upgrade"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityContractionViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
