Repository navigation
improve: group New Session agent and workspace controls - #175255
Conversation
Move the existing agent menu into the welcome identity and keep repository and checkout pickers together without changing their selection owners. Co-authored-by: vincentkoc <[email protected]>
|
🦞👀 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: needs maintainer review before merge. What this changesThis PR moves agent selection into the welcome identity and groups repository and checkout controls while preserving their independent pickers. Example: Start a session at 390 × 844 with agent Roboclaw, repository openclaw, and checkout main.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open for the approved layout improvement; the earlier placement-test finding is resolved, and no actionable defects remain in the reviewed changes. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI New Session page presents Gateway-backed agent and placement choices, then passes selections through the existing draft and submission owners. flowchart TD
A[Gateway facts] --> B[New Session owner]
B --> C[Welcome agent picker]
B --> D[Machine control]
B --> E[Repository and checkout pickers]
C --> F[Draft selection owners]
D --> F
E --> F
F --> G[Session submission]
Technical reviewBest possible solution: Retain the approved grouping and corrected placement coverage while the existing current-head CI gates complete. Do we have a high-confidence way to reproduce the issue? The original rendering and matched mobile screenshots establish the repeated identity and separated checkout; no target code was executed during this review. Is this the best way to solve the issue? Reusing the existing agent, repository, and checkout owners is a focused implementation of the approved design, and the test correction preserves the behavior previously covered. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 85cd5b0105ca. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +117, Tests +46. Total +163 across 7 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed October 17, 2026, 3:15 AM ET / 07:15 UTC (Revision 2). |
Use the visible avatar for outside-pointer dismissal instead of the screen-reader-only heading, retain sibling-menu and placement assertions, and settle responsive geometry before measuring containment. Co-authored-by: vincentkoc <[email protected]>
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Integrate the landed link-reader import repair for failed CI run 39012581590. The approved mobile product patch is unchanged. Co-authored-by: vincentkoc <[email protected]>
Repair the inherited mock-export ratchet while leaving synthetic-process scheduling mocked. Assertions, baselines, and production files are unchanged. Co-authored-by: vincentkoc <[email protected]>
Adopt the independently landed main fixture verbatim and remove the redundant local fixture delta. The seven approved UI product and test files remain unchanged; focused UI and mock-export checks pass. Co-authored-by: vincentkoc <[email protected]>
|
Merged via squash.
|
) * improve: group New Session agent and workspace controls Move the existing agent menu into the welcome identity and keep repository and checkout pickers together without changing their selection owners. Co-authored-by: vincentkoc <[email protected]> * test(ui): preserve placement proof with selectable welcome identity Use the visible avatar for outside-pointer dismissal instead of the screen-reader-only heading, retain sibling-menu and placement assertions, and settle responsive geometry before measuring containment. Co-authored-by: vincentkoc <[email protected]> * test: preserve reaper exports in process scope fixture Repair the inherited mock-export ratchet while leaving synthetic-process scheduling mocked. Assertions, baselines, and production files are unchanged. Co-authored-by: vincentkoc <[email protected]> --------- Co-authored-by: vincentkoc <[email protected]>
What Problem This Solves
Fixes: New Session repeats the agent identity among placement controls and can wrap the checkout away from its repository on a phone.
User Impact
Choose the agent from the welcome name and see repository and checkout together. The machine remains separate, and both workspace controls still open their existing independent pickers. Single-agent and specialized placement flows retain their behavior.
Why This Change Was Made
Implements approved preview 2A using the existing selection and state owners, not a combined menu. Current-checkout/new-worktree semantics, disabled and pending states, native-terminal, hosted, device-folder, non-Git and required-placement paths remain intact. Draft, incognito and composer behavior is unchanged.
Worked on by
Work sessions
Evidence
93a965f87a9b82aaf6fb4bb2c1093ca5a856a0e7from reviewed head05456e54ec7dfe55e1951549af6a6a4835253a8f, verified through native recovery and main ancestry.Current checkout — 390 × 844
New worktree — 320 × 900
Desktop — 1280 × 900
CI repair history and earlier non-passing checks
6249e5b5051bc3a18f6d5d40d50769b478fb0503.98375d4b624; the resulting overlap was resolved by adopting that main fixture verbatim and removing the redundant local fixture change. No baseline expansion, assertion weakening or production workaround remains in this PR.View the OpenClaw team session