[object Object]

← back to Cli Printing Press

refactor(pipeline): use MarkSeedWritten in Init instead of MarkPlanned

1f360464e7d98a961ffa758d2257da14270cdd7a · 2026-03-24 11:03:16 -0700 · Matt Van Horn

state.json now shows plan_status: seed for all phases after init,
enabling Workflow 4 to distinguish seeds from expanded plans.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files touched

Diff

commit 1f360464e7d98a961ffa758d2257da14270cdd7a
Author: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Date:   Tue Mar 24 11:03:16 2026 -0700

    refactor(pipeline): use MarkSeedWritten in Init instead of MarkPlanned
    
    state.json now shows plan_status: seed for all phases after init,
    enabling Workflow 4 to distinguish seeds from expanded plans.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---
 internal/pipeline/pipeline.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/internal/pipeline/pipeline.go b/internal/pipeline/pipeline.go
index 9fcfbb97..0c84fa9a 100644
--- a/internal/pipeline/pipeline.go
+++ b/internal/pipeline/pipeline.go
@@ -67,7 +67,7 @@ func Init(apiName string, opts Options) (*PipelineState, error) {
 			return nil, fmt.Errorf("writing plan seed for %s: %w", phase, err)
 		}
 
-		state.MarkPlanned(phase)
+		state.MarkSeedWritten(phase)
 	}
 
 	if err := state.Save(); err != nil {

← fa2459dd feat(pipeline): add plan_status field to PhaseState for seed  ·  back to Cli Printing Press  ·  feat(skill): update Workflow 4 to check plan_status for seed 37008dd9 →