25 lines
636 B
Go
25 lines
636 B
Go
// Package audita declares the adapter contract for transcript polishing.
|
|
package audita
|
|
|
|
import "context"
|
|
|
|
// Runner is the adapter boundary for audita polish invocations.
|
|
type Runner interface {
|
|
Run(ctx context.Context, req PolishRequest) (PolishResult, error)
|
|
}
|
|
|
|
// PolishRequest describes an audita invocation.
|
|
type PolishRequest struct {
|
|
GeneratedConfigPath string
|
|
MergedTranscriptPath string
|
|
OutputProcessedPath string
|
|
StdoutLogPath string
|
|
StderrLogPath string
|
|
}
|
|
|
|
// PolishResult describes a polish output.
|
|
type PolishResult struct {
|
|
ProcessedTranscriptPath string
|
|
Metadata map[string]any
|
|
}
|