feat(ai): paste a meeting transcript to power augmented notes#102
Merged
Conversation
transcript_raw existed since the initial schema but had no write path, so enhance-notes only ever reworded typed notes. Add a Transcript section in the completed meeting view that saves pasted transcripts via a new useUpdateMeetingTranscript mutation (debounced, like notes). Enhance-notes and suggestions now enable on a transcript alone (guards check notes OR transcript), so a pasted transcript with no notes is enough to generate structured AI notes. Contract assertions for the schema/type/UI and e2e coverage (transcript persists, transcript-only enhancement) added.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
PR C of the AI 80:20 program. Adds a transcript paste entry point, wiring the previously dead
transcript_rawcolumn so AI notes/suggestions can work from a real transcript, not just typed notes.Why
The Granola audit found
transcript_rawhad no write path: enhance-notes only ever reworded sparse typed notes. This is the cheapest step toward Granola-style augmented notes without building capture/STT (deferred, as agreed).Changes
useUpdateMeetingTranscriptmutation (use-meetings.ts), mirroring the notes mutation; writes onlytranscript_raw, debounced.No migration
transcript_raw texthas existed since00001_initial_schema.sql. No DDL change.Verification (local)
test:ai-contracts: pass;pnpm build(typecheck): pass; eslint on changed files: clean (only pre-existing set-state-in-effect warnings, matching the existing notes sync effect).Program status
This completes the agreed non-STT 80:20: reliability (#99), carry-over intelligence (#100/#101), transcript paste (this). Next: Edge Functions infra PR, then STT last.