← ClaudeAtlas

openclaw-upgradelisted

Safe OpenClaw version upgrade with regression checklist. Use when kcn says "升级 openclaw" / "openclaw 有没有更新" / "/openclaw-upgrade", or after noticing a newer npm version. Encodes the validated 6.8 flow — checks for in-flight crons before restart, uses the built-in updater, and runs the full regression gate (cron count, embedding, weixin delivery, model chain). Different from `openclaw-tune` (periodic maintenance, no version bump).
KCNyu/clawock · ★ 9 · AI & Automation · score 72
Install: claude install-skill KCNyu/clawock
# OpenClaw Safe Upgrade Kcn runs a live automated trading system on OpenClaw. An upgrade that loses crons, breaks embeddings, or orphans an in-flight cron is a production incident. This is the battle-tested flow (5.28→6.1→6.5→6.6→6.8). Full version-specific history lives in auto-memory `openclaw-update-missing-deps.md` — read it first for the target version's known traps. ## 0. Check + decide 1. `openclaw --version` vs `npm view openclaw version` (latest). Pull the changelog (`npm pack openclaw@<v>` → `package/CHANGELOG.md`) and judge relevance — don't upgrade reflexively. 2. Read auto-memory `openclaw-update-missing-deps.md` for that version's traps. ## 1. 🔴 Never restart the gateway while a cron is in-flight `openclaw cron list | grep running` — if anything is **running**, WAIT (a SIGTERM mid-run orphans it into permanent `running`). Use `--no-restart` and pick a quiet window between cron slots (`./check_crons.sh --timeline`). ## 2. Update (built-in updater, since 6.x) ``` openclaw update --tag <version> --no-restart --yes ``` This auto-reinstalls/links managed plugins (weixin, llama-cpp, codex) — no manual `pnpm add`, no systemd edits, no `restore-llama-embeddings.sh` needed. (Pre-6.x manual flow is in the memory file.) ## 3. Restart in a clean window Re-confirm nothing running → `openclaw gateway restart`. ## 4. Regression gate (ALL must pass before declaring done) | Check | Command | Pass = | |---|---|---| | version | `openclaw --version` | shows target | | **cron