Signal/signal-ui
Kisa a53728e424 feat: device-keyed staff overrides + recompute contract (plan 02, P4)
Ends the override leak: an SWO/PA save now applies to one device's line, not
every device the patient has. doc_status gains device_type ('' = legacy
patient-scoped row, applies until re-saved); the old unique key is dropped by
introspected name and replaced with the 4-col scope key. Staff overrides now
FEED THE VERDICT (device-scoped, staff wins over the CSV cell) instead of
display-only; visit overrides keep their patient-scoped fan-out via
confirmed_visits. PUT /api/doc-status and /api/confirm-visit accept an
optional echo of the patient's lines and return {lines, rollup_status}
recomputed through the same engine (stateless, no batch rebuild). Frontend
minimal fix: doc-status state and writes keyed patient:device. Independent
audit: SHIP (migration reproduced empirically on both old-key shapes; guard
scoped per its nit). 162 tests green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 05:36:26 -04:00
..
demo chore: add .vercel to gitignore; clarify export button label 2026-05-19 12:50:25 -04:00
public feat(signal-ui): migrate agent-readiness files to Vercel, add graphify to gitignore 2026-06-16 15:19:18 -04:00
src feat: device-keyed staff overrides + recompute contract (plan 02, P4) 2026-07-07 05:36:26 -04:00
tokens feat: add reason strings per patient, fix export headers, add signal-ui source 2026-05-26 09:45:02 -04:00
.gitignore add Phase 1 security hardening, mapping confidence, audit logging, pilot docs 2026-05-29 05:41:25 -04:00
eslint.config.js feat: add reason strings per patient, fix export headers, add signal-ui source 2026-05-26 09:45:02 -04:00
index.html feat: add reason strings per patient, fix export headers, add signal-ui source 2026-05-26 09:45:02 -04:00
package.json Add Phase 3: Clerk auth with org-scoped data isolation 2026-05-29 12:12:17 -04:00
pnpm-lock.yaml Add Phase 3: Clerk auth with org-scoped data isolation 2026-05-29 12:12:17 -04:00
pnpm-workspace.yaml update CLAUDE.md and coverage calculator; add n8n content radar workflow, vercel SPA rewrite, and ui workspace config 2026-06-02 00:41:49 -04:00
vercel.json update CLAUDE.md and coverage calculator; add n8n content radar workflow, vercel SPA rewrite, and ui workspace config 2026-06-02 00:41:49 -04:00
vite.config.js feat: add reason strings per patient, fix export headers, add signal-ui source 2026-05-26 09:45:02 -04:00