feat(transports): opt-in per-role effort on the sdk + claude-cli runtimes#26
Merged
Conversation
…runtimes The reachable half of the transport-parity follow-up. Fast-mode parity turned out to be unreachable through fab's programmatic seam — no SDK query() fastMode option, and `claude --help` shows `--effort`/`--model` but no `--fast` (it's a settings.json / interactive `/fast` feature). `effort`, by contrast, IS exposed on exactly those two transports, so that's what landed. - TeamMember gains an optional `effort?: EffortLevel` (low | medium | high | xhigh | max), unset by default — zero behavior change until a role sets it. - The sdk runtime passes it to query() as the `effort` option; claude-cli passes `--effort <level>`. The Managed Agents agent-create surface does not expose effort, so it is a documented no-op there (like compaction and Tool Search). - Assign per role via the same pilot path as model tiering: set `effort` in src/team/*, run in sdk/claude-cli mode, keep or revert. docs/roster.md's Model tiering section is updated from "deferred" to the live mechanism. - Tests: buildClaudeArgs emits `--effort` when a role sets it, omits it when unset. Verified: npm run lint / build / format:check clean; npm test 302/302. Co-authored-by: stxkxsbot <275011021+stxkxsbot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The reachable half of the transport-parity follow-up. See the commit message for full detail.
Fast-mode parity was investigated and dropped — it's not reachable through fab's seam (no SDK
query()fastMode;claudehas--effort/--modelbut no--fast).effortis reachable on exactly those two transports, so that's what shipped.What
TeamMember.effort?: 'low'|'medium'|'high'|'xhigh'|'max'— unset by default (no behavior change).sdk→query()effort;claude-cli→--effort <level>; managed-agents = documented no-op.src/team/*, run sdk/claude-cli, keep/revert).docs/roster.mdupdated.Verification
npm run lint/build/format:checkclean ·npm test302/302 (+2--efforttests).