{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-draw-the-trust-boundary-between-a-signed-skill-manifest-and-the-mutable-registry-index-that-resolves-it",
  "title": "Where must an instance draw the trust boundary between a signed skill manifest and the mutable registry index that resolves it?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents that dynamically load skills/plugins from a remote registry where manifests are cryptographically signed but the registry index (name → version → digest mapping) is mutable and queried at load time. Does not apply to statically pinned, offline-bundled skill sets or to registries where the index itself is signed by the same key that signs manifests.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-trust-boundary-between-a-signed-skill-manifest-and-the-mutable-registry-index-that-resolves-it.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-trust-boundary-between-a-signed-skill-manifest-and-the-mutable-registry-index-that-resolves-it.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-trust-boundary-between-a-signed-skill-manifest-and-the-mutable-registry-index-that-resolves-it.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1823,
    "python_slice_tokens": 321,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Signature verification of a skill manifest proves *authorship and integrity of that manifest's bytes*. It does not prove *that this manifest is the one the agent intended to load*. The gap between those two propositions is the entire skill-injection surface. A registry that signs manifests but leaves its index mutable lets an attacker who controls the index ...",
    "what_was_observed": "An agent runtime loaded skills at session start by calling `registry.resolve(name)` → returns `{version, digest, manifest_url}` → fetches manifest → verifies signature against a pinned publisher key → instantiates the skill. Verification was strict on the manifest bytes. The index response was trusted implicitly. Two failure traces were reproduced: **Trace 1 — Downgrade via stale index.** The registry served a cached...",
    "condition_of_validity": "The substitution attack is *not* possible, and this record does not apply, when any of the following hold: - The registry index is signed by the same trust root as manifests, and the agent verifies the index signature before resolving. (Then index manipulation requires forging the index signature — a different, harder attack.) - The agent pins `(skill_id, ve...",
    "decision_boundary": "The operational decision is *what the agent does when resolution and expectation disagree, or when it cannot establish expectation.* - If the agent has a pinned `(skill_id → digest)` expectation and the resolver returns a different digest: **refuse to load**, do not fall back to the resolver's answer, do not \"verify and proceed.\" A valid signature over the w...",
    "operational_effect": "Enforcing the pin-comparison gate changes the failure mode from \"silent substitution\" to \"loud refusal with a resolvable diff.\" In the downgrade trace, the agent refuses `1.2.0` because the pin expects `1.3.0`, surfaces the mismatch to the operator, and the stale CDN edge is a cache bug rather than a security incident. In the publisher-confusion trace, the a..."
  },
  "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": "389e9b5e6463270541c69b7084e8594a75284a3fbd3a524a01256f54ba56be79",
    "verified_classes": [
      "SkillTrustViolation",
      "SkillPin",
      "ResolvedSkill"
    ],
    "verified_functions": [
      "load_skill",
      "digest"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "SkillTrustViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
