fix(setup): stop uninstall before removals when a client config is unsafe
The installation guide says malformed client configuration stops `rea uninstall`, but uninstall reported that client as failed and still removed other clients' registrations, the bundled skill, and with --purge-data REA's cache and state. Inspect every client configuration first, using the conditions setup already treats as blocking (unsafe path, unreadable file, malformed document), and stop before any removal when one fails. Purge paths that are symbolic links are still retained and reported per item, as the guide now states. Fixes #1164 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
de5bfec79f
commit
5cc841d5c1
@@ -573,8 +573,10 @@ rea uninstall --purge-data
|
||||
|
||||
Uninstall preserves Hopper, Node.js, Evidence files, captures, unrelated skills
|
||||
and other MCP servers. Purging removes only REA's cache and state under
|
||||
`~/.rea`; malformed client configuration or purge-path symlinks stop the
|
||||
operation. See the [CLI guide](cli.md#output-and-exit-status) for exit statuses.
|
||||
`~/.rea`. A client configuration that is malformed, unreadable, or at an unsafe
|
||||
path stops the operation before anything is removed; a purge path that is a
|
||||
symbolic link is retained and reported rather than followed. See the
|
||||
[CLI guide](cli.md#output-and-exit-status) for exit statuses.
|
||||
|
||||
## MCP Registry
|
||||
|
||||
|
||||
Reference in New Issue
Block a user