Skip to content

Require typed confirmation before resetting the VM - #96

Open
jamesyork-prog wants to merge 2 commits into
omacom:mainfrom
jamesyork-prog:contrib/typed-reset-confirmation
Open

Require typed confirmation before resetting the VM#96
jamesyork-prog wants to merge 2 commits into
omacom:mainfrom
jamesyork-prog:contrib/typed-reset-confirmation

Conversation

@jamesyork-prog

Copy link
Copy Markdown

Summary

  • require the exact text Try Omarchy before enabling the destructive Reset action
  • present confirmation as a cancellable native sheet tied to the start window
  • keep the existing unreachable-custom-folder recovery path unchanged because it does not erase a VM
  • add coverage for casing and whitespace mismatches

Why

Reset permanently removes the virtual machine, including its apps, files, accounts, and settings. A typed confirmation adds useful friction and makes accidental activation much less likely.

Tests

  • make test
  • 182 Swift tests across 42 suites passed
  • all shell and Python contract tests passed

Reset permanently erases the VM. Keep the destructive action disabled until the user types the exact application name, and present the confirmation as a cancellable native sheet.
Document the exact confirmation phrase and make clear that cancelling or dismissing the sheet leaves VM storage unchanged.
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