Integrate transcription checkpoints across lifecycle

This commit is contained in:
2026-09-22 00:00:51 +00:00
parent 2ae63dbc2b
commit d872edca94
7 changed files with 581 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ import (
"encoding/hex"
"os"
"path/filepath"
"slices"
"strings"
"testing"
@@ -126,6 +127,14 @@ func seedCurrentTranscribeEvidence(
record := m.Stages["transcribe"]
record.TranscribeStateVersion = manifest.TranscribeStateContractVersion
record.TranscribeSpeakers = records
if len(record.Outputs) == 0 {
for _, speakerRecord := range records {
record.Outputs = append(record.Outputs, speakerRecord.Output)
}
slices.SortFunc(record.Outputs, func(a, b manifest.ArtifactRecord) int {
return strings.Compare(a.LocalPath, b.LocalPath)
})
}
}
func loadConfigForSemanticEvidence(t *testing.T, pipelinePath, campaignPath, sessionPath string) *config.Config {