惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
J
Java Code Geeks
I
InfoQ
V
Visual Studio Blog
M
MIT News - Artificial intelligence
H
Help Net Security
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
F
Fortinet All Blogs
Apple Machine Learning Research
Apple Machine Learning Research
人人都是产品经理
人人都是产品经理
G
Google Developers Blog
A
About on SuperTechFans
腾讯CDC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Last Week in AI
Last Week in AI
小众软件
小众软件
aimingoo的专栏
aimingoo的专栏
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
云风的 BLOG
云风的 BLOG
S
SegmentFault 最新的问题
WordPress大学
WordPress大学

Hacker News - Newest: "OpenClaw"

OpenClaw just launched an official app for iPhone, details here - 9to5Mac OpenClaw Launch — Deploy AI Chatbots in Seconds Self-Host OpenClaw AI Agent on VPS: Full Setup Guide GitHub - xltvy/openclaw-memgpt: OpenClaw plugin that gives agents MemGPT-style memory: tiered core/archival/recall storage, self-directed memory operations via tool calls, memory-pressure warnings, and recursive summarisation. Integrates the reference MemGPT implementation via a local sidecar service, preserving the original architecture without reimplementation. Malicious AI 23 ClawHub Plugins Squat Official Org Scopes - Manifold Security what shipping OpenClaw in production taught us — AutoClaw AgentLine — AI Phone API | Phone Numbers, Voice & SMS for AI Agents Make Your OpenClaw Agent Cheaper, and Measure It Yourself GitHub - sammysltd/OpenEmployee: Make your OpenClaw agent employable: deny-by-default governance, budgets, allowlists, approval gates, and a signed audit trail via MakerChecker. Migrate from OpenClaw | Hermes Agent StackOverflow closed my OpenClaw and paperclipAI integration q. as "irrelevant" GitHub - sausin/outpost: Removing AI agents' quiet security problem Potassium — ClawHub Plugins Pi Building Pi, Openclaw's Minimalist Coding Agent | Mario Zechner, Creator of Pi I Spent 4 Hours So You Don’t Have To: Hetzner Metal + NixOS in ~15 Minutes − Irakli's blog GitHub - snuri00/osint-mcp: Self-hosted OSINT toolkit — MCP server, AI REPL, CLI, web app & chat apps (WhatsApp/Telegram/Discord via OpenClaw). Entity, event/news & social/community intelligence. Keyless-first. What a Regex Can't Do GitHub - ai-sns/openclaw-hermes-agent-network: OpenClaw Hermes AI Agent Social Network🦞💬🦞Built on Google 3D Maps and A2A protocol, connects OpenClaw and Hermes agents worldwide in a 3D environment. Phishing for Lobsters: How We Tricked OpenClaw into Spilling Secrets GitHub - CODEANDTRUST/clawcall: Give your OpenClaw / self-hosted AI agent inbound phone calls - a Twilio-to-gateway voice bridge with working agent tools mid-call (MIT). Build a ZeroCost Web Automation Pipeline with OpenRouter, OpenClaw, and MediaUse Let OpenClaw Run Wild in Simulation, Not on Your Customers | Veris AI GitHub - gpdir16/tabyAgent: A lighter, easier alternative to OpenClaw/Hermes. Runs autonomously inside Docker and chats with you through Telegram. Ask HN: What are the biggest problems you find in OpenClaw/Hermes? Microsoft launches Scout, an OpenClaw-inspired personal assistant GitHub - openclaw/openclaw-windows-node: Windows companion suite for OpenClaw - System Tray app, Shared library, Node, and PowerToys Command Palette extension Microsoft unveils Scout, an autonomous AI agent built on OpenClaw Gavriel Cohen found his own code inside OpenClaw, so he walked away GitHub - hunvreus/heypi: Chat agents for your team, with approvals and sandboxed tools. Slack, Discord, Telegram, webhooks.
GitHub - haishmg/Clawback
princeharry8 · 2026-05-03 · via Hacker News - Newest: "OpenClaw"

Clawback is an upgrade safety tool for OpenClaw installs. It captures a local baseline, rehearses a target OpenClaw version in a sanitized container, writes redacted reports, and provides guarded update/rollback commands.

It is Linux/POSIX-first today. The CLI may work elsewhere, but the helper scripts assume bash, and container rehearsal expects Docker or Podman.

Why This Exists

Clawback started after a real OpenClaw upgrade path hurt more than it should have. A working install moved from 2026.4.26 toward 2026.4.29, hit upgrade issues, then even 2026.4.26 stopped being a good recovery point. The setup eventually had to be manually rolled back to 2026.4.23, where OpenClaw was performant and stable again.

That experience exposed the core problem this project tries to solve: every OpenClaw install can be different. Agents, channels, gateway auth, task history, workspace paths, systemd state, device links, and host resources all matter. A version that looks fine in a generic smoke test can still break a specific personal setup. Clawback gives users a repeatable way to capture their own baseline, rehearse a target version in a container, compare behavior, and keep a rollback path ready before touching the live install.

Install

Use the latest release tag for a stable checkout:

git clone --depth 1 --branch v0.3.3 https://github.com/haishmg/Clawback.git clawback
cd clawback
npm install --ignore-scripts
node bin/clawback.js --help

To make clawback available globally from the checkout:

npm link
clawback --help

Replace v0.3.3 with the newest tag from https://github.com/haishmg/Clawback/releases/latest when a newer release exists.

