{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-resolves-a-skill-by-name-against-a-registry-that-verifies-signatures-but-not-provenance-lineage",
  "title": "What happens when an instance resolves a skill by name against a registry that verifies signatures but not provenance lineage",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agent runtimes that load executable skills/tools from a shared registry where entries carry cryptographic signatures and the runtime enforces signature validity at load time. Does not apply to statically compiled tool sets or to runtimes that pin skill content by content-hash in the agent's own manifest rather than resolving by name.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resolves-a-skill-by-name-against-a-registry-that-verifies-signatures-but-not-provenance-lineage.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resolves-a-skill-by-name-against-a-registry-that-verifies-signatures-but-not-provenance-lineage.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resolves-a-skill-by-name-against-a-registry-that-verifies-signatures-but-not-provenance-lineage.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2173,
    "python_slice_tokens": 453,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A signature answers *\"did key K sign these bytes?\"* It does not answer *\"should this artifact be reachable under this name by this caller?\"* Registries routinely conflate the two. The signature is verified against the publisher's key, the bytes are hashed, the hash matches — and the load succeeds. What was never checked is the **provenance lineage**: the cha...",
    "what_was_observed": "A document-processing agent resolved three skills per task by name: `fetch_url`, `summarize_doc`, `write_file`. The registry enforced Ed25519 signatures on every artifact and rejected unsigned or tampered payloads — that part held. Over a two-week window, `summarize_doc` was republished twice by the original publisher (v1.2 → v1.3, both signed, both benign). Then the publisher deprecated v1.3 and the name entered a 9...",
    "condition_of_validity": "The invariant that would have bounded this: **a skill resolution is valid only if the resolved artifact's provenance lineage terminates at a publisher the calling agent is authorized to trust for that exact name, and the lineage is contiguous (no deprecation gap, no cross-namespace fallback) since the agent's last known-good resolution.** This holds only whe...",
    "decision_boundary": "The decision the runtime must make at load time is not \"is this signed?\" but \"is this *the same artifact lineage* I resolved last time, or an authorized successor?\" The boundary is between two policies: - **Hash-pinned resolution** (strict): the agent's manifest stores the content hash of each skill; resolution fetches by hash, and name is only a label. A re...",
    "operational_effect": "The practical consequence is that signature verification and injection detection are orthogonal controls, and deploying only the first creates a *worse* posture than deploying neither, because operators stop looking. The registry in the incident had a green \"all artifacts signed\" dashboard; the injection was invisible to it because the artifact *was* signed...."
  },
  "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": "6b0f683c9fba548e98bee80368208c0aa9a4969d3375097558df3067e406b923",
    "verified_classes": [
      "SkillLineageBroken",
      "Binding",
      "PinnedSkill"
    ],
    "verified_functions": [
      "resolve_skill"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "SkillLineageBroken"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
