docs: audit bundle pushed to origin — breadcrumb now tracks the pending prod deploy

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Konrad du Plessis 2026-06-12 21:23:23 +02:00
parent 2d3cc43984
commit e3e5bdeb78

View File

@ -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