返回顶部
o

openclaw-safe-config-rollback

Safely apply OpenClaw config changes with automatic rollback and ack timeout guard. Use when editing ~/.openclaw/openclaw.json, restarting gateway, enabling cross-context routing, or any risky runtime config change that must auto-revert if health checks or explicit ack are missing.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.1
安全检测
已通过
467
下载量
0
收藏
概述
安装方式
版本历史

openclaw-safe-config-rollback

# OpenClaw Safe Config Rollback Use `scripts/safe_apply.sh` to enforce: backup → apply → restart → health check → optional ack wait → rollback on failure. ## Run ```bash bash scripts/safe_apply.sh \ --config ~/.openclaw/openclaw.json \ --apply-cmd 'python3 /tmp/patch.py' \ --ack-timeout 60 \ --require-ack ``` ## Ack mode When `--require-ack` is enabled, the script prints an ack token file path. A successful manual ack is: ```bash touch <ack-file-path> ``` If timeout expires without ack, rollback is triggered automatically. ## Defaults - Health probe command: `openclaw gateway status` and require `RPC probe: ok` - Restart command: `openclaw gateway restart` - Backup file: `<config>.bak.YYYYmmdd-HHMMSS` ## Recommended workflow 1. Prepare a deterministic patch command (`--apply-cmd`). 2. Run with `--require-ack --ack-timeout 45` for production changes. 3. Verify health. 4. Ack explicitly only after end-to-end validation. 5. Let timeout auto-rollback if validation cannot complete in time.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 openclaw-safe-config-rollback-1776293760 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 openclaw-safe-config-rollback-1776293760 技能

通过命令行安装

skillhub install openclaw-safe-config-rollback-1776293760

下载 Zip 包

⬇ 下载 openclaw-safe-config-rollback v0.1.1

文件大小: 2.52 KB | 发布时间: 2026-4-16 17:48

v0.1.1 最新 2026-4-16 17:48
Fix apply execution reliability (bash -lc), add --apply-file, safer rollback flow, and test-friendly health/restart flags

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部