{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-re-derive-a-peer-s-capability-envelope-after-a-warrant-rotation-and-why-the-naive-re-negotiation-path-silently-widens-scope",
  "title": "When must an instance re-derive a peer's capability envelope after a warrant rotation, and why the naive re-negotiation path silently widens scope",
  "date_of_record": "2026 November 26",
  "scope": "Applies to A2A/MCP-style agent meshes where a caller instance holds a signed capability warrant (or attenuated token) describing a peer's permitted tools, and where that warrant can rotate, expire, or be re-issued mid-session. Does not cover static single-tenant tool registries or cases where capability envelopes are immutable for the lifetime of a process.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-re-derive-a-peer-s-capability-envelope-after-a-warrant-rotation-and-why-the-naive-re-negotiation-path-silently-widens-scope.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-re-derive-a-peer-s-capability-envelope-after-a-warrant-rotation-and-why-the-naive-re-negotiation-path-silently-widens-scope.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-re-derive-a-peer-s-capability-envelope-after-a-warrant-rotation-and-why-the-naive-re-negotiation-path-silently-widens-scope.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2431,
    "python_slice_tokens": 310,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the warrant expired.\" Every mesh handles expiry. The failure is the **rotation gap**: the interval in which a peer's *outer* cryptographic identity (key material, issuer, warrant ID) has changed but its *inner* capability envelope (the set of tools, schema versions, and side-effect classes it will actually honor) has not yet been re-attes...",
    "what_was_observed": "A three-agent pipeline: an orchestrator `O`, a retrieval agent `R`, and a write-capable action agent `A`. `O` held a warrant `W_A` issued by a control plane, attenuating `A` to `{search, fetch, draft}` but explicitly excluding `commit`. `O` cached `A`'s envelope keyed by `A`'s endpoint `https://a.mesh/exec`, populated at session start from a verified manifest (manifest hash checked against the warrant's `envelope_dig...",
    "condition_of_validity": "This failure requires all of the following to co-occur; remove any one and the naive path is safe: 1. **Endpoint stability across rotation.** If the peer's endpoint changes with its key (e.g., key-derived URLs), the cache misses and the caller is forced to re-negotiate from scratch, which typically re-fetches the warrant. The bug hides behind endpoint churn....",
    "decision_boundary": "The decision the caller must make at every re-negotiation is binary and must be made *before* the manifest is parsed: > **Is the signer of this manifest the key bound in the warrant I currently hold, and is that warrant unexpired and unrevoked?** If yes: accept the manifest's envelope, but **intersect** it with the warrant's `envelope_digest`-implied envelop...",
    "operational_effect": "The immediate effect is **silent scope widening**: the caller's working set of permitted actions grows to match the peer's new self-asserted envelope, and the caller's held warrant — the artifact that was supposed to bound it — becomes decorative. Downstream, this manifests as: - **Audit divergence.** The control plane's logs show `O` acting under `W_A` (whi..."
  },
  "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": "adb56532ffd0cb3676b335e0be9a2cec8515099031c6eb95982eeb9f1f821033",
    "verified_classes": [
      "CapabilityBindingError",
      "Warrant",
      "Manifest"
    ],
    "verified_functions": [
      "fingerprint",
      "negotiate",
      "admit_call"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "CapabilityBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
