venus
VENUS-440
Revert práctica fecha floor to 7-day retroactividad for the 2027 cycle
Blocked low
cvcoder-venus-cc
⛔ Un solo valor ausente: la fecha calendario de inicio del ciclo lectivo 2027, para PRACTICA_CICLO_2027_INICIO en src/lib/date-validity.ts. Codigo completo y vivo (dfd003c+01e9077). La eleccion A/B ya la contesto el cliente el 2026-07-06 ('Opcion A') y esa mitad esta shippeada. Aviso diario desde 2026-12-01, corte duro 2027-01-01.
Source: WhatsApp 2026-07-06, Puia chose option A: fecha floor January 2025 onward, and from the cycle starting 2027 only 7 days back. Shipped half: PRACTICA_FECHA_FLOOR='2025-01-01' in src/lib/date-validity.ts, whose comment says it 'reverts to the 7-day retroactividad rule in 2027'. Nothing tracks or schedules that reversion, so it will silently not happen. Need the exact 2027 cycle start date (Puia: the cohort starts in March) and confirmation before implementing. Applies to both the direct-edit path and the correction-request path (correction-fields.ts).
Activity
-
Escalated kind=blocked to pmmaster-evolutiva-cc for Elazar decision, tag coder-venus-cc-muw6rw0oos51.
-
Read per pmmaster (tag pmmaster-evolutiva-cc-muw6se9tctz3). SOURCES: pm/reference client specs (5 versions) + pm/01-product.md say only the 7-day rule (Q4), no date; WhatsApp export line 193-196 (2026-07-06): option A 'Enero 2025 en adelante, ciclo lectivo que comienza en 2027 solo 7 dias para atras', Puia: 'Opcion A' - names the RULE, not a date; PTT-20260706-WA0011 transcribed locally: about the date-filter axis (VENUS-438), not the floor. CORRECTION: 'Empiezan en marzo' (2026-06-30 12:49) is about Cirugia 2, the next catedra being sold Venus, NOT this cohort - the row description's 'Puia: March' was a misreading. No document fixes the exact 2027 start date.
-
Pre-push: configurable 2027 cycle start as source constant PRACTICA_CICLO_2027_INICIO (null). Unset fails closed from 2027-01-01 (ventana-sin-configurar, error-tier appEvents practicaVentanaSinConfigurar); set => fecha >= today-7. Unchanged fecha on edit not re-checked. Client inline check + picker min share the rule. Forced red: dropping fail-closed and dropping the unchanged-edit exemption each red their named control; reverted 53/53 green.
-
BLOCK:22bd766 (audit-venus-ca) fix pre-push: (1) unset-window check now precedes floor/future so every fecha past 2027-01-01 is the config refusal and pages; (2) editarPractica UPDATE guards "fecha" = pre-read fecha ($25), 0-row discriminated by re-read -> editarPracticaFechaRaceLost; (3) correction submit+approve log practicaVentanaSinConfigurar via shared lib/practica-fecha-config-log.ts. pmmaster ask: alert forced red at action level - crear/editar/createCorrection reach logEvent level=error past 2027 with constant null; removing each call site reds its control; quiet-state control (2026 floor refusal) asserts no page. HARD STOP: with PRACTICA_CICLO_2027_INICIO unset, práctica creation STOPS on 2027-01-01; the value is due before 2026-12-31.
-
audit pass: dfd003c diff (supersedes BLOCKed 22bd766)
payload
{"scope":"dfd003c diff (supersedes BLOCKed 22bd766)","outcome":"pass","evidence":"audit-venus-ca PASS:dfd003c tag audit-venus-ca-muw7l3ahfalw","reportRef":null} -
dfd003c live: v1.17.36, dpl_E6iKKccvRH4Svn1sHnK1g9wqU1Ti (gh status success target id == /api/health deploymentId, dbOk true). Next: warning-tier emission from 2026-12-01 while PRACTICA_CICLO_2027_INICIO is unset (pmmaster ask) - NOT in dfd003c, follow-up commit on this row.
-
Follow-up per pmmaster: daily config alarm. cicloInicioConfigLevel() in date-validity.ts (warn from 2026-12-01, error from 2027-01-01, null once set); logCicloInicioConfigState() emits practicaCicloInicioSinConfigurar from the daily Vercel cron /api/cron/watchdog-audit, after the bearer gate and outside the audit try. warn rows reach the next error-digest; error pages. Pushing now.
-
audit pass: 01e9077 diff (daily config alarm follow-up)
payload
{"scope":"01e9077 diff (daily config alarm follow-up)","outcome":"pass","evidence":"audit-venus-ca PASS:01e9077 tag audit-venus-ca-muw7rao0b88e","reportRef":null} -
01e9077 live: v1.17.36 (== remote main), dpl_75dfzCqep8YfMcLiUWVMQ3hgqgdz matches gh status target, dbOk true. PASS:01e9077 + PASS:dfd003c recorded. Code complete.
-
Code complete and live (dfd003c+01e9077, both PASS). Waiting on Puia for the 2027 ciclo lectivo start date, set as PRACTICA_CICLO_2027_INICIO in src/lib/date-validity.ts. Due before 2026-12-31: daily warn from 2026-12-01, fail-closed + error page from 2027-01-01.
-
La pregunta A/B YA ESTA CONTESTADA y no es lo que falta. WhatsApp 2026-07-06 09:54 ART, Sebastian Puia: 'Opcion A', sobre la opcion ofrecida a las 09:35 - 'Enero 2025 en adelante, ciclo lectivo que comienza en 2027 solo 7 dias para atras'. Eso es lo que ya esta shippeado como PRACTICA_FECHA_FLOOR. LO QUE FALTA ES OTRA PREGUNTA: la fecha calendario en que arranca el ciclo lectivo 2027, para PRACTICA_CICLO_2027_INICIO. Un 'ya contesto' sobre A/B no cierra esta fila. Dato cercano que NO sirve: el 2026-06-30 dijo 'Empiezan en marzo ellos' refiriendose a Cirugia 2, otra catedra, no al ciclo de postgrado. Fuente: export 2026-10-06. Pregunta 16 del bundle /home/rob/gdrive/projects/evolutiva/shared/client-questions-bundle/2026-10-06-consolidated-client-questions.md
-
La mitad A/B de esta fila ESTA CONTESTADA desde 2026-07-06 y no hay que volver a preguntarla. WhatsApp, 09:35 ART Elazar ofrece: 'a) Enero 2025 en adelante, ciclo lectivo que comienza en 2027 solo 7 dias para atras. b) Enero 2026 en adelante...'. 09:54 ART Sebastian Puia: 'Opcion A'. Eso ya esta shippeado como PRACTICA_FECHA_FLOOR='2025-01-01'. LO UNICO QUE FALTA es un valor: la fecha calendario de inicio del ciclo lectivo 2027, para PRACTICA_CICLO_2027_INICIO. Dato cercano que NO sirve: 'Empiezan en marzo ellos' (2026-06-30) habla de Cirugia 2, otra catedra. Fuente: /data-venus/venus/client-requests/2026-10-06-whatsapp-chat-venus-alessio-elazar.zip
-
Un solo valor ausente: la fecha calendario de inicio del ciclo lectivo 2027, para PRACTICA_CICLO_2027_INICIO en src/lib/date-validity.ts. Codigo completo y vivo (dfd003c+01e9077). La eleccion A/B ya la contesto el cliente el 2026-07-06 ('Opcion A') y esa mitad esta shippeada. Aviso diario desde 2026-12-01, corte duro 2027-01-01.
task
1w ago by coder-venus-cc
1w ago