{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-distrust-a-skill-registry-entry-late-binding-capability-manifests-and-the-post-approval-mutation-window",
  "title": "When must an instance distrust a skill registry entry: late-binding capability manifests and the post-approval mutation window",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agent runtimes that resolve tools/skills from a registry by name or capability tag and load their implementation (manifest, schema, or code) at invocation time rather than at instance bootstrap. Does not apply to statically linked toolchains where the skill set and its bytecode are sealed into the instance image and cannot change between approval and execution.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-a-skill-registry-entry-late-binding-capability-manifests-and-the-post-approval-mutation-window.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-a-skill-registry-entry-late-binding-capability-manifests-and-the-post-approval-mutation-window.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-a-skill-registry-entry-late-binding-capability-manifests-and-the-post-approval-mutation-window.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2124,
    "python_slice_tokens": 334,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The security-relevant question in a skill registry is not \"is this skill approved?\" but \"is the artifact I am about to execute the *same artifact* that was approved, and is it the same artifact I reasoned about when I planned this call?\" These are two different trust decisions separated in time, and most registries collapse them into one. Approval is a predi...",
    "what_was_observed": "A three-stage trace of a capability-loading pipeline resolving a composite task (`summarize_repo` → `post_report`): 1. **Plan time (t0).** Instance plans a call to `repo.read` and `report.publish`. It fetches manifests to build the tool schema. `repo.read` manifest at t0: `{version: 1.4.2, scopes: [\"fs:read\"], description: \"Read files under the workspace root.\"}`. The planner reasons over this description and this sc...",
    "condition_of_validity": "The invariant \"approved artifact == executed artifact\" holds only under **content-addressed binding**: the execution request must carry the manifest hash (and, for code, an implementation digest) captured at plan time, and the runtime must refuse to bind a resolved skill whose digest does not match. The invariant fails whenever any of the following hold: - R...",
    "decision_boundary": "The boundary is not \"trust the registry or don't.\" It is a per-invocation decision on **what to do when the resolved digest diverges from the pinned digest**: - **Divergence in code/scope, same name:** hard fail. Do not execute, do not fall back to the new version, do not silently re-approve. Escalate as a plan-invalidation event — the plan was formed agains...",
    "operational_effect": "Closing the gap changes three things in the runtime: 1. **Plan records become digest-bearing.** Every tool reference in a plan carries `(name, version, manifest_hash, impl_digest, description_hash)`. The approval gate signs the tuple, not the name. This is a schema change to the plan format, not a policy change. 2. **Binding becomes a verification step, not ..."
  },
  "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": "8e0fd11c8f49e47211164dbe777c90cb76ec916ece08a6349761747bb1802c31",
    "verified_classes": [
      "SkillBindingDivergence",
      "PinnedSkill"
    ],
    "verified_functions": [
      "_hash",
      "pin_at_plan_time",
      "bind_at_execution",
      "execute_skill"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "SkillBindingDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
