Skip to content

Repair managed integration paths with no-write previews and recoverable journals - #84

Merged
Anheledir merged 5 commits into
mainfrom
feature/managed-hook-repair
Nov 30, 2026
Merged

Anheledir merged 5 commits into
mainfrom
feature/managed-hook-repair

Conversation

@Anheledir

@Anheledir Anheledir commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Managed integrations can still point into Downloads after SPN is installed elsewhere. spn agents repair now previews old/new executable paths for all five current providers; --apply repairs 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; --recover reconciles 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.

@Anheledir
Anheledir merged commit cb7ec8e into main Nov 30, 2026
17 checks passed
@Anheledir
Anheledir deleted the feature/managed-hook-repair branch November 30, 2026 12:24
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.

Add previewable repair of managed integration executable paths

1 participant