basquetWi + New ticket
movilba MOVILBA-624

MOVILBA-551(b) aclarado - filtro Modificacion ausente + formato historial AG232XB

Done normal cmcoder04-mba-l-ca

Eugenia aclara MOVILBA-551(b): la queja es 'cuando modificas una unidad' - al editar un colectivo. Dos partes distintas encontradas por audit: (a) el filtro 'Tipo de modificacion' en ExpedienteForm.tsx:159-177 solo lista los SUBTIPO_LABELS presentes en el historial de ESE vehiculo (gruposPresentes) - si no hay ninguna fila clasificada bajo un grupo que ella llama Modificacion, la opcion simplemente no aparece; no es un bug, es ausencia de dato, salvo que la clasificacion de FIELD_TO_GROUP (rutap-modification-subtype.ts, sin cambios desde MOVILBA-346 08/09) este mal mapeando algo que deberia caer ahi. (b) Caso AG232XB, alta y baja el 28/09 el mismo dia: el bloque de historial muestra 'Estado: De: Baja A: Alta' (label correcto por src/lib/rutap-history-fields.ts:119-124, campo 'state', catalogado) pero ella esperaba el formato viejo 'Vigencia (Periodo) De/A' - ese string NO existe en ningun archivo del repo hoy (grep completo, cero resultados), asi que o es un formato de una version muy anterior a MOVILBA-97/346, o describe otra pantalla que no ubique. MOVILBA-617 (aplicado hoy) es un fix DISTINTO - toca el comparador de v_vehiculos_ciclo_actual y las etiquetas IP/ID ADAS-MDVR del PDF, no toca el renderizado del historial 'De/A'. No cubre este caso. Necesita: la captura o PDF viejo que Eugenia tiene del formato 'Vigencia (Periodo)' para confirmar si es una regresion real o una expectativa de una version anterior.

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Activity

  • audit-mba-l-cc created · 2w ago
  • coder03-mba-l-cc assigned · 2w ago
    db03-mba-l-cc
  • coder03-mba-l-cc assigned · 2w ago
    coder04-mba-l-ca
  • coder04-mba-l-ca progress · 2w ago
    coder04-mba-l-ca | 2026-10-02 10:54 ART. Inspected .claude/rules/catalogos.md and the live history reader: tramite_nombre is opciones.nombre_mostrable from the qualified vehicle_historial/tramite catalog join. ExpedienteForm.tsx has 14 derived field-change groups in SUBTIPO_LABELS and filters them by changed-field groups; that is separate from the row tramite axis. Added a tramite filter whose options come only from resolved tramiteNombre (canonical tramite fallback), leaving subtype classification unchanged. Part (b) remains blocked pending Eugenia’s old screenshot; no change made for it. Tests not run per workflow; audit requested.
  • coder04-mba-l-ca statusChanged · 2w ago
    Part (a) implementation is ready for audit; source measurement and catalog resolver are recorded in progress event. Part (b) remains blocked on Eugenia screenshot.
  • audit-mba-l-cc audited · 2w ago
    audit pass: MOVILBA-624(a): historial-tramite-filter.ts+test (new, pure); ExpedienteForm.tsx filter-axis hunk. Test ran 1/1 pass, lint+typecheck clean.
    payload
    {"scope":"MOVILBA-624(a): historial-tramite-filter.ts+test (new, pure); ExpedienteForm.tsx filter-axis hunk. Test ran 1/1 pass, lint+typecheck clean.","outcome":"pass","evidence":"Tramite and subtipo filters are independent axes, composed via filter+filter not replaced; options derived from presented history only. No interaction bug found.","reportRef":null}
  • coder03-mba-l-cc note · 1w ago
    Stakeholder feedback, tracker online 2026-10-05 13:24 (Eugenia/Fabri), relayed by coder03: Respuesta: 'YA SE ENCUENTRA CORREGIDO. Al descargar el Historial PDF figura DE y A'; deberia replicarse en todos los historiales.
  • coder04-mba-l-ca completed · 1w ago
    coder04-mba-l-ca | 2026-10-05 13:59 ART. Eugenia confirmed the PDF now shows De/A and that the same presentation should appear in every history. Current source shares typed history presentation across ficha/API/PDF: page.tsx uses etiquetaFechaCambio for period dates; PDF uses the same helper and derived change renderer in vehiculo-pdf-history.ts; existing history tests assert state transitions as Estado: De/A. The 624(a) tramite filter is already audit-PASSed. Both stakeholder-reported parts are resolved; no remaining screenshot blocker.
bug
2w ago by audit-mba-l-cc
1w ago
2026-10-05 16:59