Add complete uninstall reset for fresh native installations

This commit is contained in:
2026-11-08 19:16:46 +00:00
parent e17bc2ca4f
commit 828227f549
6 changed files with 317 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# Full reset entry point
`./uninstall` removes this user's Pipelines installation and its password,
configuration, history/session data, managed skill directories and client build
outputs. It stops the login service, retained hosts and manually started managed
processes, then removes only Pipelines-labelled Docker resources, known build
volumes/legacy volumes and matching build images. The source checkout and provider
logins remain, so the next command is `./install`.
Partial installs without a manifest are supported. Recorded XDG roots and custom
web credential paths are included. Preflight rejects unsafe roots, symlinks,
source-content deletion, unmanaged service files and an unavailable Docker daemon.
Service-stop failure leaves installation/password data intact. There is no prompt;
invoking this entry point explicitly requests the complete reset.
Verification: 15 reset tests passed using real isolated filesystem fixtures and
fake service/process/Docker commands, plus all 55 native installer tests. Tests
cover scoped cleanup, password deletion, partial installs, idempotence, XDG/custom
credentials, retained-host/manual-supervisor matching, unrelated resource
preservation, and Linux/macOS service behavior. Python compilation, wrapper help,
shell syntax and diff checks passed. No production installation was uninstalled.