diff --git a/.github/workflows/backend-uptime.yml b/.github/workflows/backend-uptime.yml index 0f6eb59ab6..ba3cfd7e43 100644 --- a/.github/workflows/backend-uptime.yml +++ b/.github/workflows/backend-uptime.yml @@ -244,13 +244,17 @@ jobs: exit 0 fi # Hidden database or a monitor account that is not set up: neither raise nor close a - # backend-down issue. A hidden database check must not look green (A7-01). A rate-limited - # or unset workspace check stays a warning only; the monitor-not-set-up issue covers it. + # backend-down issue. A hidden database check must not look green (A7-01), but it is + # reported after any sign-in or workspace failure has raised its issue. A rate-limited or + # unset workspace check stays a warning only; the monitor-not-set-up issue covers it. + hidden="" if [ "$HEALTH" = "unknown" ]; then - echo "::error::Uptime check did not see the database: WARD_FLOW_UPTIME_TOKEN is missing or does not match the backend's value." - exit 1 + hidden="::error::Uptime check did not see the database: WARD_FLOW_UPTIME_TOKEN is missing or does not match the backend's value." + fi + if [ "$state" = "unknown" ]; then + if [ -n "$hidden" ]; then echo "$hidden"; exit 1; fi + exit 0 fi - if [ "$state" = "unknown" ]; then exit 0; fi if [ -z "$open" ]; then gh label create "$LABEL" --color B60205 --description "Hosted backend not answering" --force case "$state" in @@ -264,4 +268,5 @@ jobs: gh issue create --label "$LABEL" --title "Shared backend is not answering" --body "@$OWNER The hosted Ward Flow backend ($BACKEND_URL/healthz) did not answer three times in a row ($run). Shared mode will not load or save until it is back. Check the ward-flow-backend service in Railway. This issue closes itself when the backend answers again." ;; esac fi + if [ -n "$hidden" ]; then echo "$hidden"; fi exit 1 diff --git a/backend/ward-flow/healthz-uptime-token.test.mjs b/backend/ward-flow/healthz-uptime-token.test.mjs index a067fe239d..a4346a03bb 100644 --- a/backend/ward-flow/healthz-uptime-token.test.mjs +++ b/backend/ward-flow/healthz-uptime-token.test.mjs @@ -63,7 +63,13 @@ test("P177: the uptime workflow sends the token and warns, not alarms, when the assert.match(workflow, /::warning::Database not checked: WARD_FLOW_UPTIME_TOKEN/); // Hidden is unknown, not up: it must not close a real open incident. assert.match(workflow, /WARD_FLOW_UPTIME_TOKEN is missing[^\n]*\n\s*state=unknown/); - assert.match(workflow, /= "unknown" \]; then exit 0; fi/); + // An unknown state stops before any issue; a hidden database fails the run only after a + // sign-in or workspace failure has raised its issue (D-159). + assert.match( + workflow, + /if \[ "\$state" = "unknown" \]; then\n\s*if \[ -n "\$hidden" \]; then echo "\$hidden"; exit 1; fi\n\s*exit 0\n\s*fi/, + ); + assert.match(workflow, /esac\n\s*fi\n\s*if \[ -n "\$hidden" \]; then echo "\$hidden"; fi\n\s*exit 1/); // A failed curl or malformed JSON counts as down, never as hidden. assert.doesNotMatch(workflow, /\|\| true\)/); assert.doesNotMatch(workflow, /\|\| echo hidden/); diff --git a/docs/FACTS.md b/docs/FACTS.md index 453ba8874b..facc74efb7 100644 --- a/docs/FACTS.md +++ b/docs/FACTS.md @@ -13,8 +13,8 @@ green. Quote a fact instead of restating it, and it updates itself when the sour | `migration-count` | 18 | Numbered database migrations | `backend/ward-flow/migrations/` | | `ward-route-count` | 61 | `page.tsx` routes under `/ward-flow` | `src/app/ward-flow/` | | `app-route-count` | 65 | Pages and route handlers: the Ward Flow routes plus sign-in and the `/mockups` digest | `src/app/ward-flow/, src/app/ward-flow-sign-in/, src/app/mockups/` | -| `latest-decision` | D-158 | Newest entry in the decision log | `docs/ward-flow/decisions.md` | -| `next-decision` | D-159 | Number to use for the next decision | `docs/ward-flow/decisions.md` | +| `latest-decision` | D-159 | Newest entry in the decision log | `docs/ward-flow/decisions.md` | +| `next-decision` | D-160 | Number to use for the next decision | `docs/ward-flow/decisions.md` | | `node-engine` | >=24.22.1 <25 | Supported Node.js range | `package.json` | | `backend-env-vars` | 33 names, [listed below](#backend-env-vars) | Environment variables the shared backend reads | `backend/ward-flow/*.mjs` | diff --git a/docs/design/DESIGN-SYSTEM.md b/docs/design/DESIGN-SYSTEM.md index 6b9f4cc338..460e027211 100644 --- a/docs/design/DESIGN-SYSTEM.md +++ b/docs/design/DESIGN-SYSTEM.md @@ -116,25 +116,25 @@ The shell is the same on every page. Copy it from the master's newest screens (t Build with `src/components/wf`. Never copy a primitive into a screen, and never write one-off `.tag`, `.chip` or `.pill` CSS. The master's Components tab shows each part in each state. -| Need | Use | Rules | -| --------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Page header | `Hero` (band), `CheckingFoot` | Title is the answer, five words at most. One strip of figures. At most one on-hero action; on phone the rest go in "…" (Q153). Eyebrow hidden on phone unless it adds facts. | -| Figures | `Stat` strip | Mono, tabular. Keep a strip on one row where it fits; let a title column shrink first (Q290, Q293). | -| A labelled state | `Badge`, `StatusGlyph` | Small tinted tag or glyph. Counts use the count badge. | -| A group of content | `Card` | Only where it is a separate object. Kit card heads keep their title whole (Q237). | -| Actions | `Button` | One filled button per row or panel; the rest are quiet. Unavailable for now: `aria-disabled` with `disabledReason`. Never usable by this desk: not shown. Unwired: "Not wired in this prototype." | -| Choosing one of a few | `choice` (segments, radio group) | Never the browser's own drop-down for a kit choice (Q319). | -| Search | `SearchField` | "/" jumps to it where a page has one search. | -| Dates and times | `DateField` (DD/MM/YYYY), `TimePresets` | Never the browser's date picker. Never default a written time to now (Q120). | -| Long lists | `ShowMoreRow` | About eight rows, then "Show 8 more" / "Show fewer". Never a small scrolling box. | -| Pop-ups and panels | `Sheet`, `Dialog`, `requestConfirm` | See section 5. Leaving with unsaved work: "Leave this page?", "Leave without saving", "Keep editing" (focus on Keep editing). Never `confirm`, `alert` or `prompt`. | -| Activity lists | `Feed`, `SinceYouLookedFold` | One timeline per record. | -| Charts | `Chart` | To scale, from existing figures only, data tokens, Geist axes. | -| Names | `FormalName` | Patients surname first as recorded ("Jenkinwood, Sarah"); staff as written ("Dr S. Chen", Q226). Always in full, wrapping. | -| Missing facts | `MissingValue` | "Not recorded" in ink-3; amber only where the gap blocks the next step. | -| Phone folds and rows | `PhoneFold`, `phoneRows` | Chip rows put the count first and slide with an edge fade. | -| Live changes | `LiveAnnouncer`, `live` | One polite region per page, batched, act-now changes only. | -| Formatting | `format.ts` (`clk`, `dur`, `durMinutes`) | Never re-implement a formatter. | +| Need | Use | Rules | +| --------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Page header | `Hero` (band), `CheckingFoot` | Title is the answer, five words at most. One strip of figures. At most one on-hero button, the next step's light button; page tools sit in one row of quick-link chips under it, which scrolls sideways on a phone (page tops v6, D-116, D-159). Anything past that goes in "…" (Q153). Eyebrow hidden on phone unless it adds facts. | +| Figures | `Stat` strip | Mono, tabular. Keep a strip on one row where it fits; let a title column shrink first (Q290, Q293). | +| A labelled state | `Badge`, `StatusGlyph` | Small tinted tag or glyph. Counts use the count badge. | +| A group of content | `Card` | Only where it is a separate object. Kit card heads keep their title whole (Q237). | +| Actions | `Button` | One filled button per row or panel; the rest are quiet. Unavailable for now: `aria-disabled` with `disabledReason`. Never usable by this desk: not shown. Unwired: "Not wired in this prototype." | +| Choosing one of a few | `choice` (segments, radio group) | Never the browser's own drop-down for a kit choice (Q319). | +| Search | `SearchField` | "/" jumps to it where a page has one search. | +| Dates and times | `DateField` (DD/MM/YYYY), `TimePresets` | Never the browser's date picker. Never default a written time to now (Q120). | +| Long lists | `ShowMoreRow` | About eight rows, then "Show 8 more" / "Show fewer". Never a small scrolling box. | +| Pop-ups and panels | `Sheet`, `Dialog`, `requestConfirm` | See section 5. Leaving with unsaved work: "Leave this page?", "Leave without saving", "Keep editing" (focus on Keep editing). Never `confirm`, `alert` or `prompt`. | +| Activity lists | `Feed`, `SinceYouLookedFold` | One timeline per record. | +| Charts | `Chart` | To scale, from existing figures only, data tokens, Geist axes. | +| Names | `FormalName` | Patients surname first as recorded ("Jenkinwood, Sarah"); staff as written ("Dr S. Chen", Q226). Always in full, wrapping. | +| Missing facts | `MissingValue` | "Not recorded" in ink-3; amber only where the gap blocks the next step. | +| Phone folds and rows | `PhoneFold`, `phoneRows` | Chip rows put the count first and slide with an edge fade. | +| Live changes | `LiveAnnouncer`, `live` | One polite region per page, batched, act-now changes only. | +| Formatting | `format.ts` (`clk`, `dur`, `durMinutes`) | Never re-implement a formatter. | ### Icons and status marks @@ -249,7 +249,7 @@ The shell, tokens and kit keep Ward Flow feeling like one product. The variation - The shell: sidebar, app bar, band hero frame, phone dock, toasts, footer. - Tokens: no new colours, sizes, radii or fonts. Tone semantics (red is act now). - Kit primitives: buttons, badges, choices, fields, sheets, dialogs, Show more. -- House rules: 12px floor, 40px phone controls with a 48px cover, 30px desktop tabs, no coloured side edges, one filled button per panel, one on-hero action. +- House rules: 12px floor, 40px phone controls with a 48px cover, 30px desktop tabs, no coloured side edges, one filled button per panel, at most one on-hero button plus one quick-link chip row (D-159). - Words, names, times, safety wording and synthetic data. - The five-second answer in the hero title. @@ -282,7 +282,7 @@ Each page may take **one signature part**: a bespoke visual that shows its own d - [ ] Tokens only; kit parts only; no one-off pills. - [ ] Icons from the table in section 4 at 1.75 stroke; status marks from `StatusGlyph`, no typed symbols, and only where they change the next action. - [ ] No coloured side edges; no text under 12px; phone controls 40px; desktop tabs 30px. -- [ ] One on-hero action, one filled button per panel, eight rows then Show more. +- [ ] At most one on-hero button plus one quick-link chip row (D-159), one filled button per panel, eight rows then Show more. - [ ] Words from section 6; patient names surname first, staff names as written, both in full; times as typed. - [ ] At most one signature part, inside the limits in section 8. - [ ] Synthetic data only; no names or typed text in URLs, screenshots or logs. diff --git a/docs/hosting.md b/docs/hosting.md index f2a001205f..88034747fe 100644 --- a/docs/hosting.md +++ b/docs/hosting.md @@ -110,6 +110,10 @@ Backend settings (Railway dashboard): headers and the backend cannot be reached directly. Reverify those conditions before relying on per-address sign-in limits; prefer explicit proxy socket addresses, or no forwarded-header trust when unverified. This document does not establish the current deployed ingress boundary. + On the web app (Next) service the same setting only gates the demo-code try limit, and only `*` + applies there: the session route has no socket address to match, so a list of IP addresses is + ignored with one `ward_front_door_config_warning` log line and the D-147 per-address keying + stays. - Recorded watch paths: `/backend/ward-flow/**`, `/src/components/ward-management/**` and `/src/lib/**` (the engine bundles both, including the synthetic-data guard), `/package.json`, `/package-lock.json` and `/tsconfig.json`. The maintained source contract in diff --git a/docs/ward-flow/OWNER-RULINGS.md b/docs/ward-flow/OWNER-RULINGS.md index 368a3c6c78..9239cf1fc8 100644 --- a/docs/ward-flow/OWNER-RULINGS.md +++ b/docs/ward-flow/OWNER-RULINGS.md @@ -9,7 +9,7 @@ Scanned `docs/ward-flow/decisions.md`, `docs/ward-flow/owner-*.md` and `docs/his One file matches `*owner*` but not `owner-*` and is deliberately excluded: `how-to-write-to-the-owner.md` — it is instructions for writing TO the owner, not a record of what he ruled. -**720 rulings/items extracted, across 43 of 44 files.** +**721 rulings/items extracted, across 43 of 44 files.** **0 file(s) UNPARSED** — no recognised ruling structure found; listed, not dropped. See below. **1 file(s) recorded as holding no ruling of their own**, each with its reason. See below. @@ -32,7 +32,7 @@ line, in the order discovered — confirm which instance you mean before citing --- -## ID index — 470 distinct IDs +## ID index — 471 distinct IDs So an ID like `D-9` or `O-17.1` can be looked up directly, without knowing which file it lives in. Bare numbered rulings (files that number "1., 2., 3. …" with no owner-issued letter code) are @@ -72,263 +72,264 @@ safe global key across 30 files. | `D-1` ⚠️ **3 occurrences in 3 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-12-four-answers.md`:16 | D-1 · Legal forms: split the list in two | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:85 | D-1 — 🔴 The screen is called **Patient**, not "Patient Now" | -| ↳ | `decisions.md`:187 | D-1. Ward Flow is local only, with no linked repository (Replaced by D-27) | +| ↳ | `decisions.md`:188 | D-1. Ward Flow is local only, with no linked repository (Replaced by D-27) | | `D-2` ⚠️ **3 occurrences in 3 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-12-four-answers.md`:57 | D-2 · Raise the three unbindable table thresholds | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:108 | D-2 — 🔴 Communication: BUILD IT. The system must be able to tell someone something. | -| ↳ | `decisions.md`:197 | D-2. Railway is disconnected | +| ↳ | `decisions.md`:198 | D-2. Railway is disconnected | | `D-3` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:215 | D-3 — 🔴 The 12px floor is ADOPTED. Screen by screen, not as a sweep. | -| ↳ | `decisions.md`:208 | D-3. The PsychSift and Database code is being retired from Ward Flow | +| ↳ | `decisions.md`:209 | D-3. The PsychSift and Database code is being retired from Ward Flow | | `D-3b` | `../history/archive/dated-notes/owner-decisions-2026-09-12-four-answers.md`:77 | D-3b · The data-conditional absence sweep is DEFERRED | | `D-4` ⚠️ **4 occurrences in 3 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-12-four-answers.md`:97 | D-4 · The deliberate sub-12px exception stands if its reasoning is sound | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:263 | D-4 · WARD LEAD RULING, not the owner's — the Access record's false assurance | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:390 | D-4 ADDENDUM, 2026-09-11 — 🔴 the OTHER half of that sentence, found by Lane C after the fix | -| ↳ | `decisions.md`:216 | D-4. Synthetic patients only | +| ↳ | `decisions.md`:217 | D-4. Synthetic patients only | | `D-5` ⚠️ **4 occurrences in 3 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-12-routing-and-nine-flags.md`:15 | D-5 · 🔴 A NEW STANDING RULE: PROTECTED-WORK DELETIONS COME TO WARD VERIFIER FIRST | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:340 | D-5 · WARD LEAD RULING, not the owner's — gender reaches BOTH bed gates or neither | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:431 | D-5 MEASUREMENT, 2026-09-11 — the wiring task handed back, and the arithmetic is starker than I expected | -| ↳ | `decisions.md`:224 | D-5. Parallel threads in separate worktrees, folded one at a time | +| ↳ | `decisions.md`:225 | D-5. Parallel threads in separate worktrees, folded one at a time | | `D-6` ⚠️ **3 occurrences in 3 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-12-routing-and-nine-flags.md`:52 | D-6 · 🟢 THE `--t-0` COLLISION — amend the brief in the same change | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:472 | D-6 · WARD LEAD RULING — "Not recorded" and "Not yet recorded" are BOTH used, deliberately | -| ↳ | `decisions.md`:235 | D-6. Aboriginal cultural safety review deferred | +| ↳ | `decisions.md`:236 | D-6. Aboriginal cultural safety review deferred | | `D-7` ⚠️ **3 occurrences in 3 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-12-routing-and-nine-flags.md`:72 | D-7 · 🟢 THE REMAINING SEVEN ARE FLAGGED TO WARD LEAD | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:499 | D-7 · WARD LEAD RULING — the Patient screen SHOWS gender, and the addition is logged as an addition | -| ↳ | `decisions.md`:243 | D-7. The first four milestones, in this order | +| ↳ | `decisions.md`:244 | D-7. The first four milestones, in this order | | `D-8` ⚠️ **3 occurrences in 3 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-12-fold-and-authorisation.md`:9 | D-8 · 🔴 "FOLD INTO MAIN" ALWAYS MEANS THE LOCAL WARD FLOW LINE | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:545 | D-8 · WARD LEAD RULING — the announced marker says "invented NAMES", never "invented people" | -| ↳ | `decisions.md`:255 | D-8. Josh's standing rulings, numbered R1 to R16, for every session and tool | +| ↳ | `decisions.md`:256 | D-8. Josh's standing rulings, numbered R1 to R16, for every session and tool | | `D-9` ⚠️ **3 occurrences in 3 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-12-fold-and-authorisation.md`:51 | D-9 · 🟢 THE MENTAL HEALTH ACT AUTHORISATION GATE IS OVERRIDABLE — with the owner's clinical reason | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:589 | D-9 · WARD LEAD RULING — the referral board's table MAY scroll sideways; the missing thing is the affordance | -| ↳ | `decisions.md`:287 | D-9. Josh's rulings of 25 September, 11:43 to 12:00 (R17 to R21) | +| ↳ | `decisions.md`:288 | D-9. Josh's rulings of 25 September, 11:43 to 12:00 (R17 to R21) | | `D-10` ⚠️ **3 occurrences in 3 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-12-fold-and-authorisation.md`:91 | D-10 · ⏸️ THE SMALL-TEXT RAISE IS DEFERRED — with the triggers written down, because a deferral without one is a drop | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:618 | D-10 · WARD LEAD RULING — the overflow affordance is a SENTENCE first and a measured border second, not the standard's shade | -| ↳ | `decisions.md`:301 | D-10. Gate build type check (R22) | +| ↳ | `decisions.md`:302 | D-10. Gate build type check (R22) | | `D-11` ⚠️ **3 occurrences in 3 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-12-fold-and-authorisation.md`:129 | D-11 · 🔴 TWO LEDGERS IS CORRECT AND INTENDED — WARD FLOW TASKS GO ON THE WARD FLOW LEDGER, AND THE MAIN PROJECT'S IS DISREGARDED FOR THIS PROJECT | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:685 | D-11 · A-1 — the half-written referral history WARNS, and is never stored | -| ↳ | `decisions.md`:310 | D-11. Rulings of 25 September, 12:41 (R23 to R25) | +| ↳ | `decisions.md`:311 | D-11. Rulings of 25 September, 12:41 (R23 to R25) | | `D-12` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:704 | D-12 · A-2 — the referrer is the RECORDED SOURCE, and a person only if the record carries one | -| ↳ | `decisions.md`:326 | D-12. Rulings of 25 September, 12:43 (R26 to R31) | +| ↳ | `decisions.md`:327 | D-12. Rulings of 25 September, 12:43 (R26 to R31) | | `D-13` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:720 | D-13 · A-3 and A-4 — both resolve FOR THE CODE; the drawings change | -| ↳ | `decisions.md`:345 | D-13. Tooling tests in batch gates (R32) | +| ↳ | `decisions.md`:346 | D-13. Tooling tests in batch gates (R32) | | `D-14` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:739 | D-14 · A-6 and A-8 — ADD THE LINK, AND MAKE THE GUARD ENFORCE IN THE SAME CHANGE. Never one without the other. | -| ↳ | `decisions.md`:355 | D-14. Standing defaults: decide small things without asking | +| ↳ | `decisions.md`:356 | D-14. Standing defaults: decide small things without asking | | `D-15` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:778 | D-15 · A-7 — the figure NAMES ITS OWN CLOCK, or it does not ship | -| ↳ | `decisions.md`:367 | D-15. Rulings of 25 September, 13:26 (R33 to R35) | +| ↳ | `decisions.md`:368 | D-15. Rulings of 25 September, 13:26 (R33 to R35) | | `D-16` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:799 | D-16 · WARD LEAD RULING — the unwired primary actions use §8.6's EXISTING sentence; nothing new is invented | -| ↳ | `decisions.md`:380 | D-16. Legal overrides and form receipts, 25 September 13:51 UTC | +| ↳ | `decisions.md`:381 | D-16. Legal overrides and form receipts, 25 September 13:51 UTC | | `D-17` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:843 | D-17 · WARD LEAD RULING — A-8: FD-23 wins. The Patient screen never shows where else a patient has been. | -| ↳ | `decisions.md`:393 | D-17. Morning roll-up time is Josh's own default (25 September) | +| ↳ | `decisions.md`:394 | D-17. Morning roll-up time is Josh's own default (25 September) | | `D-18` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:878 | D-18 · WARD LEAD RULING — the referral query contract carries MODEL values; and `gp` is a question for the owner, not a mapping for me | -| ↳ | `decisions.md`:404 | D-18. The privacy lock stops saving only for typed text (25 September) | +| ↳ | `decisions.md`:405 | D-18. The privacy lock stops saving only for typed text (25 September) | | `D-19` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:922 | D-19 · WARD LEAD RULING — "something is already open for this person" is PERMITTED; "where" never is | -| ↳ | `decisions.md`:415 | D-19. Rulings of 25 September, evening (walkthrough, leave beds, PsychSift, gender display) | +| ↳ | `decisions.md`:416 | D-19. Rulings of 25 September, evening (walkthrough, leave beds, PsychSift, gender display) | | `D-20` ⚠️ **3 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:967 | D-20 · WARD LEAD RULING — the drawing wins; the vocabulary anchor was never the heading | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1010 | D-20-REVISED · the drawing renames BOTH, so neither side is taken whole | -| ↳ | `decisions.md`:445 | D-20. One high-contrast colour check retired (26 September) | +| ↳ | `decisions.md`:446 | D-20. One high-contrast colour check retired (26 September) | | `D-21` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1058 | D-21 · WARD LEAD RULING — tasks 10 and 12 are CLOSED, not deferred, and not built as callerless modules | -| ↳ | `decisions.md`:458 | D-21. Coordinator bed board: all nine recommended answers (26 September) | +| ↳ | `decisions.md`:459 | D-21. Coordinator bed board: all nine recommended answers (26 September) | | `D-22` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1084 | D-22 · SHAPE 2 — the landmark label and the heading stop being two strings | -| ↳ | `decisions.md`:470 | D-22. No legal limits in hour rules; the rest are labelled defaults (26 September) | +| ↳ | `decisions.md`:471 | D-22. No legal limits in hour rules; the rest are labelled defaults (26 September) | | `D-23` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1121 | D-23 · The bed board passes an empty leave-bed list into three capacity figures, and says nothing | -| ↳ | `decisions.md`:486 | D-23. Leave-bed fields kept; patient search stops matching by ward (26 September) | +| ↳ | `decisions.md`:487 | D-23. Leave-bed fields kept; patient search stops matching by ward (26 September) | | `D-24` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1142 | D-24 · The raw `1.2` line-height — token it, and accept that community no longer matches | -| ↳ | `decisions.md`:500 | D-24. Hour-rules morning list: all A (26 September) | +| ↳ | `decisions.md`:501 | D-24. Hour-rules morning list: all A (26 September) | | `D-25` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1161 | D-25 · Command's `deadlineLine` sentence is not built — and this DEFERS the R-5 question rather than answering it | -| ↳ | `decisions.md`:524 | D-25. The lone-patient check counts free beds on both matching paths (26 September) | +| ↳ | `decisions.md`:525 | D-25. The lone-patient check counts free beds on both matching paths (26 September) | | `D-26` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1184 | D-26 · `edPressure` becomes a projection of `edHomeSummaries` — the two screens stop being able to disagree | -| ↳ | `decisions.md`:532 | D-26. Select fold checks by changed risk (27 September) | +| ↳ | `decisions.md`:533 | D-26. Select fold checks by changed risk (27 September) | | `D-27` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1213 | D-27 · The word for a free bed is READY — and the ruling is about the WORD, not the identifier | -| ↳ | `decisions.md`:550 | D-27. Ward Flow uses its dedicated repository (28 September) | -| `D-28` | `decisions.md`:563 | D-28. Design Modernization & Anti-Box Architecture (30 September 2026) | -| `D-29` | `decisions.md`:577 | D-29. Act time limits shown as a labelled synthetic demo (4 October 2026) | +| ↳ | `decisions.md`:551 | D-27. Ward Flow uses its dedicated repository (28 September) | +| `D-28` | `decisions.md`:564 | D-28. Design Modernization & Anti-Box Architecture (30 September 2026) | +| `D-29` | `decisions.md`:578 | D-29. Act time limits shown as a labelled synthetic demo (4 October 2026) | | `D-30` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1238 | D-30 · `Unit.forensic` is a WARD flag, and every rendered string says so | -| ↳ | `decisions.md`:592 | D-30. Central Coordinator Approval for Inter-Ward Bed Transfers (6 October 2026) | +| ↳ | `decisions.md`:593 | D-30. Central Coordinator Approval for Inter-Ward Bed Transfers (6 October 2026) | | `D-31` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1367 | D-31 · The plan's disposition — delete one half, re-derive the other | -| ↳ | `decisions.md`:599 | D-31. Gender-Diverse Bed Placement Policy & Clinical Override Safety (6 October 2026) | +| ↳ | `decisions.md`:600 | D-31. Gender-Diverse Bed Placement Policy & Clinical Override Safety (6 October 2026) | | `D-32` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1289 | D-32 · D-6 is restated: ONE WORDING PER STATE, and the states are named | -| ↳ | `decisions.md`:606 | D-32. FIFO Waiting Time with Clinical Triage Badging vs Algorithmic Urgency Sorting (6 October 2026) | +| ↳ | `decisions.md`:607 | D-32. FIFO Waiting Time with Clinical Triage Badging vs Algorithmic Urgency Sorting (6 October 2026) | | `D-33` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1322 | D-33 · "Nothing outstanding" does three jobs, and only one of them may keep the words | -| ↳ | `decisions.md`:613 | D-33. Separation of Local Ward Shift Notes from Statewide Coordinator Telemetry (6 October 2026) | +| ↳ | `decisions.md`:614 | D-33. Separation of Local Ward Shift Notes from Statewide Coordinator Telemetry (6 October 2026) | | `D-34` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1347 | D-34 · A hypothetical destination row may not use obligation vocabulary at all | -| ↳ | `decisions.md`:620 | D-34. Acute Medical Deterioration Bed Release and Escalation Protocol (6 October 2026) | +| ↳ | `decisions.md`:621 | D-34. Acute Medical Deterioration Bed Release and Escalation Protocol (6 October 2026) | | `D-35` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1388 | D-35 · The ED pressure strip does not narrow to the selected service, and #6 is CLOSED | -| ↳ | `decisions.md`:627 | D-35. Deferral of Regional Multi-Leg Transport & RFDS Repatriation (6 October 2026) | +| ↳ | `decisions.md`:628 | D-35. Deferral of Regional Multi-Leg Transport & RFDS Repatriation (6 October 2026) | | `D-36` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1405 | D-36 · _Referrals into this ward_ / _into the team_ — PRESENTATION, with a condition | -| ↳ | `decisions.md`:634 | D-36. Affirmation of External Governance & Clinical Safety Hard Gates (6 October 2026) (Replaced by D-87) | +| ↳ | `decisions.md`:635 | D-36. Affirmation of External Governance & Clinical Safety Hard Gates (6 October 2026) (Replaced by D-87) | | `D-37` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1411 | D-37 · _Clinically ready, not yet gone_ — PRESENTATION, and the heading must name its subject | -| ↳ | `decisions.md`:649 | D-37. External Governance Hard Gate Operational Postures & Resolution Roadmap (6 October 2026) (Replaced by D-87) | +| ↳ | `decisions.md`:650 | D-37. External Governance Hard Gate Operational Postures & Resolution Roadmap (6 October 2026) (Replaced by D-87) | | `D-38` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1417 | D-38 · _People currently in a hospital bed_ on community team statistics — an aggregate that identifies at small N | -| ↳ | `decisions.md`:676 | D-38. Leave, absent without leave and CTO on the Patient page (9 October 2026) | +| ↳ | `decisions.md`:677 | D-38. Leave, absent without leave and CTO on the Patient page (9 October 2026) | | `D-39` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1437 | D-39 · _Contacts_ and _Time to first contact_ — HELD, build neither | -| ↳ | `decisions.md`:694 | D-39. Patients are identified by UMRN, never by a WF number (9 October 2026) | +| ↳ | `decisions.md`:695 | D-39. Patients are identified by UMRN, never by a WF number (9 October 2026) | | `D-40` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1445 | D-40 · An empty check array never claims reconciliation — on either shell surface | -| ↳ | `decisions.md`:738 | D-40. A second community treatment order keeps the first (9 October 2026) | +| ↳ | `decisions.md`:739 | D-40. A second community treatment order keeps the first (9 October 2026) | | `D-41` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1478 | D-41 · `corridorCounts` is extended, and its POPULATION changes | -| ↳ | `decisions.md`:749 | D-41. Delays board filters narrow the table and state the hidden count (9 October 2026) | +| ↳ | `decisions.md`:750 | D-41. Delays board filters narrow the table and state the hidden count (9 October 2026) | | `D-42` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1490 | D-42 · _Referrals into this ward_ renders bare counts. No share. | -| ↳ | `decisions.md`:762 | D-42. 12px typography floor with no uppercase exception reaffirmed in Design System v9 (9–10 October 2026) | +| ↳ | `decisions.md`:763 | D-42. 12px typography floor with no uppercase exception reaffirmed in Design System v9 (9–10 October 2026) | | `D-43` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1724 | D-43 · Ward Lead ruling — the bed board's ordinal contradiction is a LANE TASK | -| ↳ | `decisions.md`:768 | D-43. Colour lives in glyphs and the hero; red means act now with a thin 1px edge, never a fill (9 October 2026) | +| ↳ | `decisions.md`:769 | D-43. Colour lives in glyphs and the hero; red means act now with a thin 1px edge, never a fill (9 October 2026) | | `D-44` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1791 | D-44 · The community scope note is reworded and the comparison panel stays | -| ↳ | `decisions.md`:775 | D-44. Compact sizing, white cards and smaller text retained over expression-test card tints (9 October 2026) | +| ↳ | `decisions.md`:776 | D-44. Compact sizing, white cards and smaller text retained over expression-test card tints (9 October 2026) | | `D-45` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1803 | D-45 · 🔴 THE SEED DECISION — the fixture gains BOTH, as ONE change, after the statistics screens | -| ↳ | `decisions.md`:781 | D-45. Phone is its own 390×844 design, never a desktop reflow (9 October 2026) | +| ↳ | `decisions.md`:782 | D-45. Phone is its own 390×844 design, never a desktop reflow (9 October 2026) | | `D-46` ⚠️ **2 occurrences in 2 files — not unique** | | | | ↳ | `../history/archive/dated-notes/owner-decisions-2026-09-1x.md`:1984 | D-46 · A guard that fails whenever the machine is busy | -| ↳ | `decisions.md`:788 | D-46. Every page has a focal part, a part of its own, a page-specific hero and command-bar action rules (9 October 2026) | -| `D-47` | `decisions.md`:794 | D-47. Glass stays about 80% opaque with the top sheen kept (10 October 2026) | -| `D-48` | `decisions.md`:800 | D-48. Figures stay in Geist Mono with tabular digits while chart axes use Geist Sans (10 October 2026) | -| `D-49` | `decisions.md`:806 | D-49. Ward Flow 44px default row target (dense 36px, touch 52px) vs retired 48px PsychSift tap knob (10 October 2026) | -| `D-50` | `decisions.md`:812 | D-50. Neutral T1 urgency pill vs Form 1A amber statutory warning badge (10 October 2026) | -| `D-51` | `decisions.md`:818 | D-51. Delays filters hide rows with a stated hidden count while other queues highlight by default (10 October 2026) | -| `D-52` | `decisions.md`:825 | D-52. 10 October page review rulings: time-axis overdue zone, 15px/20px strip figures, 8px people pips and incremental shared parts (10 October 2026) | -| `D-53` | `decisions.md`:831 | D-53. Elevate design language and Glare mode adopted for Design System v9 (10 October 2026) | -| `D-54` | `decisions.md`:838 | D-54. Tier time thresholds remain synthetic demo values requiring clinical sign-off (10 October 2026) | -| `D-55` | `decisions.md`:846 | D-55. Supabase is Ward Flow's database and sign-in provider, and Azure is retired (15 October 2026) | -| `D-56` | `decisions.md`:852 | D-56. Josh signs the clinical values that have a recorded source, for the prototype (15 October 2026) | -| `D-57` | `decisions.md`:858 | D-57. Twenty Top 25 items move from the showcase into the real screens, each behind its own flag (15 October 2026) | -| `D-58` | `decisions.md`:885 | D-58. Josh signs three more clinical values that have a national source, for the prototype (15 October 2026) | -| `D-59` | `decisions.md`:891 | D-59. Each role sees only what it needs, from one access table (15 October 2026) | -| `D-60` | `decisions.md`:897 | D-60. Criteria led discharge, for voluntary patients only (15 October 2026) | -| `D-61` | `decisions.md`:906 | D-61. Tasks and Alerts are one queue called Alerts (16 October 2026) | -| `D-62` | `decisions.md`:912 | D-62. The one Alerts queue is signed off and its flag removed (16 October 2026) | -| `D-63` | `decisions.md`:918 | D-63. Josh signs the remaining clinical values and the criteria list, for the prototype (16 October 2026) | -| `D-64` | `decisions.md`:926 | D-64. Criteria led discharge shows on the boards and warns at departure (16 October 2026) | -| `D-65` | `decisions.md`:933 | D-65. Criteria led discharge on in production, typed patient specific criteria, and the AWOL bed hold review paused (17 October 2026) | -| `D-66` | `decisions.md`:949 | D-66. Granted roles work without a second approval (17 October 2026) | -| `D-67` | `decisions.md`:957 | D-67. Recover synthetic form drafts within the browser session (17 October 2026) | -| `D-68` | `decisions.md`:964 | D-68. Bed meeting TV content and access (19 October 2026) | -| `D-69` | `decisions.md`:972 | D-69. A referral with no legal status: "Needs an involuntary-capable bed until status is set." (20 October 2026) | -| `D-70` | `decisions.md`:979 | D-70. No computed Mental Health Act periods: show only the recorded due time (20 October 2026) | -| `D-71` | `decisions.md`:985 | D-71. Audit 1 clinical safety fixes: no suggested wards, wait-order queues, recorded facts only (20 October 2026) | -| `D-72` | `decisions.md`:998 | D-72. Seven product decisions for the 21 October fix plan (21 October 2026) | -| `D-73` | `decisions.md`:1014 | D-73. Batch merge safeguards (21 October 2026) | -| `D-74` | `decisions.md`:1030 | D-74. Owner answers to the 21 October open questions (21 October 2026) | -| `D-75` | `decisions.md`:1051 | D-75. UX audit follow-up, page caching, community gaps and the extra-travel bed hold (21 October 2026) | -| `D-76` | `decisions.md`:1064 | D-76. Community referral gaps: the full move journey and asking more wards (21 October 2026) | -| `D-77` | `decisions.md`:1073 | D-77. The ten bigger UX changes approved for build (22 October 2026) | -| `D-78` | `decisions.md`:1093 | D-78. One decline list for wards and coordinators (22 October 2026) | -| `D-79` | `decisions.md`:1104 | D-79. Wards see the full referral, with name and UMRN, before they answer (23 October 2026) | -| `D-80` | `decisions.md`:1115 | D-80. Role access plan version 2: all 17 recommendations (23 October 2026) | -| `D-81` | `decisions.md`:1130 | D-81. Pulled, with a pull time limit, for a bed kept for an incoming patient (24 October 2026) | -| `D-82` | `decisions.md`:1137 | D-82. A PR may raise a phone size limit by up to 5 KB per screen without asking (26 October 2026) | -| `D-83` | `decisions.md`:1145 | D-83. Patient names stay in full on every screen, copy and TV; privacy work must not make the app less useful (26 October 2026) | -| `D-84` | `decisions.md`:1156 | D-84. The live app stays on Railway Singapore for now, and there is no server-side TV account yet (26 October 2026) | -| `D-85` | `decisions.md`:1164 | D-85. "Held" only for a bed kept for its own patient; "pulled" for an incoming bed; "held up" for a delay (26 October 2026) | -| `D-86` | `decisions.md`:1171 | D-86. No second approver for role grants, at pilot or otherwise (27 October 2026) | -| `D-87` | `decisions.md`:1178 | D-87. D-36 and D-37 are replaced by the real-data gate (27 October 2026) | -| `D-88` | `decisions.md`:1190 | D-88. The public demo opens with a demo code once the front door is on (27 October 2026) | -| `D-89` | `decisions.md`:1197 | D-89. Redesign mock-up copies of large screens may pass the 1,500-line cap (30 October 2026) | -| `D-90` | `decisions.md`:1205 | D-90. Help gets How do I…, Show me runs everywhere, and Help is built without a separate mock-up step (30 October 2026) | -| `D-91` | `decisions.md`:1216 | D-91. One design home for the redesign, and Josh's answers on Help, Settings, search and notifications (31 October 2026) | -| `D-92` | `decisions.md`:1251 | D-92. Help goes live before its mock-up review, one search box on Capacity, and referral rows on Home open the panel (31 October 2026) | -| `D-93` | `decisions.md`:1261 | D-93. Legal form times show only as typed, never as a countdown (31 October 2026) | -| `D-94` | `decisions.md`:1269 | D-94. Design rulings of 31 October 2026 | -| `D-95` | `decisions.md`:1282 | D-95. One page scroll, and a click outside closes a drawer (3 November 2026) | -| `D-96` | `decisions.md`:1292 | D-96. A named bed is pulled, and its patient is not also waiting (8 November 2026) | -| `D-97` | `decisions.md`:1302 | D-97. Owner answers on seven open items: N21, N25, N26, N29, N40, N41 and WF-B008 (8 November 2026) | -| `D-98` | `decisions.md`:1315 | D-98. Friction pass: Quick bar, Patient peek and Ward peek (8 November 2026) | -| `D-99` | `decisions.md`:1324 | D-99. "Real details" in the referral drawer's sample patients (25 September 2026) | -| `D-100` | `decisions.md`:1330 | D-100. "Under a form" means one rule everywhere (9 November 2026) | -| `D-101` | `decisions.md`:1337 | D-101. Clinically ready for discharge, with one delay reason (9 November 2026) | -| `D-102` | `decisions.md`:1346 | D-102. Report-a-problem screenshots are blurred, and patient-table exports carry no names (9 November 2026) | -| `D-103` | `decisions.md`:1355 | D-103. Any coordinator on shift may mark a bed override reviewed (9 November 2026) | -| `D-104` | `decisions.md`:1362 | D-104. Care plans and safety flags: five defaults (9 November 2026) | -| `D-105` | `decisions.md`:1374 | D-105. Optional clerk details on the patient record (8 November 2026) | -| `D-106` | `decisions.md`:1381 | D-106. Clinical values from the 9 November 2026 documentation audit (9 November 2026) | -| `D-107` | `decisions.md`:1393 | D-107. Working rules and documentation from the 9 November 2026 audit (9 November 2026) | -| `D-108` | `decisions.md`:1407 | D-108. Six bed-flow features: keep D-93 and D-72, ED long-wait next steps (9 November 2026) | -| `D-109` | `decisions.md`:1416 | D-109. Home's bed alert line tests the whole number shown (9 November 2026) | -| `D-110` | `decisions.md`:1423 | D-110. ED and referral flow: neutral fit line, clearance timing and alternatives to admission (9 November 2026) | -| `D-111` | `decisions.md`:1433 | D-111. Review and audit plan: first guards and four open answers (9 November 2026) | -| `D-112` | `decisions.md`:1447 | D-112. Phone bottom bar: the floating bar (9 November 2026) | -| `D-113` | `decisions.md`:1456 | D-113. Second patient identifier on accept and Mark done; no initials search (9 November 2026) | -| `D-114` | `decisions.md`:1466 | D-114. Allow pull_request_target for three workflows only (9 November 2026) | -| `D-115` | `decisions.md`:1474 | D-115. One count on every screen, and a missing patient shown everywhere (9 November 2026) | -| `D-116` | `decisions.md`:1488 | D-116. Page tops: the PR #1581 recommendations stand (9 November 2026) | -| `D-117` | `decisions.md`:1505 | D-117. Care plans follow-up: frequent presenter count, tribunal date and ward flags (10 November 2026) | -| `D-118` | `decisions.md`:1514 | D-118. Page tops: Referrals and Ward phone limits up to 8 KB above main (10 November 2026) | -| `D-119` | `decisions.md`:1520 | D-119. Page tops: phone limits raised to measured sizes, trim after merge (10 November 2026) | -| `D-120` | `decisions.md`:1527 | D-120. Discharge and capacity values: pull limit, transport delay and discharge date slip (9 November 2026) | -| `D-121` | `decisions.md`:1536 | D-121. Working rules, guards and your PC from the 10 November 2026 audit (10 November 2026) | -| `D-122` | `decisions.md`:1550 | D-122. Clinical and privacy answers from the 10 November 2026 audit (10 November 2026) | -| `D-123` | `decisions.md`:1563 | D-123. Master audit list answers: two clinical fixes and five working rules (10 November 2026) | -| `D-124` | `decisions.md`:1577 | D-124. Offline saves whose record changed are refused and shown (10 November 2026) | -| `D-125` | `decisions.md`:1584 | D-125. Top 10 audit follow-ups approved (10 November 2026) | -| `D-126` | `decisions.md`:1596 | D-126. Ranked lists: neutral orders approved (10 November 2026) | -| `D-127` | `decisions.md`:1615 | D-127. Neutral wording for a community treatment order at arrival (10 November 2026) | -| `D-128` | `decisions.md`:1622 | D-128. Final master audit: nine answers (10 November 2026) | -| `D-129` | `decisions.md`:1637 | D-129. Master audit findings: every recommendation approved (10 November 2026) | -| `D-130` | `decisions.md`:1687 | D-130. Audit follow-ups: every remaining recommendation approved (10 November 2026) | -| `D-131` | `decisions.md`:1703 | D-131. Hard-case demo data allowed, and the movement diagram follows the engine (10 November 2026) | -| `D-132` | `decisions.md`:1712 | D-132. Audit fixes group 1: docs and CI guards (10 November 2026) | -| `D-133` | `decisions.md`:1722 | D-133. Batch 1 (ED and referral flow): three answers (10 November 2026) | -| `D-134` | `decisions.md`:1732 | D-134. Ward arrival and beds batch: how to hold, advocate line, night list and the feature freeze (10 November 2026) | -| `D-135` | `decisions.md`:1755 | D-135. Batch 4, outages and pilot control: pack age and plan answers (10 November 2026) | -| `D-136` | `decisions.md`:1764 | D-136. Feature batch 3 (shift change and follow-up): two signed values (10 November 2026) | -| `D-137` | `decisions.md`:1776 | D-137. Feature build batch 5: count leak first, TV change mark and QR library (10 November 2026) | -| `D-138` | `decisions.md`:1792 | D-138. Phone alert urgency by kind (10 November 2026) | -| `D-139` | `decisions.md`:1798 | D-139. Phone Statistics ward list A to Z, and leave return times as typed (10 November 2026) | -| `D-140` | `decisions.md`:1808 | D-140. Feature list adopted, and Wave 1 begins (10 November 2026) | -| `D-141` | `decisions.md`:1821 | D-141. Batch 1 (ED and referral flow) design approved, with eleven answers (11 November 2026) | -| `D-142` | `decisions.md`:1839 | D-142. Batch 4: design review and all twelve answers approved, D-80 amended for site features (11 November 2026) | -| `D-143` | `decisions.md`:1851 | D-143. MHERT is MHERL in the glossary; SMHMR deferred (11 November 2026) | -| `D-144` | `decisions.md`:1859 | D-144. Chip rows move only sideways on a phone (11 November 2026) | -| `D-145` | `decisions.md`:1865 | D-145. Repository review: fixes, features and code health approved (11 November 2026) | -| `D-146` | `decisions.md`:1879 | D-146. Performance audit fixes and the phone speed target (11 November 2026) | -| `D-147` | `decisions.md`:1885 | D-147. Demo-code tries keep per-address keying until a trusted proxy is set (11 November 2026) | -| `D-148` | `decisions.md`:1891 | D-148. Closing a bed stays one tap, and its toast offers a reason (11 November 2026) | -| `D-149` | `decisions.md`:1898 | D-149. A record whose only links are withdrawn referrals can be archived (11 November 2026) | -| `D-150` | `decisions.md`:1909 | D-150. The signed-in site runs on real Perth time (11 November 2026) | -| `D-151` | `decisions.md`:1917 | D-151. A bed tile says when a change is waiting to save (11 November 2026) | -| `D-152` | `decisions.md`:1924 | D-152. Returned to ED prompt sees every return in shared mode (11 November 2026) | -| `D-153` | `decisions.md`:1932 | D-153. Keep the drawn-time settle check, and defer a separate agent GitHub identity (11 November 2026) | -| `D-154` | `decisions.md`:1940 | D-154. The community desk's ED heads-up reads a narrow scoped list (11 November 2026) | -| `D-155` | `decisions.md`:1949 | D-155. Check the live clock offset before clearing it (11 November 2026) | -| `D-156` | `decisions.md`:1956 | D-156. Reset the synthetic live world after the clock fix (11 November 2026) | -| `D-157` | `decisions.md`:1964 | D-157. Legal forms Print and Export include people admitted on a form (12 November 2026) | -| `D-158` | `decisions.md`:1970 | D-158. A This-shift staff request is refused once that shift has ended (12 November 2026) | +| ↳ | `decisions.md`:789 | D-46. Every page has a focal part, a part of its own, a page-specific hero and command-bar action rules (9 October 2026) | +| `D-47` | `decisions.md`:795 | D-47. Glass stays about 80% opaque with the top sheen kept (10 October 2026) | +| `D-48` | `decisions.md`:801 | D-48. Figures stay in Geist Mono with tabular digits while chart axes use Geist Sans (10 October 2026) | +| `D-49` | `decisions.md`:807 | D-49. Ward Flow 44px default row target (dense 36px, touch 52px) vs retired 48px PsychSift tap knob (10 October 2026) | +| `D-50` | `decisions.md`:813 | D-50. Neutral T1 urgency pill vs Form 1A amber statutory warning badge (10 October 2026) | +| `D-51` | `decisions.md`:819 | D-51. Delays filters hide rows with a stated hidden count while other queues highlight by default (10 October 2026) | +| `D-52` | `decisions.md`:826 | D-52. 10 October page review rulings: time-axis overdue zone, 15px/20px strip figures, 8px people pips and incremental shared parts (10 October 2026) | +| `D-53` | `decisions.md`:832 | D-53. Elevate design language and Glare mode adopted for Design System v9 (10 October 2026) | +| `D-54` | `decisions.md`:839 | D-54. Tier time thresholds remain synthetic demo values requiring clinical sign-off (10 October 2026) | +| `D-55` | `decisions.md`:847 | D-55. Supabase is Ward Flow's database and sign-in provider, and Azure is retired (15 October 2026) | +| `D-56` | `decisions.md`:853 | D-56. Josh signs the clinical values that have a recorded source, for the prototype (15 October 2026) | +| `D-57` | `decisions.md`:859 | D-57. Twenty Top 25 items move from the showcase into the real screens, each behind its own flag (15 October 2026) | +| `D-58` | `decisions.md`:886 | D-58. Josh signs three more clinical values that have a national source, for the prototype (15 October 2026) | +| `D-59` | `decisions.md`:892 | D-59. Each role sees only what it needs, from one access table (15 October 2026) | +| `D-60` | `decisions.md`:898 | D-60. Criteria led discharge, for voluntary patients only (15 October 2026) | +| `D-61` | `decisions.md`:907 | D-61. Tasks and Alerts are one queue called Alerts (16 October 2026) | +| `D-62` | `decisions.md`:913 | D-62. The one Alerts queue is signed off and its flag removed (16 October 2026) | +| `D-63` | `decisions.md`:919 | D-63. Josh signs the remaining clinical values and the criteria list, for the prototype (16 October 2026) | +| `D-64` | `decisions.md`:927 | D-64. Criteria led discharge shows on the boards and warns at departure (16 October 2026) | +| `D-65` | `decisions.md`:934 | D-65. Criteria led discharge on in production, typed patient specific criteria, and the AWOL bed hold review paused (17 October 2026) | +| `D-66` | `decisions.md`:950 | D-66. Granted roles work without a second approval (17 October 2026) | +| `D-67` | `decisions.md`:958 | D-67. Recover synthetic form drafts within the browser session (17 October 2026) | +| `D-68` | `decisions.md`:965 | D-68. Bed meeting TV content and access (19 October 2026) | +| `D-69` | `decisions.md`:973 | D-69. A referral with no legal status: "Needs an involuntary-capable bed until status is set." (20 October 2026) | +| `D-70` | `decisions.md`:980 | D-70. No computed Mental Health Act periods: show only the recorded due time (20 October 2026) | +| `D-71` | `decisions.md`:986 | D-71. Audit 1 clinical safety fixes: no suggested wards, wait-order queues, recorded facts only (20 October 2026) | +| `D-72` | `decisions.md`:999 | D-72. Seven product decisions for the 21 October fix plan (21 October 2026) | +| `D-73` | `decisions.md`:1015 | D-73. Batch merge safeguards (21 October 2026) | +| `D-74` | `decisions.md`:1031 | D-74. Owner answers to the 21 October open questions (21 October 2026) | +| `D-75` | `decisions.md`:1052 | D-75. UX audit follow-up, page caching, community gaps and the extra-travel bed hold (21 October 2026) | +| `D-76` | `decisions.md`:1065 | D-76. Community referral gaps: the full move journey and asking more wards (21 October 2026) | +| `D-77` | `decisions.md`:1074 | D-77. The ten bigger UX changes approved for build (22 October 2026) | +| `D-78` | `decisions.md`:1094 | D-78. One decline list for wards and coordinators (22 October 2026) | +| `D-79` | `decisions.md`:1105 | D-79. Wards see the full referral, with name and UMRN, before they answer (23 October 2026) | +| `D-80` | `decisions.md`:1116 | D-80. Role access plan version 2: all 17 recommendations (23 October 2026) | +| `D-81` | `decisions.md`:1131 | D-81. Pulled, with a pull time limit, for a bed kept for an incoming patient (24 October 2026) | +| `D-82` | `decisions.md`:1138 | D-82. A PR may raise a phone size limit by up to 5 KB per screen without asking (26 October 2026) | +| `D-83` | `decisions.md`:1146 | D-83. Patient names stay in full on every screen, copy and TV; privacy work must not make the app less useful (26 October 2026) | +| `D-84` | `decisions.md`:1157 | D-84. The live app stays on Railway Singapore for now, and there is no server-side TV account yet (26 October 2026) | +| `D-85` | `decisions.md`:1165 | D-85. "Held" only for a bed kept for its own patient; "pulled" for an incoming bed; "held up" for a delay (26 October 2026) | +| `D-86` | `decisions.md`:1172 | D-86. No second approver for role grants, at pilot or otherwise (27 October 2026) | +| `D-87` | `decisions.md`:1179 | D-87. D-36 and D-37 are replaced by the real-data gate (27 October 2026) | +| `D-88` | `decisions.md`:1191 | D-88. The public demo opens with a demo code once the front door is on (27 October 2026) | +| `D-89` | `decisions.md`:1198 | D-89. Redesign mock-up copies of large screens may pass the 1,500-line cap (30 October 2026) | +| `D-90` | `decisions.md`:1206 | D-90. Help gets How do I…, Show me runs everywhere, and Help is built without a separate mock-up step (30 October 2026) | +| `D-91` | `decisions.md`:1217 | D-91. One design home for the redesign, and Josh's answers on Help, Settings, search and notifications (31 October 2026) | +| `D-92` | `decisions.md`:1252 | D-92. Help goes live before its mock-up review, one search box on Capacity, and referral rows on Home open the panel (31 October 2026) | +| `D-93` | `decisions.md`:1262 | D-93. Legal form times show only as typed, never as a countdown (31 October 2026) | +| `D-94` | `decisions.md`:1270 | D-94. Design rulings of 31 October 2026 | +| `D-95` | `decisions.md`:1283 | D-95. One page scroll, and a click outside closes a drawer (3 November 2026) | +| `D-96` | `decisions.md`:1293 | D-96. A named bed is pulled, and its patient is not also waiting (8 November 2026) | +| `D-97` | `decisions.md`:1303 | D-97. Owner answers on seven open items: N21, N25, N26, N29, N40, N41 and WF-B008 (8 November 2026) | +| `D-98` | `decisions.md`:1316 | D-98. Friction pass: Quick bar, Patient peek and Ward peek (8 November 2026) | +| `D-99` | `decisions.md`:1325 | D-99. "Real details" in the referral drawer's sample patients (25 September 2026) | +| `D-100` | `decisions.md`:1331 | D-100. "Under a form" means one rule everywhere (9 November 2026) | +| `D-101` | `decisions.md`:1338 | D-101. Clinically ready for discharge, with one delay reason (9 November 2026) | +| `D-102` | `decisions.md`:1347 | D-102. Report-a-problem screenshots are blurred, and patient-table exports carry no names (9 November 2026) | +| `D-103` | `decisions.md`:1356 | D-103. Any coordinator on shift may mark a bed override reviewed (9 November 2026) | +| `D-104` | `decisions.md`:1363 | D-104. Care plans and safety flags: five defaults (9 November 2026) | +| `D-105` | `decisions.md`:1375 | D-105. Optional clerk details on the patient record (8 November 2026) | +| `D-106` | `decisions.md`:1382 | D-106. Clinical values from the 9 November 2026 documentation audit (9 November 2026) | +| `D-107` | `decisions.md`:1394 | D-107. Working rules and documentation from the 9 November 2026 audit (9 November 2026) | +| `D-108` | `decisions.md`:1408 | D-108. Six bed-flow features: keep D-93 and D-72, ED long-wait next steps (9 November 2026) | +| `D-109` | `decisions.md`:1417 | D-109. Home's bed alert line tests the whole number shown (9 November 2026) | +| `D-110` | `decisions.md`:1424 | D-110. ED and referral flow: neutral fit line, clearance timing and alternatives to admission (9 November 2026) | +| `D-111` | `decisions.md`:1434 | D-111. Review and audit plan: first guards and four open answers (9 November 2026) | +| `D-112` | `decisions.md`:1448 | D-112. Phone bottom bar: the floating bar (9 November 2026) | +| `D-113` | `decisions.md`:1457 | D-113. Second patient identifier on accept and Mark done; no initials search (9 November 2026) | +| `D-114` | `decisions.md`:1467 | D-114. Allow pull_request_target for three workflows only (9 November 2026) | +| `D-115` | `decisions.md`:1475 | D-115. One count on every screen, and a missing patient shown everywhere (9 November 2026) | +| `D-116` | `decisions.md`:1489 | D-116. Page tops: the PR #1581 recommendations stand (9 November 2026) | +| `D-117` | `decisions.md`:1506 | D-117. Care plans follow-up: frequent presenter count, tribunal date and ward flags (10 November 2026) | +| `D-118` | `decisions.md`:1515 | D-118. Page tops: Referrals and Ward phone limits up to 8 KB above main (10 November 2026) | +| `D-119` | `decisions.md`:1521 | D-119. Page tops: phone limits raised to measured sizes, trim after merge (10 November 2026) | +| `D-120` | `decisions.md`:1528 | D-120. Discharge and capacity values: pull limit, transport delay and discharge date slip (9 November 2026) | +| `D-121` | `decisions.md`:1537 | D-121. Working rules, guards and your PC from the 10 November 2026 audit (10 November 2026) | +| `D-122` | `decisions.md`:1551 | D-122. Clinical and privacy answers from the 10 November 2026 audit (10 November 2026) | +| `D-123` | `decisions.md`:1564 | D-123. Master audit list answers: two clinical fixes and five working rules (10 November 2026) | +| `D-124` | `decisions.md`:1578 | D-124. Offline saves whose record changed are refused and shown (10 November 2026) | +| `D-125` | `decisions.md`:1585 | D-125. Top 10 audit follow-ups approved (10 November 2026) | +| `D-126` | `decisions.md`:1597 | D-126. Ranked lists: neutral orders approved (10 November 2026) | +| `D-127` | `decisions.md`:1616 | D-127. Neutral wording for a community treatment order at arrival (10 November 2026) | +| `D-128` | `decisions.md`:1623 | D-128. Final master audit: nine answers (10 November 2026) | +| `D-129` | `decisions.md`:1638 | D-129. Master audit findings: every recommendation approved (10 November 2026) | +| `D-130` | `decisions.md`:1688 | D-130. Audit follow-ups: every remaining recommendation approved (10 November 2026) | +| `D-131` | `decisions.md`:1704 | D-131. Hard-case demo data allowed, and the movement diagram follows the engine (10 November 2026) | +| `D-132` | `decisions.md`:1713 | D-132. Audit fixes group 1: docs and CI guards (10 November 2026) | +| `D-133` | `decisions.md`:1723 | D-133. Batch 1 (ED and referral flow): three answers (10 November 2026) | +| `D-134` | `decisions.md`:1733 | D-134. Ward arrival and beds batch: how to hold, advocate line, night list and the feature freeze (10 November 2026) | +| `D-135` | `decisions.md`:1756 | D-135. Batch 4, outages and pilot control: pack age and plan answers (10 November 2026) | +| `D-136` | `decisions.md`:1765 | D-136. Feature batch 3 (shift change and follow-up): two signed values (10 November 2026) | +| `D-137` | `decisions.md`:1777 | D-137. Feature build batch 5: count leak first, TV change mark and QR library (10 November 2026) | +| `D-138` | `decisions.md`:1793 | D-138. Phone alert urgency by kind (10 November 2026) | +| `D-139` | `decisions.md`:1799 | D-139. Phone Statistics ward list A to Z, and leave return times as typed (10 November 2026) | +| `D-140` | `decisions.md`:1809 | D-140. Feature list adopted, and Wave 1 begins (10 November 2026) | +| `D-141` | `decisions.md`:1822 | D-141. Batch 1 (ED and referral flow) design approved, with eleven answers (11 November 2026) | +| `D-142` | `decisions.md`:1840 | D-142. Batch 4: design review and all twelve answers approved, D-80 amended for site features (11 November 2026) | +| `D-143` | `decisions.md`:1852 | D-143. MHERT is MHERL in the glossary; SMHMR deferred (11 November 2026) | +| `D-144` | `decisions.md`:1860 | D-144. Chip rows move only sideways on a phone (11 November 2026) | +| `D-145` | `decisions.md`:1866 | D-145. Repository review: fixes, features and code health approved (11 November 2026) | +| `D-146` | `decisions.md`:1880 | D-146. Performance audit fixes and the phone speed target (11 November 2026) | +| `D-147` | `decisions.md`:1886 | D-147. Demo-code tries keep per-address keying until a trusted proxy is set (11 November 2026) | +| `D-148` | `decisions.md`:1892 | D-148. Closing a bed stays one tap, and its toast offers a reason (11 November 2026) | +| `D-149` | `decisions.md`:1899 | D-149. A record whose only links are withdrawn referrals can be archived (11 November 2026) | +| `D-150` | `decisions.md`:1910 | D-150. The signed-in site runs on real Perth time (11 November 2026) | +| `D-151` | `decisions.md`:1918 | D-151. A bed tile says when a change is waiting to save (11 November 2026) | +| `D-152` | `decisions.md`:1925 | D-152. Returned to ED prompt sees every return in shared mode (11 November 2026) | +| `D-153` | `decisions.md`:1933 | D-153. Keep the drawn-time settle check, and defer a separate agent GitHub identity (11 November 2026) | +| `D-154` | `decisions.md`:1941 | D-154. The community desk's ED heads-up reads a narrow scoped list (11 November 2026) | +| `D-155` | `decisions.md`:1950 | D-155. Check the live clock offset before clearing it (11 November 2026) | +| `D-156` | `decisions.md`:1957 | D-156. Reset the synthetic live world after the clock fix (11 November 2026) | +| `D-157` | `decisions.md`:1965 | D-157. Legal forms Print and Export include people admitted on a form (12 November 2026) | +| `D-158` | `decisions.md`:1971 | D-158. A This-shift staff request is refused once that shift has ended (12 November 2026) | +| `D-159` | `decisions.md`:1977 | D-159. Fixes from the 10 to 12 November PR review (12 November 2026) | | `D9-1` | `../history/archive/dated-notes/ward-flow-phase-9-decisions.md`:62 | D9-1 — The wait becomes prominent, and its ceiling is removed; it never outranks urgency (SESSION) | | `D9-2` | `../history/archive/dated-notes/ward-flow-phase-9-decisions.md`:102 | D9-2 — Declaring escalation records it and marks the screens, and changes nothing else (SESSION, and partly blocked) | | `D9-3` | `../history/archive/dated-notes/ward-flow-phase-9-decisions.md`:126 | D9-3 — The retrospective is one person's journey replayed, plus the ward prediction track record last (SESSION) | @@ -637,166 +638,167 @@ safe global key across 30 files. **Title:** Ward Flow — decision log -158 item(s): - -- `D-1` — line 187, heading: "D-1. Ward Flow is local only, with no linked repository (Replaced by D-27)" -- `D-2` — line 197, heading: "D-2. Railway is disconnected" -- `D-3` — line 208, heading: "D-3. The PsychSift and Database code is being retired from Ward Flow" -- `D-4` — line 216, heading: "D-4. Synthetic patients only" -- `D-5` — line 224, heading: "D-5. Parallel threads in separate worktrees, folded one at a time" -- `D-6` — line 235, heading: "D-6. Aboriginal cultural safety review deferred" -- `D-7` — line 243, heading: "D-7. The first four milestones, in this order" -- `D-8` — line 255, heading: "D-8. Josh's standing rulings, numbered R1 to R16, for every session and tool" -- `D-9` — line 287, heading: "D-9. Josh's rulings of 25 September, 11:43 to 12:00 (R17 to R21)" -- `D-10` — line 301, heading: "D-10. Gate build type check (R22)" -- `D-11` — line 310, heading: "D-11. Rulings of 25 September, 12:41 (R23 to R25)" -- `D-12` — line 326, heading: "D-12. Rulings of 25 September, 12:43 (R26 to R31)" -- `D-13` — line 345, heading: "D-13. Tooling tests in batch gates (R32)" -- `D-14` — line 355, heading: "D-14. Standing defaults: decide small things without asking" -- `D-15` — line 367, heading: "D-15. Rulings of 25 September, 13:26 (R33 to R35)" -- `D-16` — line 380, heading: "D-16. Legal overrides and form receipts, 25 September 13:51 UTC" -- `D-17` — line 393, heading: "D-17. Morning roll-up time is Josh's own default (25 September)" -- `D-18` — line 404, heading: "D-18. The privacy lock stops saving only for typed text (25 September)" -- `D-19` — line 415, heading: "D-19. Rulings of 25 September, evening (walkthrough, leave beds, PsychSift, gender display)" -- `D-20` — line 445, heading: "D-20. One high-contrast colour check retired (26 September)" -- `D-21` — line 458, heading: "D-21. Coordinator bed board: all nine recommended answers (26 September)" -- `D-22` — line 470, heading: "D-22. No legal limits in hour rules; the rest are labelled defaults (26 September)" -- `D-23` — line 486, heading: "D-23. Leave-bed fields kept; patient search stops matching by ward (26 September)" -- `D-24` — line 500, heading: "D-24. Hour-rules morning list: all A (26 September)" -- `D-25` — line 524, heading: "D-25. The lone-patient check counts free beds on both matching paths (26 September)" -- `D-26` — line 532, heading: "D-26. Select fold checks by changed risk (27 September)" -- `D-27` — line 550, heading: "D-27. Ward Flow uses its dedicated repository (28 September)" -- `D-28` — line 563, heading: "D-28. Design Modernization & Anti-Box Architecture (30 September 2026)" -- `D-29` — line 577, heading: "D-29. Act time limits shown as a labelled synthetic demo (4 October 2026)" -- `D-30` — line 592, heading: "D-30. Central Coordinator Approval for Inter-Ward Bed Transfers (6 October 2026)" -- `D-31` — line 599, heading: "D-31. Gender-Diverse Bed Placement Policy & Clinical Override Safety (6 October 2026)" -- `D-32` — line 606, heading: "D-32. FIFO Waiting Time with Clinical Triage Badging vs Algorithmic Urgency Sorting (6 October 2026)" -- `D-33` — line 613, heading: "D-33. Separation of Local Ward Shift Notes from Statewide Coordinator Telemetry (6 October 2026)" -- `D-34` — line 620, heading: "D-34. Acute Medical Deterioration Bed Release and Escalation Protocol (6 October 2026)" -- `D-35` — line 627, heading: "D-35. Deferral of Regional Multi-Leg Transport & RFDS Repatriation (6 October 2026)" -- `D-36` — line 634, heading: "D-36. Affirmation of External Governance & Clinical Safety Hard Gates (6 October 2026) (Replaced by D-87)" -- `D-37` — line 649, heading: "D-37. External Governance Hard Gate Operational Postures & Resolution Roadmap (6 October 2026) (Replaced by D-87)" -- `D-38` — line 676, heading: "D-38. Leave, absent without leave and CTO on the Patient page (9 October 2026)" -- `D-39` — line 694, heading: "D-39. Patients are identified by UMRN, never by a WF number (9 October 2026)" -- `D-40` — line 738, heading: "D-40. A second community treatment order keeps the first (9 October 2026)" -- `D-41` — line 749, heading: "D-41. Delays board filters narrow the table and state the hidden count (9 October 2026)" -- `D-42` — line 762, heading: "D-42. 12px typography floor with no uppercase exception reaffirmed in Design System v9 (9–10 October 2026)" -- `D-43` — line 768, heading: "D-43. Colour lives in glyphs and the hero; red means act now with a thin 1px edge, never a fill (9 October 2026)" -- `D-44` — line 775, heading: "D-44. Compact sizing, white cards and smaller text retained over expression-test card tints (9 October 2026)" -- `D-45` — line 781, heading: "D-45. Phone is its own 390×844 design, never a desktop reflow (9 October 2026)" -- `D-46` — line 788, heading: "D-46. Every page has a focal part, a part of its own, a page-specific hero and command-bar action rules (9 October 2026)" -- `D-47` — line 794, heading: "D-47. Glass stays about 80% opaque with the top sheen kept (10 October 2026)" -- `D-48` — line 800, heading: "D-48. Figures stay in Geist Mono with tabular digits while chart axes use Geist Sans (10 October 2026)" -- `D-49` — line 806, heading: "D-49. Ward Flow 44px default row target (dense 36px, touch 52px) vs retired 48px PsychSift tap knob (10 October 2026)" -- `D-50` — line 812, heading: "D-50. Neutral T1 urgency pill vs Form 1A amber statutory warning badge (10 October 2026)" -- `D-51` — line 818, heading: "D-51. Delays filters hide rows with a stated hidden count while other queues highlight by default (10 October 2026)" -- `D-52` — line 825, heading: "D-52. 10 October page review rulings: time-axis overdue zone, 15px/20px strip figures, 8px people pips and incremental shared parts (10 October 2026)" -- `D-53` — line 831, heading: "D-53. Elevate design language and Glare mode adopted for Design System v9 (10 October 2026)" -- `D-54` — line 838, heading: "D-54. Tier time thresholds remain synthetic demo values requiring clinical sign-off (10 October 2026)" -- `D-55` — line 846, heading: "D-55. Supabase is Ward Flow's database and sign-in provider, and Azure is retired (15 October 2026)" -- `D-56` — line 852, heading: "D-56. Josh signs the clinical values that have a recorded source, for the prototype (15 October 2026)" -- `D-57` — line 858, heading: "D-57. Twenty Top 25 items move from the showcase into the real screens, each behind its own flag (15 October 2026)" -- `D-58` — line 885, heading: "D-58. Josh signs three more clinical values that have a national source, for the prototype (15 October 2026)" -- `D-59` — line 891, heading: "D-59. Each role sees only what it needs, from one access table (15 October 2026)" -- `D-60` — line 897, heading: "D-60. Criteria led discharge, for voluntary patients only (15 October 2026)" -- `D-61` — line 906, heading: "D-61. Tasks and Alerts are one queue called Alerts (16 October 2026)" -- `D-62` — line 912, heading: "D-62. The one Alerts queue is signed off and its flag removed (16 October 2026)" -- `D-63` — line 918, heading: "D-63. Josh signs the remaining clinical values and the criteria list, for the prototype (16 October 2026)" -- `D-64` — line 926, heading: "D-64. Criteria led discharge shows on the boards and warns at departure (16 October 2026)" -- `D-65` — line 933, heading: "D-65. Criteria led discharge on in production, typed patient specific criteria, and the AWOL bed hold review paused (17 October 2026)" -- `D-66` — line 949, heading: "D-66. Granted roles work without a second approval (17 October 2026)" -- `D-67` — line 957, heading: "D-67. Recover synthetic form drafts within the browser session (17 October 2026)" -- `D-68` — line 964, heading: "D-68. Bed meeting TV content and access (19 October 2026)" -- `D-69` — line 972, heading: "D-69. A referral with no legal status: "Needs an involuntary-capable bed until status is set." (20 October 2026)" -- `D-70` — line 979, heading: "D-70. No computed Mental Health Act periods: show only the recorded due time (20 October 2026)" -- `D-71` — line 985, heading: "D-71. Audit 1 clinical safety fixes: no suggested wards, wait-order queues, recorded facts only (20 October 2026)" -- `D-72` — line 998, heading: "D-72. Seven product decisions for the 21 October fix plan (21 October 2026)" -- `D-73` — line 1014, heading: "D-73. Batch merge safeguards (21 October 2026)" -- `D-74` — line 1030, heading: "D-74. Owner answers to the 21 October open questions (21 October 2026)" -- `D-75` — line 1051, heading: "D-75. UX audit follow-up, page caching, community gaps and the extra-travel bed hold (21 October 2026)" -- `D-76` — line 1064, heading: "D-76. Community referral gaps: the full move journey and asking more wards (21 October 2026)" -- `D-77` — line 1073, heading: "D-77. The ten bigger UX changes approved for build (22 October 2026)" -- `D-78` — line 1093, heading: "D-78. One decline list for wards and coordinators (22 October 2026)" -- `D-79` — line 1104, heading: "D-79. Wards see the full referral, with name and UMRN, before they answer (23 October 2026)" -- `D-80` — line 1115, heading: "D-80. Role access plan version 2: all 17 recommendations (23 October 2026)" -- `D-81` — line 1130, heading: "D-81. Pulled, with a pull time limit, for a bed kept for an incoming patient (24 October 2026)" -- `D-82` — line 1137, heading: "D-82. A PR may raise a phone size limit by up to 5 KB per screen without asking (26 October 2026)" -- `D-83` — line 1145, heading: "D-83. Patient names stay in full on every screen, copy and TV; privacy work must not make the app less useful (26 October 2026)" -- `D-84` — line 1156, heading: "D-84. The live app stays on Railway Singapore for now, and there is no server-side TV account yet (26 October 2026)" -- `D-85` — line 1164, heading: "D-85. "Held" only for a bed kept for its own patient; "pulled" for an incoming bed; "held up" for a delay (26 October 2026)" -- `D-86` — line 1171, heading: "D-86. No second approver for role grants, at pilot or otherwise (27 October 2026)" -- `D-87` — line 1178, heading: "D-87. D-36 and D-37 are replaced by the real-data gate (27 October 2026)" -- `D-88` — line 1190, heading: "D-88. The public demo opens with a demo code once the front door is on (27 October 2026)" -- `D-89` — line 1197, heading: "D-89. Redesign mock-up copies of large screens may pass the 1,500-line cap (30 October 2026)" -- `D-90` — line 1205, heading: "D-90. Help gets How do I…, Show me runs everywhere, and Help is built without a separate mock-up step (30 October 2026)" -- `D-91` — line 1216, heading: "D-91. One design home for the redesign, and Josh's answers on Help, Settings, search and notifications (31 October 2026)" -- `D-92` — line 1251, heading: "D-92. Help goes live before its mock-up review, one search box on Capacity, and referral rows on Home open the panel (31 October 2026)" -- `D-93` — line 1261, heading: "D-93. Legal form times show only as typed, never as a countdown (31 October 2026)" -- `D-94` — line 1269, heading: "D-94. Design rulings of 31 October 2026" -- `D-95` — line 1282, heading: "D-95. One page scroll, and a click outside closes a drawer (3 November 2026)" -- `D-96` — line 1292, heading: "D-96. A named bed is pulled, and its patient is not also waiting (8 November 2026)" -- `D-97` — line 1302, heading: "D-97. Owner answers on seven open items: N21, N25, N26, N29, N40, N41 and WF-B008 (8 November 2026)" -- `D-98` — line 1315, heading: "D-98. Friction pass: Quick bar, Patient peek and Ward peek (8 November 2026)" -- `D-99` — line 1324, heading: "D-99. "Real details" in the referral drawer's sample patients (25 September 2026)" -- `D-100` — line 1330, heading: "D-100. "Under a form" means one rule everywhere (9 November 2026)" -- `D-101` — line 1337, heading: "D-101. Clinically ready for discharge, with one delay reason (9 November 2026)" -- `D-102` — line 1346, heading: "D-102. Report-a-problem screenshots are blurred, and patient-table exports carry no names (9 November 2026)" -- `D-103` — line 1355, heading: "D-103. Any coordinator on shift may mark a bed override reviewed (9 November 2026)" -- `D-104` — line 1362, heading: "D-104. Care plans and safety flags: five defaults (9 November 2026)" -- `D-105` — line 1374, heading: "D-105. Optional clerk details on the patient record (8 November 2026)" -- `D-106` — line 1381, heading: "D-106. Clinical values from the 9 November 2026 documentation audit (9 November 2026)" -- `D-107` — line 1393, heading: "D-107. Working rules and documentation from the 9 November 2026 audit (9 November 2026)" -- `D-108` — line 1407, heading: "D-108. Six bed-flow features: keep D-93 and D-72, ED long-wait next steps (9 November 2026)" -- `D-109` — line 1416, heading: "D-109. Home's bed alert line tests the whole number shown (9 November 2026)" -- `D-110` — line 1423, heading: "D-110. ED and referral flow: neutral fit line, clearance timing and alternatives to admission (9 November 2026)" -- `D-111` — line 1433, heading: "D-111. Review and audit plan: first guards and four open answers (9 November 2026)" -- `D-112` — line 1447, heading: "D-112. Phone bottom bar: the floating bar (9 November 2026)" -- `D-113` — line 1456, heading: "D-113. Second patient identifier on accept and Mark done; no initials search (9 November 2026)" -- `D-114` — line 1466, heading: "D-114. Allow pull_request_target for three workflows only (9 November 2026)" -- `D-115` — line 1474, heading: "D-115. One count on every screen, and a missing patient shown everywhere (9 November 2026)" -- `D-116` — line 1488, heading: "D-116. Page tops: the PR #1581 recommendations stand (9 November 2026)" -- `D-117` — line 1505, heading: "D-117. Care plans follow-up: frequent presenter count, tribunal date and ward flags (10 November 2026)" -- `D-118` — line 1514, heading: "D-118. Page tops: Referrals and Ward phone limits up to 8 KB above main (10 November 2026)" -- `D-119` — line 1520, heading: "D-119. Page tops: phone limits raised to measured sizes, trim after merge (10 November 2026)" -- `D-120` — line 1527, heading: "D-120. Discharge and capacity values: pull limit, transport delay and discharge date slip (9 November 2026)" -- `D-121` — line 1536, heading: "D-121. Working rules, guards and your PC from the 10 November 2026 audit (10 November 2026)" -- `D-122` — line 1550, heading: "D-122. Clinical and privacy answers from the 10 November 2026 audit (10 November 2026)" -- `D-123` — line 1563, heading: "D-123. Master audit list answers: two clinical fixes and five working rules (10 November 2026)" -- `D-124` — line 1577, heading: "D-124. Offline saves whose record changed are refused and shown (10 November 2026)" -- `D-125` — line 1584, heading: "D-125. Top 10 audit follow-ups approved (10 November 2026)" -- `D-126` — line 1596, heading: "D-126. Ranked lists: neutral orders approved (10 November 2026)" -- `D-127` — line 1615, heading: "D-127. Neutral wording for a community treatment order at arrival (10 November 2026)" -- `D-128` — line 1622, heading: "D-128. Final master audit: nine answers (10 November 2026)" -- `D-129` — line 1637, heading: "D-129. Master audit findings: every recommendation approved (10 November 2026)" -- `D-130` — line 1687, heading: "D-130. Audit follow-ups: every remaining recommendation approved (10 November 2026)" -- `D-131` — line 1703, heading: "D-131. Hard-case demo data allowed, and the movement diagram follows the engine (10 November 2026)" -- `D-132` — line 1712, heading: "D-132. Audit fixes group 1: docs and CI guards (10 November 2026)" -- `D-133` — line 1722, heading: "D-133. Batch 1 (ED and referral flow): three answers (10 November 2026)" -- `D-134` — line 1732, heading: "D-134. Ward arrival and beds batch: how to hold, advocate line, night list and the feature freeze (10 November 2026)" -- `D-135` — line 1755, heading: "D-135. Batch 4, outages and pilot control: pack age and plan answers (10 November 2026)" -- `D-136` — line 1764, heading: "D-136. Feature batch 3 (shift change and follow-up): two signed values (10 November 2026)" -- `D-137` — line 1776, heading: "D-137. Feature build batch 5: count leak first, TV change mark and QR library (10 November 2026)" -- `D-138` — line 1792, heading: "D-138. Phone alert urgency by kind (10 November 2026)" -- `D-139` — line 1798, heading: "D-139. Phone Statistics ward list A to Z, and leave return times as typed (10 November 2026)" -- `D-140` — line 1808, heading: "D-140. Feature list adopted, and Wave 1 begins (10 November 2026)" -- `D-141` — line 1821, heading: "D-141. Batch 1 (ED and referral flow) design approved, with eleven answers (11 November 2026)" -- `D-142` — line 1839, heading: "D-142. Batch 4: design review and all twelve answers approved, D-80 amended for site features (11 November 2026)" -- `D-143` — line 1851, heading: "D-143. MHERT is MHERL in the glossary; SMHMR deferred (11 November 2026)" -- `D-144` — line 1859, heading: "D-144. Chip rows move only sideways on a phone (11 November 2026)" -- `D-145` — line 1865, heading: "D-145. Repository review: fixes, features and code health approved (11 November 2026)" -- `D-146` — line 1879, heading: "D-146. Performance audit fixes and the phone speed target (11 November 2026)" -- `D-147` — line 1885, heading: "D-147. Demo-code tries keep per-address keying until a trusted proxy is set (11 November 2026)" -- `D-148` — line 1891, heading: "D-148. Closing a bed stays one tap, and its toast offers a reason (11 November 2026)" -- `D-149` — line 1898, heading: "D-149. A record whose only links are withdrawn referrals can be archived (11 November 2026)" -- `D-150` — line 1909, heading: "D-150. The signed-in site runs on real Perth time (11 November 2026)" -- `D-151` — line 1917, heading: "D-151. A bed tile says when a change is waiting to save (11 November 2026)" -- `D-152` — line 1924, heading: "D-152. Returned to ED prompt sees every return in shared mode (11 November 2026)" -- `D-153` — line 1932, heading: "D-153. Keep the drawn-time settle check, and defer a separate agent GitHub identity (11 November 2026)" -- `D-154` — line 1940, heading: "D-154. The community desk's ED heads-up reads a narrow scoped list (11 November 2026)" -- `D-155` — line 1949, heading: "D-155. Check the live clock offset before clearing it (11 November 2026)" -- `D-156` — line 1956, heading: "D-156. Reset the synthetic live world after the clock fix (11 November 2026)" -- `D-157` — line 1964, heading: "D-157. Legal forms Print and Export include people admitted on a form (12 November 2026)" -- `D-158` — line 1970, heading: "D-158. A This-shift staff request is refused once that shift has ended (12 November 2026)" +159 item(s): + +- `D-1` — line 188, heading: "D-1. Ward Flow is local only, with no linked repository (Replaced by D-27)" +- `D-2` — line 198, heading: "D-2. Railway is disconnected" +- `D-3` — line 209, heading: "D-3. The PsychSift and Database code is being retired from Ward Flow" +- `D-4` — line 217, heading: "D-4. Synthetic patients only" +- `D-5` — line 225, heading: "D-5. Parallel threads in separate worktrees, folded one at a time" +- `D-6` — line 236, heading: "D-6. Aboriginal cultural safety review deferred" +- `D-7` — line 244, heading: "D-7. The first four milestones, in this order" +- `D-8` — line 256, heading: "D-8. Josh's standing rulings, numbered R1 to R16, for every session and tool" +- `D-9` — line 288, heading: "D-9. Josh's rulings of 25 September, 11:43 to 12:00 (R17 to R21)" +- `D-10` — line 302, heading: "D-10. Gate build type check (R22)" +- `D-11` — line 311, heading: "D-11. Rulings of 25 September, 12:41 (R23 to R25)" +- `D-12` — line 327, heading: "D-12. Rulings of 25 September, 12:43 (R26 to R31)" +- `D-13` — line 346, heading: "D-13. Tooling tests in batch gates (R32)" +- `D-14` — line 356, heading: "D-14. Standing defaults: decide small things without asking" +- `D-15` — line 368, heading: "D-15. Rulings of 25 September, 13:26 (R33 to R35)" +- `D-16` — line 381, heading: "D-16. Legal overrides and form receipts, 25 September 13:51 UTC" +- `D-17` — line 394, heading: "D-17. Morning roll-up time is Josh's own default (25 September)" +- `D-18` — line 405, heading: "D-18. The privacy lock stops saving only for typed text (25 September)" +- `D-19` — line 416, heading: "D-19. Rulings of 25 September, evening (walkthrough, leave beds, PsychSift, gender display)" +- `D-20` — line 446, heading: "D-20. One high-contrast colour check retired (26 September)" +- `D-21` — line 459, heading: "D-21. Coordinator bed board: all nine recommended answers (26 September)" +- `D-22` — line 471, heading: "D-22. No legal limits in hour rules; the rest are labelled defaults (26 September)" +- `D-23` — line 487, heading: "D-23. Leave-bed fields kept; patient search stops matching by ward (26 September)" +- `D-24` — line 501, heading: "D-24. Hour-rules morning list: all A (26 September)" +- `D-25` — line 525, heading: "D-25. The lone-patient check counts free beds on both matching paths (26 September)" +- `D-26` — line 533, heading: "D-26. Select fold checks by changed risk (27 September)" +- `D-27` — line 551, heading: "D-27. Ward Flow uses its dedicated repository (28 September)" +- `D-28` — line 564, heading: "D-28. Design Modernization & Anti-Box Architecture (30 September 2026)" +- `D-29` — line 578, heading: "D-29. Act time limits shown as a labelled synthetic demo (4 October 2026)" +- `D-30` — line 593, heading: "D-30. Central Coordinator Approval for Inter-Ward Bed Transfers (6 October 2026)" +- `D-31` — line 600, heading: "D-31. Gender-Diverse Bed Placement Policy & Clinical Override Safety (6 October 2026)" +- `D-32` — line 607, heading: "D-32. FIFO Waiting Time with Clinical Triage Badging vs Algorithmic Urgency Sorting (6 October 2026)" +- `D-33` — line 614, heading: "D-33. Separation of Local Ward Shift Notes from Statewide Coordinator Telemetry (6 October 2026)" +- `D-34` — line 621, heading: "D-34. Acute Medical Deterioration Bed Release and Escalation Protocol (6 October 2026)" +- `D-35` — line 628, heading: "D-35. Deferral of Regional Multi-Leg Transport & RFDS Repatriation (6 October 2026)" +- `D-36` — line 635, heading: "D-36. Affirmation of External Governance & Clinical Safety Hard Gates (6 October 2026) (Replaced by D-87)" +- `D-37` — line 650, heading: "D-37. External Governance Hard Gate Operational Postures & Resolution Roadmap (6 October 2026) (Replaced by D-87)" +- `D-38` — line 677, heading: "D-38. Leave, absent without leave and CTO on the Patient page (9 October 2026)" +- `D-39` — line 695, heading: "D-39. Patients are identified by UMRN, never by a WF number (9 October 2026)" +- `D-40` — line 739, heading: "D-40. A second community treatment order keeps the first (9 October 2026)" +- `D-41` — line 750, heading: "D-41. Delays board filters narrow the table and state the hidden count (9 October 2026)" +- `D-42` — line 763, heading: "D-42. 12px typography floor with no uppercase exception reaffirmed in Design System v9 (9–10 October 2026)" +- `D-43` — line 769, heading: "D-43. Colour lives in glyphs and the hero; red means act now with a thin 1px edge, never a fill (9 October 2026)" +- `D-44` — line 776, heading: "D-44. Compact sizing, white cards and smaller text retained over expression-test card tints (9 October 2026)" +- `D-45` — line 782, heading: "D-45. Phone is its own 390×844 design, never a desktop reflow (9 October 2026)" +- `D-46` — line 789, heading: "D-46. Every page has a focal part, a part of its own, a page-specific hero and command-bar action rules (9 October 2026)" +- `D-47` — line 795, heading: "D-47. Glass stays about 80% opaque with the top sheen kept (10 October 2026)" +- `D-48` — line 801, heading: "D-48. Figures stay in Geist Mono with tabular digits while chart axes use Geist Sans (10 October 2026)" +- `D-49` — line 807, heading: "D-49. Ward Flow 44px default row target (dense 36px, touch 52px) vs retired 48px PsychSift tap knob (10 October 2026)" +- `D-50` — line 813, heading: "D-50. Neutral T1 urgency pill vs Form 1A amber statutory warning badge (10 October 2026)" +- `D-51` — line 819, heading: "D-51. Delays filters hide rows with a stated hidden count while other queues highlight by default (10 October 2026)" +- `D-52` — line 826, heading: "D-52. 10 October page review rulings: time-axis overdue zone, 15px/20px strip figures, 8px people pips and incremental shared parts (10 October 2026)" +- `D-53` — line 832, heading: "D-53. Elevate design language and Glare mode adopted for Design System v9 (10 October 2026)" +- `D-54` — line 839, heading: "D-54. Tier time thresholds remain synthetic demo values requiring clinical sign-off (10 October 2026)" +- `D-55` — line 847, heading: "D-55. Supabase is Ward Flow's database and sign-in provider, and Azure is retired (15 October 2026)" +- `D-56` — line 853, heading: "D-56. Josh signs the clinical values that have a recorded source, for the prototype (15 October 2026)" +- `D-57` — line 859, heading: "D-57. Twenty Top 25 items move from the showcase into the real screens, each behind its own flag (15 October 2026)" +- `D-58` — line 886, heading: "D-58. Josh signs three more clinical values that have a national source, for the prototype (15 October 2026)" +- `D-59` — line 892, heading: "D-59. Each role sees only what it needs, from one access table (15 October 2026)" +- `D-60` — line 898, heading: "D-60. Criteria led discharge, for voluntary patients only (15 October 2026)" +- `D-61` — line 907, heading: "D-61. Tasks and Alerts are one queue called Alerts (16 October 2026)" +- `D-62` — line 913, heading: "D-62. The one Alerts queue is signed off and its flag removed (16 October 2026)" +- `D-63` — line 919, heading: "D-63. Josh signs the remaining clinical values and the criteria list, for the prototype (16 October 2026)" +- `D-64` — line 927, heading: "D-64. Criteria led discharge shows on the boards and warns at departure (16 October 2026)" +- `D-65` — line 934, heading: "D-65. Criteria led discharge on in production, typed patient specific criteria, and the AWOL bed hold review paused (17 October 2026)" +- `D-66` — line 950, heading: "D-66. Granted roles work without a second approval (17 October 2026)" +- `D-67` — line 958, heading: "D-67. Recover synthetic form drafts within the browser session (17 October 2026)" +- `D-68` — line 965, heading: "D-68. Bed meeting TV content and access (19 October 2026)" +- `D-69` — line 973, heading: "D-69. A referral with no legal status: "Needs an involuntary-capable bed until status is set." (20 October 2026)" +- `D-70` — line 980, heading: "D-70. No computed Mental Health Act periods: show only the recorded due time (20 October 2026)" +- `D-71` — line 986, heading: "D-71. Audit 1 clinical safety fixes: no suggested wards, wait-order queues, recorded facts only (20 October 2026)" +- `D-72` — line 999, heading: "D-72. Seven product decisions for the 21 October fix plan (21 October 2026)" +- `D-73` — line 1015, heading: "D-73. Batch merge safeguards (21 October 2026)" +- `D-74` — line 1031, heading: "D-74. Owner answers to the 21 October open questions (21 October 2026)" +- `D-75` — line 1052, heading: "D-75. UX audit follow-up, page caching, community gaps and the extra-travel bed hold (21 October 2026)" +- `D-76` — line 1065, heading: "D-76. Community referral gaps: the full move journey and asking more wards (21 October 2026)" +- `D-77` — line 1074, heading: "D-77. The ten bigger UX changes approved for build (22 October 2026)" +- `D-78` — line 1094, heading: "D-78. One decline list for wards and coordinators (22 October 2026)" +- `D-79` — line 1105, heading: "D-79. Wards see the full referral, with name and UMRN, before they answer (23 October 2026)" +- `D-80` — line 1116, heading: "D-80. Role access plan version 2: all 17 recommendations (23 October 2026)" +- `D-81` — line 1131, heading: "D-81. Pulled, with a pull time limit, for a bed kept for an incoming patient (24 October 2026)" +- `D-82` — line 1138, heading: "D-82. A PR may raise a phone size limit by up to 5 KB per screen without asking (26 October 2026)" +- `D-83` — line 1146, heading: "D-83. Patient names stay in full on every screen, copy and TV; privacy work must not make the app less useful (26 October 2026)" +- `D-84` — line 1157, heading: "D-84. The live app stays on Railway Singapore for now, and there is no server-side TV account yet (26 October 2026)" +- `D-85` — line 1165, heading: "D-85. "Held" only for a bed kept for its own patient; "pulled" for an incoming bed; "held up" for a delay (26 October 2026)" +- `D-86` — line 1172, heading: "D-86. No second approver for role grants, at pilot or otherwise (27 October 2026)" +- `D-87` — line 1179, heading: "D-87. D-36 and D-37 are replaced by the real-data gate (27 October 2026)" +- `D-88` — line 1191, heading: "D-88. The public demo opens with a demo code once the front door is on (27 October 2026)" +- `D-89` — line 1198, heading: "D-89. Redesign mock-up copies of large screens may pass the 1,500-line cap (30 October 2026)" +- `D-90` — line 1206, heading: "D-90. Help gets How do I…, Show me runs everywhere, and Help is built without a separate mock-up step (30 October 2026)" +- `D-91` — line 1217, heading: "D-91. One design home for the redesign, and Josh's answers on Help, Settings, search and notifications (31 October 2026)" +- `D-92` — line 1252, heading: "D-92. Help goes live before its mock-up review, one search box on Capacity, and referral rows on Home open the panel (31 October 2026)" +- `D-93` — line 1262, heading: "D-93. Legal form times show only as typed, never as a countdown (31 October 2026)" +- `D-94` — line 1270, heading: "D-94. Design rulings of 31 October 2026" +- `D-95` — line 1283, heading: "D-95. One page scroll, and a click outside closes a drawer (3 November 2026)" +- `D-96` — line 1293, heading: "D-96. A named bed is pulled, and its patient is not also waiting (8 November 2026)" +- `D-97` — line 1303, heading: "D-97. Owner answers on seven open items: N21, N25, N26, N29, N40, N41 and WF-B008 (8 November 2026)" +- `D-98` — line 1316, heading: "D-98. Friction pass: Quick bar, Patient peek and Ward peek (8 November 2026)" +- `D-99` — line 1325, heading: "D-99. "Real details" in the referral drawer's sample patients (25 September 2026)" +- `D-100` — line 1331, heading: "D-100. "Under a form" means one rule everywhere (9 November 2026)" +- `D-101` — line 1338, heading: "D-101. Clinically ready for discharge, with one delay reason (9 November 2026)" +- `D-102` — line 1347, heading: "D-102. Report-a-problem screenshots are blurred, and patient-table exports carry no names (9 November 2026)" +- `D-103` — line 1356, heading: "D-103. Any coordinator on shift may mark a bed override reviewed (9 November 2026)" +- `D-104` — line 1363, heading: "D-104. Care plans and safety flags: five defaults (9 November 2026)" +- `D-105` — line 1375, heading: "D-105. Optional clerk details on the patient record (8 November 2026)" +- `D-106` — line 1382, heading: "D-106. Clinical values from the 9 November 2026 documentation audit (9 November 2026)" +- `D-107` — line 1394, heading: "D-107. Working rules and documentation from the 9 November 2026 audit (9 November 2026)" +- `D-108` — line 1408, heading: "D-108. Six bed-flow features: keep D-93 and D-72, ED long-wait next steps (9 November 2026)" +- `D-109` — line 1417, heading: "D-109. Home's bed alert line tests the whole number shown (9 November 2026)" +- `D-110` — line 1424, heading: "D-110. ED and referral flow: neutral fit line, clearance timing and alternatives to admission (9 November 2026)" +- `D-111` — line 1434, heading: "D-111. Review and audit plan: first guards and four open answers (9 November 2026)" +- `D-112` — line 1448, heading: "D-112. Phone bottom bar: the floating bar (9 November 2026)" +- `D-113` — line 1457, heading: "D-113. Second patient identifier on accept and Mark done; no initials search (9 November 2026)" +- `D-114` — line 1467, heading: "D-114. Allow pull_request_target for three workflows only (9 November 2026)" +- `D-115` — line 1475, heading: "D-115. One count on every screen, and a missing patient shown everywhere (9 November 2026)" +- `D-116` — line 1489, heading: "D-116. Page tops: the PR #1581 recommendations stand (9 November 2026)" +- `D-117` — line 1506, heading: "D-117. Care plans follow-up: frequent presenter count, tribunal date and ward flags (10 November 2026)" +- `D-118` — line 1515, heading: "D-118. Page tops: Referrals and Ward phone limits up to 8 KB above main (10 November 2026)" +- `D-119` — line 1521, heading: "D-119. Page tops: phone limits raised to measured sizes, trim after merge (10 November 2026)" +- `D-120` — line 1528, heading: "D-120. Discharge and capacity values: pull limit, transport delay and discharge date slip (9 November 2026)" +- `D-121` — line 1537, heading: "D-121. Working rules, guards and your PC from the 10 November 2026 audit (10 November 2026)" +- `D-122` — line 1551, heading: "D-122. Clinical and privacy answers from the 10 November 2026 audit (10 November 2026)" +- `D-123` — line 1564, heading: "D-123. Master audit list answers: two clinical fixes and five working rules (10 November 2026)" +- `D-124` — line 1578, heading: "D-124. Offline saves whose record changed are refused and shown (10 November 2026)" +- `D-125` — line 1585, heading: "D-125. Top 10 audit follow-ups approved (10 November 2026)" +- `D-126` — line 1597, heading: "D-126. Ranked lists: neutral orders approved (10 November 2026)" +- `D-127` — line 1616, heading: "D-127. Neutral wording for a community treatment order at arrival (10 November 2026)" +- `D-128` — line 1623, heading: "D-128. Final master audit: nine answers (10 November 2026)" +- `D-129` — line 1638, heading: "D-129. Master audit findings: every recommendation approved (10 November 2026)" +- `D-130` — line 1688, heading: "D-130. Audit follow-ups: every remaining recommendation approved (10 November 2026)" +- `D-131` — line 1704, heading: "D-131. Hard-case demo data allowed, and the movement diagram follows the engine (10 November 2026)" +- `D-132` — line 1713, heading: "D-132. Audit fixes group 1: docs and CI guards (10 November 2026)" +- `D-133` — line 1723, heading: "D-133. Batch 1 (ED and referral flow): three answers (10 November 2026)" +- `D-134` — line 1733, heading: "D-134. Ward arrival and beds batch: how to hold, advocate line, night list and the feature freeze (10 November 2026)" +- `D-135` — line 1756, heading: "D-135. Batch 4, outages and pilot control: pack age and plan answers (10 November 2026)" +- `D-136` — line 1765, heading: "D-136. Feature batch 3 (shift change and follow-up): two signed values (10 November 2026)" +- `D-137` — line 1777, heading: "D-137. Feature build batch 5: count leak first, TV change mark and QR library (10 November 2026)" +- `D-138` — line 1793, heading: "D-138. Phone alert urgency by kind (10 November 2026)" +- `D-139` — line 1799, heading: "D-139. Phone Statistics ward list A to Z, and leave return times as typed (10 November 2026)" +- `D-140` — line 1809, heading: "D-140. Feature list adopted, and Wave 1 begins (10 November 2026)" +- `D-141` — line 1822, heading: "D-141. Batch 1 (ED and referral flow) design approved, with eleven answers (11 November 2026)" +- `D-142` — line 1840, heading: "D-142. Batch 4: design review and all twelve answers approved, D-80 amended for site features (11 November 2026)" +- `D-143` — line 1852, heading: "D-143. MHERT is MHERL in the glossary; SMHMR deferred (11 November 2026)" +- `D-144` — line 1860, heading: "D-144. Chip rows move only sideways on a phone (11 November 2026)" +- `D-145` — line 1866, heading: "D-145. Repository review: fixes, features and code health approved (11 November 2026)" +- `D-146` — line 1880, heading: "D-146. Performance audit fixes and the phone speed target (11 November 2026)" +- `D-147` — line 1886, heading: "D-147. Demo-code tries keep per-address keying until a trusted proxy is set (11 November 2026)" +- `D-148` — line 1892, heading: "D-148. Closing a bed stays one tap, and its toast offers a reason (11 November 2026)" +- `D-149` — line 1899, heading: "D-149. A record whose only links are withdrawn referrals can be archived (11 November 2026)" +- `D-150` — line 1910, heading: "D-150. The signed-in site runs on real Perth time (11 November 2026)" +- `D-151` — line 1918, heading: "D-151. A bed tile says when a change is waiting to save (11 November 2026)" +- `D-152` — line 1925, heading: "D-152. Returned to ED prompt sees every return in shared mode (11 November 2026)" +- `D-153` — line 1933, heading: "D-153. Keep the drawn-time settle check, and defer a separate agent GitHub identity (11 November 2026)" +- `D-154` — line 1941, heading: "D-154. The community desk's ED heads-up reads a narrow scoped list (11 November 2026)" +- `D-155` — line 1950, heading: "D-155. Check the live clock offset before clearing it (11 November 2026)" +- `D-156` — line 1957, heading: "D-156. Reset the synthetic live world after the clock fix (11 November 2026)" +- `D-157` — line 1965, heading: "D-157. Legal forms Print and Export include people admitted on a form (12 November 2026)" +- `D-158` — line 1971, heading: "D-158. A This-shift staff request is refused once that shift has ended (12 November 2026)" +- `D-159` — line 1977, heading: "D-159. Fixes from the 10 to 12 November PR review (12 November 2026)" ### `../history/archive/dated-notes/ward-management-decisions.md` (2026-08-18 – 2026-10-24 (mixed, see file)) diff --git a/docs/ward-flow/decisions.md b/docs/ward-flow/decisions.md index 5f63e60b5b..7ae8a7a4e6 100644 --- a/docs/ward-flow/decisions.md +++ b/docs/ward-flow/decisions.md @@ -181,6 +181,7 @@ Checked 9 November 2026 (D-107 audit). "Partly replaced" means part of the entry | [D-156](#d-156-reset-the-synthetic-live-world-after-the-clock-fix-11-november-2026) | Post-release reset of the live synthetic world withdrawn | Withdrawn 12 November 2026 | | [D-157](#d-157-legal-forms-print-and-export-include-people-admitted-on-a-form-12-november-2026) | Legal forms Print and Export include people admitted on a form | Active | | [D-158](#d-158-a-this-shift-staff-request-is-refused-once-that-shift-has-ended-12-november-2026) | A This-shift staff request is refused once that shift has ended | Active | +| [D-159](#d-159-fixes-from-the-10-to-12-november-pr-review-12-november-2026) | Fixes from the 10 to 12 November PR review | Active | --- @@ -1109,7 +1110,7 @@ is inferred. 2. **Never other destinations.** The ward never sees which other wards or teams the patient was referred to (FD-23, and D-17 in `archive/dated-notes/owner-decisions-2026-09-1x.md`, not the D-17 in this log). 3. **Fit lines split.** The card shows the patient's checks on one line and the ward's own state, such as a stale bed count or no free bed, on another, so a ward problem no longer reads as the patient failing. - **What it replaces:** Josh's 26 September 2026 rule that a ward sees no identity before it accepts, and the part of D-68 item 3 that kept the name and UMRN off the accept card until acceptance. D-39 and D-74 item 5 stand: no `WF-...` journey number or referral number shows on the card. -- **Boundary:** synthetic data only. with synthetic referral forms and documents for the seeded journeys. Showing identity before acceptance needs the privacy review before any real patient data. Being built in PR #588, still a draft when this was recorded. This authorises no deployment, provider configuration change or spending. +- **Boundary:** Synthetic data only, with synthetic referral forms and documents for the seeded journeys. Showing identity before acceptance needs the privacy review before any real patient data. Being built in PR #588, still a draft when this was recorded. This authorises no deployment, provider configuration change or spending. - **Why:** A ward cannot make a safe decision on a referral it cannot read. The engine already held about half the fields, and community teams already saw them. ## D-80. Role access plan version 2: all 17 recommendations (23 October 2026) @@ -1972,3 +1973,15 @@ is inferred. - **Date:** 12 November 2026, 8:44 AM to 8:45 AM AWST (00:44 to 00:45 UTC). **Decided by:** Josh, ruling on the two open review threads on PR #1623. Numbered D-158 because D-157 records the Legal forms ruling from the same answers, and D-155 and D-156 are already on main via PR #1626. - **Decision:** A `this_shift` staff request whose chosen shift has already ended is refused, using the Staff needed sheet's existing save error, with the reason "This shift has already ended. Choose this shift or next shift again". "Next shift" late-save behaviour is unchanged: a Next-shift request that lands just after the shift changes is still kept. - **Boundary:** synthetic data only. No signed clinical value or clinical rule. Approves no merge or release. + +## D-159. Fixes from the 10 to 12 November PR review (12 November 2026) + +- **Date:** 12 November 2026, 12:04 PM AWST (04:04 UTC). **Decided by:** Josh, "Yes to all" in the Ward Flow project thread "Review recent PRs for design regressions", answering its three numbered questions: fix the review's findings in one PR, keep v6's quick-link chip rows as the rule, and refresh the master design's Home and Ward tabs from main. +- **Decision:** + 1. **Page header rule:** a page top has at most one on-hero button, the next step's light button, plus one row of quick-link chips under it that scrolls sideways on a phone (page tops v6, D-116). DESIGN-SYSTEM.md says so in place of "one on-hero action". + 2. **New referral chip:** phone-only on the ward top, as D-116 says; off the phone the bar's New menu is the way in. + 3. **Chip rows (D-144 follow-up):** a sideways chip row still never slides up and down, but a finger that starts on it scrolls the page (`touch-action: pan-x pan-y`, `overflow-y: hidden`). + 4. **Home's Waiting in ED strip on a tablet:** cells keep their whole words and the strip scrolls sideways when the departments do not fit. + 5. **The other review findings** are fixed as recommended: eight rows then Show more on the new lists, Leave on the band hero, one phone rule for Print and Export, kit control sizes, shorter transport choices, honest outage catch-up labels, one ready count (D-115), one ended-form wording, the uptime issue raised before the run fails, a trusted proxy list other than `*` ignored, and Home's loading cards no longer hiding the page. + 6. **MHERL wording:** the synthetic community example reads "joint assessment with the WA Police co-response team, referred through MHERL", so the phone line refers rather than attends. Josh may reword it. +- **Boundary:** synthetic data only. No signed clinical value, time limit or clinical rule changes. Approves no release. diff --git a/docs/ward-flow/governance/SETTINGS-AND-SECRETS-INVENTORY.md b/docs/ward-flow/governance/SETTINGS-AND-SECRETS-INVENTORY.md index 17f5e72ffc..c0b192f799 100644 --- a/docs/ward-flow/governance/SETTINGS-AND-SECRETS-INVENTORY.md +++ b/docs/ward-flow/governance/SETTINGS-AND-SECRETS-INVENTORY.md @@ -31,30 +31,31 @@ that is not in a table below, so the list cannot fall behind the code. ## Web app (Railway web service) -| Setting | Secret | Purpose | Read by | Checked on service | -| ------------------------------------------- | ------ | ------------------------------------------------------------ | -------------------------------------- | ------------------ | -| `NEXT_PUBLIC_DEMO_MODE` | No | Public demo switch | `src/instrumentation.ts` | | -| `NEXT_PUBLIC_SITE_URL` | No | The site's own address | `src` | | -| `NEXT_PUBLIC_WARD_API_BASE_URL` | No | Backend address for the shared workspace | `src` | | -| `NEXT_PUBLIC_WARD_AUTH_PROVIDER` | No | Sign-in provider (blank means Supabase, D-55) | `src/lib/security-headers.ts` | | -| `NEXT_PUBLIC_WARD_COORDINATOR_EMAIL` | No | Bootstrap coordinator sign-in hint | `src/components/ward-management` | | -| `NEXT_PUBLIC_WARD_DATA_MODE` | No | Data mode; drafts are kept only in `prototype` | `ward-session-drafts.ts` | | -| `NEXT_PUBLIC_WARD_DEMO_URL` | No | Link to the public demo | `src` | | -| `NEXT_PUBLIC_WARD_ENVIRONMENT` | No | Which environment flags apply | `ward-feature-flags.ts` | | -| `NEXT_PUBLIC_WARD_FLAGS` | No | Feature flags | `ward-feature-flags.ts` | | -| `NEXT_PUBLIC_WARD_OPEN_SIGNUP` | No | Whether the front door offers sign-up | `front-door/use-front-door-auth.ts` | | -| `NEXT_PUBLIC_WARD_SHARED_ENABLED` | No | Shared workspace switch | `src` | | -| `NEXT_PUBLIC_WARD_SUPABASE_PUBLISHABLE_KEY` | No | Supabase publishable key (public by design) | `ward-auth-session.ts` | | -| `NEXT_PUBLIC_WARD_SUPABASE_URL` | No | Supabase project address | `ward-auth-session.ts` | | -| `NEXT_PUBLIC_WARD_SUPPORT_EMAIL` | No | Report-a-problem support address | `help/ward-help-report.ts` | | -| `WARD_FRONT_DOOR` | No | Front door (pass) switch | `src/proxy.ts`, `api/session/route.ts` | | -| `WARD_DEMO_CODE` | Yes | The demo code people type at the front door | `src/lib/front-door-pass.ts` | | -| `WARD_PASS_SECRET` | Yes | Signs the `wf_pass` cookie | `src/lib/front-door-pass.ts` | | -| `SENTRY_DSN` | Yes | Server error reporting, off when blank | `src/lib/sentry-server.ts` | | -| `SENTRY_ENVIRONMENT` | No | Label on error reports | `src/lib/sentry-server.ts` | | -| `SENTRY_ENABLE_LOGS` | No | Sends warn and error log lines to Sentry Logs unless `false` | `src/lib/sentry-server.ts` | | -| `SENTRY_RELEASE` | No | Release label on error reports | `src/lib/sentry-server.ts` | | -| `SUPABASE_SERVICE_ROLE_KEY` | Yes | **Must never be set on the web app.** Read only to refuse it | `src/instrumentation.ts` | | +| Setting | Secret | Purpose | Read by | Checked on service | +| ------------------------------------------- | ------ | ------------------------------------------------------------------------------------------ | -------------------------------------- | ------------------ | +| `NEXT_PUBLIC_DEMO_MODE` | No | Public demo switch | `src/instrumentation.ts` | | +| `NEXT_PUBLIC_SITE_URL` | No | The site's own address | `src` | | +| `NEXT_PUBLIC_WARD_API_BASE_URL` | No | Backend address for the shared workspace | `src` | | +| `NEXT_PUBLIC_WARD_AUTH_PROVIDER` | No | Sign-in provider (blank means Supabase, D-55) | `src/lib/security-headers.ts` | | +| `NEXT_PUBLIC_WARD_COORDINATOR_EMAIL` | No | Bootstrap coordinator sign-in hint | `src/components/ward-management` | | +| `NEXT_PUBLIC_WARD_DATA_MODE` | No | Data mode; drafts are kept only in `prototype` | `ward-session-drafts.ts` | | +| `NEXT_PUBLIC_WARD_DEMO_URL` | No | Link to the public demo | `src` | | +| `NEXT_PUBLIC_WARD_ENVIRONMENT` | No | Which environment flags apply | `ward-feature-flags.ts` | | +| `NEXT_PUBLIC_WARD_FLAGS` | No | Feature flags | `ward-feature-flags.ts` | | +| `NEXT_PUBLIC_WARD_OPEN_SIGNUP` | No | Whether the front door offers sign-up | `front-door/use-front-door-auth.ts` | | +| `NEXT_PUBLIC_WARD_SHARED_ENABLED` | No | Shared workspace switch | `src` | | +| `NEXT_PUBLIC_WARD_SUPABASE_PUBLISHABLE_KEY` | No | Supabase publishable key (public by design) | `ward-auth-session.ts` | | +| `NEXT_PUBLIC_WARD_SUPABASE_URL` | No | Supabase project address | `ward-auth-session.ts` | | +| `NEXT_PUBLIC_WARD_SUPPORT_EMAIL` | No | Report-a-problem support address | `help/ward-help-report.ts` | | +| `WARD_FRONT_DOOR` | No | Front door (pass) switch | `src/proxy.ts`, `api/session/route.ts` | | +| `WARD_DEMO_CODE` | Yes | The demo code people type at the front door | `src/lib/front-door-pass.ts` | | +| `WARD_PASS_SECRET` | Yes | Signs the `wf_pass` cookie | `src/lib/front-door-pass.ts` | | +| `WARD_TRUSTED_PROXY_ADDRESSES` | No | Demo-code try limit: only `*` applies here; an IP list is ignored with one warning (D-147) | `src/lib/demo-code-tries.ts` | | +| `SENTRY_DSN` | Yes | Server error reporting, off when blank | `src/lib/sentry-server.ts` | | +| `SENTRY_ENVIRONMENT` | No | Label on error reports | `src/lib/sentry-server.ts` | | +| `SENTRY_ENABLE_LOGS` | No | Sends warn and error log lines to Sentry Logs unless `false` | `src/lib/sentry-server.ts` | | +| `SENTRY_RELEASE` | No | Release label on error reports | `src/lib/sentry-server.ts` | | +| `SUPABASE_SERVICE_ROLE_KEY` | Yes | **Must never be set on the web app.** Read only to refuse it | `src/instrumentation.ts` | | ## Backend (Railway backend service) diff --git a/docs/ward-flow/journey/actions.json b/docs/ward-flow/journey/actions.json index 320ab76d68..d431577c8b 100644 --- a/docs/ward-flow/journey/actions.json +++ b/docs/ward-flow/journey/actions.json @@ -949,7 +949,7 @@ { "path": "src/components/ward-management/coordinator/shortlist-panel.tsx", "line": 844, - "sha256": "6f864c8eff0bea759c1460ed1e8ebaf9bb4dc7d80aa3d515d0788709c109f9d0" + "sha256": "7f7692869cb4a53cfc7afe12449e068f78c995f9ef338be6e4ccdf1baf870cfe" }, { "path": "src/components/ward-management/ward-flow-referral-send-events.ts", @@ -1206,7 +1206,7 @@ { "path": "src/components/ward-management/coordinator/shortlist-panel.tsx", "line": 886, - "sha256": "6f864c8eff0bea759c1460ed1e8ebaf9bb4dc7d80aa3d515d0788709c109f9d0" + "sha256": "7f7692869cb4a53cfc7afe12449e068f78c995f9ef338be6e4ccdf1baf870cfe" }, { "path": "src/components/ward-management/ward-flow-referral-send-events.ts", @@ -3094,7 +3094,7 @@ { "path": "src/components/ward-management/legal-forms/legal-forms-screen.tsx", "line": 376, - "sha256": "06b9403c02ff16aace7df7690c0ca9f195bf1a674e79aaa9f0274b332fcc06b1" + "sha256": "381f09f6b932ae6752767f1e74e0978629c3ff442e1b0132c9d79275ef100762" }, { "path": "src/components/ward-management/ward-flow-record-events.ts", @@ -3240,7 +3240,7 @@ { "path": "src/components/ward-management/legal-forms/legal-forms-screen.tsx", "line": 1321, - "sha256": "06b9403c02ff16aace7df7690c0ca9f195bf1a674e79aaa9f0274b332fcc06b1" + "sha256": "381f09f6b932ae6752767f1e74e0978629c3ff442e1b0132c9d79275ef100762" }, { "path": "src/components/ward-management/ward-flow-record-legal-events.ts", @@ -3396,7 +3396,7 @@ { "path": "src/components/ward-management/board/ward-board-detail-panel.tsx", "line": 268, - "sha256": "403fc9988b2da12a35f0efbd2c4ea67e47eacd5a00bef6d74f9d05f0eb27b961" + "sha256": "12c0928971208fa4f68884904edd25f77b950c8e5e7476e5c51f921ab718dd0a" }, { "path": "src/components/ward-management/board/ward-board.tsx", @@ -3475,7 +3475,7 @@ { "path": "src/components/ward-management/board/ward-board-detail-panel.tsx", "line": 461, - "sha256": "403fc9988b2da12a35f0efbd2c4ea67e47eacd5a00bef6d74f9d05f0eb27b961" + "sha256": "12c0928971208fa4f68884904edd25f77b950c8e5e7476e5c51f921ab718dd0a" }, { "path": "src/components/ward-management/board/ward-board.tsx", @@ -3554,7 +3554,7 @@ { "path": "src/components/ward-management/board/ward-board-detail-panel.tsx", "line": 493, - "sha256": "403fc9988b2da12a35f0efbd2c4ea67e47eacd5a00bef6d74f9d05f0eb27b961" + "sha256": "12c0928971208fa4f68884904edd25f77b950c8e5e7476e5c51f921ab718dd0a" }, { "path": "src/components/ward-management/board/ward-board.tsx", @@ -5637,7 +5637,7 @@ { "path": "src/components/ward-management/board/ward-board-detail-panel.tsx", "line": 524, - "sha256": "403fc9988b2da12a35f0efbd2c4ea67e47eacd5a00bef6d74f9d05f0eb27b961" + "sha256": "12c0928971208fa4f68884904edd25f77b950c8e5e7476e5c51f921ab718dd0a" }, { "path": "src/components/ward-management/ward-flow-bed-events.ts", @@ -5706,7 +5706,7 @@ { "path": "src/components/ward-management/board/ward-board-detail-panel.tsx", "line": 566, - "sha256": "403fc9988b2da12a35f0efbd2c4ea67e47eacd5a00bef6d74f9d05f0eb27b961" + "sha256": "12c0928971208fa4f68884904edd25f77b950c8e5e7476e5c51f921ab718dd0a" }, { "path": "src/components/ward-management/ward-flow-bed-events.ts", @@ -5869,7 +5869,7 @@ { "path": "src/components/ward-management/board/ward-board-detail-panel.tsx", "line": 401, - "sha256": "403fc9988b2da12a35f0efbd2c4ea67e47eacd5a00bef6d74f9d05f0eb27b961" + "sha256": "12c0928971208fa4f68884904edd25f77b950c8e5e7476e5c51f921ab718dd0a" }, { "path": "src/components/ward-management/patients/patient-now-screen.tsx", @@ -6239,7 +6239,7 @@ { "path": "src/components/ward-management/legal-forms/legal-forms-screen.tsx", "line": 542, - "sha256": "06b9403c02ff16aace7df7690c0ca9f195bf1a674e79aaa9f0274b332fcc06b1" + "sha256": "381f09f6b932ae6752767f1e74e0978629c3ff442e1b0132c9d79275ef100762" }, { "path": "src/components/ward-management/ward-flow-record-legal-events.ts", diff --git a/docs/ward-flow/journey/machines.json b/docs/ward-flow/journey/machines.json index d17de25cf0..5927b1b8df 100644 --- a/docs/ward-flow/journey/machines.json +++ b/docs/ward-flow/journey/machines.json @@ -1744,7 +1744,7 @@ { "path": "src/components/ward-management/legal-forms/legal-forms-screen.tsx", "line": 1, - "sha256": "06b9403c02ff16aace7df7690c0ca9f195bf1a674e79aaa9f0274b332fcc06b1" + "sha256": "381f09f6b932ae6752767f1e74e0978629c3ff442e1b0132c9d79275ef100762" }, { "path": "src/components/ward-management/legal-forms/legal-forms-sheets.tsx", diff --git a/docs/ward-flow/journey/ward-journey-explorer.html b/docs/ward-flow/journey/ward-journey-explorer.html index f9a6efaa39..f871b10d2f 100644 --- a/docs/ward-flow/journey/ward-journey-explorer.html +++ b/docs/ward-flow/journey/ward-journey-explorer.html @@ -1284,7 +1284,7 @@

What to do here