Repository navigation
Conversation
Preserve provider-reported effort in projected subagent runtime data and use it as a fallback in subagent hover cards when the model selection has no effort. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…eat/subagent-reported-effort
…eat/subagent-reported-effort
…eat/subagent-reported-effort
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…agent-reported-effort
…eat/subagent-reported-effort
…eat/subagent-reported-effort
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This branch has not been deployed
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.
Problem
Factory Droid sets each subagent's effort from the
Tasktool'scomplexityand reports it, but the child's model selection has no effort option. The hover card reads effort only from the model selection, so it shows the model without the effort.Change
subagentRuntime.tskeeps the effort the provider reported for a child.SubagentTooltipContentfalls back to it when the model selection has no effort, and its four callers pass it:ThreadLineageWorkflowRow,ThreadRelationshipsControl,V2LifecycleRowandWorkflowOpeningBlock. An effort in the model selection still wins. The optional contract field that carries the reported effort comes from the native provider PR.Scope and approval
This depends on the native Factory Droid provider PR and falls under the same Ideas discussion. (Ideas discussion: pingdotgg#27369) It only adds the fallback. The diff is 7 files against the provider branch, and it doesn't include the sidebar PR.
Verification
vp env exec --node 26.12.1 -- vp test run packages/client-runtime/src/state/subagentRuntime.test.ts: 12 passed, including a case where the runtime keeps the reported effort.vp env exec --node 26.12.1 -- vp run --filter @t3tools/client-runtime --filter @t3tools/web typecheck: passed.My GPT · high. Upstream has since deleted that browser test file.These screenshots predate the upstream merge:
Built with Claude Opus 5.5 orchestrating GPT-6 Luna workers through Factory Droid in T3 Code. Upstream preparation by GPT-6 Luna, orchestrated by Claude Opus 5.5, through Factory Droid in T3 Code.