Repository navigation
Repair managed integration paths with no-write previews and recoverable journals - #84
Merged
Merged
Conversation
This was referenced Nov 30, 2026
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.
Managed integrations can still point into Downloads after SPN is installed elsewhere.
spn agents repairnow previews old/new executable paths for all five current providers;--applyrepairs owned configurations while preserving unrelated settings and the original uninstall backup. The old executable may already be missing.Repair proves the entire previous generated configuration against the ownership hash and exact original backup before regenerating it. It refuses manual edits, modified/missing backups, unknown shapes, symlinks and conflicted batches. Every change keeps an exact private repair backup and a journal;
--recoverreconciles either interrupted atomic-write boundary without rewriting provider configuration. A running host blocks changes; restart remains explicit with the user's previous options. No trust/permission settings are approved or changed.Validation: 191 .NET tests on the combined main/repair tree passed locally, including all five providers with Bash/Windows command forms, missing old executables, Unicode/apostrophe paths, exact restoration, permission preservation, legacy ownership records and interrupted/edited/missing-backup recovery. Published Linux CLI smoke checks cover five-provider preview/apply/repeat/uninstall, no-write previews, misspelled option refusal and running-host refusal. Native Windows/Linux/macOS CI, installation, updater, five-provider repair/recovery, JSON and startup/security checks all passed on 4397e8d. Run: https://github.com/Anheledir/SidePulse.NET/actions/runs/46417512063. Real provider-session acceptance remains separate.
Closes #30. Related #18, #6, #9, #40.