-
Notifications
You must be signed in to change notification settings - Fork 0
Claude/clinical kb design system 333a69 #1546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
ef13a07
feat(design-system): v2 token layer, 26 components, browser-crash fix
BigSimmo 59e4c3d
fix(design-system): reconcile v2 token file as canonical (C1), dark f…
BigSimmo a6a6138
fix(design-system): cascade port, forced-colours block, danger contra…
BigSimmo d51b2b7
Merge remote-tracking branch 'origin/main' into claude/clinical-kb-de…
BigSimmo 23aaae5
docs(ledger): record design-system handoff (local until next bundled …
BigSimmo 1335f66
fix(design-system): re-declare dark ink and companion roles broken by…
BigSimmo 7fa40de
Merge remote-tracking branch 'origin/main' into claude/clinical-kb-de…
cursoragent dd701a8
fix(ui): Tabs aria-controls only on selected; Tooltip composes handlers
cursoragent 3e6b2d6
docs(pr): add PR_POLICY_BODY for Sync PR policy body on #1546
cursoragent 1988bd8
Merge branch 'main' into claude/clinical-kb-design-system-333a69
BigSimmo b33ea5b
Merge branch 'main' into claude/clinical-kb-design-system-333a69
BigSimmo c05684e
Merge branch 'main' into claude/clinical-kb-design-system-333a69
BigSimmo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| ## Summary | ||
|
|
||
| - Re-declare dark body/heading ink and companion roles on `.dark .ckb-v2` after the cascade port so light `.ckb-v2` matching inside dark subtrees cannot resolve light ink on dark surfaces. | ||
| - Merge `origin/main` to clear DIRTY mergeability (prefer main’s post-#1538/#1541 component copies; keep this tip’s dark-ink contract + HCM transparent overlay-backdrop rationale). | ||
| - Tabs: `aria-controls` only on the selected tab when a panel is owned (unselected tabs no longer point at missing IDs). | ||
| - Tooltip: compose mouse/focus/keydown handlers with the child’s existing handlers instead of replacing them. | ||
|
|
||
| RAG impact: no retrieval behaviour change — design-system token dark-cascade fix and unadopted UI component a11y only; no file under `src/lib/rag/**`, clinical-search, retrieval-selection, ranking, eval harness, golden fixtures, or retrieval RPCs is touched. | ||
|
|
||
| ## Verification | ||
|
|
||
| - [x] `npm run verify:pr-local` | ||
| - [x] focused: `vitest` `tests/ckb-v2-token-contract.test.ts` + `tests/ui-v2-components.dom.test.tsx` — 35 passed | ||
| - [x] `npm run verify:cheap` — 457 files / 4782 passed | ||
| - UI verification not run: no production surface adopts `.ckb-v2` / these components yet; phone-chrome and visual journeys unchanged. Prefer CI Production UI on this tip. | ||
|
|
||
| ## Risk and rollout | ||
|
|
||
| - Risk: low — class-scoped unadopted token layer + unadopted UI components; merge resolves conflict with main’s already-shipped design-system layer. | ||
| - Rollback: revert the squash / tip commits; no schema, data, or provider surface. | ||
| - Provider or production effects: None. | ||
|
|
||
| ## Clinical Governance Preflight | ||
|
|
||
| - [x] Source-backed claims still require linked source verification before clinical use | ||
| - [x] No patient-identifiable document workflow was introduced or expanded without explicit governance approval | ||
| - [x] Supabase target remains `Clinical KB Database` (`sjrfecxgysukkwxsowpy`) | ||
| - [x] Service-role keys and private document access remain server-only | ||
| - [x] Demo/synthetic content remains clearly separated from real clinical sources | ||
| - [x] Source metadata, review status, and outdated/unknown-source behavior remain conservative | ||
| - [x] Deployment classification/TGA SaMD impact was checked when clinical decision-support behavior changed | ||
|
|
||
| ## Notes | ||
|
|
||
| - Remaining playbook work stays in later tranches (SPEC §13). | ||
| - Companion design-system docs already on main via #1531 / #1537 / #1538 / #1541. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.