fix(sync): init submodules on fresh clones; drop orphaned solverbot gitlink
Phase 1a used `git submodule foreach`, which only visits initialized submodules — a fresh machine silently skipped population while the script still reported success. It now explicitly inits + populates each submodule declared in .gitmodules (inheriting credentials from the parent origin URL so non-interactive init authenticates; .gitmodules stays credential-free), then advances each to its remote branch tip. Reporting reflects the real configured count. Also removes the orphaned `projects/solverbot` gitlink (mode 160000), committed without a .gitmodules entry, which made `git submodule status` throw `fatal: no submodule mapping`. solverbot's own Gitea repo is untouched. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Submodule projects/solverbot deleted from 60b2617651
Reference in New Issue
Block a user