Repository navigation
fix: allow dashboard child sessions to be pinned - #143719
jjjhenriksen wants to merge 13 commits into
Conversation
|
🦞👀 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 SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8baafeaeee
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Codex review: needs real behavior proof before merge. What this changesThis PR enables personal shortcuts for nested dashboard sessions and expands shared-pin eligibility while preserving separate snooze and group-placement rules. Example: Project dashboard is a dashboard child of Project dashboard parent.
Review scores
ProductKind: Feature · Worth it: Needs a maintainer decision · Fix scope: Complete Merge readiness⛔ Blocked before merge - 4 items remain Keep this PR open: it contains useful, distinct work with active maintainer involvement, but broadens an intentional shared-pin policy that still needs an explicit owner decision. Priority: P2 Decision needed
Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherControl UI session menus consume Gateway session metadata and update personal navigation preferences; Gateway pin policy also controls shared-pin mutation, projection, ordering, filtering, and maintenance protection. flowchart LR
A[Gateway session metadata] --> B[Session eligibility]
B --> C[Control UI menus]
C --> D[Personal navigation preferences]
D --> E[Personal rail shortcuts]
B --> F[Shared pin projection]
F --> G[Session maintenance]
Technical reviewBest possible solution: Enable dashboard-child shortcuts through the existing personal navigation owner, preserve separate snooze and placement rules, and explicitly settle whether shared child pins should also regain eligibility. Do we have a high-confidence way to reproduce the issue? Current-main source deterministically excludes unpromoted spawned or nested dashboard children, and the inspected before screenshot shows the missing Pin action; no target code was executed during this review. Is this the best way to solve the issue? The personal-navigation integration reuses existing owners and correctly separates snooze and group placement, but its backend shared-pin expansion is broader than needed for personal shortcuts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 30103ebc0ebf. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +62, Tests +500, Docs +24, Config 0. Total +586 across 38 files. Added test files: 1. View PR surface stats
LabelsLabel changes: No label 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 (11 earlier review cycles; latest 8 shown)
Reviewed October 22, 2026, 2:10 PM ET / 18:10 UTC (Revision 12). |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
This assigned pull request has been automatically marked as stale after being open for 27 days. |
vyctorbrzezowski
left a comment
There was a problem hiding this comment.
Reviewed the dashboard-child pin eligibility policy, Gateway pin updates and projections, maintenance protection, shared menu actions, and sidebar promotion with agent and archive filtering. The current changes address the earlier shelf-promotion and sidebar-documentation findings. No actionable issue was found in the reviewed diff.
Automated code review complete. No further changes are requested from the author at this stage. Final product and design review will be handled by the responsible maintainer before the PR is considered for merge.
What Problem This Solves
Dashboard child sessions could not be pinned from the Control UI, making useful child conversations harder to return to.
User Impact
Users can pin a dashboard child from the sidebar, chat header, or Sessions page. The pin belongs to their personal navigation and survives reload. Committed personal pins protect the session from automatic cleanup through the retention dependency below.
Moving a child into a group records independent placement, which remains after removal from that group. Snooze/Wake keep their existing eligibility for roots, Home-parented sessions, and explicitly promoted sidebar roots; pinning an unpromoted dashboard child does not make it snoozable. Ordinary chat children and subagent runs retain their pin restrictions.
Why This Change Was Made
The integration uses the existing personal sidebar preference owner instead of restoring the global pinned shelf or writing global pins from the UI. Pin eligibility, group placement, and snooze eligibility remain separate decisions, preserving execution lineage.
Depends on #180610 — personal-pin retention, head
abdaa76c40d2bd9e7333c80e3538134092be26dc. This PR targetsbrzezowski/personal-pins-retention, so its diff is reviewed relative to that foundation, which must be merged first. The foundation protects a session while any profile retains a committed personal reference; unsynced local preference changes are outside the server guarantee.Original contribution by Jacqueline Henriksen (@jjjhenriksen); contributor ancestry is preserved.
Evidence
Published head:
4fb77e988286d8494a09f11e162d5617e8e67c0e; validated tree:6178667e561b66d674d4d0290cb238663f014751.The screenshots compare main
4f6666a6594f841fa723952b4c306b5d967aea32with the published head above, using the same synthetic dashboard session and Example model. They exercise the maintained mocked-Gateway browser harness.Before — dashboard child menu on main:
After — Pin session is available, with no unintended Snooze action:
After pinning and reloading — the personal navigation entry remains:
After moving into a group and removing it — the child remains independent of its parent:
Risk and coverage
c6aa7d9904bb9943b92ae85373790cdbff6f80f2: unintended child snooze acceptance, exposed snooze state, and a Snooze menu entry when the parent was archived. The repaired production passed those boundaries.2e36119; the corrected projection, menu, and browser checks passed on the final tree.undefinedproperties, while the correct response omitted them. It now asserts absence of snooze state. Its corrected red/green proof passed without another production change.c7a.4xlarge, running serially: initial backend batch 54.85 s (30 passed, 1 fixture mismatch), corrected projection 35.41 s (3 passed), menu 7.00 s (7 passed), browser 39.76 s (3 passed). Peak RSS was 4.17 GiB. The harness built temporary Vite UI bundles; no full OpenClaw build, tsgo, full CI, or general suites ran.