Removed the legacy built-in session_recap from the analyze stage
This commit is contained in:
@@ -18,7 +18,6 @@ const (
|
|||||||
ArtifactTranscriptFull = "narratio.transcript.full"
|
ArtifactTranscriptFull = "narratio.transcript.full"
|
||||||
ArtifactTranscriptTrimmed = "narratio.transcript.trimmed"
|
ArtifactTranscriptTrimmed = "narratio.transcript.trimmed"
|
||||||
ArtifactBoundsSession = "narratio.bounds.session"
|
ArtifactBoundsSession = "narratio.bounds.session"
|
||||||
ArtifactSessionRecap = "narratio.artifact.session_recap"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// ErrSessionArtifactNotFound is returned when no readable artifact exists for a known ID.
|
// ErrSessionArtifactNotFound is returned when no readable artifact exists for a known ID.
|
||||||
@@ -77,13 +76,6 @@ var artifactRegistry = map[string]artifactSpec{
|
|||||||
OutputKind: "session_bounds",
|
OutputKind: "session_bounds",
|
||||||
ContentKind: contentJSON,
|
ContentKind: contentJSON,
|
||||||
},
|
},
|
||||||
ArtifactSessionRecap: {
|
|
||||||
ID: ArtifactSessionRecap,
|
|
||||||
CanonicalRelPath: "artifacts/session_recap.md",
|
|
||||||
ProducerStage: "analyze",
|
|
||||||
OutputKind: "session_recap",
|
|
||||||
ContentKind: contentText,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ResolvedSessionArtifact describes one session-level artifact lookup result.
|
// ResolvedSessionArtifact describes one session-level artifact lookup result.
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ func TestNormalizeSessionArtifactSource(t *testing.T) {
|
|||||||
{name: "legacy alias processed unsupported", source: "processed_transcript", wantErr: "unsupported artifact source"},
|
{name: "legacy alias processed unsupported", source: "processed_transcript", wantErr: "unsupported artifact source"},
|
||||||
{name: "legacy alias normalized unsupported", source: "normalized_transcript", wantErr: "unsupported artifact source"},
|
{name: "legacy alias normalized unsupported", source: "normalized_transcript", wantErr: "unsupported artifact source"},
|
||||||
{name: "legacy alias trimmed unsupported", source: "trimmed_transcript", wantErr: "unsupported artifact source"},
|
{name: "legacy alias trimmed unsupported", source: "trimmed_transcript", wantErr: "unsupported artifact source"},
|
||||||
|
{name: "configured source unsupported in built-in normalization", source: "narratio.artifact.session_recap", wantErr: "unsupported artifact source"},
|
||||||
{name: "canonical", source: ArtifactTranscriptTrimmed, wantID: ArtifactTranscriptTrimmed},
|
{name: "canonical", source: ArtifactTranscriptTrimmed, wantID: ArtifactTranscriptTrimmed},
|
||||||
{name: "unsupported", source: "narratio.unknown", wantErr: "unsupported artifact source"},
|
{name: "unsupported", source: "narratio.unknown", wantErr: "unsupported artifact source"},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user