Previously, sessions created in a non-git directory would disappear from the session picker after running git init and making the first commit. This happened because the migration logic ran prematurely before a stable project ID existed.
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>