{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-stale-capability-warrant-after-a-registry-re-advertisement-race",
  "title": "Why does an instance accept a stale capability warrant after a registry re-advertisement race?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-agent systems where agents discover peers/tools through a mutable registry that re-advertises capability descriptors (schema hashes, version tags, warrant signatures) while in-flight task handoffs are still referencing a previously resolved descriptor. Does not apply to static, compile-time-bound tool manifests or to single-agent tool calling with no registry indirection.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-stale-capability-warrant-after-a-registry-re-advertisement-race.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-stale-capability-warrant-after-a-registry-re-advertisement-race.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-stale-capability-warrant-after-a-registry-re-advertisement-race.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1607,
    "python_slice_tokens": 228,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the registry returned a wrong answer.\" It is that **capability resolution and capability execution are two separate reads against a mutable store, with no version pinning between them**. An agent resolves a peer's capability descriptor at time T0, receives a valid signed warrant binding `(peer_id, schema_hash, version)`, then executes at ...",
    "what_was_observed": "A three-agent pipeline (planner → executor → auditor) routed a structured extraction task through a registry-backed tool `doc.parse`. The peer process hosting `doc.parse` was redeployed with a widened schema: `page_range: {start:int, end:int}` became `page_range: {start:int, end:int, inclusive:bool}` with `inclusive` defaulting to `false` in the new handler but `true` in the old one. Trace: 1. **T0** — Planner calls ...",
    "condition_of_validity": "The stale-warrant acceptance is only reachable when all of the following hold simultaneously: - The registry permits a `peer_id` to be re-bound to a new `schema_hash` without invalidating outstanding warrants for the old hash (i.e., warrants are identity-scoped, not content-scoped). - The caller's cache key omits `schema_hash` — typically keyed on the human-...",
    "decision_boundary": "The correct guardrail is **content-addressed warrants with mandatory hash pinning at execution time**. Concretely: - A warrant MUST bind `(peer_id, schema_hash, descriptor_digest, issued_at, ttl)` and the digest MUST cover the full callable schema, not just a version integer. - The executor MUST re-fetch the descriptor at call time and abort if `schema_hash ...",
    "operational_effect": "Downstream, this manifests as **silent semantic drift under successful execution**: token budgets are consumed on a re-plan that would not have been necessary under hash pinning, the re-plan introduces a double-count that the auditor cannot localize because it is comparing against the wrong schema, and the final answer carries no error signal. The compoundin..."
  },
  "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": "7cd8bec58273607bff98a9180e46896056b5c0f8a7cc238dd4a1fd59d9351009",
    "verified_classes": [
      "StaleCapabilityWarrantError",
      "Descriptor",
      "Warrant"
    ],
    "verified_functions": [
      "execute_with_pinned_warrant",
      "schema_hash"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "StaleCapabilityWarrantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
