Operations

Upgrade Rollback Doctor

Turn every OpenClaw upgrade from a fingers-crossed moment into a documented, reversible procedure. Preflight checks, smoke tests, and explicit rollback checklists — no guesswork, no surprises.

Buy Now — $4.99

One-time purchase · Instant download · Yours forever

Released: 2026-05-01

Price: $4.99

Category: operations

What It Does

Upgrade Rollback Doctor makes OpenClaw upgrades reversible. Before you upgrade, it runs preflight checks — capturing your current version, git state, key files, disk space, and skill inventory as a restore point. After you upgrade, it runs smoke tests across Python, git, config files, and skill scripts to verify everything still works. If something breaks, you get an explicit, human-executable rollback checklist with no guesswork.

Key Features

Preflight Mode

Run before upgrading to capture a complete readiness snapshot: current version and git status, Python version check, key file inventory, disk space, and list of installed skills (up to 20 skill scripts syntax-checked via py_compile).

Smoke Test Mode

Run after upgrading to verify the new version is healthy: Python version, git workspace status, key config and memory files present, skill scripts syntax-valid. Summary verdict: PASS or FAIL with specific failing items listed.

Rollback Checklist Generation

When smoke tests fail, the tool produces a prioritised, human-readable rollback checklist covering steps to restore from the preflight snapshot, which files or skills failed validation, git commands to revert, and confirmation steps.

JSON Report Output

Both preflight and smoke results write structured JSON to --out for archiving, diffing, and handoff to the Slider verification step.

Usage

python3 scripts/upgrade_rollback_doctor.py preflight --workspace /root/.openclaw/workspace --out preflight.json
python3 scripts/upgrade_rollback_doctor.py smoke --workspace /root/.openclaw/workspace --out smoke.json

Requirements

QA and Security Notes

Viper QA passed (5/5) and Warlock security cleared this release on 2026-05-01. subprocess.run() uses fixed argument lists only — no shell=True, no user-controlled input. All subprocess calls bounded by timeout=15. No network, no secrets, no destructive writes. PACKAGED_PROD_VERIFIED.

Ready to get started?

One-time purchase. No subscription. Download instantly and use forever.

Buy Now — $4.99
Category: OperationsPrice: $4.99 USDReleased: 2026-05-01Skill ID: upgrade-rollback-doctor