Expand saved OMP descendants lazily while preserving exact child targets for Resume and View Log. Retain expanded branches across virtual scrolling and reject late responses/cycles. Includes the independently reviewed child-workspace correction from #20629. 61 combined target/map/nesting tests and actual OMP child/grandchild storage/CLI smoke pass. Earlier hidden Electron proof covers eight generations and narrow sidebar layout. Folder-only unresolved child targets remain disabled. No live delegation or full terminal-launch proof claimed. Addresses #12885 Scope 2.
Child history resume proof
Run ORCA_BACKGROUND_LAUNCH=1 node tests/tools/omp-child-history-rendered/run.mjs.
The hidden Electron fixture renders the production virtual history list and styles with
injected OMP, Claude and empty OMP transcripts. It opens eight generations lazily,
resumes the deepest child into a folder target, and checks that Claude remains view-only.
It verifies parent-row measurement avoids overlap, indentation stops growing, scrolling
away/back restores expansion, and collapse removes descendants. CDP screenshots and
native hidden/unfocused window assertions are saved in .bench-fixtures.
This exercises production rendering and callbacks, not the complete terminal launch UI.
Run ORCA_BACKGROUND_LAUNCH=1 bun tests/tools/omp-child-session-resume-smoke.mjs /path/to/oh-my-pi
for a zero-model-call check against real OMP session storage and CLI parsing. The smoke
builds Orca's path-based resume command, creates parent, child and grandchild transcripts,
and verifies OMP selects each descendant's distinct identity in a folder workspace.