Repository navigation
Ship OpenClaw as the seed for a self-updating copy under ~/.openclaw - #651
Conversation
|
End-to-end review of 39a1bc5: this branch's The package does what #13296 needs from it: on a clean machine the tarball and installer seeded Screenshots and logs: https://gist.github.com/spencerbull/28a59f7434d54e7a993a640924b873e1 Second opinion: Codex at xhigh reviewed this with #13296 across five passes. Its one finding here was This has to land after #13296: on its own it removes the runtime under a running gateway with nothing on the machine to move it. Waiting on the maintainer. 🤖 Generated by Fable 5.1 in Claude Code. Reviewed by Codex XHigh. |
A copy under /usr/lib/node_modules belongs to pacman, and upstream's updater refuses to write there, so neither `openclaw update` nor the Control UI's Update Gateway worked. The package now carries the release instead: the sha256-pinned npm tarball and the install-cli.sh that came in it, from which Omarchy seeds a copy under ~/.openclaw that updates itself.
39a1bc5 to
a696e31
Compare
|
Second end-to-end review, of a696e31 with omacom/omarchy#13296 at 9ace84e6, on Proxmox workers built from the Omarchy ISO template. Each worker was dev-linked to current quattro (3faafba2) merged with #13296, which is the tree that would land, with this branch's Found and fixed here
Found and fixed in #13296 (details there)
Round 3, all passing. Upstream's latest is also 2026.9.6, so cases D and E use this PKGBUILD pinned to 2026.9.5 to show a real update.
Tests
Not covered: Every screenshot, the six scenario logs, the strace record of the channel search before and after, and the test output: https://gist.github.com/spencerbull/a0c56fd1f22abfcd1f3446d58303f913 Second opinion: Codex at xhigh reviewed this rebased package (no defects found) and each #13296 fix as it landed, over six passes. Three of its findings were declined, with reasons in the #13296 comment. Codex runs on the same machine and could read this session, so where it agreed, that agreement is not independent. Lands after omacom/omarchy#13296, as before. Waiting on the maintainer. 🤖 Generated by Fable 5.1 in Claude Code. Reviewed by Codex XHigh. |
Publish succeeded → livePackages: openclaw (x86_64, PR artifact); openclaw (aarch64, PR artifact)
|
This reverts f6b9267 (#651), at pkgrel 3 so it replaces 2026.9.6-2. OpenClaw rides the fast ring, so the seed package went straight to edge, rc and stable, where omarchy is still 4.0.4: nothing there seeds ~/.openclaw or moves an existing install, so every OpenClaw user lost the openclaw command on their next update while 4.0.4's --check went on calling it installed. The seed comes back with the Omarchy release that carries omacom/omarchy#13296.
This reverts fe15488 (#796), restoring #651's recipe exactly with pkgrel 4 so it replaces the runtime rollback's 2026.9.6-3. The package carries the release a self-updating OpenClaw under ~/.openclaw starts from, which only an Omarchy carrying omacom/omarchy#13296 and omacom/omarchy#14212 can set up.
Restores #651's recipe and install script exactly, at the 2026.9.9 release master now tracks and pkgrel 2 so it replaces the runtime package's 2026.9.9-1. The package carries the release a self-updating OpenClaw under ~/.openclaw starts from, which only an Omarchy carrying omacom/omarchy#13296 and omacom/omarchy#14212 can set up. The tarball has to be at least as new as any OpenClaw a user has already run: an older one refuses the state a newer one migrated.
Restores #651's recipe and install script exactly, at the 2026.10.1 release master now tracks and pkgrel 2 so it replaces the runtime package's 2026.10.1-1. The package carries the release a self-updating OpenClaw under ~/.openclaw starts from, which only an Omarchy carrying omacom/omarchy#13296 and omacom/omarchy#14212 can set up. The tarball has to be at least as new as any OpenClaw a user has already run: an older one refuses the state a newer one migrated.
Restores #651's seed at the 2026.10.1 release master now tracks, at pkgrel 2 so it replaces the runtime package's 2026.10.1-1. The package carries the release a self-updating OpenClaw under ~/.openclaw starts from, which only an Omarchy carrying omacom/omarchy#13296 and omacom/omarchy#14212 can set up. The tarball has to be at least as new as any OpenClaw a user has already run: an older one refuses the state a newer one migrated. Since 2026.10.1 upstream's install-cli.sh loads install-policy.sh from beside itself, and #651's recipe shipped only install-cli.sh, so every setup failed with "install-policy.sh: No such file or directory". The package now ships every install-*.sh in the tarball, and the build fails if install-cli.sh loads a helper it does not ship, so the next one upstream adds stops this build instead of users' updates.
Restores #651's seed at the 2026.10.1 release master now tracks, at pkgrel 2 so it replaces the runtime package's 2026.10.1-1. The package carries the release a self-updating OpenClaw under ~/.openclaw starts from, which only an Omarchy carrying omacom/omarchy#13296 and omacom/omarchy#14212 can set up. The tarball has to be at least as new as any OpenClaw a user has already run: an older one refuses the state a newer one migrated. Since 2026.10.1 upstream's install-cli.sh loads install-policy.sh from beside itself, and #651's recipe shipped only install-cli.sh, so every setup failed with "install-policy.sh: No such file or directory". The package now ships every install-*.sh in the tarball, and the build fails if install-cli.sh loads a helper it does not ship, so the next one upstream adds stops this build instead of users' updates.
Restores #651's seed at the 2026.10.4 release master now tracks, at pkgrel 2 so it replaces the runtime package's 2026.10.4-1. The package carries the release a self-updating OpenClaw under ~/.openclaw starts from, which only an Omarchy carrying omacom/omarchy#14212, whose migration 1792334754 makes the move, can set up. The tarball has to be at least as new as any OpenClaw a user has already run: an older one refuses the state a newer one migrated. Since 2026.10.1 upstream's install-cli.sh loads install-policy.sh from beside itself, and #651's recipe shipped only install-cli.sh, so every setup failed with "install-policy.sh: No such file or directory". The package now ships every install-*.sh in the tarball, and the build fails if install-cli.sh loads a helper it does not ship, so the next one upstream adds stops this build instead of users' updates.
…#797) * Ship OpenClaw as the seed again, at 2026.10.4-2 Restores #651's seed at the 2026.10.4 release master now tracks, at pkgrel 2 so it replaces the runtime package's 2026.10.4-1. The package carries the release a self-updating OpenClaw under ~/.openclaw starts from, which only an Omarchy carrying omacom/omarchy#14212, whose migration 1792334754 makes the move, can set up. The tarball has to be at least as new as any OpenClaw a user has already run: an older one refuses the state a newer one migrated. Since 2026.10.1 upstream's install-cli.sh loads install-policy.sh from beside itself, and #651's recipe shipped only install-cli.sh, so every setup failed with "install-policy.sh: No such file or directory". The package now ships every install-*.sh in the tarball, and the build fails if install-cli.sh loads a helper it does not ship, so the next one upstream adds stops this build instead of users' updates. * Take OpenClaw off the fast ring The fast ring builds a package straight into edge, rc and stable, which is what put the seed in front of every channel's Omarchy 4.0.4 at once and left OpenClaw users without the openclaw command. The seed only works with the Omarchy that sets it up, so it now builds in edge and reaches rc and stable through the release train with that release. It stays on the auto-merge lane: upstream releases still arrive through the npm watch and its 24h age, now into edge first, and the runtime under ~/.openclaw updates itself whatever the package's channel. * Check the seed's installer by loading it, not by reading it Matching one spelling of `source` missed a helper loaded another way or by install-policy.sh itself, and rejected a match inside a heredoc. Running the shipped install-cli.sh --help from the package directory loads every helper it needs at start, however it names them, and touches nothing else. Co-Authored-By: Codex XHigh <noreply@openai.com> --------- Co-authored-by: Codex XHigh <noreply@openai.com>





This package installed OpenClaw into
/usr/lib/node_modules/openclaw, where pacman and root own it and upstream's updater refuses to write, so neitheropenclaw updatenor the Control UI's Update Gateway worked on an Omarchy machine./usr/bin/openclawalso came ahead of any user-owned copy on Omarchy'sPATH.It now carries the release instead of running it: the npm tarball, still sha256-pinned and still on the fast ring with its 24-hour release age, at
/usr/share/openclaw/openclaw.tgz, beside theinstall-cli.shthat came inside it and the Control UI icon the web app uses. omacom/omarchy#13296 seeds a self-updating copy under~/.openclawfrom exactly that tarball with that installer, and moves an existing install and its gateway service there. The installer brings its own Node, sonodejsis no longer a dependency;gitis, because the installer would otherwise try to install it with sudo, andcurlis what it downloads with. On upgrade the scriptlet says OpenClaw runs from~/.openclawand updates itself, and thatomarchy updatemoves one still running from/usrthere. It says the same whichever release a machine is leaving, since the upstream sync moves the version and which earlier releases were the runtime cannot be read from it.This lands after omacom/omarchy#13296. On its own it would remove the runtime under a running gateway, with nothing on the machine to move it to
~/.openclaw.🤖 Generated by Fable 5.1 in Claude Code. Reviewed by Codex XHigh.