Commit Graph
1 Commits
Author SHA1 Message Date
GandClaude Fable 5 83b87fd7aa feat(messages): consent-at-click for the assistant, one shared AskAssistant component (#66)
The 451 gate now says whose consent is missing (consentIsYours, decided
server-side — only the server knows whose consent it checked). The patient
gets an 'I consent — ask anyway' button; a clinician gets honest copy
(no_patient_consent) instead of a button that would record the wrong
person's consent and look broken.

Third call site of the ask-AI-handle-451 pattern → one shared component,
rendered outside the compose form so Enter never summons the assistant.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-20 12:30:16 +00:00