mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-19 01:51:21 +08:00
A transient connection reconnect while the app was paused for legacy migration re-ran load(), which skipped migration (gate=AlreadyOffered) and dropped the app into Ready, silently dismissing the wizard. The connection-state watcher now preserves MigrationRequired across Connecting/Connected/Error churn, mirroring the existing reconnect() guard. The worktree session editor also sat on a blank panel: while the backend was paused it could not create a session and never retried. It now shows the empty session panel (like the tool window) when creation is not yet possible, and re-runs start() once migration completes so the session appears. Adds script/clear-migration-status.sh to reset the migration status for local testing.