Skip to content

fix(macos): run on_stop after diarization and summary - #142

Merged
ekho merged 2 commits into
masterfrom
codex/macos-on-stop-after-diarization
Dec 2, 2026
Merged

ekho merged 2 commits into
masterfrom
codex/macos-on-stop-after-diarization

Conversation

@ekho

@ekho ekho commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

transcription → immediate diarization → speaker names and summary → on_stop
              → disabled, deferred or failed speaker pass        → on_stop with available files

The coordinator and background sweep use the same session claim for post-processing and hook execution. An interrupted first speaker pass leaves the hook owed until processing resumes. A later retry does not repeat a settled hook.

Evidence

  • Before: On 0.29.1 the regression captured the provisional transcript, with no speaker or summary file. A sweep after a restart also fired early.
  • After: The shell hook runs once, and its copies of transcript.json, speakers.json and summary.md match the final files byte for byte. The regression covers a fresh session and recovery before and during the first speaker pass. Separate tests cover disabled or deferred diarization, disabled automatic transcription, and failed source validation before inference.
  • Verification: 64 focused macOS tests passed. The full macOS run with mandatory LocalVQE assets reported 1,553 tests in 213 suites and 26 opt-in skips.

Merge impact

Reversible source change. This changes when existing macOS on_stop commands receive a meeting folder.

@ekho
ekho merged commit f3f83f2 into master Dec 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant