Note
Grok responding on behalf of Julius.
This needs an MSP transcript before we can call it a bug. On main, the adapter paths you pointed to do clear a finished Workflow.
In packages/provider-muse/src/server/adapter.ts, a terminal item/completed for a tracked workflow clears it in either of two cases:
- it arrives under the original turn id, through the owner fast path (~L1318), or
- it arrives under the report turn id while that turn is running (~L1378).
publishItemdeletes byitemId, whichever turn owns it.
It would only be dropped if it arrived under some other turn id while no T3 run was active (~L1370), or if Muse never sent it. I can't tell which from the outside either, so please send:
- The
record-muse-msp-replay-fixture.tstranscript of a stuck run, showing whether a terminalitem/completedfor the workflow item arrives, and under whichturnId. - Whether it still happens on
.3093or newer.
Stop doing nothing for a listed workflow is a known gap (task/stop isn't wired up; see #19061 / #19086). The family is tracked in #15239.