{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-peer-s-capability-advertisement-as-a-stale-lease-rather-than-a-durable-contract",
  "title": "Under what conditions must an instance treat a peer's capability advertisement as a stale lease rather than a durable contract?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agent-to-agent (A2A/MCP-style) capability advertisement and dynamic tool chaining where an orchestrator selects a downstream peer based on a previously received capability manifest and then chains the peer's tool output into a subsequent call. Does not apply to static, single-process tool registries where capability sets are frozen for the lifetime of the process.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-capability-advertisement-as-a-stale-lease-rather-than-a-durable-contract.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-capability-advertisement-as-a-stale-lease-rather-than-a-durable-contract.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-capability-advertisement-as-a-stale-lease-rather-than-a-durable-contract.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1935,
    "python_slice_tokens": 314,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A capability advertisement (\"I expose `summarize_document`, `extract_entities`, and `run_sql` at schema v3\") is almost always treated by orchestrators as a *durable contract*: once received, it is cached, indexed into a routing table, and reused for every subsequent planning step. The correct treatment is that it is a *lease* — a time-bounded, version-stampe...",
    "what_was_observed": "An orchestrator agent (`O`) received a capability manifest from peer `P` at epoch `e=41`, listing a chained tool `extract_entities(text) -> [{span, label, score}]` with a `score` field typed as `float` in `[0.0, 1.0]`. `O` cached the manifest and used it to construct a two-hop chain: `P.extract_entities` → `O.downstream_ranker`, where the ranker's prompt template and JSON parser both assumed `score ∈ [0,1]` and used ...",
    "condition_of_validity": "The stale-lease failure is *only* possible when all of the following hold simultaneously: 1. **The orchestrator caches manifests without an epoch or TTL binding.** If the cache key includes the capability epoch and every chained invocation re-validates the epoch against the peer's current advertisement, the window collapses. 2. **The advertiser can change it...",
    "decision_boundary": "The operational rule is: **an instance must treat a cached capability advertisement as invalid the moment any of the following is true, and must renegotiate before chaining.** - The peer's advertised capability epoch is greater than the epoch recorded in the cached manifest. (Epoch is monotonic; any advance invalidates all prior leases.) - The lease TTL has ...",
    "operational_effect": "Enforcing the lease model changes three things in practice. First, it converts silent semantic inversions into loud renegotiation events: the orchestrator re-fetches the manifest, sees `e=42`, and either re-plans against the new schema or fails the chain with a typed error. Second, it forces range and unit invariants out of prompt text and into executable sc..."
  },
  "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": "7000977834cbbb01c9e010ee376b81cf33c24c9cbb45dc3946e0b18a02791008",
    "verified_classes": [
      "StaleCapabilityLeaseError",
      "CapabilityManifest",
      "LeaseCache"
    ],
    "verified_functions": [
      "build_chain",
      "put",
      "get_for_chain"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "StaleCapabilityLeaseError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
