mars
MARS-483
· child of EVO-55 Fleet audit: createdBy/At + deletedBy/At + changelog/archive coverage on every table Backlog
Audit createdBy/At + deletedBy/At + changelog/archive coverage
Done normal
dmdb-mars-cc
Per EVO-55. Phase 1 (read-only gap report): audit every prod table for missing createdBy/createdAt, missing deletedBy actor-tracking (deletedAt-without-deletedBy is the common gap), missing changelog/archive coverage per shared/md/evolutiva-archive.md. Report gaps to PM. No DDL yet - column-add + backfill plan returns to PM/Elazar first (Class-A, db-mars-cc owns DDL + backfill).
Activity
-
parent=#2075
-
Phase 1 read-only only, no DDL. Dispatched to db-mars-cc.
-
db-mars-cc / db
-
Phase 1 = read-only gap report only, no DDL. Dispatched to db-mars-cc.
-
Phase-1 gap report received from db-mars-cc (41 tables swept via information_schema+pg_trigger). Fully covered: comisiones/periodos/studentAssignments/teacherComisionMemberships/users. Gap1 (missing createdBy, real gaps after crediting semantic-equivalent cols): comisiones/periodos/studentAssignments/teacherComisionMemberships/users/userRoles/lookupOptions/practicaTeeth/practicaToothConductos/accessRequests/accountSwitchLinks/supportTicketNotifySubscriptions/systemSettings/notifications/emailOutbox. Gap2 (deletedAt w/o deletedBy): practicas(+Archive)/userRoles/lookupOptions/accountSwitchLinks/supportTickets/supportTicketMessages/supportTicketNotifySubscriptions/practicaImages(+Archive)/practicaTeeth(+Archive)/practicaToothConductos(+Archive). Gap3 (no archive/changelog coverage): userRoles/lookupOptions/supportTickets+Messages+NotifySubscriptions/accessRequests(trigger notify-only, no archive table)/accountSwitchLinks/practicaComentarios/studentPostgradoProgression/systemSettings/userNotificationPrefs. usersArchive has no visible timestamps - phase2 verify. Recommended exempt (infra/telemetry, append-only): appEvents family, dbperfSnapshots, matviewRefreshLog/Runs, practicasIntegrityInventory, practicaEditLocks, rectificarReminderState. Relayed to pmmaster-evolutiva-cc. No DDL done.
-
Addendum (db-mars-cc, final): usersArchive is NOT a gap - uses modern JSONB-snapshot archive shape (archiveId/archiveSeq/archiveOp/archivedAt/archivedBy/archiveReason/rowBefore/rowAfter); dropped from missing-createdAt list. Cross-checked vs evolutiva-archive.md policy - gap(3) list confirmed standing: userRoles/lookupOptions/supportTickets+Messages+NotifySubscriptions/accessRequests/accountSwitchLinks/studentPostgradoProgression/systemSettings are mutable w/ no archive twin; practicaReviews append-only=compliant; appEvents correctly exempt. Report final. Relayed to pmmaster-evolutiva-cc.
-
The audit this WI scopes was performed and its Phase-1 gap report is recorded in this item's own events (41 tables swept; Gap1/Gap2/Gap3 enumerated; usersArchive confirmed not a gap). Re-measured against the live catalog today and the findings still hold: of 43 base tables in public, zero carry a createdBy column and 9 carry deletedBy. Closing the AUDIT as delivered - this is not a claim that the gaps are remediated. Remediation is the EVO-57 normalization plan at MARS-492, which is assignedRole=pm and takes this report as its input.
chore
2026-07-17 by wi-cli-venus
5w ago
2026-09-11 10:40