27 lines
729 B
Go
27 lines
729 B
Go
// Package seriatim declares the adapter contract for transcript merge execution.
|
|
package seriatim
|
|
|
|
import "context"
|
|
|
|
// TODO: implement a real Seriatim subprocess adapter.
|
|
|
|
// Runner is the adapter boundary for seriatim merge invocations.
|
|
type Runner interface {
|
|
Run(ctx context.Context, req MergeRequest) (MergeResult, error)
|
|
}
|
|
|
|
// MergeRequest describes a seriatim merge invocation.
|
|
type MergeRequest struct {
|
|
GeneratedConfigPath string
|
|
InputTranscriptPaths []string
|
|
OutputMergedTranscriptPath string
|
|
StdoutLogPath string
|
|
StderrLogPath string
|
|
}
|
|
|
|
// MergeResult describes a merge output.
|
|
type MergeResult struct {
|
|
MergedTranscriptPath string
|
|
Metadata map[string]any
|
|
}
|