Skip to content

fix(gateway): make restart recovery state authoritative - #129316

Merged
roboclaw-bot merged 4 commits into
mainfrom
openclaw/review-gateway-session-dates
Aug 26, 2026
Merged

roboclaw-bot merged 4 commits into
mainfrom
openclaw/review-gateway-session-dates

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #129285
Closes #129300

What Problem This Solves

Fixes two failures in the same restart-recovery invariant:

  1. Gateway restart reported a recovery as successful once execution merely started, even though the run had no terminal reply or failure yet.
  2. The run loop marked drain-start sessions before the drain finished, so work that completed normally during the drain could still be replayed after restart.

Why This Change Was Made

Restart marking and abort now have one owner: server close collects exact live run identities, waits for terminal persistence, revalidates them, marks only the runs that still need recovery, then aborts.

Startup reporting remains nonblocking but distinguishes started from already settled; it no longer calls execution-start “recovered.” An explicit private run-context fact carries restart-recovery provenance to the lifecycle owner, which persists the terminal session state before logging the final success, failure, timeout, or cancellation.

This resolves the product decision from #129285 by separating admission/start accounting from lifecycle-owned terminal accounting. The provenance is diagnostic only, non-enumerable, generation-fenced, and never authorization. No config, protocol, Plugin SDK, dependency, or SQLite surface changes.

User Impact

Operators no longer see already-finished work replayed after a graceful restart. Startup logs no longer label an in-progress recovery as successful, and the authoritative lifecycle path records the later terminal outcome after session persistence.

Evidence

Failing-first proof

Applied the new drain-window regression to current main (bc4ce76db350) without the production fix and ran:

node scripts/run-vitest.mjs src/cli/gateway-cli/run-loop.test.ts -t "does not mark drain-start runs before server close revalidates them"

It failed for the intended reason: markRestartAbortedMainSessions had already been called once with both session-finished and session-active before the drain completed. On this PR head the same regression passes.

The recovery regression also models accepted dispatch → execution started → never-settling terminal promise and now returns started=1, settled=0, not recovered=1.

Focused proof on head 1fb1be422373

  • CLI restart/import boundary: 62 passed.
  • Gateway terminal persistence/event/chat boundary: 307 passed.
  • Recovery + agent-event boundary: 215 passed.
  • Server-close exact marking/abort owner: 55 passed.
  • ClawSweeper P1 repair: 58 server-close/shutdown tests passed and 148 embedded-compaction tests passed. The shutdown owner now marks exact recovery candidates first, then cancels rootless/manual embedded handles on force and timeout.
  • Exact CI-failing type projects (gateway-root, config-cli) passed with incremental cache output disabled because this isolated host mounts .artifacts/tsgo-cache read-only.
  • Targeted oxfmt, oxlint, git diff --check, and TruffleHog passed.
  • Fresh full-branch autoreview: clean; no accepted/actionable findings, overall correctness 0.96.

The first two PR commits were rebased patch-identically onto 147e9da5d8b5; git range-diff reports both as =. Exact-head CI is https://github.com/openclaw/openclaw/actions/runs/32852265152. Earlier-head compact failures were outside this PR's changed surfaces and reproduce from the base (Claude CLI native-auth expectations plus the public Plugin SDK export budget introduced by #129052).

Dependency contract

Direct sibling Codex source inspection confirmed the boundary:

  • codex-rs/app-server-protocol/src/protocol/v2/turn.rs: TurnStatus::InProgress is distinct from terminal statuses; TurnStartedNotification and TurnCompletedNotification are separate events.
  • codex-rs/app-server/src/bespoke_event_handling.rs: turn/started emits an in-progress snapshot; turn/completed emits the final status.
  • codex-rs/app-server/README.md: every turn begins with turn/started and ends with turn/completed; only the latter carries completed, interrupted, or failed.

Screenshots are not useful evidence for this headless lifecycle boundary; the failing/passing ordered regression, persisted terminal-state assertions, exact logs, and CI directly exercise the behavior.

Production LOC: +118/-111 (net +7). Tests: +320/-237 (net +83). The seven-line production growth is the required shutdown-owner seam: lazy runtime import, lifecycle wiring, and the post-mark cancellation call. Removing it recreates ClawSweeper's rootless-compaction P1; putting it back in the run loop recreates duplicate recovery ownership.

AI-assisted: yes. Private operational session identifiers, transcripts, and host details are omitted.

