-
Notifications
You must be signed in to change notification settings - Fork 3
plat 463
| Coordination | Value |
|---|---|
| State | fixed on main; not deployed |
| Date | 2026-10-04 |
| Owner | frontend-chat |
| Related | PLAT-425 (provider change relaunches the chat) |
The owner could not restart a workflow's Builder CLI (a Muse chat with no MCP bridge) because the workflow chat had no way to start a fresh conversation. Code and Video Studio already show the composer's "New chat" button; the workflow chat did not.
-
WorkflowLayout.tsx: the workflow chat passesshowNewChatActiontoChatAreafor anyone who can write the workflow (a read-only viewer of a shared workflow does not get it). The existing handler stops the running session, then gives the tab a new session; the old conversation stays in Previous chats because each Builder session keeps its own transcript file. -
ChatInput.tsx: the button is no longer disabled while a turn is in flight (it was greyed out on a stuck chat, the case it is needed for). New chat already stops the old session first; the tooltip says "Stop this chat and start a new one". This applies to every product that shows the button (Code, Video Studio, Dominion). -
Found with the owner on a stuck Muse Builder chat (jobsearch): New chat gave 409
workflow_busyand the tab went back to the old chat after every click. Cause:handleStopSessionmarked the tracked run canceled only when the session still had a query-ID mapping; a Builder chat whose turn was lost has none, so the tracker kept listing it as running (the 409, and the workflow tab re-adopting it as the live chat).session_lifecycle.gonow cancels the tracked run on every stop (TestStopSessionWithoutQueryIDsClearsTrackedBuilderChat, fails without the fix). -
ChatArea.tsx: New chat always sends the stop; it used to skip it when the active-session list did not contain the chat. -
An already-stuck run on a server started before this fix stays stuck until that server restarts (the stop of an old build never clears it).
-
multiuser_identity_test.go: removed two unused fields (pathRule,sameAsPath) of the identity-row type that failed the commit hook'sunusedlint on main.
- Not enabled in SparkQuill chats (parent/child) on purpose. MCP gateway keeps its
own
onNewChathandler and was not changed. - Not tried live in the browser; the owner tests locally.
Auto-synced from docs/ on main. Edit there, not here.