Skip to content

Commit cfbaba7

Browse files
HmbownAdityaVG13
andauthored
feat(whaleflow): add mock executor skeleton
Add a crate-local mock executor over WorkflowSpec that records leaf, branch, and control-node results for Sequence, BranchSet, Leaf, Reduce, TeacherReview, LoopUntil, Cond, and Expand. Add reducer scaffolding for BranchTournament and ParetoFrontier, plus #2669 acceptance-style tests, without exposing workflow_run, spawning agents, or applying worktrees. Refs #2669. Harvests narrow WhaleFlow executor intent from #2482/#2486. Co-authored-by: AdityaVG13 <44177453+AdityaVG13@users.noreply.github.com>
1 parent bb88358 commit cfbaba7

3 files changed

Lines changed: 743 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4040
release-safe. The foundation now includes explicit `WorkflowSpec`,
4141
`WorkflowNode`, branch/leaf/policy metadata structs, plus serializable branch,
4242
leaf, and control-node result records toward the #2668 TraceStore contract.
43-
Thanks @AdityaVG13 for the WhaleFlow draft and cost-tracking direction.
43+
It also adds a crate-local mock executor skeleton for Sequence, BranchSet,
44+
Leaf, Reduce, LoopUntil, Cond, Expand, BranchTournament, and ParetoFrontier
45+
control flow so #2669 can progress without spawning agents, applying
46+
worktrees, or exposing a `workflow_run` runtime tool yet. Thanks @AdityaVG13
47+
for the WhaleFlow draft and cost-tracking direction.
4448
- Added a state-store v2 schema migration for WhaleFlow trace tables covering
4549
workflow, branch, leaf, control-node, and teacher-candidate runs. The
4650
migration creates persistence shape only; workflow execution and replay

crates/tui/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4040
release-safe. The foundation now includes explicit `WorkflowSpec`,
4141
`WorkflowNode`, branch/leaf/policy metadata structs, plus serializable branch,
4242
leaf, and control-node result records toward the #2668 TraceStore contract.
43-
Thanks @AdityaVG13 for the WhaleFlow draft and cost-tracking direction.
43+
It also adds a crate-local mock executor skeleton for Sequence, BranchSet,
44+
Leaf, Reduce, LoopUntil, Cond, Expand, BranchTournament, and ParetoFrontier
45+
control flow so #2669 can progress without spawning agents, applying
46+
worktrees, or exposing a `workflow_run` runtime tool yet. Thanks @AdityaVG13
47+
for the WhaleFlow draft and cost-tracking direction.
4448
- Added a state-store v2 schema migration for WhaleFlow trace tables covering
4549
workflow, branch, leaf, control-node, and teacher-candidate runs. The
4650
migration creates persistence shape only; workflow execution and replay

0 commit comments

Comments
 (0)