Allow artifact-only continuation from imported products

This commit is contained in:
2026-12-02 17:46:27 +00:00
parent 042431e246
commit a053ffab79
15 changed files with 269 additions and 28 deletions

View File

@@ -14,11 +14,20 @@ func validateBoundedPrerequisites(plan BoundedPlan, m *manifest.Manifest, cfg *c
return nil
}
coverage := suppliedCompletion(cfg, m)
hasTranscript := coverage["transcribe"]
supplied := hasSuppliedBaseline(m)
for _, name := range plan.PrefixNames() {
if coverage[name] || (hasTranscript && (name == "prepare" || name == "render" || name == "extract")) {
if coverage[name] {
continue
}
if supplied {
// Imported products replace producer history as the starting point.
// Selected consumers validate their actual inputs. Publication and
// post-publication actions retain their own execution prerequisites.
switch name {
case "prepare", "transcribe", "merge", "polish", "normalize", "trim", "render", "extract", "analyze":
continue
}
}
status := "absent"
if m != nil && m.Stages != nil && m.Stages[name] != nil {
stageStatus := m.Stages[name].Status