Files
archived-orca/src
Jinwoo HongandClaude e37d5271cc Main writes a workspace sleep's resume records after the statuses it accepted before the sleep (dark, layout-owner build only) (#30482)
* Main keeps an agent's resume record from the status its hook server accepts (dark, layout-owner build only)

In a layout-owner build, the window's recorder and quit capture kept only
records of tabs the window holds, so an agent in a workspace the window
never opened lost its resume record at quit. Main now applies the window's
rule (moved into src/shared) to every hook status for a pane it holds, and
captures its own panes' agents at quit; the window's quit capture is gone.

Co-Authored-By: Claude <noreply@anthropic.com>

* Main writes a workspace sleep's resume records after the hook statuses it accepted before the sleep (dark, layout-owner build only)

* A snapshot replay looks up a pane's tab only when its status can leave a resume record

Restores the lookup order the window had before the record builder moved to shared code, and
updates the two handler tests for the quit-records option.

* Note why the status write applies its command directly

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 00:03:42 -04:00
..