fix(autosave): include branchName in persisted snapshot#36
Merged
Conversation
updateTaskBranch (used by MergeDialog's branch mismatch fix) updates branchName in the store, but the autosave snapshot didn't track it. If branchName was the only field that changed, the debounced save would not trigger, potentially losing the update on app restart. https://claude.ai/code/session_01McqHYwdaCNNXqPQWGBTGS4
brooksc
added a commit
to brooksc/parallel-code
that referenced
this pull request
May 11, 2026
…johannesjo#39 - johannesjo#33: restart round-trip — hydrateTask rewrites config with new subtaskToken (not coordinator token) when setMCPServerInfo has already run; and waitForIdle resolves after agent output fires post-hydration - johannesjo#36: mcpConfigPath directory scoping — path traversal rejected, wrong-dir rejected, correct host tmpdir accepted, Docker dirname(serverPath) accepted, Docker wrong-dir rejected - johannesjo#39: per-task close isolation — closing task-1 deletes only its config file; task-2 config and task entry remain untouched Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
brooksc
added a commit
to brooksc/parallel-code
that referenced
this pull request
May 14, 2026
…johannesjo#39 - johannesjo#33: restart round-trip — hydrateTask rewrites config with new subtaskToken (not coordinator token) when setMCPServerInfo has already run; and waitForIdle resolves after agent output fires post-hydration - johannesjo#36: mcpConfigPath directory scoping — path traversal rejected, wrong-dir rejected, correct host tmpdir accepted, Docker dirname(serverPath) accepted, Docker wrong-dir rejected - johannesjo#39: per-task close isolation — closing task-1 deletes only its config file; task-2 config and task entry remain untouched Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
updateTaskBranch (used by MergeDialog's branch mismatch fix) updates
branchName in the store, but the autosave snapshot didn't track it.
If branchName was the only field that changed, the debounced save
would not trigger, potentially losing the update on app restart.
https://claude.ai/code/session_01McqHYwdaCNNXqPQWGBTGS4