- Add rehydrate() method and scanIdleWorktrees() to restore idle worktrees from disk on startup - Add cleanupOrphanedWorktrees() to remove stale worktrees when recycling is disabled - Wire startup rehydrate/cleanup into dashboard command based on recycleWorktrees setting - Export new functions from @kb/engine and update dashboard imports - Add unit tests for rehydrate/scan/cleanup and integration tests for restart resilience
259 B
259 B
@dustinbyrne/kb
| @dustinbyrne/kb |
|---|
| patch |
Persist worktree pool across engine restarts. When recycleWorktrees is enabled, idle worktrees are rehydrated from disk on startup instead of being forgotten. When disabled, orphaned worktrees are cleaned up automatically.