Skip to content

feat: add personal session groups - #181680

Merged
shakkernerd merged 10 commits into
mainfrom
openclaw/tidy-shell
Oct 27, 2026
Merged

shakkernerd merged 10 commits into
mainfrom
openclaw/tidy-shell

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #181038

What Problem This Solves

Guests and members need to organize accessible conversations into their own sidebar groups without changing shared groups or another person's layout. Grouping a parent conversation must also preserve its child conversations and their live updates.

User Impact

Users can create personal groups, edit names and membership, reorder them by dragging or menu actions, and remove groups without deleting conversations. Pins and shared groups remain independent. Parent conversations retain their loaded children, expansion behavior and child updates in both personal and canonical sidebar placements.

Groups are scoped to the current Gateway and profile. Connections with general Gateway write access synchronize through personal preferences; session-only, read-only, and profileless connections retain browser-local behavior. Saved references do not grant access, and unavailable sessions stay hidden. The existing 4 KiB preference limit produces a visible error rather than silently truncating an edit. No migration or permission upgrade is introduced.

Why This Change Was Made

The existing navigation-preference owner stores group labels and session references, including bootstrap, identity changes, offline replay and storage recovery. Group edits persist only their own preference field, preserving independently authored pins.

Personal group occurrences consume the sidebar's reconciled canonical rows. Off-page references use the same tree projection and retain their expansion state and child observations across updates. The earlier lookup rebuilt a basic row without its child tree and observation metadata; because personal occurrences appeared first during deduplication, that also displaced the normal row used for child refresh. Separate appearance keys still preserve Alt/Shift range selection, while batch operations target each session once.

The group editor retains the native modal height limit and keeps its membership list scrollable with the name and completion actions visible. Its small sizing rules load with the lazy dialog, preserving the upstream removal of optional approval styles from initial page loading.

Evidence

Startup acceptance uses the maintained ui:check-performance:base production-sidecar comparison: startup JavaScript must stay within the existing baseline plus 512-byte growth allowance and 64-byte build variance, with all request, route, and style ceilings unchanged. The initial measurement was 272,332 gzip bytes, 106 bytes over the enforced limit. Reusing the existing string normalizer and one authored-field comparison reduced the production measurement to 272,018 bytes; five startup requests and all limits are unchanged. The affected settings and guest proof passed 67 cases. The final target integration measures 270,961 production gzip bytes with the same five requests and limits.

  • On the incoming contribution, both loaded-child and initially unloaded-child regressions failed: only one child occurrence rendered instead of two. The production-bundle browser scenario independently showed the child under Engineering but missing from Focus. The corrected owner tests cover both placements, subsequent child updates, and collapse/remove recovery.
  • Required upstream integration exposed the existing long-list regression: the membership list no longer had its own scrollable region. The same test now passes without changing its assertions.
  • Earlier related coverage passed 2,005 tests in 126 selected files, including 11 browser cases across three files. Coverage includes profile/CAS/storage behavior, bootstrap, child lifecycle, selection deduplication, unavailable references, stale-editor recovery and long-list layout. The selected production and test compiler groups, formatting, typed lint, styles, localization and line-cap checks passed.
  • Browser tests use the production UI with a synthetic Gateway. They cover administrator and session-read access and verify group edits issue no shared session/group/config writes. These results do not claim live authentication or deployment.
  • The correction passed 11 child-freshness cases, 209 related Node cases, 12 browser cases, selected UI compiler groups and fast checks. The off-page parent case was red before the correction.
  • The real-Gateway guest flow passed with only operator.sessions.read/write: create/edit/reorder/reload/remove, live child updates in both placements, browser-local persistence, no shared writes, and denial of another guest's parent. It does not run a model turn.
  • After integrating fix: hide stale personal pins after sharing changes #185067 and the retained pin/snapshot presentation in perf(control-ui): retain sidebar presentation through live handoff #183862, 140 affected cases and selected UI type and fast checks passed. Group trees read the session owner's authoritative row; pins retain their projected presentation. Both use the same invalidation and retirement lifecycle, including revoked access, supplemental replacement, removal and disconnection.

