{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-signed-skill-manifests-from-being-laundered-through-transitive-dependency-re-resolution-at-agent-cold-start",
  "title": "Which invariants prevent signed skill manifests from being laundered through transitive dependency re-resolution at agent cold-start",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents that load skills/tools from a signed manifest whose entries reference transitive dependencies (shared libraries, sub-skill packages, model adapters, or MCP server descriptors) resolved at runtime. Does not cover single-file, self-contained skills with no dependency graph, nor manifest signing at the transport layer (TLS/mTLS) which is orthogonal.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-signed-skill-manifests-from-being-laundered-through-transitive-dependency-re-resolution-at-agent-cold-start.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-signed-skill-manifests-from-being-laundered-through-transitive-dependency-re-resolution-at-agent-cold-start.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-signed-skill-manifests-from-being-laundered-through-transitive-dependency-re-resolution-at-agent-cold-start.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1895,
    "python_slice_tokens": 314,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"an unsigned skill got loaded.\" The failure is that a *correctly signed* manifest produced a *different* execution graph than the one the signer authorized, because the signature binds the manifest bytes — not the resolved closure the manifest denotes. A signature over `manifest.json` is a signature over a *set of version constraints*, not...",
    "what_was_observed": "A cold-start agent on a fresh host (empty local cache, no lockfile carried over from the prior session) performs resolution from scratch. The trace: 1. Agent fetches `manifest.json` + detached signature. Signature verifies: `ed25519(sig, sha256(manifest_bytes)) == signer_pubkey`. Passes. 2. Manifest declares `skill: summarize_docs@1.2.0`, `deps: { \"text_clean\": \"^3.1\", \"chunker\": \"^0.9\" }`. 3. Resolver queries the re...",
    "condition_of_validity": "Closure binding is only sound under three conditions, and each is a place the guardrail silently degrades: - **Resolver determinism.** The closure root must be computable from (manifest, registry state at a pinned epoch). If the registry is mutable and the resolver consults \"latest,\" the closure is a function of *when* you resolve. The guardrail must pin a r...",
    "decision_boundary": "The boundary is not \"trusted vs. untrusted publisher.\" It is **\"closure root matches signed root\" vs. \"everything else,\"** and \"everything else\" must be a hard refusal, not a warning. Concretely, the decision procedure at cold-start: - Recompute closure root over the resolved set `{(name, version, artifact_digest, edge_set)}` in a canonical serialization (so...",
    "operational_effect": "With closure binding enforced as a pre-execution barrier: - The attack in the trace fails at step 3–4: the resolver either finds no closure matching the signed root (if `text_clean@3.1.0` is unavailable) and refuses to start, or resolves the pinned version and proceeds safely. In neither case does `text_clean@3.1.7`'s `post_load` execute. - Cold-start become..."
  },
  "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": "d12ea6cd3c1355aa08aba9431e6e7908b3bff47bc1c223c3d7e23e75f135fd2f",
    "verified_classes": [
      "ClosureRootMismatch",
      "UnresolvableClosure"
    ],
    "verified_functions": [
      "verify_and_load_skill"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ClosureRootMismatch",
      "UnresolvableClosure"
    ],
    "sample_fail_closed_invariants": [
      "manifest carries no closure root; per-node signatures are insufficient"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
