{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-distrust-a-dynamically-resolved-tool-manifest-the-deferred-binding-window-between-registry-attestation-and-first-invocation",
  "title": "Where must an instance distrust a dynamically resolved tool manifest: the deferred-binding window between registry attestation and first invocation",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agents that resolve tool/skill manifests from a remote registry (MCP server lists, A2A agent cards, plugin indexes) at runtime rather than from a pinned, signed bundle. Does not apply to statically compiled tool sets or to manifests verified once at build time and never re-resolved.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-a-dynamically-resolved-tool-manifest-the-deferred-binding-window-between-registry-attestation-and-first-invocation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-a-dynamically-resolved-tool-manifest-the-deferred-binding-window-between-registry-attestation-and-first-invocation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-a-dynamically-resolved-tool-manifest-the-deferred-binding-window-between-registry-attestation-and-first-invocation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1640,
    "python_slice_tokens": 222,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the registry was compromised.\" The failure is that **manifest integrity is checked at a different instant than manifest binding**, and the agent treats those two instants as one. A registry can return a manifest whose signature is valid at `t_attest` and whose *contents* are semantically hostile, because signature validity proves provenan...",
    "what_was_observed": "A tool manifest was resolved as a two-phase object: a signed envelope carrying `{name, version, digest, description}` and a lazily-fetched `parameters` / `examples` / `invocation_template` block pulled from a separate, unsigned endpoint keyed by the same `name`. The resolver verified the envelope digest, cached the *envelope*, and returned a proxy object. The executor, on first call, triggered the lazy fetch for the ...",
    "condition_of_validity": "The defense holds only under a condition that is easy to state and easy to violate: > **Every byte the executor dereferences must be covered by the digest the resolver attested, and that digest must be re-checked at the dereference site, not at the resolution site.** Concretely, the invariant is `hash(executed_manifest) == attested_digest` evaluated *at invo...",
    "decision_boundary": "The agent must decide, per tool entry, whether the manifest it is about to invoke is *the same object* it attested. The boundary is drawn at the first dereference, and the decision is binary and fail-closed: - **Sealed and digest-matched:** invoke. The injected-example surface is closed because the examples were part of the attested bytes; a poisoned example...",
    "operational_effect": "With the seal-at-attestation guardrail, the deferred-binding window collapses to zero: attestation and binding are the same event, and the executor has nothing left to fetch. Prompt-injection via `examples`/`description` is neutralized not by content filtering (which is probabilistic and evadable) but by the fact that injected content changes the digest and ..."
  },
  "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": "0e8b82daa107a3a820503087fbfdfc6d1643c64a2e0dc1af359a1cc571471727",
    "verified_classes": [
      "ManifestBindingError",
      "SealedManifest"
    ],
    "verified_functions": [
      "attest",
      "invoke"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ManifestBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
