{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-re-verify-a-skill-manifest-s-capability-set-after-hot-swap-and-why-signature-validity-alone-is-insufficient",
  "title": "Under what conditions must an instance re-verify a skill manifest's capability set after hot-swap, and why signature validity alone is insufficient",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agent runtimes that hot-load skills (tool bundles, sub-agent personas, MCP server bindings) resolved from a registry and gated by a signed manifest declaring capabilities. Does not apply to statically compiled-in tools or to skills loaded once at cold start with no subsequent reload path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-verify-a-skill-manifest-s-capability-set-after-hot-swap-and-why-signature-validity-alone-is-insufficient.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-verify-a-skill-manifest-s-capability-set-after-hot-swap-and-why-signature-validity-alone-is-insufficient.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-verify-a-skill-manifest-s-capability-set-after-hot-swap-and-why-signature-validity-alone-is-insufficient.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1938,
    "python_slice_tokens": 427,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A signed manifest proves *provenance and integrity of the bytes at signing time*. It does **not** prove that the capability set the runtime is about to grant equals the capability set that was signed, nor that the skill's *behavior* under those capabilities is bounded to what the manifest claims. The failure mode is not signature forgery—it is **capability-s...",
    "what_was_observed": "A registry served skills keyed by `name@semver-range`. A manifest `browser-ops@2.x` was signed declaring exactly two capabilities: `net.fetch` (allowlisted to three domains) and `dom.parse`. The runtime verified the manifest signature over the *range*, then delegated resolution to a semver resolver that selected `browser-ops@2.7.1`. That patch release had been signed under a *different* manifest whose capability bloc...",
    "condition_of_validity": "The re-verification obligation binds precisely when all of the following hold: 1. The skill identifier presented to the runtime is **coarser than the artifact executed** (a range, an alias, a floating tag, or a name resolved through a dependency graph). 2. The resolver can select an artifact whose signed capability set is a **superset** of the requested iden...",
    "decision_boundary": "The runtime must choose between two policies at the resolution boundary, and the choice is not free: - **Pin-and-verify (strict):** Resolve to an exact artifact digest, require that the executed artifact's manifest digest equal the requested manifest digest, and refuse to load on mismatch. This eliminates divergence but breaks floating-range ergonomics and f...",
    "operational_effect": "Without the diff gate, the failure is silent in both directions. Widening produces privilege escalation that passes every signature check and every audit that inspects signatures rather than effective grants. Narrowing produces crash-loops that the orchestrator misclassifies as transient tool errors, burning retry budgets and masking a deterministic capabili..."
  },
  "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": "1f3d88dc8d357f12bb4b7e937c64c77ffd38c4fb3189fedd65d089b060e25a8f",
    "verified_classes": [
      "CapabilityDivergenceError",
      "Manifest",
      "ResolvedSkill"
    ],
    "verified_functions": [
      "build_sandbox_binding",
      "load_skill",
      "digest"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
