Skip to content

Global concurrency cap with a run queue #166

Closed

Description

@currentbits

What Symphony does

Enforces a global max_concurrent_agents plus per-state overrides (SPEC).

Solenta today

Grep for concurrency|maxConcurrent across electron/ finds nothing: every Build starts immediately. The only throttles are the daily and per-orchestration budget caps (electron/services.js spend gate). Distinct from #124 (beachballing under load), which is the symptom this knob would help prevent.

Why it matters

With auto-dispatch or a heavy best-of-N fan-out, unbounded parallel CLI spawns are how you melt a laptop. "Max N concurrent runs, queue the rest" is the standard safety valve in this category.

Fix direction

A settings-level max-concurrent-runs (default something sane like 3-4); starts beyond the cap queue per project and are admitted as runs settle, with queue position visible in the Agents panel.

Activity

  1. added
    enhancement
    plan:todo
    on Aug 16, 2026
  2. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Research note (Claude Code v2.1.229-2.1.232): prompt-cache economics for fan-out — stagger same-prefix sibling agents so later ones hit the cached prefix; subagent forking that inherits the full conversation AND prompt cache; cache-reusing permission checks. A shared-prefix + staggered-start dispatch in the run queue could cut the cost of N-worktree fan-out meaningfully.

  3. added
    plan:doing
    and removed
    plan:todo
    on Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplan:doing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions