From 8c88118b15b00124ba21c19c0909917e12092f92 Mon Sep 17 00:00:00 2001 From: weeihan Date: Sat, 11 Jul 2026 19:04:20 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20update=20progress=20ledger=20=E2=80=94?= =?UTF-8?q?=20Phase=203=20v2=20review=20complete?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .superpowers/sdd/progress.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.superpowers/sdd/progress.md b/.superpowers/sdd/progress.md index 7cc0657..d28b383 100644 --- a/.superpowers/sdd/progress.md +++ b/.superpowers/sdd/progress.md @@ -67,6 +67,9 @@ Base commit: 16e8f9d - [x] Task 3: CAPA owner dashboard (commits a2f1be7..070e2d1, review clean after fix — MINOR: PRIORITY_COLORS defined inside render; en-MY ICU fallback risk on Vercel; incident link non-functional for capa_owner role) - [x] Task 4: Reporter dashboard (commits 55b6dac..e631d04, review clean after fix — MINOR: profile/query errors silently swallowed; reviewer's second 🔴 on empty-string date is false positive — "" is falsy, existing && guard already blocks it) - [x] Task 5: CSV export endpoint (commit dfca872, review clean — tests 67/67 pass) +- [x] Task 6: RCA draft test (commit 76d9363, review clean — 68/68 pass) +- [x] Final review fixes: rename on-time rate, hoist getApiKey, remove broken capa-owner link (commit 871ef7c, re-review clean — 88/88 pass) +- [x] Whole-branch review: clean — no critical defects; RLS on CSV export verified correct by design - [x] Task 6: RCA draft test + final verification (commit 76d9363, 68/68 tests pass, build clean) --- @@ -81,3 +84,5 @@ Base commit: 55b6dac - [x] Task 1: WhatsApp notification helper + migration (commit b6845f5, review clean — MINOR out-of-scope: export route allowedRoles[role] prototype-safe pattern) - [x] Task 2: WhatsApp integration — incident alert + CAPA escalation (commit a47f3aa + edb0bde, review clean — MINOR: overdue_3d WhatsApp path untested; serial Meta calls in IIFE; mock call-index fragility in capa test; duplicate vi.clearAllMocks) +- [x] Task 3: CAPA effectiveness recheck (commit b9def9c, review clean — MINOR: getNextRecheckDate uses local setDate not UTC → fix setDate→setUTCDate before prod; CRON_SECRET undefined demotes to "Bearer undefined"; DB update after send has no error check; nextDate??null no-op) +- [x] Task 4: i18n infrastructure + EN/MS/ZH translations (commit 87264a5, review clean — MINOR: report page h1 still hardcoded English (plan gap); offline db stub throws at runtime (temporary, Task 5 replaces); language-switcher cookie value not URL-decoded; SW path /ims hardcoded in layout)