Document standalone preflight and complete verification
This commit is contained in:
@@ -40,6 +40,7 @@ func checkDownstreamReadiness(runtime *invocationRuntime, targets preflight.Targ
|
||||
result.Checks = append(result.Checks, readinessCheck{Group: group, Outcome: "blocked", Message: "prepared inputs are unavailable"})
|
||||
}
|
||||
if len(targets.Scriptorium) > 0 && runtime.ctx.Err() == nil {
|
||||
runtime.env.Progress("checking prompt requirements")
|
||||
if runtime.env.Scriptorium == nil {
|
||||
runtime.env.Scriptorium = runtime.dependencies.newScriptorium()
|
||||
}
|
||||
@@ -50,6 +51,7 @@ func checkDownstreamReadiness(runtime *invocationRuntime, targets preflight.Targ
|
||||
if !prepared {
|
||||
blocked("audita")
|
||||
} else {
|
||||
runtime.env.Progress("checking Audita readiness")
|
||||
var err error
|
||||
if runtime.env.Audita == nil {
|
||||
runtime.env.Audita, err = runtime.dependencies.newAudita(runtime.cfg)
|
||||
@@ -69,6 +71,7 @@ func checkDownstreamReadiness(runtime *invocationRuntime, targets preflight.Targ
|
||||
err = fmt.Errorf("build audita preflight: %w", buildErr)
|
||||
} else {
|
||||
checked, err = preflight.CheckAudita(runtime.ctx, checker, request)
|
||||
checked.Findings = append([]preflight.Finding{{Severity: preflight.SeverityInfo, Stage: "polish", Message: "Audita checks a synthetic transcript and may contact providers"}}, checked.Findings...)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -79,6 +82,7 @@ func checkDownstreamReadiness(runtime *invocationRuntime, targets preflight.Targ
|
||||
if !prepared {
|
||||
blocked("notarius")
|
||||
} else {
|
||||
runtime.env.Progress("checking Notarius readiness")
|
||||
if runtime.env.Notarius == nil {
|
||||
runtime.env.Notarius = runtime.dependencies.newNotarius()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user