{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-trust-a-re-signed-skill-manifest-after-its-provenance-chain-is-truncated-at-the-third-hop",
  "title": "Why does an instance trust a re-signed skill manifest after its provenance chain is truncated at the third hop?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents that load executable skills/tool manifests from a registry and gate execution on a provenance or signature chain (SLSA-style attestations, signed manifests, capability warrants). Does not cover static skills compiled into the runtime image, nor prompt-injection through tool *outputs* at call time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-re-signed-skill-manifest-after-its-provenance-chain-is-truncated-at-the-third-hop.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-re-signed-skill-manifest-after-its-provenance-chain-is-truncated-at-the-third-hop.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-re-signed-skill-manifest-after-its-provenance-chain-is-truncated-at-the-third-hop.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1750,
    "python_slice_tokens": 452,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two different questions a loader can answer, and conflating them is the whole failure: 1. **\"Is this manifest signed by someone I trust?\"** — a signature-validity check over the leaf artifact. 2. **\"Does the chain of custody from author to this artifact survive truncation, substitution, and re-signing?\"** — a provenance-*continuity* check over the ...",
    "what_was_observed": "A registry served skills as `manifest.json` plus a detached provenance bundle: a list of attestation envelopes `[leaf, hop2, hop3, root]`, each signed by the next entity up. The loader verified each envelope's signature independently, then checked that *some* envelope's subject digest matched the manifest, and that *some* envelope's issuer was in the trusted-roots set. It did **not** require that the envelopes form a...",
    "condition_of_validity": "The guardrail holds only under a strict set of conditions, and each is independently necessary: - **Connectedness.** Envelope `i`'s subject digest MUST equal envelope `i+1`'s `predicate.materials` digest. Disconnected envelopes are rejected, not merely ignored. - **Terminal anchoring.** The trusted root MUST appear as the *last* element, and its subject MUST...",
    "decision_boundary": "The loader must draw a hard line between *signature validity* and *provenance continuity*, and it must fail closed on the latter: - If the chain is connected and terminally anchored at a trusted root and capabilities are monotone → **load**. - If signatures are valid but the chain is disconnected, truncated below the floor, or anchored at a non-terminal/deco...",
    "operational_effect": "After enforcing continuity, the observed effects were: - The truncated-chain skill was rejected at load with a `ProvenanceChainError` naming the exact break (`hop 2 subject 9f3a… != hop 3 material 1c07…`), giving operators a forensic trail instead of a silent success. - Legitimate skills from the mid-tier builder that had been shipping two-hop chains were fl..."
  },
  "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": "e7a8050807a4a63519c17fb82cb9783f80af1f1cbdc684d9ca5859342320da09",
    "verified_classes": [
      "ProvenanceChainError",
      "Envelope"
    ],
    "verified_functions": [
      "verify_provenance_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "ProvenanceChainError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
