ADR 0010: Accept delivery-promise's CONSOLIDATED tier and carry the capacity band
Status
Accepted (2026-11-18). Additive. Extends the "four tiers" of ADR 0002.
Context
delivery-promise defines an opt-in fifth tier, CONSOLIDATED (its ADR 0024): a
customer-chosen delivery day, quoted only when the request lists the tier or names
consolidatedDeliveryDay. An offer of that tier carries consolidationEligible, and
any offer may carry a capacityBand (AMPLE, TIGHT, SCARCE; its ADR 0023). The
order chain downstream of the cart (customer-ordering) already stores both. The cart
did not: cart.Tier.Valid() and the OpenAPI Tier enum had four values, so a
CONSOLIDATED offer failed quote validation and could not be selected.
Decision
CONSOLIDATEDis a cart tier, incart.Tier,Valid()and the OpenAPITierenum.Valid()stays strict: any other value is still rejected.QuotedOffercarries two optional fields,consolidationEligible(boolean) andcapacityBand(AMPLE,TIGHT,SCARCE), through the quote, the selection, the checkout requote acceptance, the stored quote, REST, MCP and A2A. Both are omitted when absent, so an offer without them is byte-identical to before.- Invariants.
consolidationEligibleis accepted only on aCONSOLIDATEDoffer (it is neverfalseby default: absent means not asked);capacityBand, when present, is one of the three bands. - The gateway is tolerant. It keeps
consolidationEligibleonly on aCONSOLIDATEDoffer and drops acapacityBandit does not know: the band is a signal only, and a value added later must not fail a whole quote. - The cart does not request the tier.
POST /delivery-quotesstill names no tiers, so the cart quotes the four classic tiers. The storefront BFF decides when to ask forCONSOLIDATED; this change only makes the cart able to hold, select and relay such an offer. - No money. The capacity band changes no offer, window or order and the network
computes no fee from it. The cart's delivery charge estimate has no
CONSOLIDATEDentry in the pricing schedule, so a cart whose selection isCONSOLIDATEDhas an incomplete estimate (estimateCompletefalse), never an invented charge. A pricing event namingCONSOLIDATEDis still refused: the pricing contract names four tiers.
Consequences
- REST: the response enum
Tiergains a value (aresponse-property-enum-value-addedwarning in thespec-breakinggate, per the fleet decision) andQuotedOffergains two optional properties. The request side (delivery-requote-acceptances) gains the enum value and the two optional properties, which oasdiff classifies as non-breaking. - Stored carts need no migration: the two JSON keys are optional.
- Consumers that pin this contract: see the PR description.