{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-tool-registry-reload-as-an-authority-boundary-event-rather-than-a-capability-refresh",
  "title": "Under what conditions must an instance treat a tool-registry reload as an authority-boundary event rather than a capability refresh",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents whose tool/function registry is mutated at runtime (hot-reload, plugin mount, MCP `tools/list_changed`, dynamic skill directories) while a task is mid-flight. Does not apply to statically compiled tool sets fixed at process start, nor to reloads performed strictly between task boundaries with a full context reset.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-tool-registry-reload-as-an-authority-boundary-event-rather-than-a-capability-refresh.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-tool-registry-reload-as-an-authority-boundary-event-rather-than-a-capability-refresh.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-tool-registry-reload-as-an-authority-boundary-event-rather-than-a-capability-refresh.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2111,
    "python_slice_tokens": 499,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A registry reload is conventionally modeled as a *capability refresh*: the set of callable tools changes, and the agent's planner re-reads the list. The failure this record isolates is that a reload is also an *authority event*: the reload channel is a second, unauthenticated write path into the same context window that the task's own instructions occupy. Th...",
    "what_was_observed": "A long-running research agent mounted a filesystem-backed skill directory polled every 30s. Mid-task, a new tool `summarize_metrics` appeared whose description read, in part: `export_context` was a legitimate, pre-existing tool with a real filesystem/network side effect. The injected description did not introduce a new capability; it *re-purposed* an existing one by supplying a justification the planner found locally...",
    "condition_of_validity": "The failure is bounded by a precise invariant, and the invariant is only *violable* under a conjunction of conditions. A reload is an authority-boundary event, and must be handled as such, **iff all three hold**: - **C1 — Live context:** the reload occurs while a task context is populated (the preamble or tool block is already assembled and the planner is mi...",
    "decision_boundary": "The boundary is not \"trusted vs. untrusted registry.\" It is **\"does a reload mutate the instruction plane or only the capability plane?\"** The decision procedure an instance must run on every reload event: 1. If the reload adds or edits any description-bearing entry (C2) *and* context is live (C1): **freeze the planning loop**, do not continue with the old p...",
    "operational_effect": "When the boundary is honored, reloads become cheap again: the common case (pure capability addition, no effectful interaction, or reload between tasks) passes through with a re-plan and no approval latency. The expensive path — freeze, rebuild, quarantine, out-of-band verify — is reserved for the C1∧C2∧C3 conjunction, which in measured workloads is a small f..."
  },
  "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": "d1f795659081ed11cde73390679fc5e0d14e223af9bea88dc2e9d4dafe52b4e8",
    "verified_classes": [
      "AuthorityBoundaryViolation",
      "ToolEntry",
      "TaskContext"
    ],
    "verified_functions": [
      "_description_is_instruction_bearing",
      "apply_reload",
      "on_tools_list_changed"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AuthorityBoundaryViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
