Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
077eb52
feat: add FinishedAt to StepResult, sort ErrWorkflow output by execut…
May 5, 2026
904e37e
test: verify StepResult.FinishedAt is populated after step execution
May 5, 2026
ef1e56f
chore: archive errworkflow-execution-order change, sync specs to main
May 5, 2026
1f7002d
chore: include state/workflow changes and implementation plan
May 5, 2026
7e4aaee
fix: address code review feedback
May 5, 2026
50bdb89
chore: remove unrelated in-progress changes from PR
May 5, 2026
d17eabc
refactor: remove unused SetError/GetError/SetFinishedAt/GetFinishedAt…
May 5, 2026
363d32c
refactor: deprecate SetError/GetError/SetFinishedAt/GetFinishedAt, pr…
May 5, 2026
a0f4a71
fix: remove go:fix inline from SetError/SetFinishedAt (not single-ret…
May 5, 2026
3e4ca50
refactor: drop GetFinishedAt/SetFinishedAt (new in this PR), keep Set…
May 5, 2026
1e070a1
refactor: un-deprecate GetError/SetError, they have distinct semantic…
May 5, 2026
ce8ac64
docs(step-mutator): add openspec change, design notes, plan, and example
May 11, 2026
ededf3a
feat(mutator): add Mutator interface and Mutate[T] constructor
May 11, 2026
0b332ad
chore(mutator): clarify boundary-check guard and PrependMutators doc
May 11, 2026
561feef
test(mutator): cover unwrap traversal and workflow boundary stop
May 11, 2026
f7e52a3
test(mutator): cover inner-workflow boundary stop inside wrapper
May 11, 2026
c1923a8
feat(state): add MutatorsApplied per-step flag
May 11, 2026
d6b3f72
feat(workflow): add Mutators field and PrependMutators on Workflow/Su…
May 12, 2026
51eaa59
feat(workflow): apply Mutators once per step before first attempt
May 12, 2026
f2dfded
fix(workflow): set MutatorsApplied before applyMutators to be panic-safe
May 12, 2026
b490f02
test(mutator): once-per-step across retries; nil Mutators no-op
May 12, 2026
cea452c
feat(workflow): propagate Mutators into nested workflows via MutatorR…
May 12, 2026
8a87757
test(mutator): ordering — plan first, mutators in slice order
May 12, 2026
60d38e3
test(mutator): merge happens at first schedule, not at Add
May 12, 2026
0200c42
test(mutator): match through Name wrapper via Unwrap
May 12, 2026
8f74b72
test(mutator): ctx, scope-isolation, and DontPanic-protected panic re…
May 12, 2026
e60964b
chore(deprecation): mark BuildStep and SubWorkflow.Reset deprecated
May 12, 2026
928c431
docs(example): activate Mutator examples; deprecate BuildStep example
May 12, 2026
5e08933
docs(openspec): tick off completed step-mutator tasks
May 12, 2026
9a25f9b
Merge remote-tracking branch 'origin/main' into worktree-redesign-bui…
May 12, 2026
3d4ef95
docs(example): rewrite Mutator example as tutorial-style 13_mutators_…
May 12, 2026
a966e1a
docs(openspec): archive step-mutator change, apply spec deltas
May 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions build_step.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ type StepBuilder struct{ built Set[Steper] }
//
// In both build cases the walker returns TraverseEndBranch so the parent
// composite's children aren't double-visited from this side.
//
// Deprecated: this lazy-initialization hook will be removed in the next major
// version of go-workflow. Use [Mutate] for cross-cutting modification, and
// construct sub-workflows inside Do() instead. See
// openspec/changes/2026-05-06-step-mutator/design.md.
func (sb *StepBuilder) BuildStep(s Steper) {
if sb.built == nil {
sb.built = make(Set[Steper])
Expand Down
Loading
Loading