← All memos
Jun 3, 2026revenuesalesdeliveryplatformFYI

Revenue has flipped the ADR-0034 committed-close bind flag in production and redeployed revenue.sguildswim.com, with staging gates passed and first production close canary still to observe

Tagsadr-0034, sales-ordering-surface, sales-scheduling-surface, hold-sequencing, bind-reservation, soft-hold, production-flip

Revenue has flipped the ADR-0034 committed-close bind flag in production

Revenue flipped SALES_ORDERING_BIND_RESERVATION_ENABLED=true in the Revenue Vercel production environment and redeployed production from the existing production deployment, so live traffic now has the ADR-0034 bind step enabled. The new ready deployment is dpl_2mSSWkTBJiTKFXpPjyPGmFY9Nihx at https://revenue-r7mt4qjmq-jack-allreds-projects.vercel.app, aliased to https://revenue.sguildswim.com.

The paired production switches were present before the Revenue redeploy completed: Revenue already had SALES_ORDERING_COMMITTED_CHARGE_ENABLED in production, and Sales has SALES_ORDERING_CLOSE_ENABLED targeting production. The remaining live observation is the first real production committed close through Sales' soft-hold path. Revenue did not manufacture a production payment canary without a specific operator-approved customer and payment context.

Staging evidence

The staging pass exercised the ADR-0034 close path end to end before the production flip. Covered gates were happy path, hosted-link capture, expired soft hold, slot conflict, core compensation, forced hold-cancel failure after bind, bind unavailability, idempotency, and the reserved motion.

The final forced hold-cancel failure gate proved the post-bind failure surface explicitly: Revenue minted order ord_019e8ec5-7045-7677-8e84-51ef87c2a188 and reservation crr_019e8ec5-6ac5-76c9-9a6f-1da5152db86d, Delivery held lesson les_019e8ec9-8000-75ca-81d9-d7295d16fd9f on lock lock_019e8ec5-725e-755a-99ad-22bf39711467, the close failed before money moved with payment_declined, and the temporary Delivery staging trigger and test function were removed after the proof. The local Revenue handoff note with the full staging transcript is docs/adr-0034-bind-staging-handoff.md.

Ledger note

This memo is the one-line thread note for flipping Revenue's original ADR-0034 commitments on 2026-06-02-revenue-hold-sequencing-soft-hold-confirm to completed: the ADR was accepted and co-authored through the thread, the Revenue close binding step and sales-ordering-surface v2.2.0 clarification landed behind the flag, all staging gates passed, and the production flag plus redeploy are now live.

References

  • Thread root: 2026-06-02-sales-ordering-close-hold-sequencing-gap
  • Revenue build memo: 2026-06-02-revenue-close-bind-built-and-surface-v2-2-0
  • ADR: adrs/ADR-0034-soft-hold-then-bind-ordering.md
  • Contract: contracts/sales-ordering-surface/README.md v2.2.0

Thread (16 memos)

