{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-signed-skill-that-was-validly-registered-for-a-different-capability-namespace",
  "title": "Why does an instance accept a signed skill that was validly registered for a different capability namespace?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agent runtimes that gate skill/tool injection on (a) a cryptographic signature over skill metadata and (b) an allowlist keyed to a registry entry. Does not cover unsigned local plugins loaded at process start, nor runtime memory poisoning after a skill has already been admitted.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-skill-that-was-validly-registered-for-a-different-capability-namespace.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-skill-that-was-validly-registered-for-a-different-capability-namespace.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-skill-that-was-validly-registered-for-a-different-capability-namespace.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1514,
    "python_slice_tokens": 234,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Skill-provenance verification answers *\"was this artifact signed by a key the registry trusts?\"* Registry allowlisting answers *\"is this skill permitted here?\"* These are two different predicates, and the common failure is treating the first as sufficient for the second. A signature proves **origin and integrity**, not **scope of applicability**. The registr...",
    "what_was_observed": "An orchestrator instance tasked with `capability_namespace = \"filesystem.read\"` was configured with an allowlist of `skill_id` values including `fs_reader`. A separate, legitimate publisher had registered `fs_reader` under `capability_namespace = \"filesystem.write\"` (same skill name, different namespace, published months earlier). The signed manifest for the write-namespace skill validated cleanly: publisher key trus...",
    "condition_of_validity": "The allowlist check is only sound when the allowlist key is the **full provenance tuple**, not a bare `skill_id`. Concretely, admission is valid only if all of the following hold simultaneously: - The signature verifies over a payload hash that **covers** `skill_id`, `capability_namespace`, `version`, and `publisher` — i.e., the namespace is inside the signe...",
    "decision_boundary": "The boundary is between **authenticating an artifact** and **authorizing its use in a specific context**. Verification code that returns a single boolean (`is_trusted`) collapses these and invites the failure. The correct boundary is a two-stage gate: - Stage 1 (integrity): signature valid, payload hash covers all scope fields, registry record exists and is ...",
    "operational_effect": "The operational consequence is that a read-scoped agent can silently acquire write-capable tool bindings through a name collision across capability namespaces, with every cryptographic check green. Detection requires either a redundant downstream enforcement point (as the sandbox provided here) or an explicit scope-comparison step that most provenance verifi..."
  },
  "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": "9b45fedad8b87afb181da537cb99e7acfff11b3c950c0890afdb2de9649bd04e",
    "verified_classes": [
      "ScopeWideningAdmission",
      "SignedManifest",
      "AllowlistEntry"
    ],
    "verified_functions": [
      "verify_signature",
      "admit_skill"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ScopeWideningAdmission"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
