diff --git a/docs/getting-started/client-configuration.md b/docs/getting-started/client-configuration.md index 2489e9d707..7c46e11b11 100644 --- a/docs/getting-started/client-configuration.md +++ b/docs/getting-started/client-configuration.md @@ -24,8 +24,10 @@ version updates. When no eligible alias exists, setup uses the selected installation paths. This also applies when setup runs through a package runner: retain the selected cache entry and runtime while the registration uses them. Clearing either makes startup fail without resolving -another package from the client's project. Restore the same installation before -repairing it; an unidentified registration remains untouched. See +another package from the client's project. Setup refreshes a registration of +another installed `rea-agents` package; when that installation is gone, restore +it before repairing the registration, because an unidentified registration +remains untouched. See [installation and recovery](installation.md#package-runners-and-global-installation). For a supported Aube v2 package shim, setup saves a wrapper around the shim so @@ -57,8 +59,9 @@ the runtime command, preserving the REA script arguments and other settings. Rerun setup to review the registration and restart the client. Doctor JSON records each registration's `command_identity` as `owned`, `foreign`, -or `unknown`, separately from its readiness `state`. An invalid timeout or client -policy can leave ownership established. Setup uses that recorded observation for +or `unknown`, separately from its readiness `state`. A launcher of another +installed `rea-agents` package or runtime is `owned` with a `stale` state. An +invalid timeout or client policy can leave ownership established. Setup uses that recorded observation for its default client selection, then inspects selected configuration again before planning writes; a missing or unreadable launcher remains unknown. diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index cf773b7fcb..f42bdf61e0 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -2242,11 +2242,14 @@ untouched. Setup does not prewarm a separate package-runner command. If setup itself runs from a package-runner cache, the registration depends on that cache entry and the selected runtime remaining installed. Removing either -makes startup fail; it does not download or resolve another package. Restore the -same installation and rerun setup. Changing package requests, cache roots, or -runtimes can create a different installation identity. If the old entry cannot be -identified, restore it first or manually remove the confirmed REA registration -before running setup again. A global installation provides a more durable path. +makes startup fail; it does not download or resolve another package. Changing +package requests, cache roots, or runtimes selects a different installation. Doctor +reports a registration of another installation as owned but stale, and setup +refreshes it with a backup, when its script still resolves to the CLI script that +an installed `node_modules/rea-agents/package.json` names. A removed cache entry +leaves ownership unknown: restore the same installation first or manually remove +the confirmed REA registration before running setup again. A global installation +provides a more durable path. ## Package runners and global installation