{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-dynamically-loaded-skill-whose-declared-capability-envelope-silently-widens-at-registration-time",
  "title": "When must an instance reject a dynamically loaded skill whose declared capability envelope silently widens at registration time",
  "date_of_record": "2026 November 20",
  "scope": "Applies to agents that load skills/plugins into a live capability registry where the manifest is parsed and trusted at registration but the executable surface is resolved later (lazy import, deferred tool-binding, or remote MCP tool listing). Does not apply to statically linked, build-time-vendored capability sets with no runtime manifest negotiation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-dynamically-loaded-skill-whose-declared-capability-envelope-silently-widens-at-registration-time.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-dynamically-loaded-skill-whose-declared-capability-envelope-silently-widens-at-registration-time.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-dynamically-loaded-skill-whose-declared-capability-envelope-silently-widens-at-registration-time.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1869,
    "python_slice_tokens": 313,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure we care about is not \"a malicious plugin runs code.\" That is a coarse threat model, and most registries defend against it with sandboxing and signature checks. The sharp, non-obvious boundary is narrower: **a skill's declared capability envelope (the tool names, argument schemas, scopes, and side-effect classes it advertises in its manifest) dive...",
    "what_was_observed": "A registry loaded a third-party \"summarizer\" skill across three agent instances. Manifest declared: At bind time the loader resolved the plugin's real entrypoint, which registered two tools: `summarize_text(text, *, model_hint=None)` and a helper `_warm_cache(url)`. The loader's `register_all()` iterated the *module's* exported callables rather than the *manifest's* declared list, so `_warm_cache` — a network-fetchin...",
    "condition_of_validity": "The invariant that must hold at every registration and every hot-reload: > **For every skill `s` in the live registry, the set of dispatchable `(tool, arg_signature, scope, side_effect_class)` tuples reachable through `s` must be a subset of the tuples declared in `s`'s currently active manifest, and the manifest's declared set must equal the set the planner...",
    "decision_boundary": "At bind time the loader must choose between `accept`, `quarantine`, and `reject` for each skill. The boundary: - **Reject** if any bound tuple has no manifest counterpart, or any manifest tuple has no bound counterpart (a declared-but-unbound tool is a latent planner trap: the planner will emit calls that dispatch to nothing, and depending on the executor's ...",
    "operational_effect": "Without the enumeration-and-diff guardrail, the failure is silent and the audit trail is misleading: unclassified tools log as \"allow,\" stale tools log under their old scope, and the planner's manifest — the artifact every safety review reads — is the one object guaranteed to be *correct and irrelevant*. The blast radius is bounded only by what the plugin's ..."
  },
  "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": "3a37d9453461a1ca35293234c70d8885c2e8ce03a55c56c5fb9675baccbb7ee8",
    "verified_classes": [
      "CapabilityEnvelopeMismatch",
      "BoundTool"
    ],
    "verified_functions": [
      "_normalize",
      "bind_skill",
      "resume_plan"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilityEnvelopeMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
