Orchestration

Upgrade Rollback Doctor

**Skill:** upgrade-rollback-doctor

Buy Now — $4.99

One-time purchase · Instant download · Yours forever

Upgrade Rollback Doctor — Release Notes v1.0

Skill: upgrade-rollback-doctor

Version: 1.0.0

Release Date: 2026-05-01

Category: orchestration

Price: $4.99


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.

It's the safety net that turns a stressful upgrade into a confident, documented procedure.


Key Features

Preflight Mode

Run before upgrading to capture a complete readiness snapshot:

Preflight output is written to JSON for comparison after the upgrade.

Smoke Test Mode

Run after upgrading to verify the new version is healthy:

Rollback Checklist Generation

When smoke tests fail, the tool produces a prioritised, human-readable rollback checklist covering:

1. Steps to restore from the captured preflight snapshot

2. Which specific files or skills failed validation

3. Git commands needed to revert if a git-based upgrade was used

4. Confirmation steps to verify rollback succeeded

JSON Report Output

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


Usage


# Step 1: Run preflight BEFORE upgrading
python3 scripts/upgrade_rollback_doctor.py preflight \
  --workspace /root/.openclaw/workspace \
  --out preflight-2026-05-01.json

# [Apply your upgrade here]

# Step 2: Run smoke tests AFTER upgrading
python3 scripts/upgrade_rollback_doctor.py smoke \
  --workspace /root/.openclaw/workspace \
  --out smoke-2026-05-01.json

Example Preflight Output


{
  "mode": "preflight",
  "timestamp": "2026-05-01T09:00:00Z",
  "workspace": "/root/.openclaw/workspace",
  "python_version": "3.12.3",
  "git_status": "clean",
  "disk_space_mb": 4821,
  "skills_checked": 20,
  "skills_valid": 20,
  "skills_invalid": 0,
  "verdict": "READY"
}

Example Smoke Test Output


{
  "mode": "smoke",
  "timestamp": "2026-05-01T09:15:00Z",
  "workspace": "/root/.openclaw/workspace",
  "python_ok": true,
  "git_ok": true,
  "key_files_ok": true,
  "skills_valid": 20,
  "skills_invalid": 0,
  "verdict": "PASS",
  "rollback_required": false
}

Parameters

| Parameter | Description |

|-----------|-------------|

| preflight | Gather readiness checks before upgrade |

| smoke | Verify key files, Python, git, skill scripts after upgrade |

| --workspace | Path to OpenClaw workspace directory |

| --out | Optional path for JSON report output |


Guardrails


Requirements


Security & Quality Clearances

| Stage | Verdict | Date |

|-------|---------|------|

| Viper QA | APPROVED_FOR_RELEASE (5/5) | 2026-05-01 |

| Warlock Security Audit | SECURITY_CLEARED | 2026-05-01 |

Security audit summary:


Compatibility


*Release notes prepared by Hollywood — 2026-05-01*

Ready to get started?

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

Buy Now — $4.99
Category: Orchestration Price: $4.99 USD Released: 2026-05-13 Skill ID: upgrade-rollback-doctor