fix(sign-off): reset the #3562/#3571 sign-offs, restore the owner's lithium attestation, fix 18 therapy format labels
Requested by Josh · project thread
Summary
Before: the "Psych Sift" sign-offs recorded in #3562 and #3571 counted as the owner's. The owner's 2 Oct lithium source attestation was withdrawn on 18 Oct, so check:source-acquisitions failed on main. Eighteen signed therapies showed the format chip "Group programme" while their own text says the therapy is usually individual.
After: those sign-offs are back to awaiting the owner's review, the lithium attestation is restored exactly as the owner confirmed it through #3143, and the 18 therapies read "Multi-session" and wait for re-signing. No new sign-off or attestation is recorded.
This acts on the owner's answer to the three audit questions (R6-F-04, R6-F-01, R7-F-13), 21 Oct 2026 11:41 AWST: "Go ahead with all recommendations". Decision record: docs/decisions/2026-10-21-psych-sift-sign-offs-in-3562-and-3571-reset.md.
- Specifiers: 85 still-signed reviews from #3562 go back to
clinician-review-pendingwith no reviewer, date or pin, so all 603 wait (search index regenerated). - Therapies: the 27 signed in #3562 plus the 18 with the contradictory chip go back to
needs_review(unticked checklist, earlier completeness score, no reviewer, date or pin). Indexes and hashed assets regenerated with--revoke-previous; signable projection and change-owner manifest updated. - MHA s357 goes back to
drafted(s14 was already reset by #3692); review sheet regenerated offline. - Sources: the two Australian Prescriber lithium records and the WA clozapine guideline return to their #3143
candidatestate.ps-diff-src-au-ausprescr-lithium-2020returns to its #3143 state with the owner's attestation, reversing PS-009 (ace6626d6). - Services: the 21 #3143 sign-offs that #3571 only re-dated return to their original date (content pins unchanged).
- Interaction lexicon: the 16 Oct re-sign is removed; the sheet reports the 28 Sep sign-off as not current.
- Not changed: the Today page MHA timer sign-off (re-recorded in #3562 in the owner's own name) is waiting on the owner's answer. The 16 Oct "Psych Sift" display-name decision stands.
Areas touched: Clinical reference content, App experience, Knowledge and records, Prototypes, Answer engine, Data platform and access
RAG impact: no retrieval behaviour change. No protected retrieval file changed; under the 18 Oct ruling, reset therapy and specifier prose is withheld from answer evidence and site content until re-signed.
Verification
- Checks run:
- Focused Vitest over the 73 sign-off, therapy, specifier, source, MHA and site-content test files:
Test Files 73 passed (73),Tests 2243 passed (2243). check:source-acquisitions: "Source acquisition ledger passed." (failed on main before this change)check:therapy-data-index: "Therapy indexes are current (205 records)."check:mha-act-sections: "107 reviewed, 3 drafted, 0 pending"check:specifiers-search-index: current (585 items).- Site-content manifest
--check: baseline digest matches, 0 added/removed/changed. format:changed,check:diff-integrity,sitemap:check,check:repo-awareness-snapshot,docs:check-index,docs:check-inventory,docs:check-links,check:decisions,check:outstanding-issuespass.verify:pr-localstops atcheck:installed-lock-parityin this container (install stamp mismatch, not a repo fault), so the rest of its list was run one by one.- Not run locally: full unit suite, build, browser journeys. CI runs these when the PR is marked ready.
- Focused Vitest over the 73 sign-off, therapy, specifier, source, MHA and site-content test files:
Risk and rollout
- Risk: visible on the live site. The lithium and clozapine medicine pages lose their source links. The full text of 45 therapies and the written specifier definitions is withheld from site content until the owner re-signs them. The interaction checker's lexicon sheet reads "NOT current". No database change.
- Rollback: revert this PR.
- Provider or production effects: None.
Clinical Governance Preflight
- Source-backed claims still require linked source verification before clinical use
- No patient-identifiable document workflow was introduced or expanded without explicit governance approval
- Supabase target remains
PsychSift Production(sjrfecxgysukkwxsowpy) - Service-role keys and private document access remain server-only
- Demo/synthetic content remains clearly separated from real clinical sources
- Source metadata, review status, and outdated/unknown-source behavior remain conservative
- Deployment classification/TGA SaMD impact was checked when clinical decision-support behavior changed
Notes
- Clinical PR: stays in draft. The owner merges it, and merging deploys to production.
- The owner re-signs with
npm run therapy:reviewandnpm run clinical:review.
Generated by Claude Code
Summary by cubic
Resets the "Psych Sift" sign-offs recorded in #3562 and #3571 back to awaiting the owner's review, restores the owner's 2 Oct lithium source attestation, and fixes 18 therapy format labels. No new sign-off or attestation is recorded; a merge of main brings no behavioral change. The owner confirmed the Today page MHA timer sign-off, re-recorded in their own name in #3562, stands.
- 85 specifier reviews return to
clinician-review-pending; all 585 written specifier definitions now wait. - 45 therapies (the 27 signed in #3562 plus the 18 with a contradictory "Group programme" chip) return to
needs_review; those 18 chips now read "Multi-session". - MHA s357 returns to
drafted; the two Australian Prescriber lithium records and the WA clozapine guideline return to their #3143candidatestate with the owner's attestation. - The 21 #3143 service sign-offs that #3571 re-dated return to their original date; the 16 Oct interaction-lexicon re-sign is removed.
- The signed-out favourites sample now shows Cognitive Processing Therapy (CPT) instead of CBT-I, which is back to
needs_review.
Visible effects
- Lithium and clozapine medicine pages lose their source links.
- Full text of the 45 reset therapies and the written specifier definitions is withheld from site content until the owner re-signs.
- The interaction-lexicon review sheet reports the 28 Sep sign-off as "NOT current".
Summary by CodeRabbit
-
Content Review
- Reset review status for 44 therapy records and numerous clinical specifiers; these items now require review.
- Updated section 357 from reviewed to drafted.
- Marked affected medication sources and interaction mappings for renewed review.
-
Sign-off Changes
- Reversed selected prior sign-offs and expanded the current sign-off queue.
- Updated therapy records and clinical content to reflect pending owner or clinician approval.
- Source links remain unavailable where required approvals are incomplete.
-
Documentation
- Added a decision record documenting the review resets and related status changes.
Test changes (Helper 2, commit 3737abaab)
tests/therapy-key-facts.test.ts— CBT-I format face assertion changed from "Group programme" to "Multi-session": this PR deliberately replaces the contradictory chip on the 18 signed therapies (R7-F-13), CBT-I among them.tests/favourites-signed-out-sample.dom.test.tsx— no assertion changed. The "only reviewed therapies" guarantee is kept; because CBT-I returns toneeds_reviewin this PR, the signed-out favourites sample (src/components/clinical-dashboard/favourites-sample-data.ts) now uses Cognitive Processing Therapy (CPT), which is stillreviewed. No clinical text changed.