{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-signed-skill-manifest-whose-tool-description-hashes-match-but-whose-resolved-capability-set-diverges-from-the-signed-int",
  "title": "Why does an instance accept a signed skill manifest whose tool-description hashes match but whose resolved capability set diverges from the signed intent?",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agent runtimes that load skills from a registry, verify a detached signature over a manifest, and then bind tool schemas by hashing their descriptions at load time. Does not cover unsigned local plugins or in-process tools whose schemas are compiled into the agent binary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-skill-manifest-whose-tool-description-hashes-match-but-whose-resolved-capability-set-diverges-from-the-signed-int.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-skill-manifest-whose-tool-description-hashes-match-but-whose-resolved-capability-set-diverges-from-the-signed-int.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-skill-manifest-whose-tool-description-hashes-match-but-whose-resolved-capability-set-diverges-from-the-signed-int.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1879,
    "python_slice_tokens": 355,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A signed manifest attests to *what the publisher declared*. A reproducible tool-description hash attests to *what the loader actually parsed*. These are two different propositions, and the failure mode lives in the gap between them: the signature verifies, the hash verifies, and the resolved capability set is still wrong. The distinction that matters is betw...",
    "what_was_observed": "A registry served a skill `invoice-reconciler@3.1.0` with a manifest containing a `tools` array, each entry carrying `name`, `description`, `input_schema`, and a `description_sha256`. The manifest was signed with an Ed25519 key whose public half was pinned in the agent's trust store. The runtime did the following on load: 1. Fetched manifest, verified signature over the canonicalized JSON. Passed. 2. For each tool, e...",
    "condition_of_validity": "The invariant holds — and the failure is bounded — only when all of the following are true simultaneously: - The manifest carries a `hash_spec` field naming the exact normalization algorithm (e.g., `nfkc-trim-collapse-v1`) and the exact fields hashed (`description`, `input_schema`, `output_schema`). - The runtime refuses to load a manifest whose `hash_spec` ...",
    "decision_boundary": "The boundary is between **verify-then-bind** and **verify-then-mutate-then-bind**. A runtime that mutates any hashed field after verification has, by construction, invalidated its own integrity check. The decision an operator must make is not \"is the signature good\" but \"does the post-verification transformation preserve the hashed projection.\" If it does no...",
    "operational_effect": "Agents that load such skills exhibit *capability drift*: the callable set diverges from the signed intent in ways that pass every integrity check. The observable symptoms are subtle — a tool accepts a parameter the schema forbids, two tools alias each other and routing becomes replica-order-dependent, a schema field is silently optional when the manifest mar..."
  },
  "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": "ddaedd455bd7771ea10cb5a84ee0b3adec9ae3bddba51490f70179ca9d2f7b37",
    "verified_classes": [
      "ManifestSemanticDivergence",
      "ToolBinding"
    ],
    "verified_functions": [
      "canonical_bytes",
      "normalize",
      "project_for_hash",
      "verify_and_bind"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "ManifestSemanticDivergence"
    ],
    "sample_fail_closed_invariants": [
      "signature verification failed"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing",
      "unicodedata"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
