# Where must an instance refuse a late-but-valid contract-net award when the bid SLA window and the attestation epoch have diverged **Date of Record:** 2026 November 27 **Scope:** Applies to contract-net (CNP) multi-agent systems where a manager agent issues a task announcement, contractor agents return SLA-bound bids (deadline, cost, confidence), and awarded work must be accompanied by a verifiable outcome attestation bound to a specific epoch. Does not cover single-agent tool-call retry logic, nor CNP variants without cryptographic attestations (those degrade to plain timeout handling). ## Core Distinction The failure is not "the award arrived after the deadline." Every CNP implementation checks wall-clock expiry. The failure is subtler: **the award arrives inside the bid's SLA window but the attestation epoch it references has already rotated.** The manager validates the bid against its own clock, the contractor validates the award against the bid's stated deadline, both agree the award is temporally valid — and yet the attestation the contractor is contractually obligated to produce cannot be minted, because the signing epoch key it must use was retired between bid submission and award receipt. This is a *divergence between two clocks that both look correct locally*: the SLA deadline clock (monotonic, per-bid) and the attestation epoch clock (global, rotating, key-material-bound). A bid is a promise about *time*; an attestation is a promise about *identity-at-time*. When the two are validated independently, a valid bid plus a valid award can compose into an unfulfillable contract. ## What Was Observed A manager agent `M` announced a task with a 90-second bid window and a 300-second execution SLA. Three contractors bid. `M` selected contractor `C2`'s bid at T+88s — two seconds before the bid window closed — but a tool-call retry loop on `M`'s side (a transient schema-validation error on the award envelope, retried twice with backoff) delayed the actual award *transmission* to T+94s. `C2` received the award at T+94s. Its local SLA validator compared `now` against `bid.deadline = T+90s`… and here is the first non-obvious detail: **`C2` had padded its own deadline by a 5% grace margin** (a common defensive practice to absorb network jitter), so its effective local deadline was T+94.5s. The award passed. `C2` acknowledged and began execution. `C2` completed the work at T+210s and attempted to mint its outcome attestation. The attestation service rejected it: `C2`'s signing key belonged to epoch `E41`, which had rotated to `E42` at T+120s. The attestation schema required the signature to be bound to the epoch *active at award-acceptance time*, and `C2`'s acceptance timestamp (T+94s) was in `E41`, but the minting call at T+210s could only reach `E42` keys. `C2` had no path to retroactively sign under `E41` — the key was destroyed per rotation policy. Result: `C2` performed 116 seconds of valid work, produced a correct output, and could not attest it. `M` refused to accept unattested work. The task was re-announced. `C2`'s compute was wasted; worse, `M`'s retry loop that caused the original delay was *still active* and delayed the re-award too, producing a second epoch-rotation miss on the retry. The system entered a two-cycle livelock before a human noticed. ## Condition of Validity The invariant that was violated: **for any award to be fulfillable, the attestation epoch active at award-acceptance must remain mintable for at least the full execution SLA plus the attestation-minting latency.** Formally, if `t_accept` is the acceptance instant, `SLA_exec` the execution bound, and `L_mint` the worst-case minting latency, then the epoch active at `t_accept` must satisfy `epoch_retire_time >= t_accept + SLA_exec + L_mint`. In the observed incident: `t_accept = T+94s`, `SLA_exec = 300s`, `L_mint ≈ 8s`, so the required retention was until T+402s. Epoch `E41` retired at T+120s — a 282-second shortfall. The bid was valid. The award was valid. The *composition* was invalid because neither party validated the epoch-retention constraint, only their own local clocks. The manager's bid window (90s) and the epoch rotation period (120s) were configured independently by different teams. Nobody owned the cross-product. ## Decision Boundary An instance must **refuse a late-but-valid award** — return a structured `EpochUnfulfillable` rejection rather than accept-and-fail-later — exactly when the following predicate holds at acceptance time: - `award.received_at <= bid.deadline + bid.grace_margin` (locally valid), **AND** - `epoch.retire_time(active_epoch_at(received_at)) < received_at + bid.sla_exec + mint_latency_bound` (epoch-insufficient). The boundary is *not* "reject if near deadline." A bid accepted at T+89s with a 300s SLA against an epoch retiring at T+600s is fine. A bid accepted at T+10s with a 300s SLA against an epoch retiring at T+200s is *not* fine, even though it is far from the deadline. The decision must be made on the epoch-retention predicate, not the deadline predicate. Critically, the *contractor* must make this decision at acceptance, not the manager at award — because only the contractor knows its own `mint_latency_bound` and its local `received_at`. The manager cannot validate this predicate on the contractor's behalf. This means the rejection must be a first-class protocol message that the manager is obligated to handle by re-announcing (with an epoch-aware bid window), not by retrying the same award. ## Operational Effect When the rejection is implemented, the manager receives `EpochUnfulfillable` with the contractor's `required_retention` and the `actual_retention`, and can compute whether *any* contractor could fulfill — if the active epoch retires before `now + min_sla + min_mint`, the manager must defer the entire announcement to the next epoch boundary rather than re-announcing into the same doomed window. This converts a livelock into a bounded wait. Two guardrails are required: 1. **Epoch-retention must be a bid field.** Contractors publish `mint_latency_bound` and `required_retention` in their bid; the manager's award validator checks `epoch.retire_time >= award_send_time + bid.sla_exec + bid.mint_latency_bound` *before* transmitting, catching the failure one hop earlier. 2. **Grace margins must not silently extend acceptance past epoch safety.** The 5% grace that let `C2` accept at T+94s is legitimate for jitter but must be clamped so that `deadline + grace + sla_exec + mint_latency_bound` never exceeds the epoch retire time; otherwise grace becomes a mechanism for accepting unfulfillable contracts. The deeper invariant: **SLA windows and attestation epochs are two independent time authorities, and any protocol that validates them separately will admit compositions that are locally valid and globally unfulfillable.** The rejection predicate must be evaluated on their conjunction at the acceptance boundary, by the party that holds the minting capability. ```python class EpochUnfulfillable(RuntimeError): """Raised when an award is locally SLA-valid but the active attestation epoch will retire before the contractor can mint an outcome attestation.""" def __init__(self, received_at: float, epoch_retire: float, required_retention: float): self.received_at = received_at self.epoch_retire = epoch_retire self.required_retention = required_retention super().__init__( f"epoch retires at {epoch_retire:.1f}s but retention through " f"{received_at + required_retention:.1f}s is required " f"(shortfall {required_retention - (epoch_retire - received_at):.1f}s)" ) def accept_award(award, bid, epoch, mint_latency_bound: float) -> str: """Contractor-side acceptance gate. Returns 'accept' or raises EpochUnfulfillable.""" received_at = award.received_at local_deadline = bid.deadline + bid.grace_margin # Local SLA validity (necessary, not sufficient). if received_at > local_deadline: raise ValueError("award past local SLA deadline; ordinary timeout path") required_retention = bid.sla_exec + mint_latency_bound epoch_retire = epoch.retire_time_at(received_at) # The non-obvious boundary: locally valid, globally unfulfillable. if epoch_retire < received_at + required_retention: raise EpochUnfulfillable(received_at, epoch_retire, required_retention) return "accept" ```