From e415ab268e0c1e282d268ae88b1b6300d2b22ec1 Mon Sep 17 00:00:00 2001 From: BigSimmo <87357024+BigSimmo@users.noreply.github.com> Date: Mon, 24 Aug 2026 18:28:13 +0800 Subject: [PATCH] fix(ward-flow): remove the fabricated Mental Health Act figure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `main` carried an invented statutory figure and rendered it to users as a legal deadline. No product owner supplied it; an assistant wrote it from its own recollection. It is the third invented statutory figure this prototype has produced and the second attributed to the Act in a doc comment. It was not dead code. It existed in four places and reached the screen: ward-model.ts FORM_1A_REFERRAL_EXPIRY_MINUTES = 7 * 24 * 60, doc-commented as "the Mental Health Act's seven-day outer limit" ward-model.ts the LegalForm doc comment asserting that a Form 1A "always carries a real statutory examination window, so it always carries a dueAt" — the same fabrication in prose ward-flow-reducer.ts RAISE_REFERRAL stamped it onto every newly raised 1A ward-movements.ts authored dueAt values on Form 1A movements ward-management-console.tsx rendered "· due