Repository navigation
2026.10.15
·
37 commits
to main
since this release
Run this release with Docker:
docker pull ghcr.io/mcowger/olive2:2026.10.15:2026.10.15 is pinned to this release; :latest points at the same image.
Changelog
[2026-10-15]
Added
- MCP read + control surface — the MCP endpoint at
/mcpnow exposeslist_templates/get_template,get_transcription_status/list_active_transcriptions/get_summary_status, andplaud_statusas always-on read tools (no opt-in needed) so agents can discover prompt templates and poll job progress without subscribing to SSE. Two new opt-in write tools (OLIVE_MCP_WRITE=1):reassign_speaker { meetingId, fromLabel, toSpeakerName?/toSpeakerId?, adoptVoiceprint?, localOnly?, segmentIndex?, scope?, expectedFromLabel?, dryRun? }(moves transcript segments to a target speaker, optionally growing the voiceprint library) andplaud_sync_trigger(kicks a Plaud Cloud poll in the background). - MCP summary management — the opt-in MCP write toolset (
OLIVE_MCP_WRITE=1) now exposesdelete_summary { meetingId, summaryId, expectedIsPrimary?, dryRun? }andset_primary_summary { meetingId, summaryId, expectedPrimarySummaryId?, dryRun? }, matching the existingDELETE /api/meetings/{id}/summaries/{artifactId}andPOST .../primaryroutes. Useget_meeting(summaries[].id,isPrimary) to pick a target, preview withdryRun, then apply with theexpected*guard from the plan so concurrent edits abort instead of clobbering. - Portable speaker library export/import — share enrolled voiceprints between Olive instances without re-enrolling:
GET /api/speakers/exportreturns the library as JSON (vectors + metadata, no audio) andPOST /api/speakers/importapplies it inmergemode (union into same-name speakers, create the rest) orreplacemode (wipe local first, meeting attributions carry over by name), both withdryRunpreviews. Available in MCP too:export_speaker_libraryis a read tool,import_speaker_libraryis an opt-in write tool (OLIVE_MCP_WRITE=1). Meeting links are never transferred — meeting IDs differ per instance. - MCP write tools (opt-in) —
/mcpnow offersupdate_speaker,merge_speakers,delete_speaker,set_meeting_tags(single or bulk viameetingIdsup to 500),update_meeting_title, plus meeting lifecycle (delete_meeting,update_meeting_start_time,auto_title_meeting,summarize_meeting) and transcription (transcribe_meeting,bulk_transcribe,cancel_transcription,retry_meeting_audio,reidentify_speakers) alongside the read tools. They stay hidden and rejected unless the server runs withOLIVE_MCP_WRITE=1, and every tool acceptsdryRunto preview plusexpected*guards that abort on mismatch (long-running ops queue async and return job status), so agents can plan a speaker/tag/title cleanup against live data and apply on confirm. - Audio-pending meetings + Plaud audio refetch — meetings whose audio hasn't landed yet now show a dimmed card with a "Retrieving audio…" (or "Audio missing") badge in the list instead of looking ready, and the detail page shows a banner explaining the state with Transcribe and Generate Summary disabled until audio attaches. Plaud meetings can re-queue the cloud download via a Retry download button (new
POST /api/meetings/{id}/audio/retry), backed byaudioStatus/canRetryAudioon the meeting payload. - Transcription API keys in Settings UI — Speechmatics, AssemblyAI, and Muse Voice keys can now be entered in Settings alongside the transcription engine picker instead of only via environment variables. Keys are stored in
settings.json, masked in API responses (re-saving a masked value keeps the stored key), take effect immediately without a restart, and environment variables still override them when set. - Muse Voice transcription — transcribe meetings with Meta's
Muse Voice Transcribe (muse-voice-transcribe-1.0, $0.18/hr) via
MUSE_API_KEY. Uses speaker diarization by default, auto-chunks
recordings over the 10-minute API limit, and supports keyword and
language biasing from the existing transcription options. Speaker
labels are kept distinct per chunk (labels are request-scoped) and
reconciled to enrolled names by voiceprint matching. Selectable
anywhere AssemblyAI/Speechmatics are (upload, meeting detail, bulk
re-transcribe, default engine setting). - Auto-title meetings — generate a concise meeting title from the
transcript with the configured default LLM via the Auto-title button
next to the meeting title. - Always re-transcribe Plaud recordings with the configured engine — Settings now offers a three-way Plaud recordings policy (use Plaud transcript, re-transcribe when speakers are unnamed, or always re-transcribe). The always mode keeps Plaud's transcript as a fallback and makes the configured engine authoritative, takes effect without a restart, and skips the redundant Plaud speaker-identification pass. Meetings that arrive with a summary but no transcript segments now always hand off to the configured engine, which also covers running Plaud hardware without a transcription subscription (turn AutoFlow off in Plaud and Olive transcribes from audio).
- Tag + facet filtering (API + MCP) —
GET /api/meetingsaccepts exacttags(repeatable or comma-separated, AND-combined, case-insensitive),status,speakerId,hasSummary, andhasTranscriptfilters that compose with the existing search/source/date filters; newGET /api/tagslists distinct tags with meeting counts. The MCPlist_meetingstool acceptssearchplus the same filters,search_transcriptstakesqueryplus the same filters exceptsearch, andget_action_itemstakes the filters exceptsearch, plus a newlist_tagstool — so agents can scope "all calls for this client" to a tagged subset instead of keyword-matching transcripts. Bulk re-transcribe filters accept the same set. - Transcript-only speaker names — the Assign Speaker dialog now offers
"This transcript only" alongside "Save to People", so one-off voices
(e.g. an interview guest) can be relabeled in that meeting without
creating a People entry, linking the meeting, or learning a voiceprint. - Editable meeting time — the meeting date on the detail page can now
be changed via an edit button next to it. The duration is preserved
(end time shifts with the start) and the on-disk folder is moved when
the UTC date stamp changes, so shifted imports can be corrected in place. - CalVer releases — pushing a
YYYY.MM.DDtag (.Nsuffix for same-day
follow-ups, novprefix) runs CI, publishes the multi-arch image to GHCR
pinned to that tag (plus:latest), and creates a GitHub release whose
notes are the changelog sections since the previous tag. Release builds
also stamp the tag into the image, so What's New shows e.g.
2026.10.15 · 4d5ea70instead of just the build date and commit.
Changed
- Build identity instead of version number — the What's New header now shows the build's UTC date/time and commit hash (e.g.
2026-10-15 14:32 UTC · 4d5ea70) instead of a static version, matching continuous delivery with no releases. - Faster container startup — model preflight verifies the four local
models from the on-disk cache with no Hugging Face Hub round-trips and
without importing the heavy ML stack (torch,transformers) on a warm
boot, checks them concurrently with per-model timing, and the image now
starts via the venv binary instead ofuv run.
Fixed
- Deleted Plaud recordings stay deleted — deleting a Plaud-synced
meeting now tombstones its cloud recording ID, so the next poll or
restart no longer re-imports the same recording as a new meeting. - Human-verified voiceprints always enroll — confirming a speaker turn,
reassigning a voice, or rapid-enrolling checked samples now trains the
voiceprint even when the clip scores below the outlier threshold; a low
score expands the voiceprint instead of rejecting your confirmation. - Speaker re-identification works on Plaud transcripts — re-running
speaker matching no longer fails with "could not be parsed" on meetings
whose transcript was already rewritten in Plaud's list format. - Plaud timestamps parsed as UTC — timezone-less
start_atvalues from
Plaud are now interpreted as UTC instead of the server's local timezone,
so meetings no longer shift by the host UTC offset on ingest.
[2026-08-11 — 2026-10-14]
Covers the full history from project start (2026-08-11) through 2026-10-14,
including the original TypeScript/Bun prototype era and the Python
FastAPI + Vite rewrite (2026-10-13).
Added
- Meetings management — meeting list/detail views; rename with atomic
on-disk folder move (YYYY-MM-DD_<title>__<id8>) and no re-import; tags
(add/edit, trimmed and de-duplicated); delete from UI removing DB rows,
artifacts, recordings, chat, Plaud state, logs, and the meeting folder. - Ingest — audio upload API (
POST /api/ingest, iOS Shortcut compatible);
Plaud Cloud sync with OAuth 2.0 PKCE modal, 15-minute poller, auto-transcription,
duplicate-audio detection (duplicatestatus, no re-download), migratedof_
file-ID handling, HTTP 429 backoff withRetry-After, and background
"Sync Now" (202 immediately). - Transcription providers — Speechmatics batch STT with diarization and
webhook; local on-device pipeline (Cohere Transcribe INT8 ONNX, IBM Granite
Speech, Qwen3-ASR default, CTC forced alignment); AssemblyAI Universal-3.5
provider with live upload/polling progress; provider selection honored with a
UI dropdown and per-request override. - Transcription UX — real-time SSE progress streaming that survives page
navigation and covers runs started elsewhere; background execution (worker
thread, then durable DBOS stage queues); cancellation that also cancels the
underlying DBOS workflow and stays cancelled; bulk re-transcribe across
meetings (POST /api/meetings/bulk-transcribe, selection checkboxes, queue
backed); whole-number progress with realistic speaker-ID weighting. - Speakers & diarization — speaker registry and People dashboard; in-meeting
enrollment, reassignment, merging, and renaming; neural diarization
(pyannote community-1) with WeSpeaker ResNet293-LM voiceprints as the single
speaker-identity store; cross-recording voiceprint matching and ASR-first
cloud speaker identification; Plaud transcript speakers matched to enrolled
voiceprints; post-facto "Re-identify" for any transcript
(POST /api/meetings/{id}/speakers/reidentify); rapid enrollment flow for
unmatched groups; 12-second trim for over-long samples; voiceprint cap with
outlier/near-duplicate filtering and UI notices; generic "Speaker N" labels
treated as transcript-only (never people); segment coalescing, pruning, and
inline segment add/edit/delete; tunable diarization/voiceprint thresholds. - Summaries, chat & search — prompt templates and multi-provider LLM calling
with per-model thinking levels; asynchronous summary generation with status
polling; multi-summary management with markdown rendering and raw/rendered
toggle; per-meeting chat grounded in summary, transcript, and speakers;
full-text content search with auto-summarization on transcription completion. - Usage tracking — cloud transcription (per audio hour) and LLM (per token)
spend recorded with estimated USD, history backfilled, Usage tab plus
per-meeting cost line. - System & platform — backup/restore via API, UI, and CLI (root and legacy
archive layouts); structured system logging with Logs API and UI view;
read-only MCP server at/mcp(search meetings, read transcripts/summaries,
action items);/debugDBOS stage-queues page and API with live per-stage
display, bounded pipeline concurrency, and inter-stage queue status; favicons
and PWA manifest; mobile experience (bottom tab bar, modal shell, no iOS zoom
on inputs, select mode, responsive cards); FFmpeg speech-enhancement filter
with player toggle. - Distribution & runtime — Docker as primary distribution: first start
downloads speech models (~4.5 GB) into a persistent/app/modelsvolume and
refuses to run without it; multi-arch (amd64/arm64) images built on native
runners; Python 3.12 FastAPI/SQLAlchemy backend with Vite 6 + pnpm frontend
and OpenAPI-generated types; durable DBOS SQLite stage queues
(pipeline,plaud_sync,ffmpeg,diarize,speaker_embed,asr,
align,speechmatics,assemblyai,summarize); ONNX inference offloaded
to threads; clean shutdown of workflows, poller, SSE, and DBOS on SIGINT.
Fixed
- Plaud duplicate-audio re-download loop (hundreds of GB re-fetched every poll
cycle) resolved with permanent duplicate marking. - Plaud auto-poll never firing (scheduler bound to a dead loop); now starts in
the FastAPI lifespan. Manual sync, legacy ID migration, and 404 healing fixed. - Headerless Plaud Opus recordings rejected by ffmpeg/cloud ASR; raw packets are
now canonicalized to valid Ogg on disk (with startup migration of legacy files). - Transcription provider config ignored (hard-defaulted to Speechmatics) and
upload failures silent; now controlled and surfaced as explicit error events. - Cancelled transcriptions flipping back to in-progress on late updates;
recovered transcripts after restart now persist and mark ready. - LLM settings wiping stored API keys on blank save; custom provider base URLs
breaking across SDKs (/v1double-prefix). - Speaker rename reverting until reload; deleting a meeting resetting page
scroll/loading state; long transcription progress decimals. - Plaud import showing redundant
Auto_sum_noteheading and leading separators;
transcript parser rejectingitem.text/startMsshapes and top-level array
transcripts. - Container restarts losing Plaud OAuth tokens (now persisted in
configDirand
included in backups); custom Speechmatics client requiring an API key.
Changed
- Backend migrated from Bun/Hono TypeScript monorepo to Python FastAPI; frontend
build migrated to Vite + pnpm (SQLite schema, config paths, and meeting folder
layout preserved). - Background work moved from subprocess/worker-thread to the DBOS durable
job-queue system (the sole enqueue path; see AGENTS.md rule 5). - Default local ASR model switched to Qwen3-ASR; diarizer/embedding throughput
scales with host CPU cores. - Test suite runs in ~17s via fake neural models and live-test gating.
Infrastructure / chores
- Dockerfile with model pre-caching and GHCR publish; isolated multi-stage model
layer with registry caching; staging deploy script and image tags. - GitHub Actions bumped to latest majors (Node 24); Bun runtime 1.4 (TS era);
pinned llama.cpp builds per platform (TS era). - Docs: planning docs (HIGHLEVEL, MILESTONES, DESIGN), diarization-fix notes, ML
acceleration plan, README features/architecture/screenshots, API docs,
verification policy for coding agents.