Adopt Audita native processing arguments

This commit is contained in:
2026-11-27 16:34:15 +00:00
parent 5da7db2b27
commit 16e28b25a2
17 changed files with 132 additions and 245 deletions

View File

@@ -11,19 +11,19 @@ type Runner interface {
Run(ctx context.Context, req PolishRequest) (PolishResult, error)
}
// PolishRequest describes an Audita invocation. Nil Modules uses the runner's
// configured selection; a non-nil empty slice selects no modules.
// PolishRequest describes an Audita invocation.
type PolishRequest struct {
GeneratedConfigPath string
MergedTranscriptPath string
OutputProcessedPath string
GlossaryPath string
Modules []string
GlossaryFiles []string
ReportDir string
WorkDir string
StdoutLogPath string
StderrLogPath string
}
// ReportBundle contains optional reports adjacent to the requested output.
// ReportBundle contains optional reports in the requested report directory.
type ReportBundle struct {
ErrorsPath string
RecoveriesPath string