-
Notifications
You must be signed in to change notification settings - Fork 18
Target-hosted snapshot command terminates its lifecycle owner and leaves the gateway stopped #134
Copy link
Copy link
Open
Labels
P1Urgent regression or broken agent/channel workflow affecting real users now.Urgent regression or broken agent/channel workflow affecting real users now.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:crash-loopThis issue is about crashes, hangs, restart loops, or process-level availability.This issue is about crashes, hangs, restart loops, or process-level availability.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Activity
Metadata
Metadata
Assignees
Labels
P1Urgent regression or broken agent/channel workflow affecting real users now.Urgent regression or broken agent/channel workflow affecting real users now.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:crash-loopThis issue is about crashes, hangs, restart loops, or process-level availability.This issue is about crashes, hangs, restart loops, or process-level availability.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Summary
Running
ocm env snapshot create <env>from an agent process hosted by thatsame target environment stops the Gateway that owns the caller before the
snapshot can complete.
In the observed run, the command lost its caller, created no snapshot, and left
the target service stopped. A different gateway had to take over recovery.
Environment
0.2.33openclaw2026.8.1(
fleet-main-692cb7b1f28-installed-full)clawcodeCodex agent hosted by theopenclawGatewayReproduction
Start an agent turn on OCM environment
openclaw.From that agent's Code Mode process, run:
Observe the target Gateway and caller process while snapshot creation
enters its cold/stopped phase.
Actual behavior
The snapshot command emitted progress through 181 seconds:
Then:
running=false,desiredRunning=false.1006because the caller's ownGateway went away.
were no longer present.
running.ocm env snapshot list openclaw --jsonshowed no new snapshot.A Rescue-hosted operator then took ownership and ran the same snapshot command
from outside the target environment. It completed successfully in about 84
seconds and created checkpoint
1788306816-305800000.Expected behavior
OCM should not leave a target stopped with no snapshot merely because the
caller was hosted by the target Gateway.
Possible acceptable contracts:
the target Gateway, with guidance to run it from another environment.
survives caller disconnection and restores the recorded service policy.
can monitor and recover without replaying the command.
Impact
still nonterminal.
Evidence boundary
Proven:
Unknown:
OpenClaw task handoff.
no terminal command result survived.
Evidence
The complete local receipt, logs, process observations, and recovery proof are
under:
Key files:
59-production-pre-snapshot-command.logreceipt.jsonproof.json60-rescue-takeover-snapshot-list-command.log61-rescue-production-snapshot-command.log