Co-authored-by: Tak Hoffman [email protected]

@clawsweeper

clawsweeper Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime cli CLI command changes agents Agent runtime and tooling size: L labels Aug 25, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review August 25, 2026 12:27
@openclaw-barnacle openclaw-barnacle Bot added the maintainer Maintainer-authored PR label Aug 25, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@roboclaw-bot
roboclaw-bot force-pushed the openclaw/review-gateway-session-dates branch from 3abb749 to 68ce2a0 Compare August 25, 2026 12:55
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@roboclaw-bot
roboclaw-bot force-pushed the openclaw/review-gateway-session-dates branch from 68ce2a0 to 1f0a51a Compare August 25, 2026 13:00
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 25, 2026
@clawsweeper

clawsweeper Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 25, 2026, 7:55 PM ET / 23:55 UTC.

ClawSweeper review

What this changes

Moves Gateway restart recovery marking to shutdown-time exact-run handling and reports recovery starts separately from terminally settled outcomes.

Regression provenance

Possible regression — probable (reproduction; reviewed change). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep open for maintainer review: the recovery-owner refactor matches the current-main defect and prior cookie finding is resolved, but direct Codex-source verification required by repository policy is unavailable in this review environment.

Priority: P1
Reviewed head: f7359222d11fd420d2f3d07f52924395a1807b56
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The recovery refactor and focused regression evidence are credible, with direct Codex-source verification still required by repository policy.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: This member/bot-authored PR is exempt from the contributor proof gate; its body still supplies focused ordered regression evidence for the headless lifecycle behavior.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member/bot-authored PR is exempt from the contributor proof gate; its body still supplies focused ordered regression evidence for the headless lifecycle behavior.
Evidence reviewed 6 items Current-main drain defect: The PR base snapshots session IDs and keys at drain start and marks them before waiting, which can retain a normally finished run for replay.
Canonical shutdown owner: Server close waits for terminal persistence, collects current run identities, and revalidates generation/liveness before marking restart recovery.
Terminal accounting: Recovery now records started and settled separately, while lifecycle persistence logs a terminal recovery outcome only after a successful durable update.
Findings None None.
Security None None.

Live Verification

Command: node scripts/run-vitest.mjs src/cli/gateway-cli/run-loop.test.ts -t "does not mark drain-start runs before server close revalidates them"

Result: FAIL (partial) — step 2 expect_output does not mark drain-start runs before server close revalidates them: expected terminal output was not visible within 30 seconds: "does not mark drain-start runs before server close revalidates them"

[test] starting test/vitest/vitest.cli.config.ts

 RUN  v4.1.10 /tmp/clawsweeper-live-proof-129316-JRQqcN/target

 ↓  cli  src/cli/gateway-cli/run-loop.test.ts (60 tests | 60 skipped)

 Test Files  1 skipped (1)
      Tests  60 skipped (60)
   Start at  23:56:10
   Duration  1.74s (transform 1.22s, setup 968ms, import 386ms, tests 0ms, environment 0ms)

[test] passed 1 Vitest shard in 7.72s
[test] starting test/vitest/vitest.cli.config.ts

 RUN  v4.1.10 /tmp/clawsweeper-live-proof-129316-JRQqcN/target

 ↓  cli  src/cli/gateway-cli/run-loop.test.ts (60 tests | 60 skipped)

 Test Files  1 skipped (1)
      Tests  60 skipped (60)
   Start at  23:56:18
   Duration  855ms (transform 364ms, setup 439ms, import 176ms, tests 0ms, environment 0ms)

[test] passed 1 Vitest shard in 6.78s

Assertions:

  • FAIL expect_output: does not mark drain-start runs before server close revalidates them

How this fits together

Gateway restart first drains active work, then server shutdown decides which exact live sessions require recovery. Startup recovery dispatches those sessions, while lifecycle persistence records their eventual terminal outcome.

flowchart LR
A[Gateway restart] --> B[Drain active work]
B --> C[Shutdown rechecks live runs]
C --> D[Persist recovery markers]
D --> E[Abort remaining runs]
E --> F[Startup recovery dispatch]
F --> G[Terminal session persistence]
Loading

Decision needed

Question Recommendation
Can this PR proceed on the OpenClaw owner-boundary evidence while direct inspection of the cited Codex protocol source is unavailable? Restore Codex source verification: Re-review after the cited Codex protocol/runtime files are locally available for direct inspection.

