GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(client-runtime): keep subagent questions off parent threads by Yash-Singh1 · Pull Request #26367 · pingdotgg/t3code

Conversation

@Yash-Singh1

@Yash-Singh1 Yash-Singh1 commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Problem

Live questions from subagents appeared as pending requests on parent threads, even though the parent agent can answer them. This made the thread list suggest that users needed to respond.

Change

Keep subagent questions within the parent thread without flagging it as needing user input. Preserve notifications for subagent approval requests, which require user attention. Add coverage for both local and delegated subagent questions.

Scope and approval

This is a focused fix to the existing subagent request indicators. Questions can be handled by the parent agent; approval requests still need user attention.

Verification

Updated threadShell.test.ts to check that questions do not flag the parent thread, including for delegated subagents, while child threads remain listed. git diff --check passed.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Yash-Singh1
fix(client-runtime): keep subagent questions off parent threads
37fc466
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Oct 28, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 28, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 37fc466

Macroscope's review found this PR approvable — Subagent questions no longer flag parent threads as needing user input, including across delegated environments. Approval alerts and threads' own pending requests remain unchanged, keeping the change limited to attention indicators.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: t3/subagent-input-notifications
  • File: .coderabbit.config.ts
  • Commit: 37fc466
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Team
  • Run ID: f05a06b6-b0e6-4ae2-b841-2ccf37d575d4
Commits

Reviewing files that changed from the base of the PR and between f17c9d2 and 37fc466.

Files selected for processing: 2
  • packages/client-runtime/src/state/threadShell.test.ts
  • packages/client-runtime/src/state/threadShell.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

Walkthrough

Child user_input requests no longer propagate to the parent thread’s pending-subagent flag. Approval requests still propagate, and tests cover local and linked child requests.

Changes: Subagent request propagation

Layer / File(s) Summary
Parent propagation rule and coverage
packages/client-runtime/src/state/threadShell.ts, packages/client-runtime/src/state/threadShell.test.ts
The parent-chain logic skips user_input requests while preserving approval propagation. Tests verify that child questions do not flag the parent and that linked helpers remain in the child-input list.

Priority: Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Possibly related issues

  • pingdotgg/t3code issue 24096 — This issue describes delegated child questions incorrectly marking the parent as awaiting input. This change stops child user_input requests from propagating to the parent.
  • pingdotgg/t3code issue 24053 — This issue concerns notifications for delegated child approvals. This change preserves approval propagation but does not change the mobile relay path.

Possibly related PRs

  • pingdotgg/t3code#24894 — Both changes distinguish child input visibility from blocking input in the parent.
  • pingdotgg/t3code#25537 — Both changes involve the pending-subagent request map and child input listing.
  • pingdotgg/t3code#24079 — This PR also changes how child requests affect parent-thread awareness.

Suggested labels: bugfix, size:S

Suggested reviewers: juliusmarminge, macroscopeapp

Merge Risk: Minimal · up to 37fc4

The change is ready to merge pending normal checks.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: preventing subagent questions from flagging parent threads.
Description check Passed The description covers the problem, fix, scope rationale, and focused verification. It explains why no issue or approval link is included for this focused bug fix.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Yash-Singh1
Yash-Singh1 merged commit 975b3dc into main Oct 28, 2026
31 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@Yash-Singh1
Yash-Singh1 deleted the t3/subagent-input-notifications branch October 28, 2026 08:52
@leomontigatti leomontigatti mentioned this pull request Oct 28, 2026
docs: T3 update review 0.1.4-nightly.20261028.3822 leomontigatti/agent-workflow#56
Merged
@adampeterhiggins adampeterhiggins mentioned this pull request Oct 29, 2026
chore: sync upstream through 07f7f976 adampeterhiggins/t3code#512
Merged
19 tasks done
This was referenced Oct 31, 2026
fix(client): a subagent question from a finished run no longer flags the parent #21018
Closed
fix(client-runtime): delegated questions stay with their working parent #24768
Closed
Parent thread shows "Awaiting Input" for delegated-task questions that the parent agent is answering #24096
Closed
@olafura olafura mentioned this pull request Nov 7, 2026
test(features): ledger upstream T3 Code through 9504a09f08 hal-c2/hal-c2#1189
Merged
@Silthus Silthus mentioned this pull request Nov 11, 2026
[Bug]: A task delegated to a linked environment never shows its question or approval on the parent #26527
Open
2 tasks done
@greaber greaber mentioned this pull request Nov 19, 2026
fix(web): notify when delegated work settles, and name the asking subagent greaber/t3code#18
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Yash-Singh1
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.