Open
Conversation
Add optional context field to MeetingMetadata (default empty string) and
MeetingUpdate. Accept context in POST /api/meetings upload and handle it
in PATCH /api/meetings/{id}.
Add optional context textarea to the upload form placed before the preprocessing checkbox. Pass context through API.createMeeting to the backend.
Show an editable context textarea in the meeting detail view above the audio player. Context is saved via PATCH on blur.
Add [MEETING CONTEXT] placeholder to all 5 prompt templates. When generating a prompt, replace with a ## Meeting Context section if context is non-empty, or remove the placeholder if empty.
Member
Author
QA Confidence Verdict — Story #38: Provide context with each meetingWhat Was VerifiedAcceptance Criteria:
Truths:
Business Rules:
What Needs Human Eyes
Risk Areas
Spec DriftNone detected. Implementation matches the spec faithfully. Suggested QA Focus
Verdict: PASS (with caveat on zero test coverage)All AC, truths, and business rules are satisfied in the code. The implementation is clean and minimal. The main concern is the complete absence of automated tests, which is a pre-existing project-wide gap, not specific to this story. |
Add textarea to .form-group CSS selectors so context fields inherit the same styles as input and select elements. Remove redundant meeting-context-section styles.
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.
Story: #38
Summary
Add an optional free-text context field to meetings so users can describe what the meeting is about. This context is injected into analysis prompts, enabling the LLM to produce more focused and relevant analysis.
contextfield persisted inmetadata.jsonvia Pydantic model with empty string default## Meeting Contextsection when context is non-emptyApproach
Context is stored as a plain string field in the existing
MeetingMetadataPydantic model with a default of"", which handles backward compatibility for old metadata files automatically. For prompt injection, a[MEETING CONTEXT]placeholder was added to all templates (matching the existing[PASTE TRANSCRIPT HERE]pattern), and the frontend replaces it with a formatted section or removes it when empty.Verification
ruff check+ruff format --check)