{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-trust-a-skill-s-declared-capability-set-before-the-registry-has-verified-its-provenance-chain",
  "title": "Why does an instance trust a skill's declared capability set before the registry has verified its provenance chain?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agent runtimes that dynamically load skills/tools from a registry (MCP servers, plugin manifests, function-calling catalogs) at cold-start or mid-session, where the skill's self-declared schema and description enter the model's context before provenance verification completes. Does not apply to statically compiled tool sets whose signatures are pinned at build time and never renegotiated.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-skill-s-declared-capability-set-before-the-registry-has-verified-its-provenance-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-skill-s-declared-capability-set-before-the-registry-has-verified-its-provenance-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-skill-s-declared-capability-set-before-the-registry-has-verified-its-provenance-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1856,
    "python_slice_tokens": 356,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a malicious tool executed.\" It is that the *declaration* of a skill is treated as inert metadata while the *invocation* is treated as the trust boundary. In practice the declaration is the attack surface. A skill manifest carries three things the model consumes as trusted text: the tool name, the JSON schema (including `description` strin...",
    "what_was_observed": "A registry-backed agent loaded 14 skills at cold start. One skill (`summarize_doc`) arrived with a valid-looking manifest but a provenance chain that terminated at an unverified publisher — a re-registration of a name that had previously resolved to a signed publisher. The loader's sequence was: fetch manifest → parse schema → inject schema + descriptions into system context → verify signature asynchronously → mark s...",
    "condition_of_validity": "This failure requires all of the following to co-occur; remove any one and the attack collapses: - **Declaration-before-verification ordering.** The manifest's NL content enters context before provenance resolves. If verification is synchronous and blocking, the description never reaches the model on a bad chain. - **Model-visible parameter descriptions.** I...",
    "decision_boundary": "The boundary is between **admission** and **invocation**. Provenance must gate *admission to context*, not merely *execution*. Concretely: - A skill's manifest NL content is untrusted input and must be quarantined until its provenance chain resolves to a trusted root. No exceptions for \"display only\" — display is consumption. - Provenance resolution must be ...",
    "operational_effect": "Implementing admission-gated provenance changes three runtime behaviors. First, cold-start latency increases by the synchronous verification cost — acceptable, because the alternative is a poisoned context that no amount of call-time checking recovers. Second, the model's tool catalog must be assembled from *verified* manifests only; unverified skills are ab..."
  },
  "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": "204a8cd52898e062e1bf3f4d91823d49c502861a90583c10fd7ac135b2a582b7",
    "verified_classes": [
      "SkillProvenanceError",
      "PlanInvalidationError"
    ],
    "verified_functions": [
      "admit_skill",
      "revoke_skill",
      "load_skills"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "PlanInvalidationError",
      "SkillProvenanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
