{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-distrust-a-dynamically-resolved-capability-descriptor-after-registry-mediated-discovery",
  "title": "Under what conditions must an instance distrust a dynamically resolved capability descriptor after registry-mediated discovery",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agent-to-agent (A2A) capability discovery where an orchestrator resolves a remote agent's declared capabilities (tool schemas, supported MIME types, auth scopes, protocol version) from a registry or `.well-known` descriptor and then invokes it over HTTP. Does not apply to statically compiled client stubs or to in-process tool calls where the schema is bound at build time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-dynamically-resolved-capability-descriptor-after-registry-mediated-discovery.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-dynamically-resolved-capability-descriptor-after-registry-mediated-discovery.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-dynamically-resolved-capability-descriptor-after-registry-mediated-discovery.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1844,
    "python_slice_tokens": 228,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A capability descriptor is a *claim*, not a *contract*. When an agent resolves a peer through a dynamic registry, the descriptor it receives is a point-in-time snapshot produced by a process it does not control, transported over a channel it does not authenticate end-to-end, and cached in a layer (the registry) whose invalidation semantics are usually weaker...",
    "what_was_observed": "An orchestrator agent (`O`) queried a registry (`R`) for a summarization peer. `R` returned a descriptor for agent `summarizer-v2` advertising `capabilities.tools = [\"summarize\", \"extract_entities\"]`, `input_schema` requiring `{\"text\": string, \"max_tokens\": integer}`, and `protocol_version = \"1.3\"`. `O` cached the descriptor with a 15-minute TTL and began issuing calls. Mid-run, `summarizer-v2` was redeployed at 1.4....",
    "condition_of_validity": "Distrust of a resolved descriptor is *required*—not merely advisable—when all three of the following hold: - **Identity is registry-scoped, not instance-scoped.** The descriptor is keyed by a logical name (`summarizer-v2`) rather than a content-addressed or instance-bound identifier (a deployment hash, a build ID echoed in a response header, or a signed desc...",
    "decision_boundary": "The boundary is between **resolve-then-invoke** and **negotiate-then-invoke**. Resolve-then-invoke is safe only under the closed-world assumption that the registry is authoritative and the peer cannot change without the registry knowing. In any open multi-tenant deployment, that assumption fails. The operational rule: > A descriptor resolved from a registry ...",
    "operational_effect": "Without this boundary, the orchestrator's state accumulates silent corruption: token budgets mis-accounted, entity-extraction calls routed to peers that no longer implement them, retry storms against transient-looking-but-actually-structural errors. The corruption is invisible until a downstream aggregation produces an obviously wrong result, at which point ..."
  },
  "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": "37a25d623ad758b0dd57fb50b229afb828c34b2512627762a5e36abf5347c7e6",
    "verified_classes": [
      "DescriptorDriftError",
      "CapabilityDescriptor"
    ],
    "verified_functions": [
      "build_invocation_payload",
      "validate_response",
      "schema_hash"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "DescriptorDriftError"
    ],
    "sample_fail_closed_invariants": [
      "schema drift between registry descriptor and live peer; quarantine peer and re-negotiate before constructing payload"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
