Install
openclaw skills install @ambitioncn/hermes-action-loop-guardopenclaw skills install @ambitioncn/hermes-action-loop-guardUse the bundled installers for deterministic changes. Never hand-edit a live Hermes installation when preflight reports an unsupported layout.
HERMES_HOME, Hermes source directory, and gateway service.bash scripts/install-hermes-action-guard.sh status.bash scripts/install-hermes-action-guard.sh test-compat; both supported source-layout fixtures must pass.finish_reason, tool calls per turn, repeated failures or repeated successful results, compression, and reset policy.promise_stop, tool_failure_loop, tool_no_progress_loop, or polluted_session.install-hermes-action-guard.sh. For real tool-call loops, use install-hermes-tool-progress-guard.sh.install --dry-run. Stop if any source anchor is missing or ambiguous.install. The installer creates a timestamped manifest backup, stops the gateway only for the patch window, compile-checks Python, runs focused tests, restores automatically on error, and restarts only if it was active before.verify, then confirm the messaging WebSocket reconnects.When guard stops are enabled:
execute_code; do not rely on a tool's mutating classification alone.换思路, clear polluted counters, and continue the same conversation. A 61st stop event ends the turn.Recommended smallclaw thresholds: identical failure 3, successful identical no-progress 3, same-tool failure 5, total-call warnings at 20 and 40, a total-call breaker at 60, and 60 strategy redirects per turn. The first 60 stop events redirect with 换思路; a 61st hard-stops. Total count alone is a coarse safety signal; repetition-based no-progress guards remain the primary circuit breakers.
Use the exact backup path printed by the relevant installer:
bash scripts/<installer>.sh rollback --backup /exact/backup/path
Rollback restores only manifest-recorded targets, compile-checks restored Python, and restores the gateway's prior active/inactive state.