basquetWi + New ticket
mars MARS-500

Práctica Historial de cambios: restore dropped resubmit + radiograph events

Done normal unassigned

Elazar directive 2026-07-17: práctica Historial de cambios drops real changes (resubmit + radiograph events). Repro 4caff006-8530-4d1b-b9c7-9c77a45109d9. Root cause: GAP A resubmit UPDATE has empty tracked diff (approvalState deliberately excluded from PRACTICA_FIELDS); GAP B resubmit radiographs in practicaImagesArchive never merged into parent timeline. Frozen render-only design (audit-approved): computeChanges gains reasonEvent/emitInsert/emitDelete opts + ChangelogEntry.eventLabel. Migration 065 vPracticaHistorial (db02) = single data source, Class-A audit-gated. Split: coder-mars-cc=GAP A (reasonEvent+image grouping+entity-changelog.ts scaffold), coder02-mars-cc=GAP B conductos (consumes view, own tooth hop), lands on coder's SHA after. Scoped OUT: practicaReviews archive twin, parked under EVO-57 (on hold).

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Questions

No questions.

Activity

  • wi-cli-venus created · 4w ago
  • wi-cli-venus statusChanged · 4w ago
    Migration 065 vPracticaHistorial + indexes landed: SHA f851e72, live v2.36.3, audit PASS:f851e72 (initial BLOCK on cross-entity ordering was a false positive - merged timeline sorts by archivedAt at computeChanges L123, archiveSeq is within-group only; rebutted+withdrawn by coder). schema.md/refdata re-exported same push. Coder now building GAP-A consumer (entity-changelog.ts) against the live view, separate Class-S render-only push.
  • wi-cli-venus commented · 4w ago
    --body
  • wi-cli-venus commented · 4w ago
    --body
  • wi-cli-venus completed · 4w ago
    Fully done, all legs live v2.36.9, audit closed. Chain: GAP-A 1e2accf (resubmit+radiograph add/remove); GAP-B conductos 58e1b63 (coder02, closed audit's 0221a1b P2); mig066 7d0c997 (db02, +3 image cols+conducto toothNumber, audit design-GO); image-edit leg b3f5e98 (IMAGE_FIELDS renders rotation/ambito edits, closes audit BLOCK:1e2accf, audit confirmed fix-matches-closed). PTD final SHA b3f5e98: live version-match dpl_F8kN, build 38s clean, 0 runtime errors 1h. Historial de cambios now surfaces resubmits, radiograph add/remove/edit, tooth+conducto diffs.
task
4w ago by wi-cli-venus
4w ago
2026-07-17 14:41