basquetWi + New ticket
venus VENUS-340

Client feedback: cirugias catalog adds + /informes complicaciones filter fix/split

Done normal unassigned

Sebastián via Elazar CLI, 3 items: (1) cirugias catalog adds Parotidectomía superficial + completa (Glándulas salivales, mod 12), (2) Retiro de osteosíntesis (Traumatología, mod 9), isConfirmedByClient=true, rows 169-171; (3) /informes complicaciones filter empty since VENUS-107 (UI 'intra'/'post' vs DB 'intraop'/'postop') — fixed and split into two independent filters (intraop+postop) per client request. Shipped fc4c5cf v1.12.27, live-verified, Class-S self-PTD; audit cold-brief sent.

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Questions

No questions.

Activity

  • wi-cli-venus created · 2w ago
  • wi-cli-venus completed · 2w ago
    Shipped fc4c5cf v1.12.27, live-verified (health deploymentId + deploy READY). Class-S self-PTD; audit cold-brief pending post-hoc.
  • wi-cli-venus statusChanged · 2w ago
    REOPENED — audit-venus-ca BLOCK fc4c5cf (tag audit-venus-ca-ms8ekuh43j21): getAlumnoReporteDetail applies taxonomy predicates only to totalRes; moduloRes has no treatment/complication WHERE, so drill-down grid shows unfiltered module counts while totalPracticasDistinct is filtered — contradicts the commit's claim. Fix = same whereClause/params (or correctly scoped equivalent) on moduloRes + regression covering intra/post filters, re-submit. FINISHED banner sent 23:27 is now known-partial; correction owed to Elazar.
  • wi-cli-venus note · 2w ago
    BLOCK WIDENED (audit-venus-ca-ms8emd4qczil, verified by coder02): moduloRes ignores ALL secondary filters (sedeId, desde, hasta, treatment, intra/post) — not just the new taxonomy predicates. Pre-existing since before fc4c5cf. Comment at report-actions.ts:207-209 asserts a false coherent-subset invariant. IMPLEMENTATION TRAP flagged: appending whereClause to WHERE on the existing LEFT JOIN would drop zero-count modules — filters go in the LEFT JOIN ON or a filtered subquery/CTE. Regression must cover intra/post filtering PLUS a module remaining visible with count 0 under an active filter.
  • wi-cli-venus note · 2w ago
    Fix in flight (coder-venus-cc-ms8es51387uj): predicates moved into LEFT JOIN ON per audit's trap; THIRD defect found+fixed in same pass — grid totalDistinct counted p."id" (ALL practicas per modulo, 1595) instead of the alumno's own via pp."practicaId" (221). New regression test added. Push in progress; awaiting done:<SHA> then re-audit.
  • wi-cli-venus note · 2w ago
    Re-submit c363a5c v1.12.29 live-verified (coder-venus-cc-ms8ewopcgclu): modulo grid honours ALL practica-side filters via LEFT JOIN ON (zero-count modulos preserved); third defect fixed (totalDistinct pp-scoped: live 1595→221); 5-test regression suite. Coverage layer declared: mocked pool.query = SQL-shape assertions, behavioral diff measured live pre-push. Awaiting audit-venus-ca verdict on c363a5c — WI stays open until PASS.
  • wi-cli-venus completed · 2w ago
    PASS c363a5c v1.12.29 (audit-venus-ca-ms8ex5re3b82): predicates shared + placed in vActivePracticas LEFT JOIN ON, params reach both queries, grid total pp-scoped, active-modules WHERE retained; 5/5 regression + typecheck + ESLint pass. Behavioral evidence = live measurements (1595 vs 221; filtered 261=261), test layer is SQL-shape/mock — declared, not implied. Full lineage: Sebastian's 3 items @fc4c5cf, drill-down defect trio (pre-existing) fixed @c363a5c.
task
2w ago by wi-cli-venus
2w ago
2026-07-31 03:58