Eliminate the unused --delete-local option and related code from the filesystem migration script to prevent accidental local data removal. Introduce a cleanupClaimedLegacyFsSources utility for removing legacy filesystem sources after claim, and integrate it into the user claim flow. Add unit tests to verify the cleanup logic. |
||
|---|---|---|
| .. | ||
| claim-data.ts | ||
| data-cleanup.ts | ||
| data-export.ts | ||
| legacy-fs-claim-cleanup.ts | ||
| preferences-payload.ts | ||
| resolve-state-scope.ts | ||