Repository navigation
fix: allow independent placement of persistent spawned sessions - #148533
roboclaw-bot wants to merge 10 commits into
Conversation
Distinguish persistent conversations from subordinate subagent runs without changing their origin, completion, or permission ancestry. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 4ffcee19-b0c8-4baa-8c40-525bffcd651f
Keep unresolved selected runs visible with subordinate controls, retain unavailable-parent behavior, migrate remaining nested-run fixtures, and register the browser regression under its serial resource owner. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: b2c50cb8-85cc-4ca4-b211-e01b94de180d
Preserve the published branch history using the exact conflict-resolved tree already validated by 829 UI tests and the browser workflow. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: b67b9375-75bf-47cd-9285-7563ab2db90c
Carry the one-line CI unblock described in #148423 by @steipete. Preserve the first Wizard recovery registration, every unique test, and the strict duplicate guard. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 601f7689-d046-430c-bad5-8fc21f7b7f78
Preserve both live Wizard consumers exactly once after overlapping upstream deduplication fixes. Extend independent selected-file routing coverage. Local dependency revalidation stopped at stalled supply-chain verification; exact-head hosted CI remains required. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 74109420-0750-4adf-aff6-2dec4e56ec4b
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed October 5, 2026, 6:01 PM ET / 22:01 UTC (Revision 3). ClawSweeper reviewWhat this changesThe branch makes persistent spawned conversations independently movable and pinnable while preserving ancestry, and updates sidebar rendering, Gateway pin policy, documentation, and regression coverage. Merge readiness⛔ Blocked before merge - 4 items remain This protected PR retains useful work: current main and v2026.9.8 still restrict spawned-conversation pinning and placement. No concrete introduced defect was found, but the conflicting head needs reconciliation with the newer subagent presentation decision. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI builds its conversation sidebar from Gateway session rows and cached child details. Group and pin actions update Gateway-owned session metadata, while ancestry continues to support parent navigation and execution relationships. flowchart TD
A[Gateway session rows] --> B[Sidebar projection]
C[Cached child details] --> B
B --> D[Persistent conversation or subagent run]
D --> E[Conversation placement controls]
E --> F[Gateway session update]
F --> B
D --> G[Parent navigation and run presentation]
Decision needed
Why: The original sponsored design predates a verified merged presentation decision, so resolving conflicts alone cannot determine the intended product outcome. Before merge
Agent review detailsSecurityNone. PR surfaceSource -37, Tests +419, Docs +2. Total +384 across 58 files. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Give persistent conversations independent placement and pinning through existing session owners, retain ancestry, and preserve current parent summaries and Subagents side-panel inspection. Do we have a high-confidence way to reproduce the issue? Yes: current source nests ungrouped spawned conversations, disables child-row dragging, and rejects spawnedBy pins; the recorded browser scenario demonstrates the restriction before the change. No runtime reproduction was executed during this read-only review. Is this the best way to solve the issue? Unclear as a landing candidate: separating placement from lineage uses the existing owners appropriately, but the run-row presentation must be reconciled with current main. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c5cce7d3caf1. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
Closes #147603
Related: #148423
What Problem This Solves
Fixes an issue where users could not move or pin a persistent follow-up session because the sidebar treated every session created by another session like a subordinate subagent run. Clearing a group also put the conversation back beneath its parent.
Why This Change Was Made
Persistent conversations now have independent sidebar placement; only actual subagent runs remain under a labeled Subagents section. Existing parent navigation, completion routing, workspace bindings, and permission ancestry are preserved. Confirmed group changes use the shared session-update owner so moves also reach sessions loaded only through a parent detail list.
User Impact
Users can drag persistent spawned sessions into another group, return them to ungrouped, pin them, and follow their parent backlink without changing the underlying execution relationship. Subagent runs remain visibly subordinate and cannot be independently pinned or moved.
Evidence
The Control UI browser scenario fails on the original source at the persistent session's
draggable=falsestate. It passes after the change: move to Engineering, return to ungrouped, pin, and navigate back to the parent while the actual subagent stays nested. The scenario also covers a persistent session available only in the parent detail cache.Before
After
Screenshots use the real Control UI with a deterministic mocked Gateway. Evidence discussion.
TMPDIR=/var/tmp; 26 Gateway handler tests were rerun after their final cleanup.Validation ran in an independently installed local checkout after Testbox authentication and AWS workload admission were unavailable. The unused AWS lease was released. No live provider or production session state was used. Local dependency revalidation for the final main refresh stalled at supply-chain verification and was stopped without bypassing that check; final exact-head hosted CI is required before landing.
Implementation scope
The change removes category-dependent child promotion and ancestry-dependent pin policy, uses real subagent identity for subordinate controls, and keeps cached group receipts in the existing scoped field-reconciliation path. Existing nested-run fixtures now use subagent keys; persistent-session cases assert independent placement. No storage schema, runtime ownership, retention policy, or permission contract was added. Existing pin protection now applies to the newly pinnable persistent conversations.
Worked on by
View the OpenClaw team session