7 months ago
04c2467- Extract runWorkspaceBackupOp() in SessionAdminManager to eliminate copy-pasted root-session guard / impl check / try-catch across 6 methods - Extract normalizeMetadataOnLoad() in sessionBackup.ts to share fingerprint resolution + initial checkpoint logic between openExisting() and reloadFromDisk() - Merge buildInitializingState/buildDisabledState into buildPlaceholderState() in SessionBackupController - Add unit tests for summarizeSnapshotDelta (added/modified/deleted, identical snapshots, truncation, empty baseline/current, path sorting) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Parent6ca6cf3