Skip to content

feat(orchestrate): let a dispatch override the profile's fast mode - #322

Merged
Tryanks merged 2 commits into
mainfrom
feat/orchestrate-dispatch-fast-override
Sep 4, 2026
Merged

Tryanks merged 2 commits into
mainfrom
feat/orchestrate-dispatch-fast-override

Conversation

@Tryanks

@Tryanks Tryanks commented Sep 4, 2026 •

Copy link
Copy Markdown
Owner

Two related additions so the lead model can control a child's fast mode on the user's explicit instruction:

dispatch fast? — true/false overrides the child profile's fast-mode setting for that one child; omitted, the profile decides. Providers without a fast mode ignore it.

send fast? — switches an already-dispatched child's fast mode. The selection is rewritten and persisted, so the existing launch-option restart machinery resumes the child on a fresh process before its next turn. A turn already running keeps its speed; to speed up work in progress the lead cancels first, then sends with fast set, and the child resumes its transcript on a fresh process.

The tool descriptions, the fleet-table intro, and the three orchestrator prompt assets tell the lead to pass fast only when the user explicitly asks.

Verified: clippy clean, cargo test --workspace green, with new runtime tests for both override directions on dispatch and for the send switch persisting and flagging a live child for restart.

Add an optional `fast` parameter to the orchestrate `dispatch` tool.
`true`/`false` overrides the child profile's fast-mode setting for that
one child; omitted, the profile decides. The tool description, fleet
table intro, and the three orchestrator prompt assets tell the lead to
pass it only when the user explicitly asks for fast mode on or off.
Providers without a fast mode still ignore it.

Verified: clippy clean, cargo test --workspace green, including a new
runtime test covering both override directions.
Add an optional `fast` parameter to the orchestrate `send` tool. It
rewrites the child's fast-mode selection (Claude `fastMode`, Codex
`fast` service tier) and persists it, so the existing launch-option
restart machinery resumes the child on a fresh process before its next
turn. A turn already running keeps its speed; the tool description and
the orchestrator prompt assets tell the lead to cancel first and then
send with `fast` set when the user wants work in progress sped up.

Verified: clippy clean, cargo test --workspace green, including a new
runtime test that the switch persists on both the resident and the
index and flags a live child for restart.
@Tryanks
Tryanks merged commit 104df65 into main Sep 4, 2026
3 checks passed
@Tryanks
Tryanks deleted the feat/orchestrate-dispatch-fast-override branch September 4, 2026 13:50
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