Skip to content

WhaleFlow swarm: synthesis/reduce pass (many workers → one coherent output) #3230

@Hmbown

Description

@Hmbown

Context

From the WhaleFlow vision-alignment assessment (docs/WHALEFLOW_VISION_ALIGNMENT.md). Both kimi-code's swarm and the ultracode pattern end with a synthesis stage that reduces many workers' outputs into one coherent result.

Problem

WhaleFlow has no reduce/synthesis pass. A fan-out produces N independent worker results with no merge step — the orchestrator does not combine, dedupe, or resolve conflicts across them.

Proposal

After a swarm/goal fan-out, run a synthesis pass — an orchestrator turn (or a dedicated synthesizer worker) that:

  • consumes the structured worker-return envelopes (status / summary / artifacts / assumptions)
  • reduces them into one coherent output
  • dedupes overlapping findings and resolves conflicts
  • surfaces a single result plus the contributing workers

Depends on


🤖 Filed from the WhaleFlow vision-alignment analysis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationenhancementNew feature or requestsubagentsSub-agent orchestration, lifecycle, and completion handlingwhaleflowWhaleFlow branch/leaf workflow runtime and workflow mode

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions