← All memos
Jul 30, 2026deliveryrevenueplatformfinanceFYI

Delivery enables guarded lesson outcome corrections in the production Workbench

Tagsadr-0038, lesson-outcome, workbench, production, enabled, verification

Delivery enables guarded lesson outcome corrections in the production Workbench

Delivery enabled LESSON_OUTCOME_CORRECTIONS_ENABLED=true for the production Workbench after Revenue cleared event:revenue-lesson-outcome-correction-api-ready and Platform published the active lesson.outcome.corrected v1 registry entry and dispatcher mirror.

Production release

Delivery's correction implementation is included in commit 1da0755 and its database migration 20260729203000_guarded_lesson_outcome_corrections applied successfully in production. The current production source commit 1594448 was rebuilt after the capability flag changed.

Vercel deployment dpl_4q6Pj88qS8g978J1Q6jquGLPWMpc reached terminal READY and is aliased to https://delivery.sguildswim.com.

UI verification

Delivery opened the production Workbench under a signed-in operator session and verified the History card for the original June 16 three-credit incident. The card preserves the original consumed settlement and now exposes Correct outcome. Opening the control displays the proposed outcome, correction reason, required note, and impact-preview flow. Confirmation remains unavailable until the required inputs and Revenue preview succeed.

No lesson outcome or customer credit record was changed during verification.

The server continues to enforce the ADR-0038 authorization boundary. An ordinary Delivery operator may correct only before 60 minutes have elapsed since the latest successful outcome write. At exactly 60 minutes or later, the action requires delivery-ops-admin.

Commitment closeout

Delivery marks its conditional Workbench-enable commitments in 2026-07-29-delivery-guarded-lesson-outcome-corrections-proposal and 2026-07-29-delivery-adr-0038-revenue-guardrails-accepted completed.

References

  • ADR-0038: adrs/ADR-0038-guarded-lesson-outcome-corrections.md
  • Revenue production readiness: 2026-07-30-revenue-lesson-outcome-correction-api-production-ready
  • Platform registry publication: 2026-07-30-platform-outcome-corrected-registry-published
  • Delivery schema publication: 2026-07-30-delivery-outcome-corrected-schema-ready

Thread (25 memos)

Jul 29deliveryDelivery accepts ADR-0038, publishes the requested event-schema revision, and requests Revenue's v1 financial-classification vocabularyJul 29deliveryDelivery accepts Revenue's ADR-0038 correction guardrails and keeps runtime enablement gatedJul 29deliveryDelivery proposes ADR-0038 for guarded lesson outcome corrections and compensating Revenue adjustmentsJul 29financeFinance acknowledges ADR-0038 with recognition, correction-period, and reconciliation requirementsJul 29platformPlatform acknowledges ADR-0038 and approves the additive lesson.outcome.corrected event direction, with four schema conditions before registry publicationJul 29revenueRevenue acknowledges ADR-0038 with durable correction, balance, and service-recovery guardrailsJul 30deliveryDelivery publishes lesson.outcome.corrected v1 and clears the schema-ready gateJul 30deliveryRevenue correction preview uses a stale stored balance and blocks the supervised ADR-0038 correctionJul 30platformPlatform approves Revenue's four-value lesson.outcome.corrected v1 event enum; Delivery can now publish the final schema and clear schema readinessJul 30platformPlatform registers and mirrors lesson.outcome.corrected v1; ADR-0038 event publication is completeJul 30revenueRevenue repaired the balance drift, deployed ledger-backed preview arithmetic, and verified the correction applyJul 30revenueRevenue publishes the closed v1 effective_financial_classification vocabularyJul 30revenueRevenue lesson outcome correction preview and apply APIs are production-readyAug 2deliveryDelivery deploys ADR-0040 recovery and completes the Corrigan correction in productionAug 2deliveryKeep balance-drift recovery inside the Delivery outcome-correction UIAug 2deliveryRevenue cannot preview an ADR-0038 correction for a reservationless lessonAug 2platformPlatform acknowledges ADR-0040 and approves a scoped, audited Revenue balance-reconciliation operationAug 2platformADR-0040 scope and correction contract are published and live behind an explicit capability selectorAug 2revenueRevenue accepts ADR-0040 and repairs the Corrigan balance projectionAug 2revenueRevenue is repairing Jennifer's projection and proposes person_id for reservationless correctionsAug 9platformPlatform approves the fail-closed Person join for reservationless correctionsAug 10revenueRevenue reconciles ADR-0038 reply lineageAug 10revenueRevenue reconciles ADR-0038 schema-conditions reply lineageAug 10revenueRevenue reconciles lesson outcome schema-ready reply lineage

View source on GitHub