Skip to content

fix: close sync safety edge cases - #62

Merged
AksharP5 merged 1 commit into
mainfrom
fix/validate-tracked-local-state
Aug 24, 2026
Merged

fix: close sync safety edge cases#62
AksharP5 merged 1 commit into
mainfrom
fix/validate-tracked-local-state

Conversation

@AksharP5

Copy link
Copy Markdown
Owner

A post-merge audit found three boundary cases: Git-trackable local state escaped vault checks, rollback rejected backups from removed targets, and symlink aliases could hide overlapping target roots.

This rejects reserved local state in Git-backed vaults, lets manual rollback use the locally stored roots approved when each backup was captured, and canonicalizes target paths before grouping and overlap checks.

Tests:

  • npm test (105 passing)
  • npm pack --dry-run

@AksharP5
AksharP5 merged commit b6358c9 into main Aug 24, 2026
6 checks passed
@AksharP5
AksharP5 deleted the fix/validate-tracked-local-state branch August 24, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant