Skip to content

fix(web): show a subagent's reported effort in its hover card - #11

Draft
jhomra21 wants to merge 14 commits into
feat/provider-droid-nextfrom
feat/subagent-reported-effort
Draft

jhomra21 wants to merge 14 commits into
feat/provider-droid-nextfrom
feat/subagent-reported-effort

Conversation

@jhomra21

@jhomra21 jhomra21 commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Problem

Factory Droid sets each subagent's effort from the Task tool's complexity and 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.ts keeps the effort the provider reported for a child. SubagentTooltipContent falls back to it when the model selection has no effort, and its four callers pass it: ThreadLineageWorkflowRow, ThreadRelationshipsControl, V2LifecycleRow and WorkflowOpeningBlock. 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.
  • Mutation check on the pre-merge branch: removing the fallback made the hover-card test lose My GPT · high. Upstream has since deleted that browser test file.
  • Not checked: browser tests (Playwright Chromium isn't installed on this machine) and an integrated pass in a real client after the merge.

These screenshots predate the upstream merge:

Before: the hover card shows the child's model only After: it shows the model and the effort Droid reported
Before: hover card reads GPT-6.1 Sol, Running After: hover card reads GPT-6.1 Sol · medium

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.

jhomra21 and others added 2 commits October 29, 2026 21:41
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>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:S labels Oct 30, 2026
@jhomra21 jhomra21 changed the title fix(web): show reported effort in subagent hover cards fix(web): show a subagent's reported effort in its hover card Oct 30, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant