Archive completed meeting assistant changes
PR and Push Build/Test / build-and-test (push) Successful in 9m19s

This commit is contained in:
2026-06-26 13:15:47 +02:00
parent 7d16b0cad7
commit aecef30627
72 changed files with 2914 additions and 406 deletions
@@ -0,0 +1,8 @@
## Why
The transcript marker for switching transcription profiles currently tells the summarizer that the profile changed, but not that speaker recognition state was reset. That can make later transcript interpretation less clear.
## What Changes
- Extend the profile-switch transcript marker to state that speaker recognition and identities were reset.
## Impact
- Updates the active profile-switch recording behavior and its test coverage.
@@ -0,0 +1,36 @@
## MODIFIED Requirements
### Requirement: Active recording can switch launch profiles
Meeting Assistant SHALL allow a launch profile hotkey or named-profile recording toggle request to switch the active meeting to that profile while recording capture is active.
When switching profiles during an active meeting, Meeting Assistant SHALL keep the existing meeting note, transcript, assistant context, summary path, user notes, calendar metadata, projects, attendees, and assistant-context state.
When switching profiles during an active meeting, Meeting Assistant SHALL NOT create new meeting artifacts, SHALL NOT collect calendar metadata again, and SHALL NOT run the summary pipeline for the old profile segment.
When switching profiles during an active meeting, Meeting Assistant SHALL stop and drain the current speech recognition pipeline, append a transcript marker indicating the target profile and that speaker recognition and identities were reset, start a new speech recognition pipeline using the target profile's resolved options, and continue writing live transcription to the same transcript file.
When audio is captured while the old speech recognition pipeline is draining, Meeting Assistant SHALL buffer that audio and send it to the new profile's speech recognition pipeline after it is ready.
When switching profiles during an active meeting, Meeting Assistant SHALL clear run-local speaker label mappings for future transcript segments because backend speaker IDs can change across speech recognition processes. Already-written named transcript segments SHALL remain unchanged.
#### Scenario: Active meeting switches to named profile
- **GIVEN** a meeting was started with the default launch profile
- **WHEN** the user triggers launch profile `english` while recording is active
- **THEN** Meeting Assistant keeps the existing meeting artifacts
- **AND** drains the old speech recognition pipeline without running summary generation
- **AND** appends a transcript marker for the profile switch
- **AND** the transcript marker states that speaker recognition and identities were reset
- **AND** starts transcription with the resolved `english` profile
- **AND** continues writing transcript segments to the same transcript file
#### Scenario: Captured audio is buffered while switching
- **GIVEN** a meeting is switching from one launch profile to another
- **WHEN** audio chunks are captured before the new speech recognition pipeline is ready
- **THEN** Meeting Assistant buffers those chunks
- **AND** sends the buffered chunks to the new profile's speech recognition pipeline after it starts
#### Scenario: Switching clears future speaker mappings only
- **GIVEN** a live speaker label was mapped to a named speaker before switching profiles
- **WHEN** Meeting Assistant switches to another launch profile
- **THEN** already-written transcript text keeps the named speaker
- **AND** later transcript segments from the new pipeline do not reuse the old backend speaker label mapping
@@ -0,0 +1,4 @@
- [x] 1. Add OpenSpec scenario for the clarified profile-switch marker.
- [x] 2. Add failing behavior coverage for the marker text.
- [x] 3. Update the profile-switch marker.
- [x] 4. Run focused tests and `openspec validate clarify-profile-switch-marker --strict`.