Skip to content

Build audit four (r10) into BedChart - #1742

Merged
BigSimmo merged 46 commits into
mainfrom
claude/project-thread-w4htga
Nov 29, 2026
Merged

BigSimmo merged 46 commits into
mainfrom
claude/project-thread-w4htga

Conversation

@BigSimmo

@BigSimmo BigSimmo commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

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).

  • Applies the r10 screen changes.
  • Removes the mock-only switches (?mock-fault, ?mock-offline, ?banner) and the mock loading route.
  • Moves the Referral summary, Legal forms, On-call and phone bed record drawers onto the one kit drawer pattern. This is item 98, Josh's ruling of 28 Nov.
  • Adds tests for:
    • the outage Save check (item 85);
    • the ward-bed referral source (item 109).
  • Moves three things into shared modules, each with a test: the short place code (item 24), the Open next marker (item 56) and the loading route lists.
  • Updates help, how-tos, desk guides and the demo script to the new words.
  • Records D-277 to D-284 in decisions.md:
    • D-283: code the audit four cuts left unused is deleted.
    • D-284: three kit leaf imports join the seam's approved list.
  • Records four design-system rules (items 32, 33, 34 and 98).
  • Updates tests and release-gate journeys to the r10 controls.
  • Removes the page tip card axe scans from the required list, because the tip card is gone. The case count is updated to match.

Judgement calls taken overnight (recommended option, logged)

  • Hand back is one tap with Undo.
  • The This shift hero opens only when no decision is due.
  • The pulled-bed release has Undo.
  • Placement is reached from Waiting's More.
  • Settings Find hides "Changed from default" while every setting is at its default.
  • Four accessibility fixes found by the release gate:
    • The Waiting Follow-up button's name is its visible words and count. The escalated and quiet split is its description.
    • The ward Decisions window steps carry their state in their name.
    • The phone service chip's short code is in its name.
    • The All EDs health service tabs use the page ink on the canvas. The hero ink measured 1.3:1 there.
  • The Out of area screen-reader counts stay in the desktop empty state.

Notes for later (no safety loss)

  • The governance registers endorse Sheet is dead code.
  • PriorityQueue is used only by tests.
  • statistics-compare readyBeds is hidden by slice(0,3).
  • The Shift history sheet can't be reached while decisions are due.

Status

Checks run locally on this branch:

  • Pre-commit hook (lint and type check on the changed files) on every commit: passed.
  • node docs/ward-flow/journey/verify.mjs --check: passed on 7567281.
  • node scripts/run-vitest.mjs run on 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:write and node scripts/ward-flow/owner-rulings-index.mjs: clean, with output committed in earlier commits.

Local Playwright (chromium 1248 installed for the pinned runner):

  • chromium-mockups and release-gate-desktop runs on the repointed journeys: passed.
  • Layout-shift tests plus design-sweep "meets the 12px": 105 of 105 passed with --repeat-each=3 on 70c9e2a.
  • release-gate-phone was not run locally (no webkit here); CI ran it.

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

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

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 351f7f13-1ad3-4a38-a46a-c3706e46c1f8

Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

Failed Failed checks: 1 error

Check name Status Explanation Resolution
Verification Claims Error 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: … 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 r…
Passed Passed checks: 5 passed

Check name Status Explanation
Generated And Sensitive Files Passed 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 Passed 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 Passed 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 Passed 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 Passed 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 zakzoemeedfepxcstsou appears unchanged in .env.example, backend/ward-flow/.env.example, backend/ward-flow/supabase-config.mjs, backend/ward-flow/infra/*, and docs/ward-flow/DATABASE.md. The diff adds no supabase.co, supabase.com, PROJECT_REF, or SUPABASE_URL lines. - Migrations, SQL, RLS, and policies: No changed file matches .sql, supabase, .env, infra/, migrat, rls, polic, schema, or workflows/. No backend/ file changed. The diff adds no DROP, TRUNCATE, ALTER TABLE, CREATE POLICY, ENABLE/DISABLE ROW LEVEL SECURITY, or DELETE FROM statements. - Deleted guard (observation only): The PR deletes tests/clinical-separation.test.ts. That file scanned the repo for the PsychSift Supabase ref sjrfecxgysukkwxsowpy, PsychSift production URLs, and PsychSift repo identifiers. HEAD has no replacement scan for that ref in tests, scripts, .github, backend, or src. The runtime allow-list in backend/ward-flow/supabase-config.mjs still 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.ts is 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, so git diff origin/main HEAD reports 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 run on 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.

Share

@BigSimmo BigSimmo self-assigned this Nov 28, 2026
@gitar-bot

gitar-bot Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Gitar is working

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

Gitar

Copy link
Copy Markdown
Owner Author

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
@BigSimmo
BigSimmo marked this pull request as ready for review November 28, 2026 17:01
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T17:06:03.476148Z d9348e0 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@BigSimmo
BigSimmo enabled auto-merge November 28, 2026 17:02

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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

Copy link
Copy Markdown
Owner Author

Backend and shared production proof failed on d9348e0. Three causes, all from this PR:

  1. backend.test.mjs watch paths: the engine bundle reached the wf kit through ward-ago-text.ts. Fixed locally (own copy of the duration words plus a parity test), so no watch path or Railway change is needed.
  2. Shared-desk journeys still look for Home's "Flow" list, which r10 folded into Waiting. Spec helpers are being re-pointed.
  3. axe label-content-name-mismatch on Capacity's "In use" link (hidden band words ran into the visible word). Fixed locally.

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

Copy link
Copy Markdown
Owner Author

Release gate phone checks failed on d9348e0. The cause is this PR:

  • axe label-content-name-mismatch on Capacity, Waiting (Needs attention head) and the Movements phone stage band. Fixed locally.

  • The axe sweep spec still expects pre-r10 routes and test ids:

    • /board/<ward> now lands on /ward/<ward>?view=grid.
    • /wards and /search now land on Find (/hub).
    • The ward-hub-page, ward-todays-review and ward-help-hint test ids are not found.

    The spec updates are in progress.

All of this goes up in the same single push.


Generated by Claude Code

Copy link
Copy Markdown
Owner Author

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

Copy link
Copy Markdown
Owner Author

The phone journeys and referrals check failed on d9348e0. Six release-gate journeys still use pre-r10 selectors:

  • community referral
  • ED referral to bed offer
  • transfer with transport
  • discharge with bed release
  • legal form, which is now one drawer (item 98)
  • inpatient transfer

The fix comes from this PR's spec updates. Each journey keeps every step and assertion. Same single push.


Generated by Claude Code

Copy link
Copy Markdown
Owner Author

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
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
…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
@BigSimmo
BigSimmo merged commit 0216dae into main Nov 29, 2026
23 checks passed
@BigSimmo
BigSimmo deleted the claude/project-thread-w4htga branch November 29, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants