Repository navigation
Build audit four (r10) into BedChart - #1742
Conversation
Applies the approved r10 mock-ups (audit four, 116 locked items) as product code, then finishes them for production: - removes the mock-only switches and the mock loading route - fixes lint and type errors left by the mock-ups - moves the Referral summary, Legal forms, On-call and phone bed record drawers onto the one kit drawer pattern (item 98) - adds tests for the outage Save check (85) and the ward-bed referral source (109); short place code (24), Open next marker (56) and the loading route lists move to shared modules with tests - updates help, how-tos, guides and the demo script to the new words - records D-277 to D-282 and the four design-system rules (32, 33, 34, 98) Unit test updates for the changed screens follow in later commits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
| Check name | Status | Explanation |
|---|---|---|
| Generated And Sensitive Files | The PR head (7567281) and main (109e133) share no merge base in this shallow clone, so I compared the two trees directly (main..HEAD, 1172 changed paths). Findings: - Secrets: a pattern scan of all ad… | |
| Risky Git Or Deployment Actions | PR #1742 (BigSimmo/Ward-Flow, author BigSimmo) does not add instructions, scripts, workflows, or docs that recommend a risky git or deployment action. Evidence gathered: - The checkout is a shallow, s… |
|
| Supabase Project And Schema Safety | Summary: No change in this PR points the app, scripts, migrations, docs, or env examples at a different Supabase project. No migration, RLS, or policy change exists in the PR. One notable change is a … | |
| Runtime And Package Manager Integrity | PR #1742 (BigSimmo/Ward-Flow, head claude/project-thread-w4htga, base main) does not break the runtime or package-manager rules. Evidence: - The local clone has no usable merge base. HEAD is 7567281, … |
|
| Api Route Failure Handling | The check does not apply to this PR. The PR (#1742, BigSimmo, head claude/project-thread-w4htga, base main) is a UI build. Its description covers screen changes, removal of mock-only query switches an… |
Full details: Generated And Sensitive Files
-
Explanation
The PR head (7567281) and main (109e133) share no merge base in this shallow clone, so I compared the two trees directly (main..HEAD, 1172 changed paths). Findings: - Secrets: a pattern scan of all added diff lines (private key headers, AWS/GitHub/Slack/Stripe/Google key formats, JWT-like strings, and password/token/secret assignments) found no matches. - Added files: all 54 new files are source (.ts, .tsx, .css) under src/ or tests/. None is a .env, log, cache, node_modules, .next, browser report, database dump, or key file. - Binaries: the diff contains no binary changes. The .design/ screenshots and .claude/settings.json exist on main already and are not introduced by this PR. - Ignore rules: .gitignore and .gitleaksignore are unchanged. No new file matches an ignore rule. - Generated files: the PR updates tracked generated outputs (docs/FACTS.md, diff-integrity.json, journey explorer HTML, owner-rulings index, help HTML). The PR description states these come from the documented docs:facts:write and owner-rulings-index scripts. This is a tracked-generated-file case the check allows when justified. - Deleted files: seven source files are removed. None is a sensitive or generated artifact. No flagged item remains. Limitation: the shallow history prevents a true commit-level diff, so the comparison uses the main..HEAD tree diff. This does not change the result.
Full details: Risky Git Or Deployment Actions
-
Explanation
PR
#1742(BigSimmo/Ward-Flow, author BigSimmo) does not add instructions, scripts, workflows, or docs that recommend a risky git or deployment action. Evidence gathered: - The checkout is a shallow, single-commit snapshot (7567281). The PR patch against main cannot be isolated, so this check reviewed the PR-described documents in the tree instead. - The PR's decision entries (D-277 to D-284, docs/ward-flow/decisions.md lines 3163–3230) describe UI wording, layout, design-system rules, shared-module moves, and an owner-approved dead-code deletion. None recommends force-push, reset --hard, clean, branch deletion, rebase of a shared branch, or unconfirmed deployment. - D-283 deletes unused code under an explicit owner approval (DEAD_CODE_OWNER_APPROVED=1, single run). The approval gate is in scripts/check-dead-code-candidate.mjs and docs/agents/dead-code-deletion.md. It is a confirmation step, not a risky instruction. - docs/design/DESIGN-SYSTEM.md (audit four rules, items 32–34, 98) covers confirm, Undo, menu, and drawer patterns. It contains no git or deployment instruction. - The help, desk guide, and demo-script content that the PR updated (docs/ward-flow/DEMO-SCRIPT.md) covers "Reset demo". That reset acts on invented, synthetic data and asks for confirmation ("Reset the demo?" box). It is not a production data mutation. - The git-safety and deployment wording in AGENTS.md, docs/ward-flow/HOW-WE-WORK.md, docs/ward-flow/README.md, and docs/ward-flow/operations-readiness.md is cautionary. It says to ask first before force-push, reset, clean, branch deletion, or live rollback. It does not recommend these actions. - The PR description itself does not recommend any risky git or deployment action. It states that the Playwright gate was not run locally and that hosted CI is pending. Limitation: because the full PR patch was unavailable, I could not rule out a risky line in a file I did not inspect. The remaining matches in the tree were pre-existing (for example, backend migration rollback SQL and the daily-release workflow), and none is PR-introduced by the evidence available.
Full details: Supabase Project And Schema Safety
-
Explanation
Summary: No change in this PR points the app, scripts, migrations, docs, or env examples at a different Supabase project. No migration, RLS, or policy change exists in the PR. One notable change is a deleted safety test. It does not meet any explicit failure condition of this check. Evidence: - Base and head: The shallow clone has no merge base for main. The base commit 109e133 (the main tip) is present as an object. I diffed 109e133..7567281 (HEAD). The diff covers 1172 files. - Supabase project refs: The approved ref
zakzoemeedfepxcstsouappears unchanged in.env.example,backend/ward-flow/.env.example,backend/ward-flow/supabase-config.mjs,backend/ward-flow/infra/*, anddocs/ward-flow/DATABASE.md. The diff adds nosupabase.co,supabase.com,PROJECT_REF, orSUPABASE_URLlines. - Migrations, SQL, RLS, and policies: No changed file matches.sql,supabase,.env,infra/,migrat,rls,polic,schema, orworkflows/. Nobackend/file changed. The diff adds noDROP,TRUNCATE,ALTER TABLE,CREATE POLICY,ENABLE/DISABLE ROW LEVEL SECURITY, orDELETE FROMstatements. - Deleted guard (observation only): The PR deletestests/clinical-separation.test.ts. That file scanned the repo for the PsychSift Supabase refsjrfecxgysukkwxsowpy, PsychSift production URLs, and PsychSift repo identifiers. HEAD has no replacement scan for that ref intests,scripts,.github,backend, orsrc. The runtime allow-list inbackend/ward-flow/supabase-config.mjsstill enforces the approved project. The PR description does not mention this deletion. The check does not name test deletion as a failure condition. The removal does not point any file at a wrong project, so it does not trigger FAIL here. The author should explain the removal or restore an equivalent scan. Result: No explicit failure condition is met, so the check passes.Resolution
Not applicable. The deletion of
tests/clinical-separation.test.tsis outside this check's explicit conditions. The author should still state in the PR description why that guard was removed. Restore an equivalent stale-project-ref scan if the removal was not intended.
Full details: Runtime And Package Manager Integrity
-
Explanation
PR
#1742(BigSimmo/Ward-Flow, head claude/project-thread-w4htga, base main) does not break the runtime or package-manager rules. Evidence: - The local clone has no usable merge base. HEAD is 7567281, and main is 109e133. I compared the two commits directly. The diff covers 1172 files. - No package manifest, lockfile, or runtime pin changed. The diff does not touch package.json, package-lock.json, .npmrc, .nvmrc, .node-version, any Dockerfile, or .github/ workflows. - The current pins match the required Node 24 / npm 11 workflow: - package.json: packageManager "npm@11.17.0"; engines node ">=24.22.1 <25" and npm "11.x". - .npmrc: engine-strict=true. - .nvmrc and .node-version: 24.22.1. - package-lock.json: lockfileVersion 3, present. - Workflows install through the pinned npm (packageManager). They use npm ci or npm install --global with --ignore-scripts. Neither change is in this diff. - A search of the added lines found no legacy-peer-deps, --force, --ignore-engines, engine-strict=false, pnpm, yarn, bun, or corepack use. - Files outside src/tests/docs changed in the PR are next.config.ts, eslint-rules, scripts/ward-flow, diff-integrity.json, and import-map-baseline.json. The next.config.ts change adds Statistics chunk split rules only. None of these files change package-manager or runtime behaviour. Limit: the PR's own commit history is not in the local clone. The comparison uses the local main commit as the base.
Full details: Api Route Failure Handling
-
Explanation
The check does not apply to this PR. The PR (
#1742, BigSimmo, head claude/project-thread-w4htga, base main) is a UI build. Its description covers screen changes, removal of mock-only query switches and the mock loading route, shared constants modules, help text, and tests. Evidence gathered: - The checkout HEAD is 7567281. origin/main is 109e133. The two have no merge base, sogit diff origin/main HEADreports 1172 files. That diff is a superset of the PR's changes relative to main, so it is the usable basis for the check. - No changed path is under src/app/api/, backend/, or src/proxy. No changed path is a route handler (route.ts/route.tsx) except src/components/ward-management/statistics/statistics-index-route.tsx. That file is a React component, not an API route. - No changed file has a 'use server' directive. No RAG, ingestion, or provider integration file changed. backend/ward-flow/providers.mjs and its tests appear in the repo but are not in the changed set. - The changed files that match "action" or "provider" names are UI code: bed-meeting-actions.ts changed one button label, and toast-provider.tsx added a layout measurement hook. Neither is a server action or provider call. - The mock route src/app/mockups/ward-flow-digest/route.ts is not in the changed set. Caveat: the unrelated histories mean the PR's exact patch was not isolated from a shared base. The conclusion rests on the tree diff against origin/main, which contains no API, server action, or provider change.
Full details: Verification Claims
-
Explanation
PR
#1742(BigSimmo/Ward-Flow, base main, head claude/project-thread-w4htga, author BigSimmo) has a Status section that makes verification claims. Most claims name the command or check and the result: - Pre-commit hook (lint and type check): passed. -node docs/ward-flow/journey/verify.mjs --check: passed on 7567281. -node scripts/run-vitest.mjs runon named DOM test files: 13 files, 90 tests passed. -npm run check:knip,npm run docs:facts:write,node scripts/ward-flow/owner-rulings-index.mjs: clean. - Playwright release gate: stated as not run locally, with a reason. - Desktop axe checks shard: 138 passed on db70127. - Phone and desktop journeys: results pending. Two claims do not meet the rule. The check requires the exact command or check name and its result. 1. "Hosted CI: Static checks and unit shards: green on earlier heads." This names no exact CI job or command. It also gives no commit SHA for "earlier heads". The result "green" is not tied to a named check. 2. "The gate's proof is CI's release-gate jobs on the latest head." This points to unnamed jobs and gives no result. It also states that the proof exists, but it does not show a pass or a fail. The rest of the Status section meets the rule. The two claims above do not. I did not inspect the CI logs. The check is about the description text, so the defect is in the wording.Resolution
Revise the Hosted CI and release-gate lines in the PR description. For each claim: - Name the exact CI job or workflow, for example its job name as shown in the provider. - Name the commit SHA that the result applies to. - State the exact result, for example "passed" with the pass count, or "pending". - If a check did not run, write "Not run: <reason>". Example: "CI job <exact job name>, head <sha>: passed." Replace "Static checks and unit shards: green on earlier heads" and "CI's release-gate jobs on the latest head" with these named statements.
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
|
The production build check fails on the phone script budget. Four routes are over, and the growth is this PR's, not main's: /bedchart/ed is 11 KB over, the ward page 25 KB, the movement page 15 KB and statistics 17 KB. A trim is in progress: lazy-loading the press-only drawers and menus, plus dead imports. Any raise will stay within the 5 KB rule unless the owner approves more. Generated by Claude Code |
- Josh approved deleting the code the r10 cuts left unused (D-283) - regenerate printable Help guides; journey docs re-reviewed for r10 - tests quoting old words now use the r10 labels - work in progress from the look-check fixes and phone-size trim Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
…dgets ED views, statistics menus, ward decline reasons and phone find field, transport booking form and referral drawer now load on demand. No budget raised. Also tidies the wf form and folder-tab exports for knip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Try the dot-only step first, then wrap; the code chip holds its width, and the chip measure no longer reads a mid-transition width under reduced motion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
… time (D-174, D-193) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
…, movements, capacity, audits) Selectors and words follow the r10 labels; protected tests keep every case and expect. Focus after Accept no longer falls to the page body. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
…and statistics tests for r10 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
…loads Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d9348e04a9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… the header service Codex review on PR #1742: - Flag urgent now runs through useUndoableStep with confirmation, so 'Flagged urgent' and Undo show only after the command is accepted. - Handover's default scope follows the header service when it changes or arrives after hydration; a link's scope and a menu choice still win. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
…its own word - ward-ago-text keeps its own copy of the kit's duration words, so the engine bundle stays inside the backend's redeploy watch paths (backend.test.mjs, audit F-07). A parity test pins it to the kit. - Capacity's In use link: a leading space before the hidden band words, so axe label-content-name-mismatch passes (stale board journey). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
|
Backend and shared production proof failed on d9348e0. Three causes, all from this PR:
Also fixed locally from the Codex review: the urgent flag toast now waits for the command to be accepted, and Handover's default scope follows the header service. These go up in one push with the remaining test updates. Pushing now would cancel the other shards that are still running. Generated by Claude Code |
… stage band axe label-content-name-mismatch on the phone release gate: Waiting's Needs attention head said 'act on these first' while showing 'act first', and the Movements phone stage cells had a name without their visible wait. The stage cells now take their name from what they show, with aria-pressed for the filter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
|
Release gate phone checks failed on d9348e0. The cause is this PR:
All of this goes up in the same single push. Generated by Claude Code |
|
Unit shards 2 and 3 failed on d9348e0. 98 test files still describe pre-r10 screens or move ratchets: facade cross-checks, reachability, token references, Waiting, Home, Tasks drawer and others. That is expected from this PR and not a product fault. Three fixers are updating them in parallel under the protected-test rules: selectors are re-pointed, assertions are not dropped, and nothing is skipped. They go up in the same single push as the fixes above. Generated by Claude Code |
|
The phone journeys and referrals check failed on d9348e0. Six release-gate journeys still use pre-r10 selectors:
The fix comes from this PR's spec updates. Each journey keeps every step and assertion. Same single push. Generated by Claude Code |
|
Unit shard 1 failed on d9348e0, for the same cause as shards 2 and 3: 42 files still describe pre-r10 screens. 33 of them were not already being fixed, so a fourth fixer has taken them under the same rules. This goes in the same single push. Generated by Claude Code |
… r10 Re-pointed to r10's screens; protected cases kept. Removed only cases for controls r10 removed (hidden search duplicates, order tabs, Added today stat); no file below half its cases. Lowered four stale no-literal-desk-role baselines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
- Waiting's laptop drawer (MovementDrawer) now carries the foot More (Find a bed, Open on Home) of item 110, so a coordinator reaches Home's Placement for any waiting person, as on the phone. - Planned-arrival alert reads its patient through the resolver (D-14 default-deny), not off the booking. - Four sideways rows say overflow-y: hidden; missing-value drops an arbitrary leading; the Find memory strip uses a declared spacing token. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Josh approved, 28 Nov 2026 17:30 UTC. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
- Kit Dialog actions take an optional testId; the board's wrong-patient confirm keeps ward-board-confirm-proceed for the stress kit. - Stress selector list: Leave the demo moved to About, cockpit release uses the shared sheet, Movements print/export folded into Share, Hand back is one tap. - The spec redirect-stub scan uses the sibling guard's rule: a page that also renders a screen (Home's old ?list=queue forward) is not a stub. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
… r10 Re-pointed to r10's screens; no protected case reduced, nothing skipped. Removed only cases for controls r10 removed (Record a review sheet, item 100; quick jumps, audit two #17; the review route now forwards to Governance). Reachability declares three screens r10 left unreachable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
The figure links' 12px tap padding and 4px cover made the sideways row shorter than its contents on the phone (release-gate scroll check). The row now carries 16px of its own, cancelled by its margin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
- Governance: a review refused before dispatch (the record changed) now says 'Review not confirmed', never silently. - The dark-theme ground sits in a screen media block, so the base token block declares it once; Find's tab fades use 'black', not raw hex. - Settings search drops the removed Sidebar row (audit two #68). - A Waiting comment no longer reads as queue-jump copy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
… r10 Re-pointed to r10's screens; the arrival identity check and the pulled- bed release confirm keep every protected assertion. Removed one case for the Flow list (area 2 item 1). Import map baseline 564 -> 582 for the r10 split modules, dated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
… for r10 Re-pointed to r10's screens, nothing skipped. Removed only cases for controls r10 removed (Home Flow list switch, Settings' Digest link and policy version line). Ratchets follow source moves with dated notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
…nd Find for the changed-only switch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Behaviour checked for each: board test id, urgent flag now confirmed with Undo (prose already says toast Undo), out-of-area tab panel role, governance refusal announcement, arrival dialog identity description, settings Find filter, officer withdrawal notices. Line pointers moved where lines shifted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
…knip) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
…he card went in r10, audit two #46) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
ED inbox 'Open referral', handover from the sheet's Actions list, ward board 'Show all N' and the Record discharge alertdialog, out-of-area Away now tab and empty state, and the closed clinical fold on the community referral. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
- ED Needs you: the Record booking button's name now starts with its visible words (axe label-content-name-mismatch). - Officer detail: with no legal clash the transport-logged row sits on the Forms tab (audit three #9), so the journey checks it is absent from Details. - Discharge: Before handover lives on the ward page's Decisions tab since the bed board folded into Ward. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Audit four #45 renamed the arrival confirm to Record arrival. The journeys still check the identity panel before recording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
- Go to a desk: the rail's person opens the account menu; the journeys choose Try another desk (demo) there. - ED inbox: the desktop table's toggle reads Show referral. - Waiting Follow-up: the name is the visible words and count; the split is the description (label-content-name-mismatch). - All EDs service tabs sit on the canvas, so they take the page's ink-2 (the hero ink measured 1.3:1). - Phone service chip: its short code is in its name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
- Ward Decisions window steps: the name holds the visible state too
("Staffing, 07:00–09:30, Clear").
- Phone service chip: the short code follows a middle dot; axe drops
bracketed words.
- ED referral journey: after raising from My list, step back to the
Board to read the new row (Board and My list are tabs on a desktop).
- Out of area: the screen-reader counts stay in the desktop empty state.
- Journey review digest re-pointed for out-of-area-board.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
axe joins a control's text nodes as written, so the title, hours and state need literal spaces between them to match the name. The flex rows draw no gap for the spaces. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Repoint the @mockup journeys to the audit four UI (renamed controls, folded cards, the Account-menu desk switch, Share menus, Find), fix the Show me walk rounds that pointed at parts r10 removed, and lift three phone targets to the 40px floor (service chip, Community family links, Handover shift pill). The painted-contrast helper now reads the Home hero band that stops 4px short. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
The service chip's 2.75rem minimum now applies only at the dot alone; on every step it changed what the chip fit measured and wrapped the phone header for a frame on load (release-gate layout shift on / and the ED). The table sweep opens the comparisons' Table view (r10's name for Data), and the Delays hidden-count test follows item 54's narrowed-only count and the phone's Whose move band. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
On a phone the header search loads after the page. The hand-off commit draws the placeholder and the real search together, and the commit that removes the placeholder did not always land before a frame, so the header doubled in height for a frame and pushed the page down (release-gate layout shift on / and the ED, intermittent). The outgoing placeholder now leaves the flow and is hidden during the hand-off; the real search already has the focus. The service chip's dot-state target reaches 44px with padding taken back by an equal negative margin, so the chip's place in the row is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Requested by josh · project thread
What this does
Builds the approved r10 mock-ups into the product. r10 is audit four: 116 locked items, on top of round two, audit two and audit three. Josh approved r10 and asked for the build on 28 Nov 2026 (8:49 PM AWST).
?mock-fault,?mock-offline,?banner) and the mock loading route.Judgement calls taken overnight (recommended option, logged)
Notes for later (no safety loss)
readyBedsis hidden byslice(0,3).Status
Checks run locally on this branch:
node docs/ward-flow/journey/verify.mjs --check: passed on 7567281.node scripts/run-vitest.mjs runon the changed DOM test files (decisions cockpit, capacity, daily return rows, decision demonstration, release day chooser, service defer, delays and out of area): 13 files, 90 tests passed.npm run check:knip,npm run docs:facts:writeandnode scripts/ward-flow/owner-rulings-index.mjs: clean, with output committed in earlier commits.Local Playwright (chromium 1248 installed for the pinned runner):
Hosted CI on 70c9e2a (run 46212389633), all success: Ward Flow scope plan, static checks, production build, prepared browser build, backend and shared production proof, unit shards 1 to 4, coverage, browser journeys 1 and 2, release gate desktop journeys, referrals and checks, release gate phone journeys and referrals, release gate phone checks, and Ward Flow required. CodeQL, GitGuardian, hold and bot-author policy also passed.
Late fixes: journeys repointed to the r10 controls (3ad35ad, f790b0f), and the phone header no longer jumps while the search loads (70c9e2a: the placeholder is hidden during the hand-off frame).
Boundary
Synthetic data only. No clinical rule, signed value, permission or saved record format changes. The arrival identity check (WT-11, R-MOVE-10) is unchanged; its button now reads Record arrival.
https://claude.ai/code/session_01GxPPxmdH6oKg1mh2KCAW4A
Generated by Claude Code