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(threads): Working holds only background work the agent waits on by t3dotgg · Pull Request #24610 · pingdotgg/t3code

Conversation

@t3dotgg

@t3dotgg t3dotgg commented Oct 24, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

With the Working section on, threads came back to the inbox while the agent was only waiting on something: tests, benchmarks, CI, a data backfill. In two weeks of real use this happened 121 times, all from Claude background shells, so threads sat in the inbox for about 28 hours in total with nothing to act on. The opposite happened too: a dev server's watchdog Monitor kept a finished thread stuck in Working.

Both came from deciding by task kind. A background shell never held a thread and a monitor always did, but either one can be a wait or a process left running. Only the agent knows which.

Change

  • The agent says what it waits on. A new MCP tool, t3_background_wait, marks the background commands or Monitors the agent will act on when it is woken. waiting: false clears a mark. IDs that are not running come back in unmatched and change nothing.
  • One hold rule. In backgroundWorkHoldsCompletion, marked work, subagents, background tasks, and PR watches hold a thread. Unmarked commands and monitors never do. The same rule drives the Working list on web and mobile, completion alerts, auto-settle, and the restart wake.
  • Claude implements it. The mark lives beside Claude's background-task roster: it ends with the task and resets with the process. Claude Code defers MCP tools behind ToolSearch, so its system prompt says when to use the tool.
  • Other providers return "unsupported" and keep today's behavior. Their background lists only hold subagents, which still hold.
  • Older clients and servers ignore the optional awaited field.

Takeover

Replaces #22055 by @LovelyCodeMonkey. Their three commits are kept as they were, with authorship, and cherry-picked cleanly onto current main. Added two commits: the restart-recovery doc (docs/internals/server-updates.md) and the shellRuntime comment still described the old rule, and the t3_background_wait description now uses shorter, plainer sentences with the same facts.

Evidence

Live runs against an isolated dev server (its own state, no copied data), Claude Opus 5.5, with prompts that never mention T3 tools:

Scenario t3_background_wait Roster after the turn Holds in Working Then
sleep 75 && echo 'ALL 42 TESTS PASSED' in the background called on its own command, awaited: true yes woke on exit, reported the result, came back
Monitor on a 3-step deploy called monitor, awaited: true yes woke on each step, then reported "DEPLOY DONE"
Monitor with a 50 s gap between events called still awaited: true between wakes yes finished
python3 -m http.server plus an error-watch Monitor, "leave both running" not called command and monitor, unmarked no back in the inbox right away; main keeps it in Working

An unplanned server restart during a first attempt also exercised the restart path: the threads with awaited work were woken with the restart note. After the description rewrite, the first and last rows ran again with the same result.

Screenshots from #22055 show the same behavior in the app (other thread titles blurred):

Tests, before (main) Tests, after, while waiting Tests, after, with the result
main: back in the inbox while tests run branch: in Working while tests run branch: back with the result
Dev server, before (main) Dev server, after
main: stuck in Working branch: back in the inbox

Tests: vp test run passes for the shared hold rule and awareness, client-runtime presentation, web Sidebar.logic, mobile threadListV2, and the server's Claude adapter, thread management, settlement, restart note and continuation, projection store, delegated completion, runtime layer, awareness relay, and MCP suites. vp run check:changed passes.

Proved with live runs on an isolated dev server plus focused tests.

Reviewed with sol-loop: 1 round with GPT-6.1 Sol on high, before the copy-only description rewrite. Sol verdict: approved

Written by Claude Opus 5.5 in Claude Code, run from T3 Code. Tool description copy by Muse Wonder Full in Muse Code. Original implementation by @LovelyCodeMonkey with Claude Opus 5.5 in Claude Code.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

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

All reactions
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Oct 24, 2026
@macroscopeapp

macroscopeapp Bot commented Oct 24, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Needs Human Approval

Macroscope's review found this PR requires human approval — This PR adds a new background-wait tool and changes when monitors keep threads in Working or trigger restart recovery. Because it changes product defaults and affects thread lifecycle behavior across server and client layers, the change warrants human review.

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.

@github-actions

github-actions Bot commented Oct 24, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ The exact PR base did not have a successful artifact. Baseline uses the latest successful main measurement shown below.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 20.9 KiB 20.9 KiB 0 B (0.0%) 29.3 KiB ✅
Codex Live turn messages 2 2 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.2 KiB 21.2 KiB 0 B (0.0%) 29.3 KiB ✅
Claude Live turn messages 2 2 0 (0.0%) 8 ✅

Baseline: 8bcef34 · PR result: 1d989a7 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

All reactions

Sorry, something went wrong.

Uh oh!

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

@t3dotgg
t3dotgg force-pushed the takeover/pr-22055 branch from 8cb16fd to d2bc1f9 Compare October 24, 2026 23:55
@coderabbitai

coderabbitai Bot commented Oct 24, 2026 •
edited
Loading

Uh oh!

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

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: takeover/pr-22055
  • File: .coderabbit.config.ts
  • Commit: 1d989a7
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Team
  • Run ID: 1232a95b-345a-4df1-ac52-8d19e1f6cf39
Commits

Reviewing files that changed from the base of the PR and between d2bc1f9 and 1d989a7.

Files selected for processing: 1
  • apps/server/src/mcp/toolkits/orchestrator/tools.ts

Limit details: You’ve used all 10 included reviews currently available.

Walkthrough

The change adds an MCP tool to mark background tasks as awaited. Provider task rosters carry the awaited marker, and completion, restart-continuation, and thread-status behavior distinguish awaited work from other running commands and monitors.

Changes: Background wait behavior

