Skip to content

feat(subagent): thread explicit parent effort to workers - #1370

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-10227-subagent-explicit-parent-effort
Oct 9, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-10227-subagent-explicit-parent-effort

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Threads an operator-chosen (explicit) parent reasoning effort as a fleet-wide pin to every spawned worker, so a primary cycled to none really gives workers none effort.
  • Adds parentExplicit to the effort cascade: explicit pin > explicit parent > role default > derived parent > clamp. The unset case keeps CL-5162 (leaf medium / orchestrator high).
  • Wires explicitReasoningEffort from runner and the TUI session config into the sub-agent provider, and propagates it to spawned workers in agent-fleet.

Verification

  • bun run check passes on this branch (8465 pass / 1 pre-existing environmental fail, matching the approved combined-tree baseline for the unrelated shell-guard cwd test).
  • src/provider/reasoning-effort.test.ts, src/subagent/agent-fleet-effort.test.ts, src/session/runtime-assembly.test.ts pass (124 pass / 0 fail).

Fixes CL-10227

@linear-code

linear-code Bot commented Oct 9, 2026

Copy link
Copy Markdown

CL-10227

@TheGreatAxios
TheGreatAxios force-pushed the cl-10227-subagent-explicit-parent-effort branch 2 times, most recently from 33a8605 to 6605afd Compare October 9, 2026 04:09
@TheGreatAxios
TheGreatAxios force-pushed the cl-10227-subagent-explicit-parent-effort branch from 6605afd to 2fcd16d Compare October 9, 2026 04:44
@TheGreatAxios
TheGreatAxios merged commit 209929e into main Oct 9, 2026
13 checks passed
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