-
Notifications
You must be signed in to change notification settings - Fork 3.2k
EPIC: v0.9.0 WhaleFlow branch/leaf workflow mode #2667
Copy link
Copy link
Open
Labels
branch-leafBranch-and-leaf orchestration semanticsBranch-and-leaf orchestration semanticscache-maximalismDeepSeek V4 cache-maximal context and agent architectureDeepSeek V4 cache-maximal context and agent architectureenhancementNew feature or requestNew feature or requestpod-workflowsPod-style background workflow monitoring and grouped agent orchestrationPod-style background workflow monitoring and grouped agent orchestrationteacher-harnessTeacher/student replay, GEPA-style promotion, and cached-main learningTeacher/student replay, GEPA-style promotion, and cached-main learningv0.9.0Targeting v0.9.0Targeting v0.9.0whaleflowWhaleFlow branch/leaf workflow runtime and workflow modeWhaleFlow branch/leaf workflow runtime and workflow mode
Milestone
Metadata
Metadata
Assignees
Labels
branch-leafBranch-and-leaf orchestration semanticsBranch-and-leaf orchestration semanticscache-maximalismDeepSeek V4 cache-maximal context and agent architectureDeepSeek V4 cache-maximal context and agent architectureenhancementNew feature or requestNew feature or requestpod-workflowsPod-style background workflow monitoring and grouped agent orchestrationPod-style background workflow monitoring and grouped agent orchestrationteacher-harnessTeacher/student replay, GEPA-style promotion, and cached-main learningTeacher/student replay, GEPA-style promotion, and cached-main learningv0.9.0Targeting v0.9.0Targeting v0.9.0whaleflowWhaleFlow branch/leaf workflow runtime and workflow modeWhaleFlow branch/leaf workflow runtime and workflow mode
Projects
StatusShow more project fields
Backlog
Goal
Build CodeWhale's own WhaleFlow workflow module/mode: a typed branch-and-leaf workflow runtime that can run background workflow pods, fan out bounded agents/leaves, replay traces deterministically, and promote only validated lessons into a cached-main overlay.
This is similar in product scope to Claude's workflow mode as observed in the transcript: a user can ask for a workflow, the system starts a background workflow, shows done/total progress, lets the user inspect it via a workflow monitor, and returns with a diagnosis/plan before writing code. CodeWhale should implement the concept in a CodeWhale-native way: typed IR, Rust executor, Starlark authoring, ARMH/RLM memoization, TraceStore, and teacher/student validation.
Mental model
Scope
The epic should decompose into small PRs: IR, executor, authoring, ARMH/RLM leaves, provider abstraction, replay, teacher review, student promotion, cached-main overlay, janitor, and CLI/TUI workflow-mode surface.
Non-goals
Source:
/Users/huntermbown/Downloads/CodeWhale_v0_9_0_BranchLeafTeacher_Workflows_UPDATED.mdand the Claude workflow-mode observation from June 3, 2026.