Skip to content

feat(desktop): add guarded Mirror execution - #162

Merged
Ava-91 merged 3 commits into
mainfrom
migration/phase7-mirror-execution
Oct 17, 2026
Merged

Ava-91 merged 3 commits into
mainfrom
migration/phase7-mirror-execution

Conversation

@Ava-91

@Ava-91 Ava-91 commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Phase 7 — guarded Mirror execution

  • Adds a read-only Mirror preview bound to the selected master direction, normalized backup root, exact operation list, skipped items, and blockers.
  • Adds execution only with exact MIRROR confirmation, a fresh complete scan, a matching preview token, and a backup root outside both libraries.
  • Uses the existing Mirror transaction engine, which creates and verifies a destination backup before mutation; unresolved fuzzy matches and blocked previews cannot execute.
  • The desktop UI displays the complete operation list, with separate full deletion and replacement lists before the confirmation gate.
  • Tests use temporary directories and synthetic WAV files only; they cover deletion backup, exact confirmation, token tampering, and unsafe backup locations.
  • Restore remains locked for Phase 8.

@Ava-91 Ava-91 self-assigned this Oct 17, 2026
@Ava-91
Ava-91 merged commit d6a8e6f into main Oct 17, 2026
4 checks passed
@Ava-91
Ava-91 deleted the migration/phase7-mirror-execution branch October 17, 2026 09:21
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