Upgrade Workflow

Run the pre-upgrade suite before changing OpenClaw:

npm run suite:pre

This exports a sanitized fixture, captures a local baseline, runs a same-harness container baseline for the currently installed OpenClaw version, then runs the target container rehearsal against that container baseline.

The checks overlap on purpose. The local baseline records what is already true on the live host before upgrading. The container baseline records what the current OpenClaw package can do in the same isolated harness. The target container is then compared against that same-harness baseline, so a target that loses gateway identity, scopes, command JSON behavior, configured channels, or other baseline behavior becomes a hard failure instead of a generic container warning.

The first container runs can take several minutes because the suite builds images and installs OpenClaw inside them. On small hosts, expect the report to take around 10 minutes or more.

Review both summaries:

less reports/before-upgrade/summary.md
less reports/container-rehearsal/run/summary.md

To rehearse a specific OpenClaw target:

npm run suite:pre -- --target 2026.4.29

If the container rehearsal fails, do not upgrade. If it passes, start with the guarded update dry run printed by the rehearsal output.

Run the post-upgrade comparison after upgrading:

npm run suite:post

Post-upgrade mode waits up to 120 seconds for the gateway to settle, then compares live health, channels, agents, and baseline drift. If it reports errors, fix them before trusting the upgraded install or roll back with the recorded rollback plan.

Guarded Update

Dry-run the host update first:

npm run upgrade:apply -- --target 2026.4.29 --report reports/container-rehearsal/run/report.json

Apply only after reviewing the dry run:

npm run upgrade:apply -- --target 2026.4.29 --report reports/container-rehearsal/run/report.json --accept-low-fidelity --yes

If post-upgrade validation fails, roll back:

npm run upgrade:rollback -- --plan reports/updates/<run>/rollback.json --yes
npm run suite:post

The updater refuses to change the host unless the report matches the requested target and has zero hard errors. Reports marked with container.fidelity.host_replica require --accept-low-fidelity because a sanitized container is not a full live-host replica.

Direct Commands

Run only the local guard:

node bin/clawback.js --mode baseline

Run only a container rehearsal:

npm run container:export -- ~/.openclaw fixtures/openclaw-sanitized
OPENCLAW_PACKAGE=openclaw@latest npm run container:rehearse -- fixtures/openclaw-sanitized

For private high-fidelity rehearsals, opt into bulky local state explicitly:

npm run suite:pre -- --target 2026.4.29 --private-fixture

The target package installed in the container includes its own bundled plugins. --private-fixture is only for testing how the target behaves with this host's workspace files and existing generated ~/.openclaw/plugin-runtime-deps cache.

The rehearsal container and built rehearsal image are removed after verification by default. Add --keep-image only when you need to inspect the image after a run.

Compare a target against a same-harness container baseline:

npm run container:export -- ~/.openclaw fixtures/openclaw-sanitized
OPENCLAW_BASELINE_PACKAGE=openclaw@2026.4.23 OPENCLAW_PACKAGE=openclaw@2026.4.29 npm run container:compare -- fixtures/openclaw-sanitized

See docs/container-rehearsal.md for container details, limitations, and Docker/Podman disk usage notes.

Reports

Each run writes:

  • report.json: machine-readable command results and checks with common secrets redacted.
  • summary.md: human-readable findings and next steps.
  • report.html: interactive dashboard with severity filters, search, expandable details, timing bars, and resource cards.

By default, CLI progress shows only important checkpoints: phases plus failed, warning, or retried probes. Use --debug to print every validation probe and command result. Use --quiet to suppress progress output.

Exit codes:

  • 0: no hard errors.
  • 1: errors were found, or warnings were found with --strict-warnings.
  • 2: the guard itself failed, for example due to invalid arguments.

What It Checks

Clawback checks OpenClaw CLI availability, runtime/update metadata, gateway reachability, service state, configured channels, agents, workspace/session paths, cron/task commands, config validation, baseline drift, and host resource pressure.

Immediate runtime failures are errors. Historical task failures, old lost tasks, bootstrap-pending agents, unavailable optional commands, and container-only host fidelity gaps are warnings unless they represent a new baseline regression.

Limitations

  • Container rehearsal is a compatibility smoke test, not a full live-host clone.
  • It does not exercise live channel auth/device stores, external workspace directories, task history, locks, logs, media, memory, or runtime caches unless you deliberately mount/copy more state.
  • It does not send live test messages to chat channels.
  • Platform coverage outside Linux/POSIX is experimental.

Development

Run tests and smoke checks:

npm test
npm run check
npm run regression:offline
npm run ci

Run against a non-default OpenClaw executable:

node bin/clawback.js --openclaw /path/to/openclaw --mode baseline

Clawhub Helper

The repo includes a small Clawhub helper plugin in packages/clawback-openclaw-plugin. It only prints setup/rehearsal commands; the real Clawback CLI remains the useful path because upgrade rehearsals need shell and container access.

From a checkout:

openclaw plugins install packages/clawback-openclaw-plugin --link
openclaw plugins enable clawback
openclaw clawback commands --target 2026.4.29 --private-fixture

Once published through Clawhub, the install path should be:

openclaw plugins install clawhub:clawback
openclaw plugins enable clawback

See CONTRIBUTING.md, docs/regression.md, docs/releases.md, and CHANGELOG.md.