Visual evidence

Open preview

View Before After
Roster-resident parent in both placements Focus omits Verification notes while Engineering shows it Focus and Engineering both show Verification notes
Long membership list keeps completion actions visible Long membership list pushes completion actions below the viewport Membership list scrolls while completion actions remain visible

Personal group interactions (one-third speed)

personal-groups-slow.mp4

Visual verification

  • Baseline: Child comparison: 33f3c8d; long-list comparison: 1822b99
  • Exact head: bf8729ebba52f8646431c271c45d698c3380410f
  • Scenario: Expand a parent, create Focus, then create, drag, edit, reorder, reload and remove personal groups with synthetic session-read access.
  • Runtime/build: Corrected captures built at 60de397; their individual before baselines are stated above. Qualified to bf8729e/tree7fd2e7d1a1cad21ab5e2dc69a083b0143d326cbe through preserved presentation conditions, current owner/snapshot checks and the real-Gateway guest flow. Chromium156.0.8078.4.
  • Child appearances: 1 before, 2 after
  • Shared mutations: 0 session, shared-group or config writes
  • Matched synthetic fixtures and viewports in each comparison pair
  • Latest integration passed 139 owner/snapshot cases and the real-Gateway guest flow
  • Six earlier personal-group E2E scenarios remain qualified through unchanged layout and selection behavior
  • The shipped 2026.10.7 persistence transition passed on 407aad4; unchanged persistence owners and current reload proof qualify that result
  • Long-list sizing rules are unchanged; the existing long-list browser regression and captured result remain applicable

Shipped-app compatibility

The actual published [email protected] UI passed an in-place browser upgrade against an isolated real Gateway on 407aad4. That result is qualified to the final integration by unchanged persistence owners and repeated guest reload proof. The package integrity was verified; the same origin, browser context, profile and stored bytes were retained. Shipped navigation controls’ owner wrote the existing navigation preferences, and visible appearance controls created an offline pending dark-theme edit.

After the first personal-group save and reload, the dark theme, 320px sidebar width, agent pin and new group remained. Legacy sidebarEntries stayed recoverable without being revived as new shortcuts. The session-only guest kept server preferences unchanged and emitted zero privileged writes, preserving the existing browser-local policy. No storage payload was reconstructed, and this proof does not claim a Gateway migration or model turn.

Visual illustrations from the original contribution

These captures predate the child-tree and integrated dialog corrections; the qualified comparison and recording above show the corrected behavior.

Before personal groups

Personal groups in the original contribution

Earlier style comparison: before, after. Original long-list capture.

Co-author credit

Proposed and directed by Vitor Cepeda Lopes (@TheAngryPit).

Worked on by

  • Vitor Cepeda Lopes — request and product scope.

Work sessions

@clawsweeper

clawsweeper Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime size: XL labels Oct 23, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 23, 2026
@clawsweeper

clawsweeper Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR adds personal sidebar session groups with editable membership, ordering, profile synchronization, and browser-local guest persistence.

Example: A guest adds Reliability Tracker to a personal group named Focus.

  • Before: Only shared groups and personal pins provide organization.
  • After: Focus contains Reliability Tracker and its Verification notes child without changing Engineering or another person's layout.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Useful, owner-aligned implementation with inspected visual proof, qualified upgrade evidence, and no actionable findings; remaining CI is still pending.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected production-UI before/after screenshots show child conversations retained in both personal and canonical placements and reachable long-list completion actions; the supplied real-Gateway guest and published-app upgrade records cover restricted persistence, access denial, reload, and preservation of existing settings.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Guests and members cannot organize accessible conversations into private sidebar collections independently of shared groups.
Reason: The collaborator-authored direction is established, and the feature preserves shared layout, access boundaries, personal pins, and child conversations.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: the maintainer-directed feature fills a distinct gap on main, and the integrated patch has no actionable findings. The earlier conflict is resolved; exact-head CI remains pending.

Priority: P2
Reviewed head: bf8729ebba52f8646431c271c45d698c3380410f

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI stores personal navigation through its existing Gateway-and-profile preference owner, resolves session references through the session capability, and renders accessible conversations through the shared sidebar tree projection.

flowchart TD
  A[Group editor] --> B[Navigation preference owner]
  B --> C[Scoped browser storage]
  B --> D[Existing profile preference sync]
  B --> E[Access checked session owner]
  E --> F[Shared sidebar tree projection]
  F --> G[Personal group rows]
Loading

Technical review

Best possible solution:

Merge the integrated feature through the normal exact-head CI gates while retaining the existing preference and session owners.

Do we have a high-confidence way to reproduce the issue?

Main provides personal pins and shared groups but lacks the personal-group preference and renderer added here.

Is this the best way to solve the issue?

The implementation uses the existing navigation persistence, session access checks, tree projection, and selection owners; the added editor and presentation serve the requested feature without a competing shared-group path.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 50b9e88fd3c3.

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source +872, Tests +1329, Docs +13. Total +2214 across 35 files. Added test files: 5.

View PR surface stats
Area Files Added Removed Net
Source 23 1005 133 +872
Tests 11 1422 93 +1329
Docs 1 14 1 +13
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 35 2441 227 +2214

Review metrics

Metric Value Why it matters
Persisted preference 1 new key: ui.personalSessionGroups Reuses profile preference synchronization and its existing 4 KiB value limit, with browser-local persistence for restricted connections.

Labels

Label changes:

  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: Useful personal organization with limited blast radius and no identified urgent regression.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (6 earlier review cycles)
  • reviewed 2026-10-23T14:43:21.992Z sha 6efcb81 :: blocked before merge. :: [P2] Include personal-group rows in canonical selection ordering | [P2] Remove the new calls rejected by the Solid ratchets
  • reviewed 2026-10-23T16:42:28.425Z sha a53dd41 :: needs changes before merge. :: [P2] Consolidate group styles within the existing Control UI asset budgets
  • reviewed 2026-10-23T17:18:17.624Z sha 33f3c8d :: needs maintainer review before merge. :: none
  • reviewed 2026-10-26T23:01:31.746Z sha b34d76c12b424e085e601121d83361574316f941 :: blocked before merge. :: none
  • reviewed 2026-10-26T23:08:32.043Z sha b34d76c12b424e085e601121d83361574316f941 :: blocked before merge. :: [P2] Reduce eager preference code to meet the startup budget
  • reviewed 2026-10-26T23:40:29.219Z sha 407aad4bf8bc3a23bcbe7bc6c2622aa888778c0d :: needs changes before merge. :: none

Reviewed October 26, 2026, 8:08 PM ET / October 27, 2026, 00:08 UTC (Revision 7).

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 23, 2026 16:35
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 23, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 23, 2026
@shakkernerd shakkernerd self-assigned this Oct 26, 2026
@shakkernerd

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 27, 2026
@shakkernerd
shakkernerd merged commit 49aa6fc into main Oct 27, 2026
150 of 151 checks passed
@shakkernerd
shakkernerd deleted the openclaw/tidy-shell branch October 27, 2026 00:23
@shakkernerd

Copy link
Copy Markdown
Contributor

Added: personal sidebar groups that keep child conversations and live updates available without changing shared organization.

With thanks to @TheAngryPit.

shakkernerd added a commit that referenced this pull request Oct 27, 2026
Keeps the real-Gateway inventory contract aligned with the guest personal-groups scenario while preserving its serial shared-preview classification.

Refs #181680
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 27, 2026
Add personal sidebar groups for accessible conversations while preserving child conversations, live updates, and independent shared organization.

Refs openclaw#181038.

Reviewed-by: @shakkernerd
Co-authored-by: Shakker <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 27, 2026
Keeps the real-Gateway inventory contract aligned with the guest personal-groups scenario while preserving its serial shared-preview classification.

Refs openclaw#181680
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation gateway Gateway runtime P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants