Hide brief prompts after meetings end
Hide suggestions for recorded meetings and respect calendar end times even when participants are present. Cover completed meetings and short-event boundaries with regression tests.
[!NOTE]
Low Risk
UX and timing/eligibility rules for pre-meeting briefs with broad test coverage; no auth, data migration, or payment paths.
Overview
Pre-meeting brief prompts no longer appear once a meeting is over or once recording/transcript UI is available.
Eligibility now respects the calendar end time (no extra post-end grace when ended_at is set), and manually added participants no longer keep brief creation enabled after a linked event has ended—participant-only sessions without a calendar event still work.
In the empty memo UI, Create brief is gated like template suggestions: it only shows when audio state is resolved and transcript is not yet shown (!canShowTranscript). Regression tests cover ended meetings, short events at end boundary, disabled createBrief after end, and the raw editor hiding the brief button when a transcript exists.
Reviewed by Cursor Bugbot for commit 13c25884c2561074665ee20edf0a7ba4ef647055. Bugbot is set up for automated code reviews on this repo. Configure here.