🟡 Medium
Selecting a different project from an empty draft manually pinned to environment A opens the draft in environment B, overriding the user's selection. The empty-draft path calls openProjectDraft without target.environmentSelection, so the handler resolves the project again using its default; forward the resolved selection to openProjectDraft.
No longer relevant as of 5ca75067ea409e83b6369415cad20a10cd584efd
Note
🤖 Claude Opus 5.5 on behalf of Oliver
Fixed in 5ca75067ea. The empty-draft path now forwards the resolved manual selection to openProjectDraft, so it keeps the same machine as the in-place path for drafts with a prompt.
Sorry, I'm unable to act on this request because you do not have permissions within this repository.
| … | … | @@ -677,15 +680,25 @@ export function NewTaskDraftScreen(props: { | |
| 677 | 680 | lastInitialProjectRefRef.current = props.initialProjectRef; | |
| 678 | 681 | appliedInitialProjectKeyRef.current = null; | |
| 679 | 682 | } | |
| 683 | + | if (appliedInitialProjectKeyRef.current !== null) return; | |
🟠 High threads/NewTaskDraftScreen.tsx:683
If the project applied from initialProjectRef is deleted while the draft is open, this unconditional latch leaves the composer on the provider’s fallback project, so submitting sends the existing prompt to a different project without the user selecting it. Only skip initialization while the applied project is still present in projects, allowing the missing-project path to return to the picker.
No longer relevant as of 5ca75067ea409e83b6369415cad20a10cd584efd
Note
🤖 Claude Opus 5.5 on behalf of Oliver
Fixed in 5ca75067ea. Initialization now skips only while the applied project is still in projects, so a deleted project falls through to the missing-project path and back to the picker, while later picker switches are still not reverted.
Sorry, I'm unable to act on this request because you do not have permissions within this repository.