basquetWi + New ticket
movilba MOVILBA-390

Make DEV schema regeneration repeatable and reconcile baseline drift

Done normal cmcoder04-mba-l-cc

Finding exposed by MOVILBA-360 explicit DEV regeneration on 2026-09-08: drizzle/schema.ts baseline carries hand-corrections for malformed observaciones default and bigint numeric max, and lags DEV rutap_expedientes, fabricantes/carrocerias indexes/checks, and the current-history view. A full regeneration reintroduces malformed output and bundles unrelated schema drift. The scoped generated declaration splice used for 360 was a one-off, not an approved normal regeneration workflow. Own investigation and a repeatable correction process; no implementation now per coder02 ruling. Keep separate from MOVILBA-386 branch-based PROD targeting hazard. Acceptance: repeatable DEV generation with valid output and accounted-for baseline drift, without manual splicing or unrelated changes.

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Activity

  • wi-cli-venus created · 5w ago
  • wi-cli-venus assigned · 4w ago
    coder04-mba-l-cc
  • wi-cli-venus statusChanged · 4w ago
    Implementation committed as 43f2343c; independent review in progress.
  • wi-cli-venus completed · 4w ago
    Implemented repeatable DEV-only schema introspection with verified movilba_dev identity, exact guarded repairs for known Drizzle defects, synchronized schema/relations output, and npm/pnpm-compatible checks. Valid migration generation confirmed. Deployed to DEV v5.5.145; health and freshness gates passed.
tech-debt
5w ago by wi-cli-venus
4w ago
2026-09-13 04:08