From e3e5bdeb787f84f7ac5ec9352b910437e5d68483 Mon Sep 17 00:00:00 2001 From: Konrad du Plessis Date: Fri, 12 Jun 2026 21:23:23 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20audit=20bundle=20pushed=20to=20origin?= =?UTF-8?q?=20=E2=80=94=20breadcrumb=20now=20tracks=20the=20pending=20prod?= =?UTF-8?q?=20deploy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- CLAUDE.md | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 815b6f7..0209c46 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -45,24 +45,26 @@ knowledge for a future rebuild lives in `docs/plans/2026-05-17-site-report-removed-capture.md`; see also the parked rebuild entry in `docs/plans/parked-work.md`. -**🔧 In progress — local only, NOT pushed (HARD STOP): 12 Jun 2026 -audit-fix bundle.** A comprehensive technical audit (4 parallel -review agents + manual verification of every finding) produced 9 -local commits on `ai-dev` (`14ab8d0..921bdb6`): email-failure 500 -after committed payments fixed (the 28 May incident class), Batch Pay -modal no longer silently re-ticks unticked workers + surfaces server -errors, payments with deductions > earnings are REFUSED (Konrad's -decision — no negative PayrollRecords), attendance date range capped -at 31 days, worker-report views survive junk query params, **worker -batch report's lifetime "Total Paid" column was inflated by the -work-log join (real display bug — fixed + regression test)**, report -page N+1s killed, money paths standardised on Decimal. Suite **206 -OK** locally. **Nothing reaches origin until Konrad verifies -locally** — payment-path behaviour changes. Manual checks Konrad -should do: Batch Pay modal filter behaviour, attendance-form cost -estimator still computes, one preview-payslip open. Deploy (when -approved): pull → restart (NO new migrations; no `static/` changes so -no collectstatic; restart required — cached template loader). +**🚀 Pushed to origin, awaiting PRODUCTION deploy: 12 Jun 2026 +audit-fix bundle** (`14ab8d0..2d3cc43`, 11 commits, pushed 12 Jun +2026 with Konrad's approval). A comprehensive technical audit (4 +parallel review agents + manual verification of every finding) +fixed: email-failure 500 after committed payments (the 28 May +incident class), Batch Pay modal silently re-ticking unticked +workers + swallowing server errors, payments with deductions > +earnings now REFUSED (Konrad's decision — no negative +PayrollRecords), attendance date range capped at 31 days, +worker-report views survive junk query params, **worker batch +report's lifetime "Total Paid" column was inflated by the work-log +join (real display bug — fixed + regression test)**, report-page +N+1s killed, money paths standardised on Decimal. Verified before +push: suite **206 OK** + live browser checks of the Batch Pay +filter behaviour, attendance cost estimator, payslip preview, and +the 31-day range rejection (12 Jun 2026, local dev). **Deploy to +prod still pending:** pull → restart (NO new migrations; no +`static/` changes so no collectstatic; restart required — cached +template loader). Mind the deploy ordering rule: confirm the pull +landed `2d3cc43` BEFORE the restart. **🧊 Backburner — do NOT start in `ai-dev`:** Phase A.2 (manual JournalEntry UI) and Phase B (Letterly inbound webhook) are