Phase-3 post-rebase reconcile ran 'git submodule update --init --recursive' unconditionally, force-detaching every submodule to the parent's pinned gitlink and discarding any feature branch, commits, or uncommitted edits inside it. The Phase-1a init guard did not cover this path. New submodule_update_safe() advances ONLY submodules in the pristine pinned state (clean, detached HEAD) and skips any on a branch or with uncommitted changes, so in-progress submodule work survives a parent sync. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
40 KiB
Executable File
40 KiB
Executable File