Repository navigation
upgrade: warn that v2 is a preview before any switch - #142
Merged
Merged
Conversation
Every run that can switch the speakers now prints that speakerguardd v2 is a
preview: it does not fully match macOS yet, the legacy protection is the
supported default and stays installed, and how to revert. A run in a
terminal asks for confirmation; a non-interactive run (the boot unit,
scripts) needs --i-understand-preview and otherwise exits 2 ("not now")
with nothing collected, stored or switched. --check, status, --revert and
run --no-switch never ask.
The boot unit keeps its ExecStart, so enabling it alone switches nothing
while v2 is a preview; README.md shows the drop-in that opts in.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
runwithout--no-switch),aurora-speaker-upgradeprints: speakerguardd v2 is a PREVIEW; it does not fully match macOS yet; the legacy protection (speakersafetyd, speakerguardd 0.1) is the supported default and stays installed; to go back,sudo aurora-speaker-upgrade --revert.[y/N]; anything but y/yes exits 2 with nothing done.--i-understand-preview; without it exits 2 ("not now") with nothing collected, stored or switched. The unit already counts 2 as an outcome, and no refusal record is written.--check,status,--revert,run --no-switch: no warning, no prompt.Tests:
PreviewWarning(4 new) pass. On a host without python3-cryptography the 4GoVectors/GoArchivetests error, the same as on v2.🤖 Generated with Claude Code