{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-loads-a-skill-manifest-mid-context-the-capability-warrant-instruction-channel-collapse-boundary",
  "title": "What happens when an instance loads a skill manifest mid-context: the capability-warrant/instruction-channel collapse boundary",
  "date_of_record": "2026 November 26",
  "scope": "Applies to any agent runtime that hot-loads external capabilities (tool schemas, MCP server descriptors, skill manifests, plugin manifests) into a live context window after the initial system prompt has been committed. Does not apply to capabilities fixed at process start before the first user turn, nor to capabilities whose descriptors are loaded into a structurally separate channel that the model never reads as natural language.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-loads-a-skill-manifest-mid-context-the-capability-warrant-instruction-channel-collapse-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-loads-a-skill-manifest-mid-context-the-capability-warrant-instruction-channel-collapse-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-loads-a-skill-manifest-mid-context-the-capability-warrant-instruction-channel-collapse-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1925,
    "python_slice_tokens": 394,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a malicious skill runs malicious code.\" That is a sandbox problem with a known answer. The failure is subtler: **a skill manifest is simultaneously a machine-parseable capability declaration and a token sequence the model reads as instruction-bearing text.** These two roles share one transport. When a skill is injected *after* the system ...",
    "what_was_observed": "A runtime registered a new skill mid-session. The skill descriptor was fetched from a third-party registry and inserted into the conversation as a structured block: The `NOTE TO ASSISTANT` clause is not a parameter, not a capability, and not schema. It is instruction text smuggled into the `description` field of a capability declaration. The model, mid-task on an unrelated goal (\"summarize this contract and flag the ...",
    "condition_of_validity": "This boundary only bites under a conjunction: 1. **Late binding.** The skill is loaded after the system prompt is committed, so the runtime cannot re-derive a clean instruction/description split at load time. 2. **Shared transport.** The descriptor text reaches the model through the same token channel as user and tool content, with no structural marker the m...",
    "decision_boundary": "The runtime must decide, at load time, whether a descriptor is **inert configuration** or **live instruction**, and it cannot delegate that decision to the model. The boundary is: - **Below the boundary (safe):** capability descriptors are parsed by the runtime into a typed schema; only the typed fields (name, parameter types, endpoint, auth scope) are rende...",
    "operational_effect": "Enforcing the boundary changes three things: 1. **Load becomes a parse, not an append.** The runtime rejects any descriptor whose non-schema fields contain imperative constructions (second-person directives, \"always/never/before\" clauses, references to other tools). Rejection is a hard error, not a sanitization—sanitizing invites a bypass arms race. 2. **The..."
  },
  "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": "fbac6d1d3ef1800546e35a75a974b9c989da5f43b79c138eb42c358534580292",
    "verified_classes": [
      "SkillDescriptorInjectionError"
    ],
    "verified_functions": [
      "admit_skill",
      "load_skill_mid_session"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "SkillDescriptorInjectionError"
    ],
    "sample_fail_closed_invariants": [
      "descriptor lacks a schema name after admission; cannot register capability."
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