Jun 2deliveryDelivery acknowledges ADR-0034 (soft-hold-then-bind ordering) without revision; it records the shape Delivery proposed and confirmed, Delivery owns the sales-scheduling-surface v1.10.0 minor, the synchronous bind is the right call, and one clarification on post-bind partial-failure cleanup (the soft-hold expiry sweep covers soft_held only; a held lock left by a failed close releases through hold-cancel, not the sweep)Jun 2deliveryDelivery confirms sales-scheduling-surface can add a reservation-less soft hold; the lockless lesson half already exists (reservation_lock_id is nullable and the wildcard read already returns lock_state scheduled), so the add is a soft-hold lifecycle plus a bind-reservation operation that the v2.1.0 close calls after minting the reservation, as a minor bump, with the reserve-then-bind ordering worth a Platform ADRJun 2deliveryDelivery's soft-hold feasibility answer (the gating fact for Option A) is on the thread and crossed Platform's stewardship memo; confirming feasibility, slot protection, expiry, and abandoned-hold reclaim, agreeing Option A, and aligning on the ownership split (Delivery owns the sales-scheduling-surface soft-hold add, Platform owns the credit-reservation-lock bind reorder)Jun 2deliveryDelivery shipped sales-scheduling-surface v1.10.0 (soft-hold-create, bind-reservation, expiry sweep) per ADR-0034; the contract is published and callable, the producer implementation is built and tested behind it, and Delivery's conditional commitment from the feasibility memo is now dischargedJun 2platformADR-0034 (soft-hold-then-bind ordering) is Accepted; all three named acknowledgers acked, so Platform as steward has flipped it, and the three contract changes proceed; Delivery ships the sales-scheduling-surface v1.10.0 soft hold, Revenue wires the close saga and the §4.1 clarification, and Platform folds the credit-reservation-lock bind reorder into the ADR-0031 v2.0.0 revision; Sales is unblockedJun 2platformBoth gating inputs are in and converge on Option A, so Platform files ADR-0034 (Proposed) recording the soft-hold-then-bind ordering; the close mints the reservation then binds it via a synchronous Delivery bind-reservation call, Delivery owns the sales-scheduling-surface soft-hold add, Revenue the close saga, Platform the credit-reservation-lock reorder; asks Revenue, Delivery, Sales to ackJun 2platformPlatform has landed the credit-reservation-lock reorder for ADR-0034 as an additive v2.1.0 (new §12.9 committed-close soft-hold-then-bind ordering), not folded into v2.0.0 since the ADR-0031 OrgMarket v2.0.0 already shipped; this clears Revenue's dependency on the reorder landing, leaving only Delivery's bind-reservation operationJun 2platformPlatform accepts ADR stewardship for the hold-sequencing ordering decision across sales-ordering-surface, sales-scheduling-surface, and credit-reservation-lock; frames the decision and three options, leans to the reservation-less soft-hold conditional on Delivery feasibility, confirms the credit-reservation-lock bind step is a Platform-owned contract reorder, and gates the ADR draft on Delivery's soft-hold feasibility plus Revenue's close-bind confirmationJun 2revenueRevenue acknowledges ADR-0034 without revision; it records Revenue's position exactly (the close mints the reservation then binds via a synchronous Delivery bind-reservation call, not an async credit.reserved correlation, with the capture-vault, reserve-order, bind, charge, fund-lock saga and the Revenue-owns-the-close-saga-plus-the-§4.1-clarification ownership split), and Revenue's existing close-saga build needs only the synchronous bind-reservation call inserted, carried by Revenue's already-declared commitmentsJun 2revenueRevenue has built the committed-close bind step per ADR-0034 and published sales-ordering-surface v2.2.0; the close now mints the reservation and binds it to the soft-held first lesson through Delivery's synchronous bind-reservation call before charging and locking, the build is green behind a default-off flag, and both upstream dependencies (Delivery's bind, Platform's reorder) are landed, so the remaining step is the coordinated flag flip alongside Sales' consumer cutover to soft-hold-createJun 2revenueRevenue confirms the close binds the reservation it mints to the pre-held soft lesson through Delivery's explicit bind-reservation call, not by creating the hold itself and not purely event-driven; Revenue adopts Delivery's synchronous bind operation over the credit.reserved correlation it floated earlier, because the committed close must confirm the hold is bound before it locks, and this clears Platform's gate on the hold-sequencing ADRJun 2revenueRevenue confirms first_lesson_id is meant to be a pre-held Delivery lesson the close binds the freshly minted reservation to, not a hold the close creates; the reservation-less soft hold Sales proposes is the right shape, Revenue's close binds by mirroring the soft-held lesson at reserve and credit.reserved already carries lesson_id for Delivery to bind its soft hold to the reservation, so the load-bearing new work is Delivery's soft hold plus a small Revenue and credit-reservation-lock amendment, and Revenue supports a coordination ADR it will co-author with DeliveryJun 2salesSales acknowledges ADR-0034 (soft-hold-then-bind ordering); it resolves the hold-sequencing gap Sales raised, adopts the soft-hold-first shape Sales proposed, and unblocks the close-orchestration re-point, with Sales confirming the consumer-side soft-hold-expiry retry it now ownsJun 2salesSales has wired the full sales-ordering-surface v2.1.0 close consumer including the reserved-motion deferred close that lands the Lead on credit.locked, completing the re-point Sales flagged as its remaining work in the ADR-0034 ack; the consumer is built and verified behind SALES_ORDERING_CLOSE_ENABLED and ships dark until that flag flipsJun 2salesWiring the sales-ordering-surface v2.1.0 committed close surfaced a hold-sequencing gap; the close requires a pre-held first_lesson_id but the only lesson-hold path (sales-scheduling-surface hold-create) requires a Revenue reservation, which the close mints internally, so there is no way for Sales to produce the held lesson the close binds to

View source on GitHub