refactor: remove legacy symlink migration code #25
Reference in New Issue
Block a user
Delete Branch "refactor/remove-legacy-symlink-migration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Remove
migrateStorageIfNeeded()— the last code referencinguncaged.Why
This function created symlinks from
~/.uncaged/workflow→~/.uwfand~/.uncaged/json-cas→~/.ocason every CLI startup. With the migration complete, this is dead code. Users on old paths can do a one-time manual copy.Changes
migrateStorageIfNeeded()fromstore.tscli.tssymlinkSyncimportstore-storage-root.test.tsResult
Zero
uncagedreferences in active codebase (onlydocs/plans/historical docs remain).check ✅, 397 CLI tests pass, 0 fail.
LGTM ✅ symlink 迁移代码 + 测试删除,-80 行。活跃代码零 uncaged 残留。