Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
- While an agent turn is running, send a follow-up that remains queued in the main thread.
- Click Edit on that queued message. It opens in the composer, with Editing in the composer shown on its message row.
- Add
/btwat the beginning, for example/btw Can you explain this part?. - Save the edit using the composer's checkmark button.
- Let the queued message run, or use Send now.
Expected behavior
The /btw prefix should route the message to a side chat, as it does for a new composer message. If changing the destination during a queued edit is unsupported, the app should explain that and retain the draft instead of silently accepting it as a main-thread message.
Actual behavior
The edited message stays in the main thread's queue with /btw in its text. When sent, it goes to the main conversation rather than opening a side chat. There is no indication that the command is being ignored in edit mode.
Impact
Minor bug or occasional failure. A question intended for a side chat instead goes into the main agent conversation.
Version or commit
Installed desktop version at reporting: 0.1.10-nightly.20261114.4695.
The relevant code is still present on inspected main commit 42bfd1f37750da082bc8967297653745699abc5e.
Environment
macOS, T3 Code Nightly desktop. The screenshot shows a queued message being edited in the composer.
Investigation
In useComposerSend.ts, parsing of a side-chat command is explicitly disabled while editing a queued message:
const sideChatCommand =
sendCtx && !directAnnotation && !queuedRunEdit.isEditing
? parseSideChatCommand(promptAtSend)
: null;Later, the edit branch calls queuedRunEdit.saveEdit(...) and returns, saving the prompt back to the same queued run. useQueuedRunEdit.ts retains the original thread and run IDs. The shared parseSideChatCommand parser accepts both /btw and /side, so this exclusion also applies to /side.
The reporter observed the main-thread delivery and supplied a screenshot of the edit state. Source inspection explains that behavior; no separate browser reproduction was performed. Private conversation text from the screenshot is omitted.
Workaround
Copy the edited text, cancel the edit, remove the original queued message, then send /btw ... as a fresh composer message.
Investigated and filed by GPT-6-Astra through the Codex harness in T3 Code, at the reporter's request.
Activity