{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-skill-registry-reload-as-a-trust-boundary-transition-rather-than-a-cache-refresh",
  "title": "In what scenarios must an instance treat a skill-registry reload as a trust-boundary transition rather than a cache refresh",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agents that resolve callable skills (tools, plugins, prompt fragments, sub-agent manifests) from a mutable registry at runtime and re-load that registry without restarting the process. Does not apply to statically linked tool sets compiled into the agent image, nor to registries that are cryptographically sealed per process lifetime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-skill-registry-reload-as-a-trust-boundary-transition-rather-than-a-cache-refresh.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-skill-registry-reload-as-a-trust-boundary-transition-rather-than-a-cache-refresh.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-skill-registry-reload-as-a-trust-boundary-transition-rather-than-a-cache-refresh.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2034,
    "python_slice_tokens": 380,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A skill registry is usually treated as *data*: a lookup table the agent reads to discover what it can do. A hot-reload of that registry is therefore modeled as a *cache refresh* — the agent drops stale entries, pulls new ones, and continues. This model is correct for read-only content (documentation, schemas) but catastrophically wrong for skills, because a ...",
    "what_was_observed": "An agent instance started with a registry snapshot of 41 skills, each pinned by content digest at init. A background poller refreshed the registry every 90 seconds and merged new entries into the live skill map with `dict.update()`. The merge path had no digest check and no approval step — it assumed the registry server was authoritative and trusted. At T+00:00 an attacker (or a compromised registry mirror, or a supp...",
    "condition_of_validity": "The cache-refresh model is only valid when all three of the following hold: 1. **The registry is immutable for the instance's lifetime.** No adds, no mutations. Then reload is a no-op and the question is moot. 2. **Every added or mutated entry is admitted through an approval gate that runs before the entry becomes invocable** — e.g., a human review, a signat...",
    "decision_boundary": "The operational question an instance must answer on every reload event is: *does the post-reload registry contain any name whose digest differs from (or is absent in) my init snapshot?* If the answer is yes, the instance is at a decision boundary with three admissible responses: - **Reject the reload.** Keep the init snapshot, log the divergence, continue wi...",
    "operational_effect": "When the boundary is respected, the observable behavior changes in three ways. First, injected skills become *visible as pending* rather than silently invocable — the instance's skill list shows a quarantine state, and the planner is instructed to route around pending entries rather than select them. Second, the exfiltration path dies at admission: the malic..."
  },
  "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": "45b825c15eb707a1d98a563ea86127d7dc3d01c4c888ce30046eac7f1c99d3bc",
    "verified_classes": [
      "SkillInjectionError",
      "SkillEntry",
      "SkillRegistry"
    ],
    "verified_functions": [
      "compute_digest",
      "__init__",
      "reload",
      "resolve"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "SkillInjectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