Layer / File(s) Summary
Track awaited tasks on provider threads
packages/contracts/src/orchestrationV2.ts, packages/provider-core/src/server/ProviderAdapter.ts, apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts, apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts
The contracts add an optional awaited: true marker. The provider runtime adds an operation to mark or unmark task IDs. The Claude adapter tracks marks by thread, includes them in rosters, and removes them when tasks leave the roster.
Expose background waits through orchestration
apps/server/src/orchestration-v2/ThreadManagementService.ts, apps/server/src/orchestration-v2/ThreadManagementService.test.ts, apps/server/src/mcp/toolkits/orchestrator/*, packages/shared/src/t3McpToolPresentation.ts, packages/client-runtime/src/t3ToolSummary.ts, packages/client-runtime/src/work-log/presentation.ts
The thread-management service calls the provider runtime and returns matched and unmatched IDs. The t3_background_wait MCP tool accepts task IDs and an optional waiting flag. Tool presentation and summaries include the new action.
Apply awaited state to completion and thread status
packages/shared/src/orchestrationV2PendingBackgroundWork.ts, apps/server/src/orchestration-v2/RestartBackgroundNote.ts, apps/server/src/orchestration-v2/runtimeLayer.test.ts, apps/server/src/orchestration-v2/RestartBackgroundNote.test.ts, apps/server/src/orchestration-v2/RestartContinuation.test.ts, apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts, apps/server/src/orchestration-v2/ProjectionStore.test.ts, packages/shared/src/*test.ts, packages/client-runtime/src/state/*, apps/server/src/relay/AgentAwarenessRelay.test.ts, apps/web/src/components/Sidebar.logic.test.ts, apps/mobile/src/features/threads/threadListV2.test.ts, docs/internals/server-updates.md, docs/user/thread-sidebar.md, docs/user/updating.md
Commands and monitors hold completion when marked awaited; unmarked commands and monitors do not. Restart handling carries the awaited marker into cancelled-work checks. Tests and documentation reflect completion and thread-status behavior.

Priority: Normal

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Bug fix · Severity of issue fixed: Medium

Sequence Diagram(s)

sequenceDiagram
  participant OrchestratorToolkit
  participant ThreadManagementService
  participant ProviderAdapterV2SessionRuntime
  participant ClaudeAdapterV2
  OrchestratorToolkit->>ThreadManagementService: Submit task IDs and waiting flag
  ThreadManagementService->>ProviderAdapterV2SessionRuntime: Mark tasks on provider thread
  ProviderAdapterV2SessionRuntime->>ClaudeAdapterV2: Match IDs and update awaited marks
  ClaudeAdapterV2-->>ProviderAdapterV2SessionRuntime: Return matched IDs and updated roster
  ProviderAdapterV2SessionRuntime-->>ThreadManagementService: Return matched IDs
  ThreadManagementService-->>OrchestratorToolkit: Return matched and unmatched IDs
Loading

Possibly related issues

  • pingdotgg/t3code#17625: This change makes background work explicitly marked as awaited hold completion.

Possibly related PRs

  • pingdotgg/t3code#17885: Both changes affect Claude background-task wake behavior, at separate gates in the wake flow.
  • pingdotgg/t3code#22458: Both changes affect Working placement and completion notifications.
  • pingdotgg/t3code#24391: Both changes affect Claude provider-thread rosters around background-task completion and wake delivery.

Suggested labels: bugfix, takeover

Suggested reviewers: juliusmarminge, macroscopeapp

Merge Risk: Minimal · up to 1d989

No actionable merge-blocking risk is established for this change.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title "fix(threads): Working holds only background work the agent waits on" matches the main change. The changeset adds an agent-driven t3_background_wait mark and changes `backgroundWorkHoldsCo…
Description check Passed The description follows the template's main sections: Problem, Change, Scope and approval, and Verification. It explains the problem and the fix, and it lists the live runs and test suites that were r…
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.
Full details: Title check

Explanation

The title "fix(threads): Working holds only background work the agent waits on" matches the main change. The changeset adds an agent-driven t3_background_wait mark and changes backgroundWorkHoldsCompletion so unmarked commands and monitors no longer hold a thread in Working. The title is concise, uses a conventional commit prefix, and names the primary behavior change.

Full details: Description check

Explanation

The description follows the template's main sections: Problem, Change, Scope and approval, and Verification. It explains the problem and the fix, and it lists the live runs and test suites that were run. It links the replaced PR #22055 and the screenshots. The Scope and approval section does not link a triaged issue or maintainer approval, and it does not explain why the change qualifies without one. The description also has no explicit Problem heading for the bug reproduction steps beyond the live runs. The description is mostly complete, so the check passes, but the missing approval link should be added.

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

Usage-based review receipt

  • Mode: Continue automatically
  • Reviewed files: 1
  • Charged: $0.25
  • View usage details

Note

This review was completed with usage-based billing: files reviewed beyond your plan's included limits are billed at $0.25/file. View usage-based billing.

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.

@coderabbitai coderabbitai Bot mentioned this pull request Oct 25, 2026
fix(provider-acp): Grok monitors show as monitors in background work #24609
Merged
LovelyCodeMonkey and others added 5 commits October 24, 2026 17:06
@LovelyCodeMonkey @t3dotgg
fix(threads): Working holds only background work the agent waits on
6421ae4
A thread left Working while the agent was still waiting on a background
command (tests, a CI wait), and stayed stuck in Working while a dev-server
watchdog Monitor ran. Both came from deciding "the agent will come back" by
task kind: commands never held and monitors always did, but either can be a
wait or a process left running.

Agents now mark the background work they will resume from with the
t3_background_wait MCP tool. Marked tasks hold the thread in Working, block
completion alerts and auto-settle, and wake the agent after a
restart. Unmarked commands and monitors do neither. Subagents and PR
watches hold as before. Claude implements the mark on its roster entries,
so it ends with the task and resets with the process, and its system prompt
says when to call the tool, since Claude Code defers MCP tools behind
ToolSearch. Other providers report the tool as unsupported.
@LovelyCodeMonkey @t3dotgg
fix(threads): the work log no longer says a cleared background wait w…
f2c66b3
…as marked
@LovelyCodeMonkey @t3dotgg
docs: monitors the agent waits on also keep a thread in Working
0bc5b96
@t3dotgg @claude
docs: restart recovery only wakes for work the agent marked
35072e1
The restart-recovery doc still said any monitor wakes a settled run and a
shell never does, and the shellRuntime comment said only work that wakes
the agent holds it. Both now describe the awaited mark.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@t3dotgg @claude
chore(server): simpler t3_background_wait description
1d989a7
Shorter sentences and plain words, with the same facts. Copy drafted by
Muse Wonder Full in Muse Code. It now says only unmarked commands and
monitors never hold, since an unmarked subagent still does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@t3dotgg
t3dotgg force-pushed the takeover/pr-22055 branch from d2bc1f9 to 1d989a7 Compare October 25, 2026 00:06
@coderabbitai coderabbitai Bot mentioned this pull request Oct 25, 2026
fix(claude): keep the cleared conversation after process replacement #24168
Closed
@t3dotgg
t3dotgg merged commit 91ea0e1 into main Oct 25, 2026
30 of 31 checks passed

Uh oh!

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

@t3dotgg
t3dotgg deleted the takeover/pr-22055 branch October 25, 2026 00:36
@Yarden-zamir Yarden-zamir mentioned this pull request Oct 25, 2026
chore(sync): merge pingdotgg/t3code main Yarden-zamir/t3code#343
Merged
@jayleaton jayleaton mentioned this pull request Oct 25, 2026
merge: sync upstream pingdotgg/t3code main at 453bf01d20 jayleaton/ada#140
Merged
@t3dotgg t3dotgg mentioned this pull request Oct 25, 2026
fix(server): warn Claude that settling kills unmarked background waits #24681
Closed
sandscooling pushed a commit to sandscooling/t3code that referenced this pull request Oct 25, 2026
@kevlingo @claude
Merge remote-tracking branch 'origin/main' into kevlingo/features
52ebb34
Sync 1024d: 42 upstream commits to 8045537. 13 conflicts, mostly
pingdotgg#21514's comment cap; 72 fork comment blocks rewritten to fit it.
pingdotgg#24610's awaited mark joins the fork's held mark in one hold rule, the
crew rule now covers monitors, and the idle handoff counts awaited work.
pingdotgg#24104 guest sharing kept beside the fork's sidebar and notification
code.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@unlockdigital unlockdigital mentioned this pull request Oct 25, 2026
fix: integrate focused upstream lifecycle and security maintenance unlockdigital/t3code#4
Merged
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Oct 25, 2026
@github-actions
nightly: 0.1.3-nightly.20261025.3655
0ba7e93
## What's Changed
* perf(mobile): highlight code with native @pierre/highlights instead of Shiki by @juliusmarminge in pingdotgg/t3code#24544
* fix(desktop): support Linux distro protocol launchers by @juliusmarminge in pingdotgg/t3code#24591
* fix(provider-acp): force-kill terminal commands that ignore SIGTERM by @juliusmarminge in pingdotgg/t3code#24596
* fix(grok): invoke leading picked skills through native commands by @juliusmarminge in pingdotgg/t3code#24605
* fix(server): long agent turns no longer load whole when a thread opens by @t3dotgg in pingdotgg/t3code#24589
* fix(server): analytics stop counting reconnects, retries, and dev servers by @t3dotgg in pingdotgg/t3code#24601
* fix(acp): idle agent errors fail their turns by @juliusmarminge in pingdotgg/t3code#24615
* fix(provider-acp): Grok monitors show as monitors in background work by @t3dotgg in pingdotgg/t3code#24609
* feat(server): devices on the same network reach background services over LAN by @t3dotgg in pingdotgg/t3code#24588
* fix(codex): bound pending requests after app-server stdout closes by @juliusmarminge in pingdotgg/t3code#24600
* fix(cursor): discover built-in skills in the composer by @juliusmarminge in pingdotgg/t3code#24595
* fix(server): retry provider event writes after brief SQLite locks by @juliusmarminge in pingdotgg/t3code#24571
* fix(server): settle inactive threads with persisted open PR links by @juliusmarminge in pingdotgg/t3code#24617
* feat(mobile): Settings is a workspace tab, and tabs never open on an empty detail by @juliusmarminge in pingdotgg/t3code#24524
* feat(mobile): the folded Duo opens search from a search tab below the tab bar by @juliusmarminge in pingdotgg/t3code#24360
* revert(mobile): take the folded Duo search tab back out for now by @juliusmarminge in pingdotgg/t3code#24626
* fix(web): preview images outside the workspace by @juliusmarminge in pingdotgg/t3code#24627
* fix(threads): Working holds only background work the agent waits on by @t3dotgg in pingdotgg/t3code#24610
* fix(web): switched threads and Scroll to end land on the real end by @t3dotgg in pingdotgg/t3code#24622
* fix(web): attach DNG originals as generic files by @juliusmarminge in pingdotgg/t3code#24625
* fix(server): surface failed runtime request answer delivery by @juliusmarminge in pingdotgg/t3code#24616
* fix(preview): report navigation timeout accurately by @Ethereal49 in pingdotgg/t3code#24356
* fix(web): give PR row metadata room below the title by @juliusmarminge in pingdotgg/t3code#24553
* fix(mobile): center floating status actions by @PixPMusic in pingdotgg/t3code#24526
* fix(mobile): the iPhone new-chat button sits beside the tab bar on iOS 26.6 by @wojas in pingdotgg/t3code#24492
* fix(web): signed-out T3 Connect shows a Sign in button by @t3dotgg in pingdotgg/t3code#24636
* perf(mobile): stop menu fault logging and whole-list re-renders on Home by @juliusmarminge in pingdotgg/t3code#24646
* fix(mobile): preserve syntax and navigation in large diffs by @juliusmarminge in pingdotgg/t3code#24276
* perf(shell): cold connects skip idle subagent threads, a third of the thread list by @t3dotgg in pingdotgg/t3code#24648
* feat: share a thread with a guest who watches live and sends messages you approve by @t3dotgg in pingdotgg/t3code#24104
* fix(antigravity): say when sign-in cannot reach Google by @t3dotgg in pingdotgg/t3code#24652
* fix: canonicalize git.cafe pull request links by @maria-rcks in pingdotgg/t3code#22634
* feat(mobile): manage labels, edit PRs and comments, react, and refresh checks live by @juliusmarminge in pingdotgg/t3code#24602
* perf(web): highlight code with @pierre/highlights instead of Shiki by @maria-rcks in pingdotgg/t3code#23178
* perf(server): thread opens and live events send each message body once by @t3dotgg in pingdotgg/t3code#24647
* refactor: halve code comments and cap comment blocks at four lines by @maria-rcks in pingdotgg/t3code#21514
* chore: fit three comments to the four-line cap so lint passes on main by @t3dotgg in pingdotgg/t3code#24675
* fix(claude): ENABLE_TOOL_SEARCH=auto no longer costs 10x cache writes per session by @t3dotgg in pingdotgg/t3code#24654
* perf(orchestration): thread snapshots send each long ID once by @t3dotgg in pingdotgg/t3code#24643
* fix(mobile): keep visible diff files highlighted by @juliusmarminge in pingdotgg/t3code#24682
* fix(mobile): Settings split view keeps its selection and its header matches the page by @juliusmarminge in pingdotgg/t3code#24644
* fix(mobile): every Duo header blurs under the vertical bar, from one place by @juliusmarminge in pingdotgg/t3code#24671
* feat(settings): follow-ups steer the running turn by default by @maria-rcks in pingdotgg/t3code#24718
* fix(mobile): Duo threads no longer open shifted left by @juliusmarminge in pingdotgg/t3code#24732
* fix(mobile): PR links open in the app the same way they do on web by @juliusmarminge in pingdotgg/t3code#24738
* feat(web): command palette search finds options inside submenus by @maria-rcks in pingdotgg/t3code#24709

## New Contributors
* @Ethereal49 made their first contribution in pingdotgg/t3code#24356
* @wojas made their first contribution in pingdotgg/t3code#24492

**Full Changelog**: pingdotgg/t3code@v0.1.3-nightly.20261024.3643...v0.1.3-nightly.20261025.3655

Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.3-nightly.20261025.3655
@coderabbitai coderabbitai Bot mentioned this pull request Oct 25, 2026
fix(server): mobile push no longer says "completed" between runs #24769
Merged
@adampeterhiggins adampeterhiggins mentioned this pull request Oct 25, 2026
chore(sync): merge upstream/main through e57c093cdd adampeterhiggins/t3code#488
Merged
89 tasks done
@pmwoz pmwoz mentioned this pull request Oct 25, 2026
Mark awaited background commands and use thread search snippets in the adapter pmwoz/t3-pstack#48
Merged
@coderabbitai coderabbitai Bot mentioned this pull request Oct 25, 2026
fix(server): reject waits on foreground subagent background work #25036
Open
This was referenced Oct 25, 2026
fix(threads): Working holds only background work the agent waits on #22055
Closed
[Bug]: A Claude thread waiting on a background command sends a false "Thread completed" alert #15099
Closed
[Bug]: Thread auto-settles while the agent is still waiting on a background command #17625
Closed
@coderabbitai coderabbitai Bot mentioned this pull request Oct 26, 2026
feat(web): background work line shows the newest activity, no dots #25299
Merged
This was referenced Nov 12, 2026
fix(server): t3_thread_list counts threads waiting on background work as live #34674
Merged
fix(server): preserve delegated results across wake turns #34568
Merged
jeroenptrs added a commit to jeroenptrs/t3code that referenced this pull request Nov 12, 2026
@jeroenptrs @claude
test(server): reproduce a follow-up task finishing while the child's …
30e46ad
…subagent still runs

A parent sent its delegated child a follow-up with t3_thread_send. The
child's run started a native background subagent and ended. The follow-up
task got the run's interim reply as its result and the parent was told it
completed while the subagent kept running (pingdotgg#16603, the report from
jamesvillarrubia).

finalizeAppOwnedSubagent holds only the child's original task on
delegatedTaskProgress. A follow-up finalizes as soon as its own run ends,
and task_status and delegatedTaskResultPending take the same shortcut. The
new test seeds that sequence and fails today. It is quarantined under pingdotgg#16603
because a fix has to change all three places and route the later wake to the
same follow-up, which is what upstream pingdotgg#21877 does. Holding finalization
alone would still hand the parent the interim reply as the result.

The other cases from pingdotgg#16603 do not reproduce on this branch, and nothing
changes for them:

- Original task, nested native subagent still running: held until it ends,
  covered by "finalizes a child whose run ended before a nested subagent
  settled".
- Original task, background command still running: held while the command
  is marked awaited with t3_background_wait, covered by "finalizes a child
  whose run ended before a background command settled" and the awaited rows
  in SubagentProjection.test.ts. An unmarked command does not hold the task
  on purpose (pingdotgg#24610, pingdotgg#27468), so a child that leaves a dev server running
  still finishes. Counting every active command_execution turn item would
  undo that rule.

Refs pingdotgg#16603.

Written with Claude Opus 5.5 in Claude Code (T3 Code).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Igloczek Igloczek mentioned this pull request Nov 12, 2026
A thread waiting on its own background command shows as done unless the agent marks the wait; T3 could mark obvious waits itself #35214
Closed
This was referenced Nov 12, 2026
fix(opencode): support explicit background waits AndreiShenets/t3code#19
Closed
fix(opencode): support explicit background waits #35272
Merged
jeroenptrs added a commit to jeroenptrs/t3code that referenced this pull request Nov 13, 2026
@jeroenptrs @claude
test(server): reproduce a follow-up task finishing while the child's …
d7fe200
…subagent still runs

A parent sent its delegated child a follow-up with t3_thread_send. The
child's run started a native background subagent and ended. The follow-up
task got the run's interim reply as its result and the parent was told it
completed while the subagent kept running (pingdotgg#16603, the report from
jamesvillarrubia).

finalizeAppOwnedSubagent holds only the child's original task on
delegatedTaskProgress. A follow-up finalizes as soon as its own run ends,
and task_status and delegatedTaskResultPending take the same shortcut. The
new test seeds that sequence and fails today. It is quarantined under pingdotgg#16603
because a fix has to change all three places and route the later wake to the
same follow-up, which is what upstream pingdotgg#21877 does. Holding finalization
alone would still hand the parent the interim reply as the result.

The other cases from pingdotgg#16603 do not reproduce on this branch, and nothing
changes for them:

- Original task, nested native subagent still running: held until it ends,
  covered by "finalizes a child whose run ended before a nested subagent
  settled".
- Original task, background command still running: held while the command
  is marked awaited with t3_background_wait, covered by "finalizes a child
  whose run ended before a background command settled" and the awaited rows
  in SubagentProjection.test.ts. An unmarked command does not hold the task
  on purpose (pingdotgg#24610, pingdotgg#27468), so a child that leaves a dev server running
  still finishes. Counting every active command_execution turn item would
  undo that rule.

Refs pingdotgg#16603.

Written with Claude Opus 5.5 in Claude Code (T3 Code).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
jeroenptrs added a commit to jeroenptrs/t3code that referenced this pull request Nov 14, 2026
@jeroenptrs @claude
test(server): reproduce a follow-up task finishing while the child's …
580505a
…subagent still runs

A parent sent its delegated child a follow-up with t3_thread_send. The
child's run started a native background subagent and ended. The follow-up
task got the run's interim reply as its result and the parent was told it
completed while the subagent kept running (pingdotgg#16603, the report from
jamesvillarrubia).

finalizeAppOwnedSubagent holds only the child's original task on
delegatedTaskProgress. A follow-up finalizes as soon as its own run ends,
and task_status and delegatedTaskResultPending take the same shortcut. The
new test seeds that sequence and fails today. It is quarantined under pingdotgg#16603
because a fix has to change all three places and route the later wake to the
same follow-up, which is what upstream pingdotgg#21877 does. Holding finalization
alone would still hand the parent the interim reply as the result.

The other cases from pingdotgg#16603 do not reproduce on this branch, and nothing
changes for them:

- Original task, nested native subagent still running: held until it ends,
  covered by "finalizes a child whose run ended before a nested subagent
  settled".
- Original task, background command still running: held while the command
  is marked awaited with t3_background_wait, covered by "finalizes a child
  whose run ended before a background command settled" and the awaited rows
  in SubagentProjection.test.ts. An unmarked command does not hold the task
  on purpose (pingdotgg#24610, pingdotgg#27468), so a child that leaves a dev server running
  still finishes. Counting every active command_execution turn item would
  undo that rule.

Refs pingdotgg#16603.

Written with Claude Opus 5.5 in Claude Code (T3 Code).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Sniezka1927 Sniezka1927 mentioned this pull request Nov 14, 2026
Show a channel member's work after its background command nightly-labs/openbot#9444
Merged
6 of 10 tasks
jeroenptrs added a commit to jeroenptrs/t3code that referenced this pull request Nov 15, 2026
@jeroenptrs @claude
test(server): reproduce a follow-up task finishing while the child's …
9f58083
…subagent still runs

A parent sent its delegated child a follow-up with t3_thread_send. The
child's run started a native background subagent and ended. The follow-up
task got the run's interim reply as its result and the parent was told it
completed while the subagent kept running (pingdotgg#16603, the report from
jamesvillarrubia).

finalizeAppOwnedSubagent holds only the child's original task on
delegatedTaskProgress. A follow-up finalizes as soon as its own run ends,
and task_status and delegatedTaskResultPending take the same shortcut. The
new test seeds that sequence and fails today. It is quarantined under pingdotgg#16603
because a fix has to change all three places and route the later wake to the
same follow-up, which is what upstream pingdotgg#21877 does. Holding finalization
alone would still hand the parent the interim reply as the result.

The other cases from pingdotgg#16603 do not reproduce on this branch, and nothing
changes for them:

- Original task, nested native subagent still running: held until it ends,
  covered by "finalizes a child whose run ended before a nested subagent
  settled".
- Original task, background command still running: held while the command
  is marked awaited with t3_background_wait, covered by "finalizes a child
  whose run ended before a background command settled" and the awaited rows
  in SubagentProjection.test.ts. An unmarked command does not hold the task
  on purpose (pingdotgg#24610, pingdotgg#27468), so a child that leaves a dev server running
  still finishes. Counting every active command_execution turn item would
  undo that rule.

Refs pingdotgg#16603.

Written with Claude Opus 5.5 in Claude Code (T3 Code).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
jeroenptrs added a commit to jeroenptrs/t3code that referenced this pull request Nov 16, 2026
@jeroenptrs @claude
test(server): reproduce a follow-up task finishing while the child's …
132abda
…subagent still runs

A parent sent its delegated child a follow-up with t3_thread_send. The
child's run started a native background subagent and ended. The follow-up
task got the run's interim reply as its result and the parent was told it
completed while the subagent kept running (pingdotgg#16603, the report from
jamesvillarrubia).

finalizeAppOwnedSubagent holds only the child's original task on
delegatedTaskProgress. A follow-up finalizes as soon as its own run ends,
and task_status and delegatedTaskResultPending take the same shortcut. The
new test seeds that sequence and fails today. It is quarantined under pingdotgg#16603
because a fix has to change all three places and route the later wake to the
same follow-up, which is what upstream pingdotgg#21877 does. Holding finalization
alone would still hand the parent the interim reply as the result.

The other cases from pingdotgg#16603 do not reproduce on this branch, and nothing
changes for them:

- Original task, nested native subagent still running: held until it ends,
  covered by "finalizes a child whose run ended before a nested subagent
  settled".
- Original task, background command still running: held while the command
  is marked awaited with t3_background_wait, covered by "finalizes a child
  whose run ended before a background command settled" and the awaited rows
  in SubagentProjection.test.ts. An unmarked command does not hold the task
  on purpose (pingdotgg#24610, pingdotgg#27468), so a child that leaves a dev server running
  still finishes. Counting every active command_execution turn item would
  undo that rule.

Refs pingdotgg#16603.

Written with Claude Opus 5.5 in Claude Code (T3 Code).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 16, 2026
fix(codex): support explicit background waits #37572
Open
fix(server): a Claude background sleep timer wakes the agent after a restart #37875
Merged
jeroenptrs added a commit to jeroenptrs/t3code that referenced this pull request Nov 17, 2026
@jeroenptrs @claude
test(server): reproduce a follow-up task finishing while the child's …
cfc2b7c
…subagent still runs

A parent sent its delegated child a follow-up with t3_thread_send. The
child's run started a native background subagent and ended. The follow-up
task got the run's interim reply as its result and the parent was told it
completed while the subagent kept running (pingdotgg#16603, the report from
jamesvillarrubia).

finalizeAppOwnedSubagent holds only the child's original task on
delegatedTaskProgress. A follow-up finalizes as soon as its own run ends,
and task_status and delegatedTaskResultPending take the same shortcut. The
new test seeds that sequence and fails today. It is quarantined under pingdotgg#16603
because a fix has to change all three places and route the later wake to the
same follow-up, which is what upstream pingdotgg#21877 does. Holding finalization
alone would still hand the parent the interim reply as the result.

The other cases from pingdotgg#16603 do not reproduce on this branch, and nothing
changes for them:

- Original task, nested native subagent still running: held until it ends,
  covered by "finalizes a child whose run ended before a nested subagent
  settled".
- Original task, background command still running: held while the command
  is marked awaited with t3_background_wait, covered by "finalizes a child
  whose run ended before a background command settled" and the awaited rows
  in SubagentProjection.test.ts. An unmarked command does not hold the task
  on purpose (pingdotgg#24610, pingdotgg#27468), so a child that leaves a dev server running
  still finishes. Counting every active command_execution turn item would
  undo that rule.

Refs pingdotgg#16603.

Written with Claude Opus 5.5 in Claude Code (T3 Code).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
jeroenptrs added a commit to jeroenptrs/t3code that referenced this pull request Nov 18, 2026
@jeroenptrs @claude
test(server): reproduce a follow-up task finishing while the child's …
9e778a7
…subagent still runs

A parent sent its delegated child a follow-up with t3_thread_send. The
child's run started a native background subagent and ended. The follow-up
task got the run's interim reply as its result and the parent was told it
completed while the subagent kept running (pingdotgg#16603, the report from
jamesvillarrubia).

finalizeAppOwnedSubagent holds only the child's original task on
delegatedTaskProgress. A follow-up finalizes as soon as its own run ends,
and task_status and delegatedTaskResultPending take the same shortcut. The
new test seeds that sequence and fails today. It is quarantined under pingdotgg#16603
because a fix has to change all three places and route the later wake to the
same follow-up, which is what upstream pingdotgg#21877 does. Holding finalization
alone would still hand the parent the interim reply as the result.

The other cases from pingdotgg#16603 do not reproduce on this branch, and nothing
changes for them:

- Original task, nested native subagent still running: held until it ends,
  covered by "finalizes a child whose run ended before a nested subagent
  settled".
- Original task, background command still running: held while the command
  is marked awaited with t3_background_wait, covered by "finalizes a child
  whose run ended before a background command settled" and the awaited rows
  in SubagentProjection.test.ts. An unmarked command does not hold the task
  on purpose (pingdotgg#24610, pingdotgg#27468), so a child that leaves a dev server running
  still finishes. Counting every active command_execution turn item would
  undo that rule.

Refs pingdotgg#16603.

Written with Claude Opus 5.5 in Claude Code (T3 Code).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 18, 2026
fix(server): threads stay in Working when Claude or OpenCode marks a background wait between turns #38638
Merged
fix(web): Background work details show a subagent as Waiting, like the line above #38763
Merged
fix(server): Claude agents stop polling after t3_background_wait returns #40197
Closed
fix(muse): keep background monitors visible and stoppable #40435
Open
fix(web): Keep background announcements quiet for held or stopped runs #40585
Merged
jeroenptrs added a commit to jeroenptrs/t3code that referenced this pull request Nov 22, 2026
@jeroenptrs @claude
test(server): reproduce a follow-up task finishing while the child's …
968dcea
…subagent still runs

A parent sent its delegated child a follow-up with t3_thread_send. The
child's run started a native background subagent and ended. The follow-up
task got the run's interim reply as its result and the parent was told it
completed while the subagent kept running (pingdotgg#16603, the report from
jamesvillarrubia).

finalizeAppOwnedSubagent holds only the child's original task on
delegatedTaskProgress. A follow-up finalizes as soon as its own run ends,
and task_status and delegatedTaskResultPending take the same shortcut. The
new test seeds that sequence and fails today. It is quarantined under pingdotgg#16603
because a fix has to change all three places and route the later wake to the
same follow-up, which is what upstream pingdotgg#21877 does. Holding finalization
alone would still hand the parent the interim reply as the result.

The other cases from pingdotgg#16603 do not reproduce on this branch, and nothing
changes for them:

- Original task, nested native subagent still running: held until it ends,
  covered by "finalizes a child whose run ended before a nested subagent
  settled".
- Original task, background command still running: held while the command
  is marked awaited with t3_background_wait, covered by "finalizes a child
  whose run ended before a background command settled" and the awaited rows
  in SubagentProjection.test.ts. An unmarked command does not hold the task
  on purpose (pingdotgg#24610, pingdotgg#27468), so a child that leaves a dev server running
  still finishes. Counting every active command_execution turn item would
  undo that rule.

Refs pingdotgg#16603.

Written with Claude Opus 5.5 in Claude Code (T3 Code).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
jeroenptrs added a commit to jeroenptrs/t3code that referenced this pull request Nov 23, 2026
@jeroenptrs @claude
test(server): reproduce a follow-up task finishing while the child's …
83dfef7
…subagent still runs

A parent sent its delegated child a follow-up with t3_thread_send. The
child's run started a native background subagent and ended. The follow-up
task got the run's interim reply as its result and the parent was told it
completed while the subagent kept running (pingdotgg#16603, the report from
jamesvillarrubia).

finalizeAppOwnedSubagent holds only the child's original task on
delegatedTaskProgress. A follow-up finalizes as soon as its own run ends,
and task_status and delegatedTaskResultPending take the same shortcut. The
new test seeds that sequence and fails today. It is quarantined under pingdotgg#16603
because a fix has to change all three places and route the later wake to the
same follow-up, which is what upstream pingdotgg#21877 does. Holding finalization
alone would still hand the parent the interim reply as the result.

The other cases from pingdotgg#16603 do not reproduce on this branch, and nothing
changes for them:

- Original task, nested native subagent still running: held until it ends,
  covered by "finalizes a child whose run ended before a nested subagent
  settled".
- Original task, background command still running: held while the command
  is marked awaited with t3_background_wait, covered by "finalizes a child
  whose run ended before a background command settled" and the awaited rows
  in SubagentProjection.test.ts. An unmarked command does not hold the task
  on purpose (pingdotgg#24610, pingdotgg#27468), so a child that leaves a dev server running
  still finishes. Counting every active command_execution turn item would
  undo that rule.

Refs pingdotgg#16603.

Written with Claude Opus 5.5 in Claude Code (T3 Code).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
jeroenptrs added a commit to jeroenptrs/t3code that referenced this pull request Nov 24, 2026
@jeroenptrs @claude
test(server): reproduce a follow-up task finishing while the child's …
989226b
…subagent still runs

A parent sent its delegated child a follow-up with t3_thread_send. The
child's run started a native background subagent and ended. The follow-up
task got the run's interim reply as its result and the parent was told it
completed while the subagent kept running (pingdotgg#16603, the report from
jamesvillarrubia).

finalizeAppOwnedSubagent holds only the child's original task on
delegatedTaskProgress. A follow-up finalizes as soon as its own run ends,
and task_status and delegatedTaskResultPending take the same shortcut. The
new test seeds that sequence and fails today. It is quarantined under pingdotgg#16603
because a fix has to change all three places and route the later wake to the
same follow-up, which is what upstream pingdotgg#21877 does. Holding finalization
alone would still hand the parent the interim reply as the result.

The other cases from pingdotgg#16603 do not reproduce on this branch, and nothing
changes for them:

- Original task, nested native subagent still running: held until it ends,
  covered by "finalizes a child whose run ended before a nested subagent
  settled".
- Original task, background command still running: held while the command
  is marked awaited with t3_background_wait, covered by "finalizes a child
  whose run ended before a background command settled" and the awaited rows
  in SubagentProjection.test.ts. An unmarked command does not hold the task
  on purpose (pingdotgg#24610, pingdotgg#27468), so a child that leaves a dev server running
  still finishes. Counting every active command_execution turn item would
  undo that rule.

Refs pingdotgg#16603.

Written with Claude Opus 5.5 in Claude Code (T3 Code).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
jeroenptrs added a commit to jeroenptrs/t3code that referenced this pull request Nov 25, 2026
@jeroenptrs @claude
test(server): reproduce a follow-up task finishing while the child's …
cbf9e87
…subagent still runs

A parent sent its delegated child a follow-up with t3_thread_send. The
child's run started a native background subagent and ended. The follow-up
task got the run's interim reply as its result and the parent was told it
completed while the subagent kept running (pingdotgg#16603, the report from
jamesvillarrubia).

finalizeAppOwnedSubagent holds only the child's original task on
delegatedTaskProgress. A follow-up finalizes as soon as its own run ends,
and task_status and delegatedTaskResultPending take the same shortcut. The
new test seeds that sequence and fails today. It is quarantined under pingdotgg#16603
because a fix has to change all three places and route the later wake to the
same follow-up, which is what upstream pingdotgg#21877 does. Holding finalization
alone would still hand the parent the interim reply as the result.

The other cases from pingdotgg#16603 do not reproduce on this branch, and nothing
changes for them:

- Original task, nested native subagent still running: held until it ends,
  covered by "finalizes a child whose run ended before a nested subagent
  settled".
- Original task, background command still running: held while the command
  is marked awaited with t3_background_wait, covered by "finalizes a child
  whose run ended before a background command settled" and the awaited rows
  in SubagentProjection.test.ts. An unmarked command does not hold the task
  on purpose (pingdotgg#24610, pingdotgg#27468), so a child that leaves a dev server running
  still finishes. Counting every active command_execution turn item would
  undo that rule.

Refs pingdotgg#16603.

Written with Claude Opus 5.5 in Claude Code (T3 Code).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
jeroenptrs added a commit to jeroenptrs/t3code that referenced this pull request Nov 26, 2026
@jeroenptrs @claude
test(server): reproduce a follow-up task finishing while the child's …
b365f4b
…subagent still runs

A parent sent its delegated child a follow-up with t3_thread_send. The
child's run started a native background subagent and ended. The follow-up
task got the run's interim reply as its result and the parent was told it
completed while the subagent kept running (pingdotgg#16603, the report from
jamesvillarrubia).

finalizeAppOwnedSubagent holds only the child's original task on
delegatedTaskProgress. A follow-up finalizes as soon as its own run ends,
and task_status and delegatedTaskResultPending take the same shortcut. The
new test seeds that sequence and fails today. It is quarantined under pingdotgg#16603
because a fix has to change all three places and route the later wake to the
same follow-up, which is what upstream pingdotgg#21877 does. Holding finalization
alone would still hand the parent the interim reply as the result.

The other cases from pingdotgg#16603 do not reproduce on this branch, and nothing
changes for them:

- Original task, nested native subagent still running: held until it ends,
  covered by "finalizes a child whose run ended before a nested subagent
  settled".
- Original task, background command still running: held while the command
  is marked awaited with t3_background_wait, covered by "finalizes a child
  whose run ended before a background command settled" and the awaited rows
  in SubagentProjection.test.ts. An unmarked command does not hold the task
  on purpose (pingdotgg#24610, pingdotgg#27468), so a child that leaves a dev server running
  still finishes. Counting every active command_execution turn item would
  undo that rule.

Refs pingdotgg#16603.

Written with Claude Opus 5.5 in Claude Code (T3 Code).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
jeroenptrs added a commit to jeroenptrs/t3code that referenced this pull request Nov 27, 2026
@jeroenptrs @claude
test(server): reproduce a follow-up task finishing while the child's …
ed14b65
…subagent still runs

A parent sent its delegated child a follow-up with t3_thread_send. The
child's run started a native background subagent and ended. The follow-up
task got the run's interim reply as its result and the parent was told it
completed while the subagent kept running (pingdotgg#16603, the report from
jamesvillarrubia).

finalizeAppOwnedSubagent holds only the child's original task on
delegatedTaskProgress. A follow-up finalizes as soon as its own run ends,
and task_status and delegatedTaskResultPending take the same shortcut. The
new test seeds that sequence and fails today. It is quarantined under pingdotgg#16603
because a fix has to change all three places and route the later wake to the
same follow-up, which is what upstream pingdotgg#21877 does. Holding finalization
alone would still hand the parent the interim reply as the result.

The other cases from pingdotgg#16603 do not reproduce on this branch, and nothing
changes for them:

- Original task, nested native subagent still running: held until it ends,
  covered by "finalizes a child whose run ended before a nested subagent
  settled".
- Original task, background command still running: held while the command
  is marked awaited with t3_background_wait, covered by "finalizes a child
  whose run ended before a background command settled" and the awaited rows
  in SubagentProjection.test.ts. An unmarked command does not hold the task
  on purpose (pingdotgg#24610, pingdotgg#27468), so a child that leaves a dev server running
  still finishes. Counting every active command_execution turn item would
  undo that rule.

Refs pingdotgg#16603.

Written with Claude Opus 5.5 in Claude Code (T3 Code).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 27, 2026
[Bug]: Codex threads read as done while the agent waits on a background command #44016
Open
fix(server): Codex threads stay Working while the agent waits on a background command #44017
Open
niieani-agent-automation Bot pushed a commit to niieani/t3code that referenced this pull request Nov 27, 2026
@niieani @claude
fix(server): Codex threads stay Working while the agent waits on a ba…
eeaf5c8
…ckground command

Codex reports background terminals only as command turn items, and its
adapter had no `t3_background_wait` support, so a Codex thread waiting on
its tests read as done in the sidebar, attention and auto-settle.

Codex now answers `t3_background_wait`: it matches a running root command
by its terminal session id (what the agent sees) or item id, and marks the
command turn item `awaited`. Pending background work carries that mark,
so the command holds the thread like a Claude, Cursor or OpenCode wait.
Codex gets a short instruction on when to use the tool. Every background
command still wakes Codex, so `completionWake` alone holds nothing, as
pingdotgg#24610 decided for dev servers.

Vault-Task: Report Codex background commands as awaited in T3's pending background work
Co-Authored-By: Claude Opus 5.5 <[email protected]>
jeroenptrs added a commit to jeroenptrs/t3code that referenced this pull request Nov 28, 2026
@jeroenptrs @claude
test(server): reproduce a follow-up task finishing while the child's …
1dc8665
…subagent still runs

A parent sent its delegated child a follow-up with t3_thread_send. The
child's run started a native background subagent and ended. The follow-up
task got the run's interim reply as its result and the parent was told it
completed while the subagent kept running (pingdotgg#16603, the report from
jamesvillarrubia).

finalizeAppOwnedSubagent holds only the child's original task on
delegatedTaskProgress. A follow-up finalizes as soon as its own run ends,
and task_status and delegatedTaskResultPending take the same shortcut. The
new test seeds that sequence and fails today. It is quarantined under pingdotgg#16603
because a fix has to change all three places and route the later wake to the
same follow-up, which is what upstream pingdotgg#21877 does. Holding finalization
alone would still hand the parent the interim reply as the result.

The other cases from pingdotgg#16603 do not reproduce on this branch, and nothing
changes for them:

- Original task, nested native subagent still running: held until it ends,
  covered by "finalizes a child whose run ended before a nested subagent
  settled".
- Original task, background command still running: held while the command
  is marked awaited with t3_background_wait, covered by "finalizes a child
  whose run ended before a background command settled" and the awaited rows
  in SubagentProjection.test.ts. An unmarked command does not hold the task
  on purpose (pingdotgg#24610, pingdotgg#27468), so a child that leaves a dev server running
  still finishes. Counting every active command_execution turn item would
  undo that rule.

Refs pingdotgg#16603.

Written with Claude Opus 5.5 in Claude Code (T3 Code).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

size:L 100-499 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.

2 participants

@t3dotgg @LovelyCodeMonkey
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.