From 39d1dd474a2c501370774bea13cf63297c5d0fdf Mon Sep 17 00:00:00 2001 From: "lusendong.6789" Date: Thu, 3 Dec 2026 21:21:52 +0800 Subject: [PATCH] Document isolated pipx rollback for the split prerelease Signed-off-by: lusendong.6789 --- docs/guides/installing-loopx.md | 41 +++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/docs/guides/installing-loopx.md b/docs/guides/installing-loopx.md index 389d7ab02e..74ac801a67 100644 --- a/docs/guides/installing-loopx.md +++ b/docs/guides/installing-loopx.md @@ -209,6 +209,43 @@ loopx workflow-skills --install loopx doctor ``` + + +### Try a split-package prerelease with pipx + +Use a sibling pipx environment when adopting a published split-package +prerelease. An in-place update across this layout change can remove files +owned by the new Core package, including its launcher. + +Choose an unused suffix and substitute the exact published prerelease version. +Include dependency applications to expose the launcher provided by Core. + +```bash +pipx install --include-deps --suffix=-split "loopx==" +loopx-split doctor --installation-only --deep +``` + +Before switching, use the original launcher to reconcile any unfinished Turns +and read back their receipts. Stop the original execution owner once active +leases are clear. Use the prerelease launcher with the same registry and runtime +root. Verify the original Todo and receipt before resuming work. Keep one +execution owner active for the binding. + +To roll back, reconcile and stop the prerelease owner, then use the original +launcher with the same registry and runtime root. Read back the original Todo +and receipt before removing the prerelease environment. + +```bash +pipx uninstall loopx-split +``` + +拆包预发布应安装到使用未占用后缀的 pipx 环境。填入已发布的准确版本,并用 +`--include-deps` 暴露 Core 提供的入口。原地换包可能移除新装配需要的文件。 +切换前先用原入口对账未结束的 Turn,读回结算回执,确认没有活跃租约后停止原执行 +宿主。新入口沿用原 registry 和 runtime root,读回原 Todo 和回执后继续工作。 +同一绑定只保留一个执行宿主。回退时先对账并停止预发布宿主,再用原入口完成同样 +的读回,随后卸载预发布环境。 + ## macOS service identity and workspace selection Use the existing `scripts/macos-dashboard-launchagent.sh` from a matching @@ -534,6 +571,10 @@ processes to install workflow skills and slash commands, runs doctor, revalidate enabled extensions, and restarts managed local LoopX services. It does not switch the installation to an archive snapshot. +For a pipx installation moving to a split-package prerelease, use the +[separate pipx environment](#pipx-split-prerelease) and retain the original +launcher for rollback. + On Windows, an update requested through the pip/pipx `loopx.exe` launcher is refused before installation starts: the running launcher would prevent pip from replacing it and can leave a partially uninstalled package. Follow the