Why: Repository policy requires direct inspection of that source before a final Codex verdict, while the PR body expressly relies on it as dependency evidence.

Before merge

  • Resolve merge risk (P1) - The PR's cited Codex lifecycle contract cannot be independently checked because the required sibling Codex source is unavailable.
  • Resolve merge risk (P1) - Production code is net +7 lines; the added lifecycle seam is plausibly justified, but should remain limited to the canonical shutdown/persistence boundary.
  • Complete next step (P2) - A protected maintainer PR needs direct Codex-source verification and normal exact-head merge gating, not an automated repair.
Agent review details

Security

None.

PR surface

Source +5, Tests +20. Total +25 across 20 files.

View PR surface stats
Area Files Added Removed Net
Source 11 109 104 +5
Tests 9 272 252 +20
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 20 381 356 +25

Review metrics

Metric Value Why it matters
Production versus test delta production +7 net; tests +83 net The production change consolidates recovery ownership, while tests add ordering and terminal-state coverage.

Stored data model

Persistent data-model change detected: serialized state: src/gateway/session-lifecycle-state.test.ts, serialized state: src/gateway/session-lifecycle-state.ts, unknown-data-model-change: src/gateway/session-lifecycle-state.test.ts, unknown-data-model-change: src/gateway/session-lifecycle-state.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Verify the lifecycle contract before merge (recommended)
    Make the cited Codex turn-state source available and confirm that execution start remains distinct from a terminal outcome.
  2. Accept the bounded evidence gap
    A maintainer may decide that the existing OpenClaw ordering and persistence proof is sufficient without the external contract claim.

Technical review

Best possible solution:

Retain server close as the sole recovery-marker owner, verify the cited Codex lifecycle contract directly, then land only after exact-head CI is green.

Do we have a high-confidence way to reproduce the issue?

Yes: current main marks drain-start identifiers before waiting, and the branch removes that duplicate owner in favor of shutdown-time revalidation.

Is this the best way to solve the issue?

Yes for the OpenClaw boundary: server close already owns terminal persistence, live-run collection, marking, and abort sequencing.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against b1ea61e84703.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member/bot-authored PR is exempt from the contributor proof gate; its body still supplies focused ordered regression evidence for the headless lifecycle behavior.
  • remove rating: 🧂 unranked krab: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove merge-risk: 🚨 security-boundary: Current PR review merge-risk labels are merge-risk: 🚨 session-state, merge-risk: 🚨 message-delivery.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P1: Incorrect restart recovery can replay completed work or report success before a terminal result.
  • merge-risk: 🚨 session-state: The PR changes which running session records become eligible for restart recovery.
  • merge-risk: 🚨 message-delivery: Incorrect recovery marking can replay a completed response or its side effects.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member/bot-authored PR is exempt from the contributor proof gate; its body still supplies focused ordered regression evidence for the headless lifecycle behavior.

Evidence

What I checked:

