Prepare references for artifact-only runs

This commit is contained in:
2026-12-02 15:39:04 +00:00
parent 62778f5c5b
commit 7ad8deb381
13 changed files with 585 additions and 11 deletions

View File

@@ -115,7 +115,11 @@ func assessSessionReadiness(runtime *invocationRuntime, report *sessionReadiness
}
report.Checks = append(report.Checks, readinessCheck{Group: "preparation", Outcome: outcome, Message: message})
if prepared {
report.Findings = append(report.Findings, okFinding("inputs", "prepared session inputs and audio are current"))
message := "prepared session inputs and audio are current"
if record := runtime.manifest.Stages["prepare"]; record != nil && record.Metadata["audio_prepared"] == false {
message = "prepared session references are current"
}
report.Findings = append(report.Findings, okFinding("inputs", message))
if record := runtime.manifest.Stages["prepare"]; record != nil {
if hydrated := previousArtifactNames(record.Metadata["previous_artifacts_hydrated"]); len(hydrated) > 0 {
report.Findings = append(report.Findings, okFinding("previous", fmt.Sprintf("prepared previous artifacts: %v", hydrated)))