// Package analyzer declares the adapter contract for artifact analysis generation. package analyzer import "context" // Runner is the adapter boundary for analyzer invocations. type Runner interface { Run(ctx context.Context, req AnalyzeRequest) (AnalyzeResult, error) } // AnalyzeRequest describes one analyzer artifact generation request. type AnalyzeRequest struct { ArtifactType string ProcessedTranscriptPath string ContextReferences []string OutputPath string GeneratedConfigPath string StdoutLogPath string StderrLogPath string } // AnalyzeResult describes analyzer output. type AnalyzeResult struct { ArtifactPath string Metadata map[string]any }