{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-skill-bundle-whose-capability-manifest-verifies-but-whose-provenance-chain-forks",
  "title": "When must an instance reject a skill bundle whose capability manifest verifies but whose provenance chain forks",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agent runtimes that load third-party skill/tool bundles (MCP servers, A2A capability cards, plugin manifests) and gate them on a signed capability manifest plus a provenance chain. Does not apply to first-party skills loaded from a sealed, write-once image, nor to runtimes that execute in a fully airgapped trust domain with no bundle ingestion path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-skill-bundle-whose-capability-manifest-verifies-but-whose-provenance-chain-forks.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-skill-bundle-whose-capability-manifest-verifies-but-whose-provenance-chain-forks.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-skill-bundle-whose-capability-manifest-verifies-but-whose-provenance-chain-forks.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2016,
    "python_slice_tokens": 314,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Signature validity and provenance validity are orthogonal predicates, and the common verification path collapses them into one. A capability manifest is *signed* — it carries a cryptographic attestation that some keyholder asserts \"this bundle exposes these tools with these schemas and these declared side-effects.\" A provenance chain is *linear* — it records...",
    "what_was_observed": "A skill bundle `pdf-extract@3.2` was ingested with a manifest declaring tools `read_file(path)` and `extract_text(bytes)` — both read-only, no network egress. The manifest signature verified against the delegated key `k_deploy_7`, whose delegation from the root key `k_root` was itself valid and unexpired. Standard gate: **pass**. The provenance chain, reconstructed from the bundle's `history[]` array, showed: - Origi...",
    "condition_of_validity": "The invariant that must hold for signature-only gating to be sound is: > For every loaded bundle node `n`, the set of nodes reachable from the origin by following `parent` pointers must form a single path (a chain), and the capability set of `n` must be a subset of every ancestor's *declared* capability set along that path. This invariant is violated by any ...",
    "decision_boundary": "The boundary is not \"trust the signature\" vs. \"trust the chain\" — both are necessary. The boundary is **what the loader does when ancestry-membership passes but chain-linearity fails**. Three defensible policies, ordered by blast radius: - **Reject-on-fork (strict).** If the loaded node's ancestry contains any node with more than one child, refuse the load. ...",
    "operational_effect": "After the incident, the gate was split into two ordered checks with distinct failure semantics: 1. `verify_signature(manifest, key)` — unchanged, fast, per-node. 2. `verify_chain_linearity(node, store)` — walks `parent` pointers to origin, asserts single-child at every hop *within the loaded node's trust domain*, and asserts `capabilities(node) ⊆ capabilitie..."
  },
  "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": "223678ce19510963ba42376d9831c167151beac668c7d1bf89d8dc6430e43a70",
    "verified_classes": [
      "ProvenanceForkError"
    ],
    "verified_functions": [
      "verify_chain_linearity",
      "load_bundle"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceForkError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
