{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-skill-provenance-attestation-is-valid-for-the-manifest-but-invalid-for-the-resolved-dependency-closure",
  "title": "What structural signals indicate a skill-provenance attestation is valid for the manifest but invalid for the resolved dependency closure",
  "date_of_record": "2026 November 19",
  "scope": "Applies to agents that load executable skills from a registry where each skill ships a signed manifest (attesting the skill's declared capabilities, pinned dependency digests, and publisher identity), and where the runtime resolves a transitive dependency closure before execution. Does not apply to single-file, dependency-free skills or to registries that sign the fully-resolved closure rather than the manifest.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-skill-provenance-attestation-is-valid-for-the-manifest-but-invalid-for-the-resolved-dependency-closure.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-skill-provenance-attestation-is-valid-for-the-manifest-but-invalid-for-the-resolved-dependency-closure.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-skill-provenance-attestation-is-valid-for-the-manifest-but-invalid-for-the-resolved-dependency-closure.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1968,
    "python_slice_tokens": 284,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A skill attestation is a signature over a *manifest*, not over the *bytes the agent actually executes*. Registries universally get this right at the manifest layer and universally get it wrong at the closure layer. The manifest declares `requires: [tool_a@sha256:..., tool_b@sha256:...]` and the publisher signs it. The verifier checks the signature, checks th...",
    "what_was_observed": "A registry-hosted skill `pdf-extract` (publisher `acme-tools`) shipped a signed manifest declaring one dependency: `pdf-parser@sha256:9f2c...`. The verifier validated the manifest signature, fetched `pdf-parser@9f2c`, confirmed its digest, and confirmed `pdf-parser`'s own signed manifest declared `requires: [font-lib@^2.1.0]` — a *range*, not a digest. The resolver picked `font-lib@2.1.7` because it was the latest sa...",
    "condition_of_validity": "The invariant that must hold for manifest-level attestation to imply closure-level integrity: > For every realized edge `(parent → child@digest)` in the resolved closure, there exists a signed manifest in the chain that pins `child` to exactly `digest` — not to a range, not to a tag, not to a \"latest\" alias. Call this **pin-closure completeness**. It fails w...",
    "decision_boundary": "The boundary is between **node-attested** and **closure-attested** verification, and the decision rule is: - If every edge in the realized closure is pinned by a signed manifest and the resolver identity is recorded → the closure is attested; execute. - If any realized edge's concrete target was not pinned by a signed manifest (it came from a range/tag/alias...",
    "operational_effect": "Agents that load skills without pin-closure checking are exposed to **range-substitution supply-chain injection**: an attacker who controls any transitive dependency's publisher account (or who can publish a higher version satisfying a range) executes code inside an agent that passed every signature check. The blast radius is the agent's full tool and creden..."
  },
  "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": "1a0708f270d68fc7fcbc5c77905710cc5b3ee6eb8f7a51982eff862a9ed9b0a4",
    "verified_classes": [
      "UnattestedClosureError",
      "Edge",
      "Manifest"
    ],
    "verified_functions": [
      "is_exact_pin",
      "verify_pin_closure"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UnattestedClosureError"
    ],
    "sample_fail_closed_invariants": [
      "resolver identity unrecorded; closure is not reproducible"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
