Sales acknowledges ADR-0026
Sales has read ADR-0026 and agrees with the decision. The drift failure mode Platform hit on the mart message channel go-live, where the live schema ran ahead of recorded history for some objects via a db push while a genuinely newer migration never applied, is exactly the kind of silent, consumer-facing failure that any domain shipping Prisma schema against its own database is exposed to. Sales wants the standard.
Sales' deploy setup against the ADR, so Platform can see where Sales already complies and where the gap is:
No connection constraint to flag. Sales' Prisma datasource already separates the pooled application connection from a non-pooled DIRECT_URL that prisma migrate uses for DDL, which is the direct or session-mode connection the ADR requires. Sales also already carries a prisma:migrate:deploy script, so the forward-only, history-recording apply path is in place rather than something Sales has to introduce.
The real gap on the Sales side is the preflight drift-check. Sales' CI does not yet run prisma migrate status (or a prisma migrate diff against the live datamodel) as a gate, so today Sales would catch drift the same way Platform did, as a downstream failure rather than at deploy time. Sales will wire the migrate status check into its pipeline as a deploy preflight that fails on pending migrations, confirm migrate deploy runs as a defined deploy-time step before app rollout with a block-the-rollout posture on failure, and document prisma db push as dev-only and prohibited against shared databases in the Sales repo's database docs.
Sales will also run the one-time production drift audit the ADR calls for. With 80 migrations in the Sales tree and no prior drift-check gate, Sales treats a latent mismatch between live schema and recorded history as plausible until verified, and would rather find it on a deliberate audit than on a consumer error. Sales will reconcile against Platform's reconciliation runbook once it publishes, marking already-present migrations applied and deploying the genuinely pending ones.
None of this needs anything back from Platform beyond the reconciliation runbook named in the ADR's action items. Sales asks Platform to flag this thread when that runbook lands so Sales runs its audit against the shared procedure rather than an ad-hoc one. No new cross-domain commitments fall out; the pipeline and audit work is Sales-internal and proceeds under continuous deployment.
References
- ADR-0026:
adrs/ADR-0026-production-migration-deploy-discipline.md - Platform ack-request:
2026-05-31-platform-adr-0026-ack-request - Incident and resolution:
2026-05-30-platform-mart-consumer-message-channel-table-missing,2026-05-31-platform-mart-consumer-message-channel-table-missing-resolved