Likely related people:

  • steipete: Current-main blame for both restart drain and shutdown recovery ownership names Peter Steinberger. (role: recent area contributor; confidence: high; commits: c29985d68ade; files: src/cli/gateway-cli/run-loop.ts, src/gateway/server-close.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Make the cited Codex protocol source available for direct reviewer inspection.
  • Rebase or refresh exact-head CI before landing.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (3 earlier review cycles)
  • reviewed 2026-08-25T13:23:00.500Z sha 1fb1be4223733ef77229ea97cd969fedeccee63d :: needs maintainer review before merge. :: none
  • reviewed 2026-08-25T14:53:25.877Z sha 3c4f640 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-25T23:18:23.477Z sha e09df55084641e8a1198f34586d58feed9a23e04 :: found issues before merge. :: [P1] Restore per-portal cookie namespaces

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Exact-head follow-up for 2462e773b0ac3b704ac121fc409010eeacfd550b:

  • Resolved the ClawSweeper P1: restart shutdown now cancels rootless/manual-compaction runs only after recovery candidates are revalidated and marked at the shutdown owner. Force and timeout paths are covered.
  • Focused current-head proof: 5 files, 175 tests passed with vitest.gateway.config.ts (main-session-restart-recovery, lifecycle import/run-loop, server-close, shutdown runtime, session lifecycle, and agent-event coverage).
  • Fresh branch autoreview: clean; no accepted/actionable findings.
  • Dependency contract checked directly at sibling Codex 99efeef6506cd7f6512404d0ad8755a87ff5a011: codex-rs/core/src/tools/registry.rs:593 awaits post-tool hooks; codex-rs/core/src/hook_runtime.rs:264/:292 awaits hook completion; codex-rs/app-server/README.md:79/:81 and :1434/:1437 define turn/start as admission and turn/completed as the final status; codex-rs/app-server/src/bespoke_event_handling.rs:1257 emits that terminal notification.
  • Visual evidence is not applicable to this headless lifecycle race: a screenshot cannot demonstrate drain ordering or terminal persistence. The ordered regressions and dependency contract are the relevant proof.

Tak attribution remains in every PR commit as requested. Exact-head CI is attaching now; I will not land until the required rollup is green.

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@roboclaw-bot
roboclaw-bot force-pushed the openclaw/review-gateway-session-dates branch from 7726553 to 68b3567 Compare August 25, 2026 14:00
@openclaw-barnacle openclaw-barnacle Bot removed the commands Command implementations label Aug 25, 2026
@jalehman
jalehman force-pushed the openclaw/review-gateway-session-dates branch from facc955 to a6cd616 Compare August 25, 2026 22:57
@openclaw-barnacle openclaw-barnacle Bot removed the scripts Repository scripts label Aug 25, 2026
@jalehman
jalehman force-pushed the openclaw/review-gateway-session-dates branch from a6cd616 to e09df55 Compare August 25, 2026 23:11
@clawsweeper clawsweeper Bot added merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 25, 2026
@jalehman
jalehman force-pushed the openclaw/review-gateway-session-dates branch from e09df55 to f735922 Compare August 25, 2026 23:48
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 26, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Land-ready proof for f7359222d11fd420d2f3d07f52924395a1807b56:

  • Root cause / owner: restart drain persisted a stale snapshot before graceful work settled, while recovery admission was being counted before the lifecycle owner recorded a terminal outcome.
  • Canonical fix: exact generation/liveness is revalidated at lifecycle shutdown; recovery provenance travels privately from admission to terminal persistence; accounting distinguishes started from settled.
  • Removed paths: deleted drain-start recovery marking and rejected the per-Gateway global-abort path that could cancel another in-process Gateway instance.
  • Size: production +109/-104 (net +5); tests +272/-252 (net +20). The remaining production growth is the explicit owner-bound provenance/terminal handoff.
  • Sibling coverage: graceful completion, forced/timeout restart, rootless compaction, generation rotation, stale-owner rejection, terminal persistence, and cross-instance registry isolation.
  • Observed result: completed drain-window runs are not replayed; an accepted recovery is not reported as settled until its terminal state is durably recorded.

Verification:

  • Exact-head CI run 32912420990: green, including openclaw/ci-gate and check-sqlite-session-lifecycle.
  • Fresh P1 autoreview: clean, no accepted/actionable findings.
  • ClawSweeper reviewed this exact head with no findings. Its remaining rank-up moves are complete: exact-head CI is green, and the Codex lifecycle contract was checked directly at sibling Codex 66919805ea08 (codex-rs/app-server/src/bespoke_event_handling.rs:157, :1287; codex-rs/app-server/README.md:1553): turn/started is in-progress; turn/completed carries the final completed/interrupted/failed state.
  • No screenshot/video: visual output cannot prove the internal drain-marker and terminal-persistence ordering fence; ordered boundary regressions are the decisive proof.

The native review artifacts validate as READY FOR /prepare-pr. The squash commit must preserve Co-authored-by: Tak Hoffman <[email protected]> and close #129285 and #129300.

@roboclaw-bot
roboclaw-bot merged commit e5e90fb into main Aug 26, 2026
206 checks passed
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

@roboclaw-bot
roboclaw-bot deleted the openclaw/review-gateway-session-dates branch August 26, 2026 01:48
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 26, 2026
)

* fix(gateway): make restart recovery state authoritative

Fixes openclaw#129285 and openclaw#129300.

Co-authored-by: Tak Hoffman <[email protected]>

* fix(gateway): preserve restart recovery terminal fence

Co-authored-by: Tak Hoffman <[email protected]>

* fix(gateway): cancel rootless work during restart

Co-authored-by: Tak Hoffman <[email protected]>

* fix(gateway): keep restart abort lifecycle-scoped

Co-authored-by: Tak Hoffman <[email protected]>

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling cli CLI command changes gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: L status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

1 participant