Skip to content

feat(whaleflow): add mock executor skeleton#2823

Merged
Hmbown merged 1 commit into
codex/v0.9.0-stewardshipfrom
codex/v090-whaleflow-mock-executor
Jun 6, 2026
Merged

feat(whaleflow): add mock executor skeleton#2823
Hmbown merged 1 commit into
codex/v0.9.0-stewardshipfrom
codex/v090-whaleflow-mock-executor

Conversation

@Hmbown
Copy link
Copy Markdown
Owner

@Hmbown Hmbown commented Jun 6, 2026

Summary

  • add a crate-local MockWorkflowExecutor over WorkflowSpec that records leaf, branch, and control-node results for Sequence, BranchSet, Leaf, Reduce, TeacherReview, LoopUntil, Cond, and Expand
  • add max_children to ExpandSpec and validate generated nodes before running them
  • add pure reducer scaffolding for BranchTournament and ParetoFrontier
  • keep this intentionally out of the TUI/runtime surface: no workflow_run, no live subagent spawning, no worktree application, no provider calls

Stewardship / Credit

Refs #2669. This is a narrow maintainer harvest of the safe executor/control-flow intent from #2482/#2486 while preserving the unsafe runtime/worktree pieces for later review. Thanks @AdityaVG13 for the WhaleFlow draft and cost-tracking direction.

Verification

  • cargo test -p codewhale-whaleflow --locked
  • cargo clippy -p codewhale-whaleflow --all-targets --locked -- -D warnings
  • cargo fmt --all -- --check
  • ./scripts/release/check-versions.sh
  • git diff --check

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>
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmbown has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@Hmbown Hmbown merged commit cfbaba7 into codex/v0.9.0-stewardship Jun 6, 2026
2 checks passed
@Hmbown Hmbown deleted the codex/v090-whaleflow-mock-executor branch June 6, 2026 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant