Repository navigation
fix: keep Person grouping available with one readable owner - #196485
Conversation
Scope owner and people facets and existing person selectors to readable session rows. Preserve saved and empty owner selections without broadening access. Allocate exactly 256 net regression-test lines for the RPC, saved-filter, and real guest-browser contracts. Co-authored-by: vyctorbrzezowski <[email protected]> (cherry picked from commit 66f0296)
Keep the saved Person display choice independent of People sort cardinality. Reuse the existing stable-identity sections without widening readable membership. Allocate exactly 169 net regression-test lines for the menu, preference transitions, existing ownership consumer, and isolated real guest flow. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: df804859-2df9-4649-b79d-0fecc17d34a0
|
🦞👀 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 real behavior proof before merge. What this changesThis PR keeps Person grouping available with zero or one readable owner and includes guest filtering by owners of readable sessions. Example: A guest's three readable conversations are all owned by Avery.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 4 items remain Keep this useful maintainer-authored draft open; the grouping change is focused, but its bundled dependency leaves an existing browser regression inconsistent with the new behavior. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI stores grouping and owner preferences, sends session-list queries to the Gateway, and renders sections from access-filtered session rows and owner identities. flowchart LR
A[Saved sidebar preferences] --> B[Control UI sidebar]
B --> C[Sessions list RPC]
C --> D[Current sharing policy]
D --> E[Readable rows and owner facets]
E --> F[Existing person section renderer]
F --> B
Technical reviewBest possible solution: Keep the existing grouping and visibility owners, update the contradictory browser consumer, and establish the guest disclosure boundary before landing the combined change. Do we have a high-confidence way to reproduce the issue? Current-main source directly shows the single-owner grouping fallback, corroborated by the inspected Before images; no target code or tests were executed during this review. Is this the best way to solve the issue? Removing the grouping gate is the smallest complete UI change, and the dependency appropriately reuses readable-row visibility, but its existing browser consumer must adopt the new contract. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against baccc7e15291. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: shipped entry point. SecurityNeeds attention: No concrete access bypass was found, but the bundled guest disclosure change needs final-response authority evidence. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -115, Tests +427, Docs +2, Other +6. Total +320 across 18 files. Added test files: 1. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 Reviewed November 10, 2026, 2:01 AM ET / 07:01 UTC. |
|
Merged via squash.
|
Keep the keyboard and drag-and-drop E2Es aligned with the explicit Person grouping contract from #196485. Select Custom groups before category moves and restore Person before reconnect; retain the full mutation assertions.
* test(ui): advertise settings reads in browser fixtures * fix(gateway): retire scope observers at close intake * feat(templates): inline native configuration in CLAW.md * feat(templates): show dependency origins and exact installed versions * test(templates): migrate catalog contract fixtures * test(templates): migrate remaining manifest consumers * docs(templates): keep paused guidance with its implementation * refactor(templates): share catalog dependency projection * test(templates): consolidate application planning fixtures * test(templates): reconcile companion regression credit * test(reply): preload CLI execution fixture before runtime imports * test(android): control Wear handoff cleanup timing * test(android): settle constructor history before cold-start recording * test(ui): retire obsolete foreign Activity denial scenario * fix(ui): confirm read-only Home access before rendering * test(gateway): accept saved deferred plugin reload receipts * fix(ui): retain guest setup notices when Home is unavailable * test(templates): reuse dependency fixtures within the existing budget * test(ui): align session E2E with persistent Person grouping (#197101) Keep the keyboard and drag-and-drop E2Es aligned with the explicit Person grouping contract from #196485. Select Custom groups before category moves and restore Person before reconnect; retain the full mutation assertions. * test(gateway): acquire admitted plugin runtimes for lifecycle proof * test(ui): align Settings fixtures with retained navigation rail Settings keeps the desktop navigation rail and Inbox while replacing the session panel. Update the missed browser assertions and preserve pending admin-request, recurrence, approval and Escape navigation checks. Reproduced six failures on main 8830ff6. All 29 cases across the three affected files pass after the fixture migration (45.92s). Scoped lint, UI and UI E2E types, formatting and ratchets pass; net test-line growth is zero. Independent review found no actionable issues. * test(ui): check picker stability before measuring provider geometry Move the existing trial click before both edge measurements so the opening scale animation cannot mix coordinates from different frames. Preserve the exact no-overlap assertion and all desktop/mobile, keyboard, composition and model-selection coverage. The ordinary local baseline passed and is not causal clearance. A controlled probe of the real CSS animation reproduces exact CI right=707.90625 at scale0.9 while the simultaneous gap is7.2px; the finished frame retains8px. Full affected suite passes3/3 in19.50s. Scoped lint/types/format and ratchets pass; no production logic, new waits, diagnostic code or test-line growth. Independent review clear. --------- Co-authored-by: Peter Steinberger <[email protected]>
…#196485) * fix: guests cannot select owners of readable sessions Scope owner and people facets and existing person selectors to readable session rows. Preserve saved and empty owner selections without broadening access. Allocate exactly 256 net regression-test lines for the RPC, saved-filter, and real guest-browser contracts. Co-authored-by: vyctorbrzezowski <[email protected]> (cherry picked from commit 66f0296) * fix: keep Person grouping available with one readable owner Keep the saved Person display choice independent of People sort cardinality. Reuse the existing stable-identity sections without widening readable membership. Allocate exactly 169 net regression-test lines for the menu, preference transitions, existing ownership consumer, and isolated real guest flow. Co-authored-by: vyctorbrzezowski <[email protected]> * fix: keep Person grouping available with one readable owner Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: df804859-2df9-4649-b79d-0fecc17d34a0 * test(ui): wait for grouped session row placement --------- Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: Vyctor H. Brzezowski <[email protected]>
…#197101) Keep the keyboard and drag-and-drop E2Es aligned with the explicit Person grouping contract from openclaw#196485. Select Custom groups before category moves and restore Person before reconnect; retain the full mutation assertions.
* test(ui): advertise settings reads in browser fixtures * fix(gateway): retire scope observers at close intake * feat(templates): inline native configuration in CLAW.md * feat(templates): show dependency origins and exact installed versions * test(templates): migrate catalog contract fixtures * test(templates): migrate remaining manifest consumers * docs(templates): keep paused guidance with its implementation * refactor(templates): share catalog dependency projection * test(templates): consolidate application planning fixtures * test(templates): reconcile companion regression credit * test(reply): preload CLI execution fixture before runtime imports * test(android): control Wear handoff cleanup timing * test(android): settle constructor history before cold-start recording * test(ui): retire obsolete foreign Activity denial scenario * fix(ui): confirm read-only Home access before rendering * test(gateway): accept saved deferred plugin reload receipts * fix(ui): retain guest setup notices when Home is unavailable * test(templates): reuse dependency fixtures within the existing budget * test(ui): align session E2E with persistent Person grouping (openclaw#197101) Keep the keyboard and drag-and-drop E2Es aligned with the explicit Person grouping contract from openclaw#196485. Select Custom groups before category moves and restore Person before reconnect; retain the full mutation assertions. * test(gateway): acquire admitted plugin runtimes for lifecycle proof * test(ui): align Settings fixtures with retained navigation rail Settings keeps the desktop navigation rail and Inbox while replacing the session panel. Update the missed browser assertions and preserve pending admin-request, recurrence, approval and Escape navigation checks. Reproduced six failures on main 53dfe7c. All 29 cases across the three affected files pass after the fixture migration (45.92s). Scoped lint, UI and UI E2E types, formatting and ratchets pass; net test-line growth is zero. Independent review found no actionable issues. * test(ui): check picker stability before measuring provider geometry Move the existing trial click before both edge measurements so the opening scale animation cannot mix coordinates from different frames. Preserve the exact no-overlap assertion and all desktop/mobile, keyboard, composition and model-selection coverage. The ordinary local baseline passed and is not causal clearance. A controlled probe of the real CSS animation reproduces exact CI right=707.90625 at scale0.9 while the simultaneous gap is7.2px; the finished frame retains8px. Full affected suite passes3/3 in19.50s. Scoped lint/types/format and ratchets pass; no production logic, new waits, diagnostic code or test-line growth. Independent review clear. --------- Co-authored-by: Peter Steinberger <[email protected]>
What Problem This Solves
Person disappears from the sidebar's Group by menu when only one readable owner remains. A saved Person choice then displays as Custom groups.
User Impact
Keep Person grouping available with one owner or an empty result, and retain the selected grouping through refresh, filtering, reassignment, navigation and reload. People sorting keeps its existing multiple-owner requirement. The default grouping remains Custom groups.
Why This Change Was Made
Remove the sorting-cardinality condition from the existing grouping preference and menu. The existing readable-session projection still owns membership and owner identity; no new access rule, cache or state owner is added.
The readable-owner foundation is now on main through #196446. This branch incorporates it once, including the saved-owner regression correction and serial Gateway test inventory. The remaining diff contains only this PR's seven files. The two mechanical conflict resolutions retain main's 241-line foundation allocation and this PR's extended grouping scenario.
Evidence
CI follow-up on
e7a0975c7a8d47d1245a60491d5f6f954fd5dba6: the new grouping scenario read the row count after the section settled but before its existing layout frame placed both rows. A temporary observer recorded the section with one DOM row at 16.3 ms while accepted data already contained both, then both rows at 31.7 ms. The test now waits for the exact two session IDs; production is unchanged. The full filter file passed 19/19 with the same pinned Bun revision as CI, and lint, formatting and the UI-components test typecheck passed. The exact test-line allocation is now 175. The Linux failure was not reproduced verbatim locally; the early-satisfied predicate was observed directly.2d98b221dc007b0dbd3cb791b9f2c9ad0b3f38d6. The production lines added and removed are identical to the originally reviewed grouping change; current main's Last updated default is preserved.53d9dc9fafeb913991c6b773c94ea643b6fd3b73exercised sharing revocation with synthetic profiles. Three readable sessions and two distinct owners became two sessions and one owner after revocation; the revoked session was no longer readable.users.listandpresence.queryremained forbidden. This is reused prior evidence, not a claim of a new revocation run. The session filtering, activity policy, list owner, saved-owner filter and sidebar source files are byte-identical across those two heads.Visual evidence
Inspected, sanitized captures use synthetic guest data, dark theme, and matching 1280×800 desktop / 390×844 phone viewports. Before is the dependency-backed unchanged grouping; after is the G09 production change. Screenshots are embedded below. All four images were decoded and visually inspected in the actual PR body, including the fully visible equal-width phone pair without overflow. The representative Before/After pair was delivered in the originating chat and verified by the coordinator.
Desktop
Before
After
Phone
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by