Document standalone preflight and complete verification

This commit is contained in:
2026-11-30 15:42:21 +00:00
parent 727ed783d1
commit b2877c1ea0
17 changed files with 276 additions and 97 deletions

View File

@@ -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()
}