GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(server): queue Copilot follow-ups without killing background agents by shivamhwp · Pull Request #26715 · pingdotgg/t3code Conversation
|
ApprovabilityVerdict: Needs Human Approval Macroscope's review found this PR requires human approval — Copilot follow-ups will queue instead of interrupting and restarting active work, preserving background agents but delaying redirection. This changes existing delivery behavior and requires a human decision on that product-default tradeoff. No code changes detected at You can add or adjust custom eligibility rules. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 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.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Copilot turn capabilities packages/provider-acp-registry/src/server/adapter.ts, apps/server/src/orchestration-v2/Adapters/AcpRegistryAdapterV2.test.ts |
The adapter disables interrupt-and-restart steering for Copilot. Tests check Copilot and Gemini turn capabilities. |
Active-run dispatch policy apps/server/src/orchestration-v2/CommandPolicy.ts, apps/server/src/orchestration-v2/CommandPolicy.test.ts |
Shared helpers identify active runs and resolve provider turn capabilities. When an active run supports neither steering mode and queued messages are supported, dispatch queues the message. Tests cover queueing, restart behavior, and a missing explicit target. |
Queued follow-up execution apps/server/src/orchestration-v2/SteeringCompletion.integration.test.ts |
The integration test verifies that a follow-up stays queued during the active turn, does not steer or interrupt it, and starts as a new turn after the current turn completes. |
Priority:
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Bug fix · Severity of issue fixed: Low
Possibly related issues
Possibly related PRs
Suggested labels: bugfix
Suggested reviewers: t3dotgg, juliusmarminge
e3135No merge-blocking regression was identified in the queued follow-up change.
Explanation
Issue [#26695] requires Copilot follow-ups to reach Copilot without cancelling native background agents. packages/provider-acp-registry/src/server/adapter.ts identifies registry and local Copilot commands and disables interrupt-and-restart steering. apps/server/src/orchestration-v2/CommandPolicy.ts queues active-run messages when the provider supports queued messages but supports neither safe steering method. The added integration test verifies that the follow-up remains queued, does not interrupt the current turn, and starts after completion. The capability and policy tests cover Copilot identification and automatic and explicit dispatch resolution.
Explanation
The changed source, policy logic, and regression tests directly support issue [#26695]. The Copilot capability change prevents destructive cancellation. The dispatch change selects the existing durable queue. The tests verify the required behavior and preserve provider-specific capability behavior. No unrelated product, client, protocol, or UI changes appear in the reviewed scope.
Explanation
The pull request description covers the problem, expected behavior, implementation changes, scope, linked issue, verification steps, observed results, platform limitations, and agent disclosure. The scope section does not include an explicit maintainer approval comment, but it links the triaged issue and clearly explains why the focused bug fix stays within scope.
Comment @coderabbitai help to get the list of available commands.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…ts (pingdotgg#26715) Co-authored-by: PR Batch Tester <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
**v0.1.5** · 25 changes from 5 contributors ## Highlights Turn a No project thread into a project. Use Claude and GPT models and thinking controls with Antigravity. Customize thread details, including usage limits. Switch all your installations between Stable and Nightly in one step. ## Fixes - New threads avoid providers that just hit usage limits (#26234) - Guest links no longer expose file diffs (#26538) - Claude edits open as diffs, not raw JSON (#26529) - Fixed a desktop security vulnerability in Brotli decompression (#26348) - Undo notices no longer cover threads (#26874) - Antigravity file reads no longer show unrelated errors (#26910) - T3 starts on fresh Ubuntu servers without libatomic (#26912) - Update everything no longer unnecessarily waits for npm (#26917) - Antigravity file reads no longer keep spinning (#26928) - Copilot follow-ups no longer kill background agents (#26715) <details> <summary>Full changelog</summary> ## What's Changed * fix(server,cursor,opencode): refresh provider usage when a turn hits its usage limit by @maria-rcks in pingdotgg/t3code#26234 * fix(web): keep tool groups collapsed after a usage-limit pause by @shivamhwp in pingdotgg/t3code#24937 * fix(mobile): photo-library PNGs no longer fail after resizing by @shivamhwp in pingdotgg/t3code#26522 * fix(server): guest links no longer return file diffs by @nexxeln in pingdotgg/t3code#26538 * fix(claude): Open diff shows Claude edits as a diff instead of raw JSON by @nexxeln in pingdotgg/t3code#26529 * chore: vouch nexxeln by @t3dotgg in pingdotgg/t3code#26812 * feat(web): Labs toggle keeps 5h, weekly, and context limits in view by @t3dotgg in pingdotgg/t3code#26859 * fix(desktop): bump Electron to 44.10.0 for the Node.js Brotli fix (CVE-2026-111497) by @nabettu in pingdotgg/t3code#26348 * chore: make agent mistakes fail early by @t3dotgg in pingdotgg/t3code#26167 * feat(marketing): hero shows four agents running at once by @t3dotgg in pingdotgg/t3code#26875 * fix(web): undo notice moves to the sidebar footer so it never covers a thread by @t3dotgg in pingdotgg/t3code#26874 * feat: turn a No project thread into a project by @t3dotgg in pingdotgg/t3code#26767 * feat(antigravity): Claude and GPT models, thinking levels, and diff edits by @t3dotgg in pingdotgg/t3code#26876 * feat(web): choose what the thread details card shows by @t3dotgg in pingdotgg/t3code#26904 * feat(updates): switch your whole fleet between Stable and Nightly in one step by @t3dotgg in pingdotgg/t3code#26288 * fix(antigravity): file reads no longer show unrelated errors by @t3dotgg in pingdotgg/t3code#26910 * feat(release): release notes and the update popover open with a short note by @t3dotgg in pingdotgg/t3code#26893 * fix(cli): t3 starts on a fresh Ubuntu server without libatomic by @t3dotgg in pingdotgg/t3code#26912 * fix(web): update everything no longer waits on npm for service hosts by @t3dotgg in pingdotgg/t3code#26917 * test(web): pin the npm wait floor for update everything by @t3dotgg in pingdotgg/t3code#26921 * fix(antigravity): served reads stop spinning and duplicate model names are labeled by @t3dotgg in pingdotgg/t3code#26928 * fix(server): queue Copilot follow-ups without killing background agents by @shivamhwp in pingdotgg/t3code#26715 * fix(web): Antigravity effort no longer shows a speedometer in the composer by @t3dotgg in pingdotgg/t3code#26929 * fix(release): Linux CLI archives build on runners without package docs by @t3dotgg in pingdotgg/t3code#26932 **Full Changelog**: pingdotgg/t3code@v0.1.4...v0.1.5 </details> Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.5
**v0.1.5-nightly.20261029.3877** · 10 changes from 2 contributors ## Highlights Switch your servers and desktop apps between Stable and Nightly together. Release notes now open with a concise summary. ## Fixes - Antigravity file reads no longer show unrelated errors (#26910) - T3 starts on fresh Ubuntu servers without libatomic (#26912) - Update everything no longer skips background-service hosts (#26917) - Antigravity file reads no longer spin until completion (#26928) - Duplicate Antigravity model names are distinguishable (#26928) - Copilot follow-ups no longer kill background agents (#26715) <details> <summary>Full changelog</summary> ## What's Changed * feat(updates): switch your whole fleet between Stable and Nightly in one step by @t3dotgg in pingdotgg/t3code#26288 * fix(antigravity): file reads no longer show unrelated errors by @t3dotgg in pingdotgg/t3code#26910 * feat(release): release notes and the update popover open with a short note by @t3dotgg in pingdotgg/t3code#26893 * fix(cli): t3 starts on a fresh Ubuntu server without libatomic by @t3dotgg in pingdotgg/t3code#26912 * fix(web): update everything no longer waits on npm for service hosts by @t3dotgg in pingdotgg/t3code#26917 * test(web): pin the npm wait floor for update everything by @t3dotgg in pingdotgg/t3code#26921 * fix(antigravity): served reads stop spinning and duplicate model names are labeled by @t3dotgg in pingdotgg/t3code#26928 * fix(server): queue Copilot follow-ups without killing background agents by @shivamhwp in pingdotgg/t3code#26715 * fix(web): Antigravity effort no longer shows a speedometer in the composer by @t3dotgg in pingdotgg/t3code#26929 * fix(release): Linux CLI archives build on runners without package docs by @t3dotgg in pingdotgg/t3code#26932 **Full Changelog**: pingdotgg/t3code@v0.1.5-nightly.20261029.3873...v0.1.5-nightly.20261029.3877 </details> Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.5-nightly.20261029.3877
* feat(antigravity): Claude and GPT models, thinking levels, and diff edits (pingdotgg#26876) Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(web): choose what the thread details card shows (pingdotgg#26904) Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(updates): switch your whole fleet between Stable and Nightly in one step (pingdotgg#26288) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(antigravity): file reads no longer show unrelated errors (pingdotgg#26910) Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(release): release notes and the update popover open with a short note (pingdotgg#26893) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(cli): t3 starts on a fresh Ubuntu server without libatomic (pingdotgg#26912) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(web): update everything no longer waits on npm for service hosts (pingdotgg#26917) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(web): pin the npm wait floor for update everything (pingdotgg#26921) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(antigravity): served reads stop spinning and duplicate model names are labeled (pingdotgg#26928) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(server): queue Copilot follow-ups without killing background agents (pingdotgg#26715) Co-authored-by: PR Batch Tester <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(web): Antigravity effort no longer shows a speedometer in the composer (pingdotgg#26929) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(release): Linux CLI archives build on runners without package docs (pingdotgg#26932) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(web): reconnecting notice no longer shifts the new thread composer (pingdotgg#26958) Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(marketing): homepage looks like the app (pingdotgg#26960) Co-authored-by: Claude Opus 5.5 <[email protected]> * chore(release): prepare v0.1.5 * fix(cli): restore Windows desktop launcher console input (pingdotgg#24870) Co-authored-by: Nathan Shan <[email protected]> Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com> Co-authored-by: Utkarsh Patil <[email protected]> * feat(settings): add and list 1Password secret providers behind T3CODE_FEATURE_SECRETS (pingdotgg#25709) Signed-off-by: Yordis Prieto <[email protected]> Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(mobile): use monospace in the Android terminal preview (pingdotgg#23401) Co-authored-by: GPT-6.1 Sol <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(web): edit from here uses a pencil icon (pingdotgg#21878) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(desktop): clear Cache Storage when deleting browser profile data (pingdotgg#22002) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(web): respect reduced motion in thread loading controls (pingdotgg#22100) Co-authored-by: SAPHID <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(provider-acp): redact API keys with underscores in ACP stderr logs (pingdotgg#24015) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(provider-core): redact compound credential keys in provider errors (pingdotgg#23313) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(web): show rounded diff counts as 1m instead of 1000k (pingdotgg#23723) Co-authored-by: GPT-6.1 Sol <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(desktop): a timed-out login-shell probe no longer skips the server's PATH repair (pingdotgg#21771) Co-authored-by: maria-rcks <[email protected]> * fix(server): keep the previous preview browser version on a shared home (pingdotgg#23771) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(settings): servers check secret provider writes and keep unknown configs to themselves (pingdotgg#27044) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(web): keep a closed split terminal's tab in view (pingdotgg#22106) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(web): the ~ breadcrumb opens the home folder (pingdotgg#22412) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(gitlab): accept merge request URLs from self-hosted hosts (pingdotgg#23848) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(server): commits no longer land on a branch switched in mid-action (pingdotgg#24473) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(server): image attachments report their size when the T3 home is behind a symlink (pingdotgg#24245) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(ssh): skip directories in config includes (pingdotgg#25187) Co-authored-by: Alex Southwell <[email protected]> * fix(server): Authorized clients names Edge, Firefox and Opera on phones correctly (pingdotgg#23340) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(mobile): fork rows show a readable label instead of a thread ID (pingdotgg#22064) Co-authored-by: Jeremiah Jordan <[email protected]> Co-authored-by: GPT-6.1-Sol <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(markdown): formulas ending in a comma render (pingdotgg#22883) Co-authored-by: maria-rcks <[email protected]> * fix(scripts): dev runner expands ~ in --home-dir and T3CODE_HOME (pingdotgg#25560) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(desktop): keep development protocol requests on the configured server (pingdotgg#22010) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(mobile): apply terminal toolbar modifiers to arrow keys (pingdotgg#22161) Co-authored-by: GPT-6.1 Sol <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(server): clean old logs and artifacts under a symlinked T3 home (pingdotgg#24097) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(server): preserve URL arguments in Android device actions (pingdotgg#25205) Co-authored-by: Alex Southwell <[email protected]> * fix(server): keep terminal history after cancelled sequences (pingdotgg#25193) Co-authored-by: Aditya Garud <[email protected]> * fix(auth): accept a typed pairing code regardless of letter case (pingdotgg#22089) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(web): find in thread opens from the thread title menu, so phones can reach it (pingdotgg#22352) Co-authored-by: maria-rcks <[email protected]> * fix(desktop): resolve executable commands when checking CLI shadowing (pingdotgg#22046) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(server): SQLite temp files no longer block the event loop (pingdotgg#24194) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(server): a branch named like a tag no longer reads as heads/<name> (pingdotgg#24258) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(server): cap generated worktree folder names (pingdotgg#25212) Co-authored-by: Dara Adedeji <[email protected]> * perf(server): checkpoint capture scans the index listing by record instead of by byte (pingdotgg#21329) Co-authored-by: maria-rcks <[email protected]> * fix(server): PR discovery sweeps skip hidden subagent threads (pingdotgg#26983) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(shared): stop parsing CLI flags after -- (pingdotgg#25204) Co-authored-by: Simone <[email protected]> * fix(server): remove abandoned v1 database copies on startup (pingdotgg#25301) Co-authored-by: Matěj Suchánek <[email protected]> * fix(web): Enter no longer skips an unanswered question (pingdotgg#23626) Co-authored-by: maria-rcks <[email protected]> * fix(web): keep wide characters in terminal links (pingdotgg#24013) Co-authored-by: GPT-6.1 Sol <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(server): session stops no longer trigger storage sweeps unless a deleted worktree waits (pingdotgg#26038) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(provider-core): subagent threads no longer inherit the parent's pin (pingdotgg#21271) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(device): report failed Android permission changes (pingdotgg#22358) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: GPT-6.1 Sol <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(server): thread lists load beyond SQLite variable limit (pingdotgg#25696) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(server): allow large git status metadata (pingdotgg#25207) Co-authored-by: Alex Southwell <[email protected]> * perf(mobile): flatten large file trees without copying descendants (pingdotgg#21276) Co-authored-by: maria-rcks <[email protected]> * fix(web): show theme conflicts even when another import fails (pingdotgg#23223) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(usage): reject cyclic model mappings before saving (pingdotgg#23963) Co-authored-by: GPT-6.1 Sol <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(settings): offer Use existing CLI in managed Codex settings (pingdotgg#23160) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(git): honor project provider settings (pingdotgg#23672) Co-authored-by: Tejas Parmar <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(desktop): force-close stalled Linux MIME cache helpers (pingdotgg#25210) Co-authored-by: Simone <[email protected]> * fix(cli): auth pairing create rejects a --base-url without http(s):// (pingdotgg#23343) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(server): signed asset and upload URLs stay out of HTTP traces (pingdotgg#24556) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(server): clone errors no longer show a token from the URL's query (pingdotgg#24698) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(claude): pass every --add-dir launch directory to Claude (pingdotgg#23281) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(composer): retry expired catalogs after failed discovery (pingdotgg#23174) Co-authored-by: GPT-6.1 Sol <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(auth): preserve pairing codes after scope rejection (pingdotgg#25222) Co-authored-by: Alex Southwell <[email protected]> * fix(mobile): discard unchanged queued edits after starting (pingdotgg#25232) Co-authored-by: Tristan Knight <[email protected]> * fix(server): t3 project commands wait for a busy server's reply (pingdotgg#24090) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(web): wait for fresh diff pages in review guides (pingdotgg#23225) Co-authored-by: GPT-6.1 Sol <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(server): Antigravity stops retrying session startup while signed out (pingdotgg#24939) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(web): create tasks on a permitted connected environment (pingdotgg#23244) Co-authored-by: GPT-6.1 Sol <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(mobile): recognize this thread's main checkout (pingdotgg#23764) Co-authored-by: GPT-6.1 Sol <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(web): keep usage hubs that share a host (pingdotgg#23767) Co-authored-by: GPT-6.1 Sol <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(github): read text and mixed-case pull request templates (pingdotgg#25025) Co-authored-by: Simone <[email protected]> * fix(web): keep HTML prototype selection rings visible (pingdotgg#23745) Co-authored-by: maria-rcks <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(mobile): list pull request repositories once per environment (pingdotgg#25219) Co-authored-by: Tristan Knight <[email protected]> * fix(shared): Open in Zed prefers zeditor over the ZFS zed on Linux (pingdotgg#23416) Signed-off-by: Pujitha Paladugu <[email protected]> Co-authored-by: Pujitha Paladugu <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(server): native Codex subagents no longer show the parent's reasoning effort (pingdotgg#24467) Co-authored-by: maria-rcks <[email protected]> * fix(server): mark unread works after an automatic compaction (pingdotgg#25286) Co-authored-by: maria-rcks <[email protected]> * fix(server): show MCP App forms from failed tool results (pingdotgg#25225) Co-authored-by: shivam <[email protected]> * fix(server): restore Linux session display for editor launches (pingdotgg#25228) Co-authored-by: Inaya Yousfi <[email protected]> * fix(usage): keep host identity across container recreation (pingdotgg#25220) Co-authored-by: maria <[email protected]> * fix(opencode): authenticate with the resolved server password (pingdotgg#25230) Co-authored-by: Alex Southwell <[email protected]> Co-authored-by: maria-rcks <[email protected]> * feat(web): allow resizing the file explorer (pingdotgg#25737) Co-authored-by: Rishabh Bothra <[email protected]> * fix(server): update shared Codex installs from their owning home (pingdotgg#25235) Co-authored-by: shivam <[email protected]> * fix(cli): keep published runtimes in place during installation (pingdotgg#24092) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: GPT-6.1 Sol <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(web): right panel launcher letters work on non-Latin keyboard layouts (pingdotgg#21508) Co-authored-by: maria-rcks <[email protected]> * fix(server): report a deleted or replaced ownership lock (pingdotgg#21886) Co-authored-by: maria-rcks <[email protected]> * fix(server): mark unread no longer brings back a dismissed wake (pingdotgg#24080) Co-authored-by: maria-rcks <[email protected]> * fix(mobile): stop refreshes in hidden PR Guide panes (pingdotgg#25486) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: maria-rcks <[email protected]> * fix(desktop): installing the t3 command no longer reports its own launcher as another t3 (pingdotgg#22375) Co-authored-by: Claude Sonnet 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> Co-authored-by: maria-rcks <[email protected]> * test(mobile): load the branch occupancy test without native sources (pingdotgg#27063) Co-authored-by: maria-rcks <[email protected]> * fix(settings): project edits keep overrides the client does not know (pingdotgg#24472) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]> Co-authored-by: maria-rcks <[email protected]> * fix(client): retry the permissions check after a reconnect (pingdotgg#27008) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(mobile): tab bar spans the screen on iOS before 26 (pingdotgg#27089) Co-authored-by: Claude Opus 5.5 <[email protected]> * perf(server): thread recovery reads are 10x faster (pingdotgg#27099) Co-authored-by: Claude Opus 5.5 <[email protected]> * perf(server): source control discovery no longer stalls up to 10s on Bitbucket (pingdotgg#27102) Co-authored-by: Claude Opus 5.5 <[email protected]> * perf: huge checkpoints ship up to 75x smaller to clients (pingdotgg#27110) Co-authored-by: Claude Opus 5.5 <[email protected]> * perf(server): sidebar shell loads 3x faster and startup thread counts 80x faster (pingdotgg#27106) Co-authored-by: Claude Opus 5.5 <[email protected]> * perf(server): preparing a run is 15x faster and uses 200x less memory (pingdotgg#27105) Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(server): traces name what grew the heap, for ~0.3µs per span (pingdotgg#27104) Co-authored-by: Claude Opus 5.5 <[email protected]> * perf(gitcafe): PR sync makes 2x fewer GitCafe requests for unchanged PRs (pingdotgg#27100) Co-authored-by: Claude Opus 5.5 <[email protected]> * perf(shared): SQLite reads stop queueing behind each other, up to 5x faster under load (pingdotgg#27097) Co-authored-by: Claude Opus 5.5 <[email protected]> * perf(server): git status runs in parallel and repo detection spawns 3x fewer git processes (pingdotgg#27103) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(client): dead connection routes are probed 30x less often (pingdotgg#27101) Co-authored-by: Claude Opus 5.5 <[email protected]> * perf(server): idle servers run 100x fewer background queries and 4.8M fewer spans a day (pingdotgg#27098) Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(devices): support Android EAS Simulator sessions (pingdotgg#26797) Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(web,mobile): image-only messages show the image, not the placeholder prompt (pingdotgg#26769) * ci(mobile): production deploys use a Release Manager Expo token (pingdotgg#27285) Co-authored-by: Claude Opus 5.5 <[email protected]> * ci(mobile): maintainers can deploy EAS previews for reviewed fork commits (pingdotgg#27292) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(server): agents yield CPU, tasks, and reclaim to the server under pressure (pingdotgg#27176) Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(server): `t3 service protect` keeps the server alive when agents fill memory (pingdotgg#27239) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(server): held queues release agent and scheduled messages once the thread completes a run (pingdotgg#27221) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(server): restart continuations retry failed starts and respect a parent's stop (pingdotgg#27222) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(server): Stop during a restart no longer leaves the thread stuck (pingdotgg#27141) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(scripts): bound check:changed concurrency and step time (pingdotgg#27227) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(shared): durations under 10s drop a trailing .0 (pingdotgg#27316) * feat(web): switch the composer between rich text and Markdown source from a button or mod+/ (pingdotgg#26777) * fix(server): t3_thread_organize rejects unknown arguments instead of archiving the caller (pingdotgg#26718) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(web): composer Markdown source button shows the pilcrow again (pingdotgg#27375) * revert(web): remove the composer rich text toggle button and mod+/ shortcut (pingdotgg#27390) * fix(server): HTML preview browsers quit when done instead of waiting to be killed (pingdotgg#27224) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(terminal): retain and pace slow fallback process queries (pingdotgg#24640) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(server): show readable provider runtime failure banners (pingdotgg#24614) Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: AdEx-Partners-DE <[email protected]> * fix(gitlab): share merge request reads across detail and checks (pingdotgg#24392) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(usage): count Claude advisor calls under the advisor model (pingdotgg#24139) * fix(web): name the sidebar logo link T3 Code home (pingdotgg#24209) Co-authored-by: PR Batch Tester <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Julius Marminge <[email protected]> * fix(server): fail Claude turns waiting for unsupported mod input (pingdotgg#24320) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(server): Stop always completes, and an agent that ignores it can be force stopped (pingdotgg#27252) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix: guest links can load earlier turns (pingdotgg#27354) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(ci): repair main after merge burst Rename leftover fakeProvider to fakePullRequestProvider, replace the removed encodeScanCache in the advisor usage test, and drop an issue number from a ClaudeAdapterV2 comment that lint rejects. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(server): let slow worktree checkouts finish (pingdotgg#23802) Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(settings): point provider environment variables at a secret provider (pingdotgg#27115) Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Signed-off-by: Yordis Prieto <[email protected]> * feat(desktop): back/forward buttons and trackpad swipe navigation (pingdotgg#27430) Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(web): review local commits in the Diff pane (pingdotgg#19941) Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(relay): show the account's real tunnel cap in T3 Connect settings (pingdotgg#27442) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(web): streaming replies no longer re-render every visible timeline row (pingdotgg#27420) Co-authored-by: Claude Opus 5.5 <[email protected]> * perf(web): streaming replies re-render only their last Markdown block (pingdotgg#27417) Co-authored-by: Claude Opus 5.5 <[email protected]> * perf(web): the git actions panel no longer re-renders on every streamed update (pingdotgg#27418) Co-authored-by: Claude Opus 5.5 <[email protected]> * perf(web): streamed assistant text re-renders only its own row (pingdotgg#27419) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(server): `t3 service protect` can ask for your sudo password (pingdotgg#27465) Co-authored-by: Claude Opus 5.5 <[email protected]> --------- Signed-off-by: Yordis Prieto <[email protected]> Signed-off-by: Pujitha Paladugu <[email protected]> Co-authored-by: Theo Browne <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: shivam <[email protected]> Co-authored-by: PR Batch Tester <[email protected]> Co-authored-by: Theo Browne <[email protected]> Co-authored-by: t3-code-bot[bot] <269035359+t3-code-bot[bot]@users.noreply.github.com> Co-authored-by: Nathan Shan <[email protected]> Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com> Co-authored-by: Utkarsh Patil <[email protected]> Co-authored-by: Yordis Prieto <[email protected]> Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: Victor Vogel <[email protected]> Co-authored-by: GPT-6.1 Sol <[email protected]> Co-authored-by: maria-rcks <[email protected]> Co-authored-by: Lakshmi Tanmay <[email protected]> Co-authored-by: Alex Southwell <[email protected]> Co-authored-by: SAPHID <[email protected]> Co-authored-by: tiliakoos <[email protected]> Co-authored-by: Onkar Pradip Jadhav <[email protected]> Co-authored-by: MarcoDotIO <[email protected]> Co-authored-by: Alex Southwell <[email protected]> Co-authored-by: Jeremiah Jordan <[email protected]> Co-authored-by: Jeremiah Jordan <[email protected]> Co-authored-by: Nikita Maximilian Grimm <[email protected]> Co-authored-by: Aditya Garud <[email protected]> Co-authored-by: Mantas Kantautas <[email protected]> Co-authored-by: Dara Adedeji <[email protected]> Co-authored-by: Joseph Vidal <[email protected]> Co-authored-by: Simone <[email protected]> Co-authored-by: Matěj Suchánek <[email protected]> Co-authored-by: maria-rcks <[email protected]> Co-authored-by: luke <[email protected]> Co-authored-by: parmartejas <[email protected]> Co-authored-by: Tejas Parmar <[email protected]> Co-authored-by: Tristan Knight <[email protected]> Co-authored-by: Stevan Borus <[email protected]> Co-authored-by: Pujitha Paladugu <[email protected]> Co-authored-by: Pujitha Paladugu <[email protected]> Co-authored-by: Koushik_xd <[email protected]> Co-authored-by: oliver <[email protected]> Co-authored-by: Inaya Yousfi <[email protected]> Co-authored-by: Rishabh Bothra <[email protected]> Co-authored-by: Marcel Jiron · MarMarLabs <[email protected]> Co-authored-by: Scott Norteman <[email protected]> Co-authored-by: fixfon <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Gourav Kumar Dhiman <[email protected]> Co-authored-by: Nathan Schroeder <[email protected]> Co-authored-by: AdEx-Partners-DE <[email protected]> Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: Bilal Bakr <[email protected]>
From v0.1.3 a follow-up steers the running turn by default (pingdotgg#24718). A steer into a turn that waits on a pending runtime request aborts the provider's pending callback: Claude steers with priority "now", a pending AskUserQuestion resolves as cancelled and an approval as cancel, and the person never sees the question (#139). #119 guarded only sendToThread's auto mode; the composer's explicit steer, the auto branch of the delivery intent and promoting a queued message still steered through it. The guard now lives in one place, CommandPolicy.resolveMessageDispatchIntent: while the thread has a pending runtime request, any steer_active becomes queue_after_active. It covers a steer requested as a delivery intent (auto or steer) and one requested as a dispatch mode (sendToThread, older clients). The orchestrator reads the thread with its runtime requests on every message.dispatch, so no caller has to load them. Promoting a queued message to a steer checks the same predicate (waitsOnPendingRequest) and puts the message first in the queue instead, so it runs right after the answer. Restart is unchanged. sendToThread's own check from #119 is gone, and ThreadManagementService.ts is upstream's again; its test resolves the dispatched mode through the guard, and an explicit steer with a pending request now queues too. The allowlist trades ThreadManagementService.ts for CommandPolicy.ts, Orchestrator.ts and their tests, and the user guides for the composer and the agent CLI say a steer queues while a question waits. On v0.1.4: upstream renamed stopRunForGoalCommand to stopRunForQueuedCommand with a required reason (pingdotgg#25837); the guard passes 'Queued behind a pending request' and stays after the compaction and /goal branches. pingdotgg#25846 renamed the queued message action to Send now, and composer.md names it. A delegated task's completion wake, which v0.1.4's remote delegation can also produce (RemoteDelegation.ts), set steer_active after the guard, as it did on the v0.1.3 line; it now steers only while waitsOnPendingRequest is false, and SteeringCompletion.integration.test.ts queues such a wake behind a pending request. On v0.1.5 pingdotgg#26715 queues a steer for a provider that can neither steer its running turn nor restart it. The overlay's pending-request check runs before that branch and still holds; the row's ThreadManagementService test gives its projection empty providerThreads and providerSessions, which the new branch reads. Co-Authored-By: Claude Opus 5.5 <[email protected]>
From v0.1.3 a follow-up steers the running turn by default (pingdotgg#24718). A steer into a turn that waits on a pending runtime request aborts the provider's pending callback: Claude steers with priority "now", a pending AskUserQuestion resolves as cancelled and an approval as cancel, and the person never sees the question (#139). #119 guarded only sendToThread's auto mode; the composer's explicit steer, the auto branch of the delivery intent and promoting a queued message still steered through it. The guard now lives in one place, CommandPolicy.resolveMessageDispatchIntent: while the thread has a pending runtime request, any steer_active becomes queue_after_active. It covers a steer requested as a delivery intent (auto or steer) and one requested as a dispatch mode (sendToThread, older clients). The orchestrator reads the thread with its runtime requests on every message.dispatch, so no caller has to load them. Promoting a queued message to a steer checks the same predicate (waitsOnPendingRequest) and puts the message first in the queue instead, so it runs right after the answer. Restart is unchanged. sendToThread's own check from #119 is gone, and ThreadManagementService.ts is upstream's again; its test resolves the dispatched mode through the guard, and an explicit steer with a pending request now queues too. The allowlist trades ThreadManagementService.ts for CommandPolicy.ts, Orchestrator.ts and their tests, and the user guides for the composer and the agent CLI say a steer queues while a question waits. On v0.1.4: upstream renamed stopRunForGoalCommand to stopRunForQueuedCommand with a required reason (pingdotgg#25837); the guard passes 'Queued behind a pending request' and stays after the compaction and /goal branches. pingdotgg#25846 renamed the queued message action to Send now, and composer.md names it. A delegated task's completion wake, which v0.1.4's remote delegation can also produce (RemoteDelegation.ts), set steer_active after the guard, as it did on the v0.1.3 line; it now steers only while waitsOnPendingRequest is false, and SteeringCompletion.integration.test.ts queues such a wake behind a pending request. On v0.1.5 pingdotgg#26715 queues a steer for a provider that can neither steer its running turn nor restart it. The overlay's pending-request check runs before that branch and still holds; the row's ThreadManagementService test gives its projection empty providerThreads and providerSessions, which the new branch reads. On v0.1.6 upstream still steers into a turn that waits on a pending runtime request, and the guard still reads the thread's runtimeRequests on every message.dispatch. Claude's MCP elicitations now wait on the approval card (pingdotgg#21903) as pending mcp-elicitation runtime requests (ClaudeAdapterV2.ts), and a steer would cancel them like any other request, so CommandPolicy.test.ts covers that kind as well. Upstream's Force stop cases (pingdotgg#27252) and this row's sendToThread cases are two separate it.effect.each blocks in ThreadManagementService.test.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]>
From v0.1.3 a follow-up steers the running turn by default (pingdotgg#24718). A steer into a turn that waits on a pending runtime request aborts the provider's pending callback: Claude steers with priority "now", a pending AskUserQuestion resolves as cancelled and an approval as cancel, and the person never sees the question (#139). #119 guarded only sendToThread's auto mode; the composer's explicit steer, the auto branch of the delivery intent and promoting a queued message still steered through it. The guard now lives in one place, CommandPolicy.resolveMessageDispatchIntent: while the thread has a pending runtime request, any steer_active becomes queue_after_active. It covers a steer requested as a delivery intent (auto or steer) and one requested as a dispatch mode (sendToThread, older clients). The orchestrator reads the thread with its runtime requests on every message.dispatch, so no caller has to load them. Promoting a queued message to a steer checks the same predicate (waitsOnPendingRequest) and puts the message first in the queue instead, so it runs right after the answer. Restart is unchanged. sendToThread's own check from #119 is gone, and ThreadManagementService.ts is upstream's again; its test resolves the dispatched mode through the guard, and an explicit steer with a pending request now queues too. The allowlist trades ThreadManagementService.ts for CommandPolicy.ts, Orchestrator.ts and their tests, and the user guides for the composer and the agent CLI say a steer queues while a question waits. On v0.1.4: upstream renamed stopRunForGoalCommand to stopRunForQueuedCommand with a required reason (pingdotgg#25837); the guard passes 'Queued behind a pending request' and stays after the compaction and /goal branches. pingdotgg#25846 renamed the queued message action to Send now, and composer.md names it. A delegated task's completion wake, which v0.1.4's remote delegation can also produce (RemoteDelegation.ts), set steer_active after the guard, as it did on the v0.1.3 line; it now steers only while waitsOnPendingRequest is false, and SteeringCompletion.integration.test.ts queues such a wake behind a pending request. On v0.1.5 pingdotgg#26715 queues a steer for a provider that can neither steer its running turn nor restart it. The overlay's pending-request check runs before that branch and still holds; the row's ThreadManagementService test gives its projection empty providerThreads and providerSessions, which the new branch reads. On v0.1.6 upstream still steers into a turn that waits on a pending runtime request, and the guard still reads the thread's runtimeRequests on every message.dispatch. Claude's MCP elicitations now wait on the approval card (pingdotgg#21903) as pending mcp-elicitation runtime requests (ClaudeAdapterV2.ts), and a steer would cancel them like any other request, so CommandPolicy.test.ts covers that kind as well. Upstream's Force stop cases (pingdotgg#27252) and this row's sendToThread cases are two separate it.effect.each blocks in ThreadManagementService.test.ts. On v0.1.7: upstream lets a delegated task's question steer a busy parent turn as well (pingdotgg#29909), on the same path as a completion wake. A steer into a turn that waits on the person would cancel that person's question, so the guard now covers both: `waitsOnPendingRequest` comes before the completion-wake and task-question conditions. The pending-request test also sends a task question and checks that it stays queued; without the guard it steers. Also on v0.1.7, a follow-up sent before the run's provider turn started waited for a turn of its own (#170). resolveDeliveryIntent queues automatic input while the active run is preparing or starting, or has no running provider turn of its attempt, and upstream's web composer turns a send made while the run is preparing or starting into Queue (planComposerTurn in ChatView.logic.ts). A cold start, such as Buddy's agent over ACP, leaves that gap open for seconds, so the message ran after the turn instead of steering it. Such a queued run now notes the run it was sent during (steersRunId, optional in orchestrationV2.ts, from runAwaitingProviderTurn in CommandPolicy.ts). When that run's provider turn reports running, the orchestrator promotes those runs to a steer under the thread lock, only if upstream's resolveMessageDispatchIntent would steer auto input into that run now (pending request, maintenance and compaction targets, steering capability) and stopReachedRun allows it; held runs, /goal commands, notifications and delegation wakes are left alone. A provider that cannot steer, or a turn that never starts, keeps upstream's queue. SteeringCompletion.integration.test.ts sends a follow-up before the turn starts and expects it steered in; without the reaction it waits in the queue. composer.md follows. A running provider-turn update repeats with every usage tick. The first running update of each provider turn takes the thread lock (makeFirstRunningUpdate in CommandPolicy.ts), because a follow-up committed alongside it is visible only under the lock; a later one first reads the thread's queued runs without the lock and takes it only while a follow-up waits for its turn. Under the lock the reaction reads the queued runs again and reads the whole projection only while a follow-up waits. CommandPolicy.test.ts covers runAwaitingProviderTurn and makeFirstRunningUpdate, and the contract test pins the lock's order; no test drives the race itself, because nothing between message.dispatch's read and its commit can be held from a test. The web composer now keeps auto for a send made while the run is set up, which the server steers in; planComposerTurn still turns the other choices and a send that compacts first into Queue, and ChatView.logic.test.ts fails without the change. A send the person makes as Queue (Queue as the default action, or the alternate key over a steer default) stays queued. resolveComposerDispatchMode takes turnStarting, which ChatComposer.tsx and composerCommandKey.ts set while the phase is connecting, and composerDispatch.test.ts fails without it. Row 5's allowlist names ChatView.logic.ts and its test, composerCommandKey.ts, composerDispatch.ts and its test, and orchestrationV2.ts. The official mobile app is upstream's and still sends queue while a turn starts. Each queued follow-up gets one promotion, under its own command id (command:steer-awaiting-turn:<runId>). A refused promotion leaves its message queued, logs a warning and does not hold back the next follow-up, and a later usage tick does not retry it. Two integration tests cover this: a /compact sent during the start no longer blocks the follow-up after it, and a refused promotion is tried once and the next follow-up still steers in. A /goal the person sends into a turn that waits on a question still interrupts that turn, as on main and upstream; #173 carries the fix to upstream's pull request. A follow-up sent to Buddy during a cold start now steers, so row 33 gives the steer Buddy's page as the Czech block (#150). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ts (pingdotgg#26715) Co-authored-by: PR Batch Tester <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit 9acb769) Upstream-PR: 26715
From v0.1.3 a follow-up steers the running turn by default (pingdotgg#24718). A steer into a turn that waits on a pending runtime request aborts the provider's pending callback: Claude steers with priority "now", a pending AskUserQuestion resolves as cancelled and an approval as cancel, and the person never sees the question (#139). #119 guarded only sendToThread's auto mode; the composer's explicit steer, the auto branch of the delivery intent and promoting a queued message still steered through it. The guard now lives in one place, CommandPolicy.resolveMessageDispatchIntent: while the thread has a pending runtime request, any steer_active becomes queue_after_active. It covers a steer requested as a delivery intent (auto or steer) and one requested as a dispatch mode (sendToThread, older clients). The orchestrator reads the thread with its runtime requests on every message.dispatch, so no caller has to load them. Promoting a queued message to a steer checks the same predicate (waitsOnPendingRequest) and puts the message first in the queue instead, so it runs right after the answer. A restart aborts the callback the same way, so while a request is pending resolveMessageDispatchIntent queues restart_active and the restart delivery intent too (folded from main, Lazurio/t3code a622e34); after the answer a restart restarts as before, and Stop still ends the turn. The pending-request test asks for both forms of restart and fails without it. sendToThread's own check from #119 is gone, and ThreadManagementService.ts is upstream's again; its test resolves the dispatched mode through the guard, and an explicit steer with a pending request now queues too. The allowlist trades ThreadManagementService.ts for CommandPolicy.ts, Orchestrator.ts and their tests, and the user guides for the composer and the agent CLI say a steer queues while a question waits. On v0.1.4: upstream renamed stopRunForGoalCommand to stopRunForQueuedCommand with a required reason (pingdotgg#25837); the guard passes 'Queued behind a pending request' and stays after the compaction and /goal branches. pingdotgg#25846 renamed the queued message action to Send now, and composer.md names it. A delegated task's completion wake, which v0.1.4's remote delegation can also produce (RemoteDelegation.ts), set steer_active after the guard, as it did on the v0.1.3 line; it now steers only while waitsOnPendingRequest is false, and SteeringCompletion.integration.test.ts queues such a wake behind a pending request. On v0.1.5 pingdotgg#26715 queues a steer for a provider that can neither steer its running turn nor restart it. The overlay's pending-request check runs before that branch and still holds; the row's ThreadManagementService test gives its projection empty providerThreads and providerSessions, which the new branch reads. On v0.1.6 upstream still steers into a turn that waits on a pending runtime request, and the guard still reads the thread's runtimeRequests on every message.dispatch. Claude's MCP elicitations now wait on the approval card (pingdotgg#21903) as pending mcp-elicitation runtime requests (ClaudeAdapterV2.ts), and a steer would cancel them like any other request, so CommandPolicy.test.ts covers that kind as well. Upstream's Force stop cases (pingdotgg#27252) and this row's sendToThread cases are two separate it.effect.each blocks in ThreadManagementService.test.ts. On v0.1.7: upstream lets a delegated task's question steer a busy parent turn as well (pingdotgg#29909), on the same path as a completion wake. A steer into a turn that waits on the person would cancel that person's question, so the guard now covers both: `waitsOnPendingRequest` comes before the completion-wake and task-question conditions. The pending-request test also sends a task question and checks that it stays queued; without the guard it steers. A /goal the person sends into a turn that waits on a question still interrupts that turn, as on main and upstream; #173 carries the fix to upstream's pull request. On v0.1.8 upstream starts a fresh provider session on message.dispatch with freshContext (/clear, MCP thread_send and scheduled tasks, pingdotgg#30323, pingdotgg#30325, pingdotgg#30326). The orchestrator's notice block takes upstream's freshContext condition before the pending-request check. On v0.1.9 the guard is unchanged. Upstream's goal driver now covers OpenCode too (pingdotgg#33758), so an OpenCode /goal sent while a question waits stops the turn, as Codex and Claude already did; the guard for that is #191. On v0.1.10 upstream defers an explicit steer sent before the run's provider turn runs (pingdotgg#34581): message.dispatch and queued-message.promote-to-steer queue it with steerWhenReadyRunId, and the orchestrator promotes it to a steer once that turn reports running. The web composer steers while the phase is connecting too. An auto send in that gap, which agents, bots and Buddy use through MCP and the agent CLI, upstream would queue as a turn of its own. The row therefore drops its own mechanism from v0.1.7 (steersRunId, makeFirstRunningUpdate, the steer-awaiting-turn reaction and the composer's turnStarting, with their tests; ChatView.logic.ts, ChatComposer.tsx, composerCommandKey.ts and composerDispatch.ts are upstream's again) and keeps four points on top of upstream's deferral: - CommandPolicy.runAwaitingProviderTurn names the active run whose provider turn has not started. message.dispatch turns an auto send that would queue only for that reason into a deferred steer for that run when resolveMessageDispatchIntent would steer into the run (so never into a /compact or /logout run, nor while a request is pending) and the adapter can steer a turn or restart it with new input. It leaves alone a fresh-context send, a /goal, a queued stop, a notification, a delegated completion and a maintenance command. - The queued message carries steerWhenReadyIntent: "auto" (orchestrationV2.ts, back in the allowlist). An ACP agent such as Buddy's Hermes reports steering per session only once the session runs (row 33), so the decision cannot be made at send time. When the turn runs, queued-message.promote-to-steer asks resolveMessageDispatchIntent again as for an auto send at that moment, with the session's capabilities: where it steers into the run, the message steers; where it would not, the message drops both markers and waits for a turn of its own, as upstream would have queued it. An explicit steer never carries the marker and keeps upstream's deferral. - In queued-message.promote-to-steer the pending-request check runs before upstream's deferred branch and also clears steerWhenReadyRunId and steerWhenReadyIntent, so a message promoted while a question waits goes first in the queue and runs after the answer instead of steering into a later turn. - ThreadManagementService's wait follows a promoted message into the run it joined, so `t3 thread send --wait` prints that run's reply; agent-cli.md says it waits for the run the message starts or steers. CommandPolicy.test.ts names the awaiting run. SteeringCompletion .integration.test.ts sends auto in the gap for six targets: for a provider that steers and an ACP agent whose session steers, the message is steered in once the turn runs; an ACP agent whose session can only restart, a provider that cannot steer, a fresh-context send and a /compact run keep it as a turn of its own. With the adapter-capability check at send time the ACP and /compact cases fail, and without the delivery-time check the restart-only ACP agent is steered into. It also defers a steer that then meets a question the turn opens (it runs after the answer). ThreadManagementService.test.ts waits on a promoted message, and the release contract pins the marker and both checks. composer.md stays accurate. Upstream also drops the question of a delegated task that has finished or whose child no longer asks it (pingdotgg#25680), so the pending-request test now sends the question from a running task whose child thread waits on the person, under the message id upstream's question reactor uses. Co-Authored-By: Claude Opus 5.5 <[email protected]>
From v0.1.3 a follow-up steers the running turn by default (pingdotgg#24718). A steer into a turn that waits on a pending runtime request aborts the provider's pending callback: Claude steers with priority "now", a pending AskUserQuestion resolves as cancelled and an approval as cancel, and the person never sees the question (#139). #119 guarded only sendToThread's auto mode; the composer's explicit steer, the auto branch of the delivery intent and promoting a queued message still steered through it. The guard now lives in one place, CommandPolicy.resolveMessageDispatchIntent: while the thread has a pending runtime request, any steer_active becomes queue_after_active. It covers a steer requested as a delivery intent (auto or steer) and one requested as a dispatch mode (sendToThread, older clients). The orchestrator reads the thread with its runtime requests on every message.dispatch, so no caller has to load them. Promoting a queued message to a steer checks the same predicate (waitsOnPendingRequest) and puts the message first in the queue instead, so it runs right after the answer. A restart aborts the callback the same way, so while a request is pending resolveMessageDispatchIntent queues restart_active and the restart delivery intent too (folded from main, Lazurio/t3code a622e34); after the answer a restart restarts as before, and Stop still ends the turn. The pending-request test asks for both forms of restart and fails without it. sendToThread's own check from #119 is gone, and ThreadManagementService.ts is upstream's again; its test resolves the dispatched mode through the guard, and an explicit steer with a pending request now queues too. The allowlist trades ThreadManagementService.ts for CommandPolicy.ts, Orchestrator.ts and their tests, and the user guides for the composer and the agent CLI say a steer queues while a question waits. On v0.1.4: upstream renamed stopRunForGoalCommand to stopRunForQueuedCommand with a required reason (pingdotgg#25837); the guard passes 'Queued behind a pending request' and stays after the compaction and /goal branches. pingdotgg#25846 renamed the queued message action to Send now, and composer.md names it. A delegated task's completion wake, which v0.1.4's remote delegation can also produce (RemoteDelegation.ts), set steer_active after the guard, as it did on the v0.1.3 line; it now steers only while waitsOnPendingRequest is false, and SteeringCompletion.integration.test.ts queues such a wake behind a pending request. On v0.1.5 pingdotgg#26715 queues a steer for a provider that can neither steer its running turn nor restart it. The overlay's pending-request check runs before that branch and still holds; the row's ThreadManagementService test gives its projection empty providerThreads and providerSessions, which the new branch reads. On v0.1.6 upstream still steers into a turn that waits on a pending runtime request, and the guard still reads the thread's runtimeRequests on every message.dispatch. Claude's MCP elicitations now wait on the approval card (pingdotgg#21903) as pending mcp-elicitation runtime requests (ClaudeAdapterV2.ts), and a steer would cancel them like any other request, so CommandPolicy.test.ts covers that kind as well. Upstream's Force stop cases (pingdotgg#27252) and this row's sendToThread cases are two separate it.effect.each blocks in ThreadManagementService.test.ts. On v0.1.7: upstream lets a delegated task's question steer a busy parent turn as well (pingdotgg#29909), on the same path as a completion wake. A steer into a turn that waits on the person would cancel that person's question, so the guard now covers both: `waitsOnPendingRequest` comes before the completion-wake and task-question conditions. The pending-request test also sends a task question and checks that it stays queued; without the guard it steers. A /goal the person sends into a turn that waits on a question still interrupts that turn, as on main and upstream; #173 carries the fix to upstream's pull request. On v0.1.8 upstream starts a fresh provider session on message.dispatch with freshContext (/clear, MCP thread_send and scheduled tasks, pingdotgg#30323, pingdotgg#30325, pingdotgg#30326). The orchestrator's notice block takes upstream's freshContext condition before the pending-request check. On v0.1.9 the guard is unchanged. Upstream's goal driver now covers OpenCode too (pingdotgg#33758), so an OpenCode /goal sent while a question waits stops the turn, as Codex and Claude already did; the guard for that is #191. On v0.1.10 upstream defers an explicit steer sent before the run's provider turn runs (pingdotgg#34581): message.dispatch and queued-message.promote-to-steer queue it with steerWhenReadyRunId, and the orchestrator promotes it to a steer once that turn reports running. The web composer steers while the phase is connecting too. An auto send in that gap, which agents, bots and Buddy use through MCP and the agent CLI, upstream would queue as a turn of its own. The row therefore drops its own mechanism from v0.1.7 (steersRunId, makeFirstRunningUpdate, the steer-awaiting-turn reaction and the composer's turnStarting, with their tests; ChatView.logic.ts, ChatComposer.tsx, composerCommandKey.ts and composerDispatch.ts are upstream's again) and keeps four points on top of upstream's deferral: - CommandPolicy.runAwaitingProviderTurn names the active run whose provider turn has not started. message.dispatch turns an auto send that would queue only for that reason into a deferred steer for that run when resolveMessageDispatchIntent would steer into the run (so never into a /compact or /logout run, nor while a request is pending) and the adapter can steer a turn or restart it with new input. It leaves alone a fresh-context send, a /goal, a queued stop, a notification, a delegated completion and a maintenance command. - The queued message carries steerWhenReadyIntent: "auto" (orchestrationV2.ts, back in the allowlist). An ACP agent such as Buddy's Hermes reports steering per session only once the session runs (row 33), so the decision cannot be made at send time. When the turn runs, queued-message.promote-to-steer asks resolveMessageDispatchIntent again as for an auto send at that moment, with the session's capabilities: where it steers into the run, the message steers; where it would not, the message drops both markers and waits for a turn of its own, as upstream would have queued it. An explicit steer never carries the marker and keeps upstream's deferral. - In queued-message.promote-to-steer the pending-request check runs before upstream's deferred branch and also clears steerWhenReadyRunId and steerWhenReadyIntent, so a message promoted while a question waits goes first in the queue and runs after the answer instead of steering into a later turn. - ThreadManagementService's wait follows a promoted message into the run it joined, so `t3 thread send --wait` prints that run's reply; agent-cli.md says it waits for the run the message starts or steers. CommandPolicy.test.ts names the awaiting run. SteeringCompletion .integration.test.ts sends auto in the gap for six targets: for a provider that steers and an ACP agent whose session steers, the message is steered in once the turn runs; an ACP agent whose session can only restart, a provider that cannot steer, a fresh-context send and a /compact run keep it as a turn of its own. With the adapter-capability check at send time the ACP and /compact cases fail, and without the delivery-time check the restart-only ACP agent is steered into. It also defers a steer that then meets a question the turn opens, sent as steer and as auto with a message queued before the question: both go first in the queue and run after the answer. The auto send's own branch in queued-message.promote-to-steer checks waitsOnPendingRequest too, puts the message at queue position 1 and stops the run's deferral with 'Queued behind a pending request'; without it the auto case runs behind the earlier message. ThreadManagementService.test.ts waits on a promoted message, and the release contract pins the marker and both checks. composer.md stays accurate. Upstream also drops the question of a delegated task that has finished or whose child no longer asks it (pingdotgg#25680), so the pending-request test now sends the question from a running task whose child thread waits on the person, under the message id upstream's question reactor uses. Co-Authored-By: Claude Opus 5.5 <[email protected]>
From v0.1.3 a follow-up steers the running turn by default (pingdotgg#24718). A steer into a turn that waits on a pending runtime request aborts the provider's pending callback: Claude steers with priority "now", a pending AskUserQuestion resolves as cancelled and an approval as cancel, and the person never sees the question (#139). #119 guarded only sendToThread's auto mode; the composer's explicit steer, the auto branch of the delivery intent and promoting a queued message still steered through it. The guard now lives in one place, CommandPolicy.resolveMessageDispatchIntent: while the thread has a pending runtime request, any steer_active becomes queue_after_active. It covers a steer requested as a delivery intent (auto or steer) and one requested as a dispatch mode (sendToThread, older clients). The orchestrator reads the thread with its runtime requests on every message.dispatch, so no caller has to load them. Promoting a queued message to a steer checks the same predicate (waitsOnPendingRequest) and puts the message first in the queue instead, so it runs right after the answer. A restart aborts the callback the same way, so while a request is pending resolveMessageDispatchIntent queues restart_active and the restart delivery intent too (folded from main, Lazurio/t3code a622e34); after the answer a restart restarts as before, and Stop still ends the turn. The pending-request test asks for both forms of restart and fails without it. sendToThread's own check from #119 is gone, and ThreadManagementService.ts is upstream's again; its test resolves the dispatched mode through the guard, and an explicit steer with a pending request now queues too. The allowlist trades ThreadManagementService.ts for CommandPolicy.ts, Orchestrator.ts and their tests, and the user guides for the composer and the agent CLI say a steer queues while a question waits. On v0.1.4: upstream renamed stopRunForGoalCommand to stopRunForQueuedCommand with a required reason (pingdotgg#25837); the guard passes 'Queued behind a pending request' and stays after the compaction and /goal branches. pingdotgg#25846 renamed the queued message action to Send now, and composer.md names it. A delegated task's completion wake, which v0.1.4's remote delegation can also produce (RemoteDelegation.ts), set steer_active after the guard, as it did on the v0.1.3 line; it now steers only while waitsOnPendingRequest is false, and SteeringCompletion.integration.test.ts queues such a wake behind a pending request. On v0.1.5 pingdotgg#26715 queues a steer for a provider that can neither steer its running turn nor restart it. The overlay's pending-request check runs before that branch and still holds; the row's ThreadManagementService test gives its projection empty providerThreads and providerSessions, which the new branch reads. On v0.1.6 upstream still steers into a turn that waits on a pending runtime request, and the guard still reads the thread's runtimeRequests on every message.dispatch. Claude's MCP elicitations now wait on the approval card (pingdotgg#21903) as pending mcp-elicitation runtime requests (ClaudeAdapterV2.ts), and a steer would cancel them like any other request, so CommandPolicy.test.ts covers that kind as well. Upstream's Force stop cases (pingdotgg#27252) and this row's sendToThread cases are two separate it.effect.each blocks in ThreadManagementService.test.ts. On v0.1.7: upstream lets a delegated task's question steer a busy parent turn as well (pingdotgg#29909), on the same path as a completion wake. A steer into a turn that waits on the person would cancel that person's question, so the guard now covers both: `waitsOnPendingRequest` comes before the completion-wake and task-question conditions. The pending-request test also sends a task question and checks that it stays queued; without the guard it steers. A /goal the person sends into a turn that waits on a question still interrupts that turn, as on main and upstream; #173 carries the fix to upstream's pull request. On v0.1.8 upstream starts a fresh provider session on message.dispatch with freshContext (/clear, MCP thread_send and scheduled tasks, pingdotgg#30323, pingdotgg#30325, pingdotgg#30326). The orchestrator's notice block takes upstream's freshContext condition before the pending-request check. On v0.1.9 the guard is unchanged. Upstream's goal driver now covers OpenCode too (pingdotgg#33758), so an OpenCode /goal sent while a question waits stops the turn, as Codex and Claude already did; the guard for that is #191. On v0.1.10 upstream defers an explicit steer sent before the run's provider turn runs (pingdotgg#34581): message.dispatch and queued-message.promote-to-steer queue it with steerWhenReadyRunId, and the orchestrator promotes it to a steer once that turn reports running. The web composer steers while the phase is connecting too. An auto send in that gap, which agents, bots and Buddy use through MCP and the agent CLI, upstream would queue as a turn of its own. The row therefore drops its own mechanism from v0.1.7 (steersRunId, makeFirstRunningUpdate, the steer-awaiting-turn reaction and the composer's turnStarting, with their tests; ChatView.logic.ts, ChatComposer.tsx, composerCommandKey.ts and composerDispatch.ts are upstream's again) and keeps four points on top of upstream's deferral: - CommandPolicy.runAwaitingProviderTurn names the active run whose provider turn has not started. message.dispatch turns an auto send that would queue only for that reason into a deferred steer for that run when resolveMessageDispatchIntent would steer into the run (so never into a /compact or /logout run, nor while a request is pending) and the adapter can steer a turn or restart it with new input. It leaves alone a fresh-context send, a /goal, a queued stop, a notification, a delegated completion and a maintenance command. - The queued message carries steerWhenReadyIntent: "auto" (orchestrationV2.ts, back in the allowlist). An ACP agent such as Buddy's Hermes reports steering per session only once the session runs (row 33), so the decision cannot be made at send time. When the turn runs, queued-message.promote-to-steer asks resolveMessageDispatchIntent again as for an auto send at that moment, with the session's capabilities: where it steers into the run, the message steers; where it would not, the message drops both markers and waits for a turn of its own, as upstream would have queued it. An explicit steer never carries the marker and keeps upstream's deferral. - In queued-message.promote-to-steer the pending-request check runs before upstream's deferred branch and also clears steerWhenReadyRunId and steerWhenReadyIntent, so a message promoted while a question waits goes first in the queue and runs after the answer instead of steering into a later turn. - ThreadManagementService's wait follows a promoted message into the run it joined, so `t3 thread send --wait` prints that run's reply; agent-cli.md says it waits for the run the message starts or steers. CommandPolicy.test.ts names the awaiting run. SteeringCompletion .integration.test.ts sends auto in the gap for six targets: for a provider that steers and an ACP agent whose session steers, the message is steered in once the turn runs; an ACP agent whose session can only restart, a provider that cannot steer, a fresh-context send and a /compact run keep it as a turn of its own. With the adapter-capability check at send time the ACP and /compact cases fail, and without the delivery-time check the restart-only ACP agent is steered into. It also defers a steer that then meets a question the turn opens, sent as steer and as auto with a message queued before the question: both go first in the queue and run after the answer. The auto send's own branch in queued-message.promote-to-steer checks waitsOnPendingRequest too, puts the message at queue position 1 and stops the run's deferral with 'Queued behind a pending request'; without it the auto case runs behind the earlier message. ThreadManagementService.test.ts waits on a promoted message, and the release contract pins the marker and both checks. composer.md stays accurate. Upstream also drops the question of a delegated task that has finished or whose child no longer asks it (pingdotgg#25680), so the pending-request test now sends the question from a running task whose child thread waits on the person, under the message id upstream's question reactor uses. Co-Authored-By: Claude Opus 5.5 <[email protected]>
From v0.1.3 a follow-up steers the running turn by default (pingdotgg#24718). A steer into a turn that waits on a pending runtime request aborts the provider's pending callback: Claude steers with priority "now", a pending AskUserQuestion resolves as cancelled and an approval as cancel, and the person never sees the question (#139). #119 guarded only sendToThread's auto mode; the composer's explicit steer, the auto branch of the delivery intent and promoting a queued message still steered through it. The guard now lives in one place, CommandPolicy.resolveMessageDispatchIntent: while the thread has a pending runtime request, any steer_active becomes queue_after_active. It covers a steer requested as a delivery intent (auto or steer) and one requested as a dispatch mode (sendToThread, older clients). The orchestrator reads the thread with its runtime requests on every message.dispatch, so no caller has to load them. Promoting a queued message to a steer checks the same predicate (waitsOnPendingRequest) and puts the message first in the queue instead, so it runs right after the answer. A restart aborts the callback the same way, so while a request is pending resolveMessageDispatchIntent queues restart_active and the restart delivery intent too (folded from main, Lazurio/t3code a622e34); after the answer a restart restarts as before, and Stop still ends the turn. The pending-request test asks for both forms of restart and fails without it. sendToThread's own check from #119 is gone, and ThreadManagementService.ts is upstream's again; its test resolves the dispatched mode through the guard, and an explicit steer with a pending request now queues too. The allowlist trades ThreadManagementService.ts for CommandPolicy.ts, Orchestrator.ts and their tests, and the user guides for the composer and the agent CLI say a steer queues while a question waits. On v0.1.4: upstream renamed stopRunForGoalCommand to stopRunForQueuedCommand with a required reason (pingdotgg#25837); the guard passes 'Queued behind a pending request' and stays after the compaction and /goal branches. pingdotgg#25846 renamed the queued message action to Send now, and composer.md names it. A delegated task's completion wake, which v0.1.4's remote delegation can also produce (RemoteDelegation.ts), set steer_active after the guard, as it did on the v0.1.3 line; it now steers only while waitsOnPendingRequest is false, and SteeringCompletion.integration.test.ts queues such a wake behind a pending request. On v0.1.5 pingdotgg#26715 queues a steer for a provider that can neither steer its running turn nor restart it. The overlay's pending-request check runs before that branch and still holds; the row's ThreadManagementService test gives its projection empty providerThreads and providerSessions, which the new branch reads. On v0.1.6 upstream still steers into a turn that waits on a pending runtime request, and the guard still reads the thread's runtimeRequests on every message.dispatch. Claude's MCP elicitations now wait on the approval card (pingdotgg#21903) as pending mcp-elicitation runtime requests (ClaudeAdapterV2.ts), and a steer would cancel them like any other request, so CommandPolicy.test.ts covers that kind as well. Upstream's Force stop cases (pingdotgg#27252) and this row's sendToThread cases are two separate it.effect.each blocks in ThreadManagementService.test.ts. On v0.1.7: upstream lets a delegated task's question steer a busy parent turn as well (pingdotgg#29909), on the same path as a completion wake. A steer into a turn that waits on the person would cancel that person's question, so the guard now covers both: `waitsOnPendingRequest` comes before the completion-wake and task-question conditions. The pending-request test also sends a task question and checks that it stays queued; without the guard it steers. A /goal the person sends into a turn that waits on a question still interrupts that turn, as on main and upstream; #173 carries the fix to upstream's pull request. On v0.1.8 upstream starts a fresh provider session on message.dispatch with freshContext (/clear, MCP thread_send and scheduled tasks, pingdotgg#30323, pingdotgg#30325, pingdotgg#30326). The orchestrator's notice block takes upstream's freshContext condition before the pending-request check. On v0.1.9 the guard is unchanged. Upstream's goal driver now covers OpenCode too (pingdotgg#33758), so an OpenCode /goal sent while a question waits stops the turn, as Codex and Claude already did; the guard for that is #191. On v0.1.10 upstream defers an explicit steer sent before the run's provider turn runs (pingdotgg#34581): message.dispatch and queued-message.promote-to-steer queue it with steerWhenReadyRunId, and the orchestrator promotes it to a steer once that turn reports running. The web composer steers while the phase is connecting too. An auto send in that gap, which agents, bots and Buddy use through MCP and the agent CLI, upstream would queue as a turn of its own. The row therefore drops its own mechanism from v0.1.7 (steersRunId, makeFirstRunningUpdate, the steer-awaiting-turn reaction and the composer's turnStarting, with their tests; ChatView.logic.ts, ChatComposer.tsx, composerCommandKey.ts and composerDispatch.ts are upstream's again) and keeps four points on top of upstream's deferral: - CommandPolicy.runAwaitingProviderTurn names the active run whose provider turn has not started. message.dispatch turns an auto send that would queue only for that reason into a deferred steer for that run when resolveMessageDispatchIntent would steer into the run (so never into a /compact or /logout run, nor while a request is pending) and the adapter can steer a turn or restart it with new input. It leaves alone a fresh-context send, a /goal, a queued stop, a notification, a delegated completion and a maintenance command. - The queued message carries steerWhenReadyIntent: "auto" (orchestrationV2.ts, back in the allowlist). An ACP agent such as Buddy's Hermes reports steering per session only once the session runs (row 33), so the decision cannot be made at send time. When the turn runs, queued-message.promote-to-steer asks resolveMessageDispatchIntent again as for an auto send at that moment, with the session's capabilities: where it steers into the run, the message steers; where it would not, the message drops both markers and waits for a turn of its own, as upstream would have queued it. An explicit steer never carries the marker and keeps upstream's deferral. - In queued-message.promote-to-steer the pending-request check runs before upstream's deferred branch and also clears steerWhenReadyRunId and steerWhenReadyIntent, so a message promoted while a question waits goes first in the queue and runs after the answer instead of steering into a later turn. - ThreadManagementService's wait follows a promoted message into the run it joined, so `t3 thread send --wait` prints that run's reply; agent-cli.md says it waits for the run the message starts or steers. CommandPolicy.test.ts names the awaiting run. SteeringCompletion .integration.test.ts sends auto in the gap for six targets: for a provider that steers and an ACP agent whose session steers, the message is steered in once the turn runs; an ACP agent whose session can only restart, a provider that cannot steer, a fresh-context send and a /compact run keep it as a turn of its own. With the adapter-capability check at send time the ACP and /compact cases fail, and without the delivery-time check the restart-only ACP agent is steered into. It also defers a steer that then meets a question the turn opens, sent as steer and as auto with a message queued before the question: both go first in the queue and run after the answer. The auto send's own branch in queued-message.promote-to-steer checks waitsOnPendingRequest too, puts the message at queue position 1 and stops the run's deferral with 'Queued behind a pending request'; without it the auto case runs behind the earlier message. ThreadManagementService.test.ts waits on a promoted message, and the release contract pins the marker and both checks. composer.md stays accurate. Upstream also drops the question of a delegated task that has finished or whose child no longer asks it (pingdotgg#25680), so the pending-request test now sends the question from a running task whose child thread waits on the person, under the message id upstream's question reactor uses. Co-Authored-By: Claude Opus 5.5 <[email protected]>
From v0.1.3 a follow-up steers the running turn by default (pingdotgg#24718). A steer into a turn that waits on a pending runtime request aborts the provider's pending callback: Claude steers with priority "now", a pending AskUserQuestion resolves as cancelled and an approval as cancel, and the person never sees the question (#139). #119 guarded only sendToThread's auto mode; the composer's explicit steer, the auto branch of the delivery intent and promoting a queued message still steered through it. The guard now lives in one place, CommandPolicy.resolveMessageDispatchIntent: while the thread has a pending runtime request, any steer_active becomes queue_after_active. It covers a steer requested as a delivery intent (auto or steer) and one requested as a dispatch mode (sendToThread, older clients). The orchestrator reads the thread with its runtime requests on every message.dispatch, so no caller has to load them. Promoting a queued message to a steer checks the same predicate (waitsOnPendingRequest) and puts the message first in the queue instead, so it runs right after the answer. A restart aborts the callback the same way, so while a request is pending resolveMessageDispatchIntent queues restart_active and the restart delivery intent too (folded from main, Lazurio/t3code a622e34); after the answer a restart restarts as before, and Stop still ends the turn. The pending-request test asks for both forms of restart and fails without it. sendToThread's own check from #119 is gone, and ThreadManagementService.ts is upstream's again; its test resolves the dispatched mode through the guard, and an explicit steer with a pending request now queues too. The allowlist trades ThreadManagementService.ts for CommandPolicy.ts, Orchestrator.ts and their tests, and the user guides for the composer and the agent CLI say a steer queues while a question waits. On v0.1.4: upstream renamed stopRunForGoalCommand to stopRunForQueuedCommand with a required reason (pingdotgg#25837); the guard passes 'Queued behind a pending request' and stays after the compaction and /goal branches. pingdotgg#25846 renamed the queued message action to Send now, and composer.md names it. A delegated task's completion wake, which v0.1.4's remote delegation can also produce (RemoteDelegation.ts), set steer_active after the guard, as it did on the v0.1.3 line; it now steers only while waitsOnPendingRequest is false, and SteeringCompletion.integration.test.ts queues such a wake behind a pending request. On v0.1.5 pingdotgg#26715 queues a steer for a provider that can neither steer its running turn nor restart it. The overlay's pending-request check runs before that branch and still holds; the row's ThreadManagementService test gives its projection empty providerThreads and providerSessions, which the new branch reads. On v0.1.6 upstream still steers into a turn that waits on a pending runtime request, and the guard still reads the thread's runtimeRequests on every message.dispatch. Claude's MCP elicitations now wait on the approval card (pingdotgg#21903) as pending mcp-elicitation runtime requests (ClaudeAdapterV2.ts), and a steer would cancel them like any other request, so CommandPolicy.test.ts covers that kind as well. Upstream's Force stop cases (pingdotgg#27252) and this row's sendToThread cases are two separate it.effect.each blocks in ThreadManagementService.test.ts. On v0.1.7: upstream lets a delegated task's question steer a busy parent turn as well (pingdotgg#29909), on the same path as a completion wake. A steer into a turn that waits on the person would cancel that person's question, so the guard now covers both: `waitsOnPendingRequest` comes before the completion-wake and task-question conditions. The pending-request test also sends a task question and checks that it stays queued; without the guard it steers. A /goal the person sends into a turn that waits on a question still interrupts that turn, as on main and upstream; #173 carries the fix to upstream's pull request. On v0.1.8 upstream starts a fresh provider session on message.dispatch with freshContext (/clear, MCP thread_send and scheduled tasks, pingdotgg#30323, pingdotgg#30325, pingdotgg#30326). The orchestrator's notice block takes upstream's freshContext condition before the pending-request check. On v0.1.9 the guard is unchanged. Upstream's goal driver now covers OpenCode too (pingdotgg#33758), so an OpenCode /goal sent while a question waits stops the turn, as Codex and Claude already did; the guard for that is #191. On v0.1.10 upstream defers an explicit steer sent before the run's provider turn runs (pingdotgg#34581): message.dispatch and queued-message.promote-to-steer queue it with steerWhenReadyRunId, and the orchestrator promotes it to a steer once that turn reports running. The web composer steers while the phase is connecting too. An auto send in that gap, which agents, bots and Buddy use through MCP and the agent CLI, upstream would queue as a turn of its own. The row therefore drops its own mechanism from v0.1.7 (steersRunId, makeFirstRunningUpdate, the steer-awaiting-turn reaction and the composer's turnStarting, with their tests; ChatView.logic.ts, ChatComposer.tsx, composerCommandKey.ts and composerDispatch.ts are upstream's again) and keeps four points on top of upstream's deferral: - CommandPolicy.runAwaitingProviderTurn names the active run whose provider turn has not started. message.dispatch turns an auto send that would queue only for that reason into a deferred steer for that run when resolveMessageDispatchIntent would steer into the run (so never into a /compact or /logout run, nor while a request is pending) and the adapter can steer a turn or restart it with new input. It leaves alone a fresh-context send, a /goal, a queued stop, a notification, a delegated completion and a maintenance command. - The queued message carries steerWhenReadyIntent: "auto" (orchestrationV2.ts, back in the allowlist). An ACP agent such as Buddy's Hermes reports steering per session only once the session runs (row 33), so the decision cannot be made at send time. When the turn runs, queued-message.promote-to-steer asks resolveMessageDispatchIntent again as for an auto send at that moment, with the session's capabilities: where it steers into the run, the message steers; where it would not, the message drops both markers and waits for a turn of its own, as upstream would have queued it. An explicit steer never carries the marker and keeps upstream's deferral. - In queued-message.promote-to-steer the pending-request check runs before upstream's deferred branch and also clears steerWhenReadyRunId and steerWhenReadyIntent, so a message promoted while a question waits goes first in the queue and runs after the answer instead of steering into a later turn. - ThreadManagementService's wait follows a promoted message into the run it joined, so `t3 thread send --wait` prints that run's reply; agent-cli.md says it waits for the run the message starts or steers. CommandPolicy.test.ts names the awaiting run. SteeringCompletion .integration.test.ts sends auto in the gap for six targets: for a provider that steers and an ACP agent whose session steers, the message is steered in once the turn runs; an ACP agent whose session can only restart, a provider that cannot steer, a fresh-context send and a /compact run keep it as a turn of its own. With the adapter-capability check at send time the ACP and /compact cases fail, and without the delivery-time check the restart-only ACP agent is steered into. It also defers a steer that then meets a question the turn opens, sent as steer and as auto with a message queued before the question: both go first in the queue and run after the answer. The auto send's own branch in queued-message.promote-to-steer checks waitsOnPendingRequest too, puts the message at queue position 1 and stops the run's deferral with 'Queued behind a pending request'; without it the auto case runs behind the earlier message. ThreadManagementService.test.ts waits on a promoted message, and the release contract pins the marker and both checks. composer.md stays accurate. Upstream also drops the question of a delegated task that has finished or whose child no longer asks it (pingdotgg#25680), so the pending-request test now sends the question from a running task whose child thread waits on the person, under the message id upstream's question reactor uses. Co-Authored-By: Claude Opus 5.5 <[email protected]>
From v0.1.3 a follow-up steers the running turn by default (pingdotgg#24718). A steer into a turn that waits on a pending runtime request aborts the provider's pending callback: Claude steers with priority "now", a pending AskUserQuestion resolves as cancelled and an approval as cancel, and the person never sees the question (#139). #119 guarded only sendToThread's auto mode; the composer's explicit steer, the auto branch of the delivery intent and promoting a queued message still steered through it. The guard now lives in one place, CommandPolicy.resolveMessageDispatchIntent: while the thread has a pending runtime request, any steer_active becomes queue_after_active. It covers a steer requested as a delivery intent (auto or steer) and one requested as a dispatch mode (sendToThread, older clients). The orchestrator reads the thread with its runtime requests on every message.dispatch, so no caller has to load them. Promoting a queued message to a steer checks the same predicate (waitsOnPendingRequest) and puts the message first in the queue instead, so it runs right after the answer. A restart aborts the callback the same way, so while a request is pending resolveMessageDispatchIntent queues restart_active and the restart delivery intent too (folded from main, Lazurio/t3code a622e34); after the answer a restart restarts as before, and Stop still ends the turn. The pending-request test asks for both forms of restart and fails without it. sendToThread's own check from #119 is gone, and ThreadManagementService.ts is upstream's again; its test resolves the dispatched mode through the guard, and an explicit steer with a pending request now queues too. The allowlist trades ThreadManagementService.ts for CommandPolicy.ts, Orchestrator.ts and their tests, and the user guides for the composer and the agent CLI say a steer queues while a question waits. On v0.1.4: upstream renamed stopRunForGoalCommand to stopRunForQueuedCommand with a required reason (pingdotgg#25837); the guard passes 'Queued behind a pending request' and stays after the compaction and /goal branches. pingdotgg#25846 renamed the queued message action to Send now, and composer.md names it. A delegated task's completion wake, which v0.1.4's remote delegation can also produce (RemoteDelegation.ts), set steer_active after the guard, as it did on the v0.1.3 line; it now steers only while waitsOnPendingRequest is false, and SteeringCompletion.integration.test.ts queues such a wake behind a pending request. On v0.1.5 pingdotgg#26715 queues a steer for a provider that can neither steer its running turn nor restart it. The overlay's pending-request check runs before that branch and still holds; the row's ThreadManagementService test gives its projection empty providerThreads and providerSessions, which the new branch reads. On v0.1.6 upstream still steers into a turn that waits on a pending runtime request, and the guard still reads the thread's runtimeRequests on every message.dispatch. Claude's MCP elicitations now wait on the approval card (pingdotgg#21903) as pending mcp-elicitation runtime requests (ClaudeAdapterV2.ts), and a steer would cancel them like any other request, so CommandPolicy.test.ts covers that kind as well. Upstream's Force stop cases (pingdotgg#27252) and this row's sendToThread cases are two separate it.effect.each blocks in ThreadManagementService.test.ts. On v0.1.7: upstream lets a delegated task's question steer a busy parent turn as well (pingdotgg#29909), on the same path as a completion wake. A steer into a turn that waits on the person would cancel that person's question, so the guard now covers both: `waitsOnPendingRequest` comes before the completion-wake and task-question conditions. The pending-request test also sends a task question and checks that it stays queued; without the guard it steers. A /goal the person sends into a turn that waits on a question still interrupts that turn, as on main and upstream; #173 carries the fix to upstream's pull request. On v0.1.8 upstream starts a fresh provider session on message.dispatch with freshContext (/clear, MCP thread_send and scheduled tasks, pingdotgg#30323, pingdotgg#30325, pingdotgg#30326). The orchestrator's notice block takes upstream's freshContext condition before the pending-request check. On v0.1.9 the guard is unchanged. Upstream's goal driver now covers OpenCode too (pingdotgg#33758), so an OpenCode /goal sent while a question waits stops the turn, as Codex and Claude already did; the guard for that is #191. On v0.1.10 upstream defers an explicit steer sent before the run's provider turn runs (pingdotgg#34581): message.dispatch and queued-message.promote-to-steer queue it with steerWhenReadyRunId, and the orchestrator promotes it to a steer once that turn reports running. The web composer steers while the phase is connecting too. An auto send in that gap, which agents, bots and Buddy use through MCP and the agent CLI, upstream would queue as a turn of its own. The row therefore drops its own mechanism from v0.1.7 (steersRunId, makeFirstRunningUpdate, the steer-awaiting-turn reaction and the composer's turnStarting, with their tests; ChatView.logic.ts, ChatComposer.tsx, composerCommandKey.ts and composerDispatch.ts are upstream's again) and keeps four points on top of upstream's deferral: - CommandPolicy.runAwaitingProviderTurn names the active run whose provider turn has not started. message.dispatch turns an auto send that would queue only for that reason into a deferred steer for that run when resolveMessageDispatchIntent would steer into the run (so never into a /compact or /logout run, nor while a request is pending) and the adapter can steer a turn or restart it with new input. It leaves alone a fresh-context send, a /goal, a queued stop, a notification, a delegated completion and a maintenance command. - The queued message carries steerWhenReadyIntent: "auto" (orchestrationV2.ts, back in the allowlist). An ACP agent such as Buddy's Hermes reports steering per session only once the session runs (row 33), so the decision cannot be made at send time. When the turn runs, queued-message.promote-to-steer asks resolveMessageDispatchIntent again as for an auto send at that moment, with the session's capabilities: where it steers into the run, the message steers; where it would not, the message drops both markers and waits for a turn of its own, as upstream would have queued it. An explicit steer never carries the marker and keeps upstream's deferral. - In queued-message.promote-to-steer the pending-request check runs before upstream's deferred branch and also clears steerWhenReadyRunId and steerWhenReadyIntent, so a message promoted while a question waits goes first in the queue and runs after the answer instead of steering into a later turn. - ThreadManagementService's wait follows a promoted message into the run it joined, so `t3 thread send --wait` prints that run's reply; agent-cli.md says it waits for the run the message starts or steers. CommandPolicy.test.ts names the awaiting run. SteeringCompletion .integration.test.ts sends auto in the gap for six targets: for a provider that steers and an ACP agent whose session steers, the message is steered in once the turn runs; an ACP agent whose session can only restart, a provider that cannot steer, a fresh-context send and a /compact run keep it as a turn of its own. With the adapter-capability check at send time the ACP and /compact cases fail, and without the delivery-time check the restart-only ACP agent is steered into. It also defers a steer that then meets a question the turn opens, sent as steer and as auto with a message queued before the question: both go first in the queue and run after the answer. The auto send's own branch in queued-message.promote-to-steer checks waitsOnPendingRequest too, puts the message at queue position 1 and stops the run's deferral with 'Queued behind a pending request'; without it the auto case runs behind the earlier message. ThreadManagementService.test.ts waits on a promoted message, and the release contract pins the marker and both checks. composer.md stays accurate. Upstream also drops the question of a delegated task that has finished or whose child no longer asks it (pingdotgg#25680), so the pending-request test now sends the question from a running task whose child thread waits on the person, under the message id upstream's question reactor uses. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: Steering a GitHub Copilot thread kills its running background agents
There was an error while loading. Please reload this page.