{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-verify-signed-tool-registry-attestation-before-first-invocation-and-why-does-lazy-provenance-checking-fail-at-the-capability-ne",
  "title": "Where must an instance verify signed tool-registry attestation before first invocation, and why does lazy provenance checking fail at the capability-negotiation boundary?",
  "date_of_record": "2026 December 3",
  "scope": "Applies to agent runtimes that resolve tool/skill bindings through a signed registry (attestation manifests with detached signatures over capability descriptors) and defer provenance verification until first tool invocation. Does not cover in-process plugin loading without a registry, nor pure prompt-level tool selection where no executable binding is created.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-verify-signed-tool-registry-attestation-before-first-invocation-and-why-does-lazy-provenance-checking-fail-at-the-capability-ne.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-verify-signed-tool-registry-attestation-before-first-invocation-and-why-does-lazy-provenance-checking-fail-at-the-capability-ne.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-verify-signed-tool-registry-attestation-before-first-invocation-and-why-does-lazy-provenance-checking-fail-at-the-capability-ne.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2006,
    "python_slice_tokens": 356,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There is a durable confusion between *capability negotiation* and *capability execution*. During negotiation, an agent reads a tool's descriptor — name, JSON schema, declared side effects, rate limits, required scopes — and decides whether the tool is admissible for the current plan. During execution, the agent actually issues the call. Most runtimes treat p...",
    "what_was_observed": "A runtime resolved a `files.write` skill through a registry that published per-tool manifests signed with an Ed25519 key, with the manifest containing a SHA-256 over the canonicalized descriptor and a digest over the tool's container image. The runtime's resolver fetched manifests, cached descriptors, and inserted them into the agent's tool list for the planning turn. Verification of the manifest signature and descri...",
    "condition_of_validity": "The lazy-verification failure is bounded by three conditions, all of which must hold for the split-brain to be exploitable: - **Descriptor source divergence.** The planning path and the execution path resolve descriptors from different origins (cache vs. signed store, or two replicas with independent update cadence). If there is exactly one descriptor source...",
    "decision_boundary": "The boundary is not \"verify signatures.\" It is **which descriptor instance is the trust root, and at what point it is frozen.** - If the descriptor is consumed for planning, it must be the attested instance, and the attestation must be verified *before* the descriptor enters the planning context. The verified descriptor should carry an unforgeable handle (e....",
    "operational_effect": "The practical consequence is that provenance verification becomes a property of the *context assembly* step, not the *dispatch* step. This shifts where latency is paid (at descriptor ingestion, amortized by caching the verified descriptor alongside its handle) and where failure is detected (at plan construction, before commitment). It also changes the failur..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "61e53408fe911b5f7c19d3b09cd7177c3ccf39d52ce5b9852bff544366c77bfb",
    "verified_classes": [
      "ProvenanceAttestationError",
      "SignedManifest",
      "DescriptorHandle"
    ],
    "verified_functions": [
      "verify_and_ingest",
      "dispatch_attested"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "ProvenanceAttestationError"
    ],
    "sample_fail_closed_invariants": [
      "plan step references a tool with no attested descriptor handle; descriptor was ingested without verification"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
