Files
openclaw/docs
Peter Steinberger 3d62d4e2a5 fix(agents): recover interrupted children without stale failures (#159492)
* fix(agents): recover interrupted children without stale failures

Preserve typed restart interruptions, identify unfinished children in parent recovery input, and prefer retained-session continuation after checking uncertain effects. Keep genuine execution failures and exact-owner recovery delivery exhaustion visible. Cover restart persistence, parent dispatch, projection ownership, and the rendered sidebar.

* fix(agents): bind restart child recovery to its requester store

Resolve physical session storage through its async owner before selecting retained child runs. Cover retired and unknown stores, upgrade reconciliation with typed restart ownership, and unchanged ambiguous history. Align the existing websocket and startup assertions with interrupted session status.

* fix(agents): fence restart recovery to the parent session incarnation

Require the captured requester session identity after selecting the latest child generations. Preserve unscoped run-history queries and prove reset-parent exclusion at dispatch. Strengthen upgrade coverage by reopening SQLite records with and without retained restart ownership.

* fix(agents): retain parent lifecycle ownership through child recovery

Capture the requester lifecycle revision in every spawn path and use it for actionable restart rosters. Prove the real Gateway reset boundary at an HTTP model provider: reset keeps the session ID, current work is delivered, and pre-reset work is excluded while diagnostic history remains available.

* fix(agents): scope settled recovery guidance to parent lifecycle

* test: verify saved batch recovery at the HTTP provider boundary

Reuse the real Gateway and Responses fixture for current, reset-revoked, and restored-history saved batches. Replace the corrupt Windows media-tool PNG with the canonical valid image fixture while preserving all assertions.
2026-09-27 10:09:32 -07:00
..