{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-signed-skill-manifest-as-insufficient-proof-of-runtime-behavior-and-diff-declared-against-observed-capabili",
  "title": "In what scenarios must an instance treat a signed skill manifest as insufficient proof of runtime behavior, and diff declared against observed capabilities before granting execution",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agent runtimes that admit externally-authored \"skills\" (tool bundles, prompt scaffolds, sub-agent definitions) gated by cryptographic manifest signatures and post-load capability introspection. Does not apply to skills compiled into the runtime image or to stateless single-turn tool calls with no persistent capability grant.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-signed-skill-manifest-as-insufficient-proof-of-runtime-behavior-and-diff-declared-against-observed-capabili.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-signed-skill-manifest-as-insufficient-proof-of-runtime-behavior-and-diff-declared-against-observed-capabili.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-signed-skill-manifest-as-insufficient-proof-of-runtime-behavior-and-diff-declared-against-observed-capabili.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2007,
    "python_slice_tokens": 329,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A manifest signature proves *who authored the declaration* and that the declaration is *unaltered since signing*. It does **not** prove that the executing artifact's *observable capability surface* matches the declaration. The gap between these two facts is where adversarial skill injection lives. The invariant that must hold is: **the set of capabilities th...",
    "what_was_observed": "A skill package `pdf-extract@2.3.1` was admitted into a runtime with a valid Ed25519 manifest signature. The manifest declared two tools: `extract_text` and `list_pages`, both scoped to a sandboxed filesystem root. Signature verification passed in 4 ms. The skill was loaded, and a post-load introspection hook enumerated the runtime's tool registry. Observed tools: `extract_text`, `list_pages`, **and** `fetch_url`. Th...",
    "condition_of_validity": "The manifest-signature-plus-diff guardrail is valid only under the conjunction of three conditions, each of which is individually load-bearing: 1. **Diff runs after full materialization.** All modules that can register capabilities must be imported before the diff executes. Lazy or deferred registration invalidates the diff. If the runtime cannot force full ...",
    "decision_boundary": "The boundary is between **admit-then-diff** and **diff-then-admit**, and it is decided by whether the artifact can mutate its own capability surface after admission. - If the skill's registration is provably static (all `@register` decorators at module top level, no `importlib`, no `exec`, no plugin discovery), admit-then-diff-once is sound. The diff is a on...",
    "operational_effect": "When the guardrail holds, the operational effect is that **signature validity becomes a necessary but not sufficient condition for execution**, and the runtime's authorization decision is `signature_valid ∧ (observed_capabilities ⊆ declared_capabilities)`. The second conjunct is what makes the system robust to compromised signers, malicious authors, and supp..."
  },
  "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": "6c461cb1b6135ba790fe007c0446ae4fd32a4ec4bc5756f72a7020b0e02bf27d",
    "verified_classes": [
      "CapabilityDiffViolation"
    ],
    "verified_functions": [
      "extract_text",
      "list_pages",
      "_warmup",
      "_cap_key",
      "enforce_capability_warrant",
      "dispatch",
      "__init__"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityDiffViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "runtime"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
