Updated transcript artifact names and canonical paths to use a consistent, role-based nomenclature

This commit is contained in:
2026-05-22 19:05:23 -05:00
parent e920f3a8d5
commit cee52aa092
56 changed files with 991 additions and 463 deletions

View File

@@ -23,7 +23,7 @@ func TestStageMarkHelpers(t *testing.T) {
}
succeededAt := runningAt.Add(2 * time.Minute)
outputs := []ArtifactRecord{{Kind: "transcript_processed", LocalPath: "transcripts/processed.json"}}
outputs := []ArtifactRecord{{Kind: "transcript_polished", LocalPath: "transcripts/polished.json"}}
m.MarkStageSucceeded("transcribe", succeededAt, outputs)
if stage.Status != StatusSucceeded {
t.Fatalf("status = %q, want %q", stage.Status, StatusSucceeded)
@@ -35,7 +35,7 @@ func TestStageMarkHelpers(t *testing.T) {
t.Fatalf("outputs len = %d, want 1", len(stage.Outputs))
}
outputs[0].LocalPath = "mutated.json"
if stage.Outputs[0].LocalPath != "transcripts/processed.json" {
if stage.Outputs[0].LocalPath != "transcripts/polished.json" {
t.Fatalf("stage outputs should be copied, got %#v", stage.Outputs)
}