Repository navigation
feat(processing): read transcript evidence by exact media version - #736
Merged
Merged
Conversation
This was referenced Sep 30, 2026
roborev: Combined Review (
|
rodboev
marked this pull request as ready for review
September 30, 2026 00:24
roborev: Combined Review (
|
rodboev
force-pushed
the
pr/240-8-transcript-read
branch
from
September 30, 2026 02:46
5b0fa96 to
589a9db
Compare
roborev: Combined Review (
|
Member
|
reviewing |
roborev: Combined Review (
|
Callers holding a recording's source, version, and content IDs can read its transcript through the embedded API, HTTP, and the CLI. The read resolves the source version to its content version and covering profile, takes the active rendition the way rendition selection does, and returns the build's checksum-verified normalized evidence units. - fix(daemonconn): accept every transcript unit the daemon returns - fix(processing): reject non-canonical transcript version ids - fix(processing): reuse time_span for transcript unit timing Co-authored-by: Wes McKinney <wesmckinn+git@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
wesm
force-pushed
the
pr/240-8-transcript-read
branch
from
October 2, 2026 03:26
ac4beeb to
2519f55
Compare
roborev: Combined Review (
|
Lint failed on this PR after it was rebased onto main. Main now requires every top-level test in the api, processing, and store packages to call t.Parallel(). The new transcript tests did not. These tests use their own catalog, blob store, and temporary directories. They do not set environment variables or change process-wide state, so they can run in parallel. Generated with Claude Code (claude-opus-5-5) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
roborev: Combined Review (
|
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.
Apps that store a recording in Docbank, such as msgvault saving a call, can now read its transcript, with each line's speaker and timing, using the IDs they already hold. Before, a transcript could only be reached through IDs Docbank assigns to its processed copies, which those apps never see, so they couldn't show what was said.
The transcript is at
GET /api/v1/media/sources/{source_id}/versions/{source_version_id}/transcriptanddocbank media transcript. It comes from exactly that version of the recording, with each line checked against its checksum. If the version doesn't match or the file was replaced, the answer isstalewith no text, so an app never shows a transcript of different audio.It returns the transcript lines Docbank already stores, so the text has one copy and needs no code to read each caption format. As a result the response has no provider or language field, since the stored lines don't record either.
Refs #240 (comment), slice 7 (read a saved transcript)