fix(wizard): no mezclar el chat al cambiar de workspace a mitad de turno - #48
fix(wizard): no mezclar el chat al cambiar de workspace a mitad de turno#48cursor[bot] wants to merge 1 commit into
Conversation
Un select_workspace (o un cambio manual) durante un turno busy reasignaba conversationWorkspace al destino sin cargar su hilo, y el save en vuelo podía escribir la revisión CAS de origen. Eso contaminaba el chat de B y dejaba el turno sin persistir en A. Co-authored-by: ignaciodelcano+dcl <ignaciodelcano+dcl@gmail.com>
PR Review — Loreframe StudioRisk: low Automated review from Findings
Changed files
CONTRIBUTING checklist
Posted by the repo PR review workflow. Re-runs on each push to the PR. |
|
cursor review |
Bugbot couldn't run — GitHub account mismatchThe GitHub account linked to your Cursor account does not match the PR author. Please ensure you're using the correct GitHub account, or run Bugbot from a team that covers this repository. |
|
cursor review |
Bugbot couldn't run — GitHub account mismatchThe GitHub account linked to your Cursor account does not match the PR author. Please ensure you're using the correct GitHub account, or run Bugbot from a team that covers this repository. |
|
Cierre administrativo: este draft no entra en la ola actual (hotspots de Story Lab, provenance y routers). La rama |
Qué
El chat del Wizard está scoped por workspace (
.wizard-conversation-v1.json+localStorage). Siselect_workspace(o un cambio manual) ocurría mientras un turno seguíabusy, el panel reasignabaconversationWorkspaceal destino sin cargar su hilo y persistía el transcript de origen encima.Impacto
Escenario: workspace A y B tienen chats propios. El usuario en A pide «cambia a B y exporta la escena» (o cambia de workspace a mano durante el turno).
Fix
busytermina; entonces B carga su propio chat.Verificación
ui/tests/agentContract.test.mjs: contrato nuevoa busy workspace switch does not rebind or accept writes for another Wizard chat.Suite UI: 448/448.
No reabre el TTS cap (
#21, draft) ni el historial de Character Creator (#25, mergeado).