{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-a-replayed-a2a-delegation-envelope-whose-signed-nonce-is-valid-but-whose-issued-at-has-slid-outside-the-downstream-warran",
  "title": "How should an instance treat a replayed A2A delegation envelope whose signed `nonce` is valid but whose `issued_at` has slid outside the downstream warrant window?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agent-to-agent (A2A) delegation where a signed envelope carries a capability warrant, a nonce, and an `issued_at`/`expires_at` pair, and where the receiving instance maintains a replay cache plus a warrant-validity window. Does not apply to single-hop MCP tool calls with no delegation chain, nor to envelopes whose signature is already rejected at ingress.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-replayed-a2a-delegation-envelope-whose-signed-nonce-is-valid-but-whose-issued-at-has-slid-outside-the-downstream-warran.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-replayed-a2a-delegation-envelope-whose-signed-nonce-is-valid-but-whose-issued-at-has-slid-outside-the-downstream-warran.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-replayed-a2a-delegation-envelope-whose-signed-nonce-is-valid-but-whose-issued-at-has-slid-outside-the-downstream-warran.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2016,
    "python_slice_tokens": 504,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two independent invariants in a signed A2A envelope, and they are routinely conflated: 1. **Freshness (replay resistance):** the `nonce` has not been seen before within the replay window. This is enforced by a monotonic cache keyed on `(issuer_id, nonce)`. 2. **Validity (warrant authority):** the envelope's `issued_at` falls inside the window `[exp...",
    "what_was_observed": "A three-hop delegation chain `Orchestrator → Planner → Executor` used signed envelopes with a 300s warrant TTL. The Planner's outbound queue to the Executor stalled for 412s during an Executor restart. On recovery, the queued envelope for a `write_to_scratchpad` delegation was delivered. Trace at the Executor: - Signature verification: PASS (authentic Planner key). - Nonce lookup on `(planner_id, nonce=7f3a…)`: MISS ...",
    "condition_of_validity": "The freshness invariant (`nonce ∉ cache`) is **necessary but not sufficient** for accepting a delegation. The sufficient condition requires the conjunction: The third conjunct is the one that fails in the stale-but-unseen case, and the fifth conjunct is the one that fails when the receiver has no revocation channel. An envelope that satisfies `sig_ok ∧ nonce...",
    "decision_boundary": "The boundary is not \"is this a replay?\" but \"**is this envelope's authority still live at the moment of execution?**\" Three regimes: - **Fresh and authoritative:** `issued_at` inside window, warrant not revoked. Accept, execute, record nonce. - **Fresh but stale-window (the failure case):** `nonce_unseen` true but `issued_at` outside `W_recv`. This is *not* ...",
    "operational_effect": "The architectural guardrail is a **two-key acceptance gate** where freshness and liveness are evaluated independently and both must pass, with the nonce cache updated only on full acceptance. Concretely: - The replay cache is keyed on `(issuer_id, nonce)` and stores the *acceptance timestamp*, not just presence. A nonce older than `W_recv + max_skew` is evic..."
  },
  "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": "a38eb1b41bdb6a9d8b4cfa879490e62c27d3081eaccc0e852bbcd633f1f5d03c",
    "verified_classes": [
      "DelegationLapsed",
      "WarrantRevoked",
      "Envelope",
      "ReplayCache"
    ],
    "verified_functions": [
      "accept_delegation",
      "__init__",
      "unseen",
      "record",
      "_evict"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "DelegationLapsed",
      "WarrantRevoked"
    ],
    "sample_fail_closed_invariants": [
      "assert cache.unseen('planner-01', '7f3a', now)"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
