{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-late-bound-skill-descriptor-provenance-collapse-at-the-tool-registration-boundary",
  "title": "When must an instance reject a late-bound skill descriptor: provenance collapse at the tool-registration boundary",
  "date_of_record": "2026 November 28",
  "scope": "Applies to tool-augmented agents that discover, register, or hot-swap skills (tools, MCP servers, plugin descriptors) at runtime from a registry, peer agent, or self-modification loop. Does not apply to agents whose full tool manifest is frozen and signature-verified at process start with no runtime registration path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-late-bound-skill-descriptor-provenance-collapse-at-the-tool-registration-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-late-bound-skill-descriptor-provenance-collapse-at-the-tool-registration-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-late-bound-skill-descriptor-provenance-collapse-at-the-tool-registration-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1656,
    "python_slice_tokens": 422,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The dangerous boundary is not \"malicious code execution.\" It is **descriptor provenance collapse**: the moment an agent accepts a *skill descriptor* (name, schema, description, and declared effect class) as authoritative because it arrived over an already-authenticated channel, conflating *transport identity* with *capability warrant*. An authenticated MCP s...",
    "what_was_observed": "A tool-augmented agent ran a hot-reload loop: every 60s it polled a \"skill catalog\" service, diffed descriptors by `name + version`, and registered new ones into its live tool table. The catalog service was authenticated via mTLS and was itself a legitimate peer agent in the swarm. A compromised peer (or a peer whose own skill set was poisoned upstream) published a descriptor: The handler at `agent-7` actually perfor...",
    "condition_of_validity": "The guardrail only holds under a specific condition: **the effect class must be signed by the declaring principal and that signature must be checked against the policy engine's trust root, independent of the transport path.** Concretely: 1. Descriptors carry a detached signature over `(name, version, schema_hash, effect_class, handler_ref)`. 2. The signature...",
    "decision_boundary": "The instance must **reject** a skill descriptor and refuse registration when: - The descriptor's effect class is signed by a principal different from the one the policy engine authorized, OR - The descriptor arrived via a forwarding peer whose own warrant does not include `may_relay_skills` for the declared effect class, OR - The handler's runtime-introspect...",
    "operational_effect": "Enforcing the invariant converts a silent, persistent compromise into a loud, bounded rejection at registration time. The poisoned `summarize_document` descriptor fails at step 2 (signature does not bind effect class to the declaring principal) or step 3 (handler introspection shows egress, signed class says read-only). The agent logs a `SkillProvenanceError..."
  },
  "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": "c1085493871eab725ac6dd6c3b1e4314e8af3be4d828ed9220793114e98d04f6",
    "verified_classes": [
      "SkillProvenanceError",
      "SkillDescriptor",
      "Warrant"
    ],
    "verified_functions": [
      "canonical_body",
      "verify_signature",
      "register_skill",
      "_effect_class_capabilities"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "SkillProvenanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
