Repository navigation
fix: find grouped conversations created by agents - #149803
shakkernerd merged 3 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: needs maintainer review before merge. Reviewed September 19, 2026, 2:12 PM ET / 18:12 UTC (Revision 7). ClawSweeper reviewWhat this changesThe PR makes grouped agent-created conversations discoverable in shared navigation and title/transcript search, with matching documentation and regression coverage. Merge readiness✅ Ready for maintainer review This remains a useful, focused repair: current main still excludes grouped spawned conversations from search. No blocking defect was found, and the inspected visual evidence supports the corrected behavior. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI sends conversation searches to the Gateway, which filters authorized session metadata before searching transcripts. The returned conversations feed command-palette results and shared navigation. flowchart TD
A[Conversation metadata and transcripts] --> B[Gateway sharing checks]
C[Search query and filters] --> B
B --> D[Group and subagent selection]
D --> E[Metadata and transcript matches]
E --> F[Palette results and navigation]
F --> G[Reopened conversation]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +3, Tests +271, Docs +6. Total +280 across 12 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep discovery consistent with existing sidebar grouping through the shared Gateway selector while preserving authorization, archive filters, and runtime lineage. Do we have a high-confidence way to reproduce the issue? Yes: current-main source excludes a grouped ordinary conversation carrying spawnedBy when the palette requests excludeSubagents. Submitted before/after evidence exercises that path; this review did not execute it. Is this the best way to solve the issue? Yes: adjusting the existing Gateway selection facts and UI navigation predicate repairs the inconsistency without adding state, protocol options, or a competing search implementation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 0c41e701875c. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (6 earlier review cycles)
|
Register the new mobile E2E as a private-server owner, retire the now-unused visible-scope export, and retain each proof capture in the suite artifact directory instead of overwriting tracked files. Co-Authored-By: Claude Opus 5 <[email protected]>
f95b591 to
5bbe625
Compare
|
Fixed: grouped spawned conversations remain searchable and reopenable after switching chats. With thanks to @Marvinthebored. |
Keep grouped spawned conversations discoverable in search and shared navigation after selection changes, with existing visibility and archive filters. Refs openclaw#147603. Reviewed-by: @shakkernerd Co-authored-by: Shakker <[email protected]>
Related: #147603
Related: #148533
What Problem This Solves
A conversation created by an agent can be visible in its custom sidebar group
but disappear from search and shared navigation when the user selects another
conversation. Searching for its title or something said in its transcript then
fails to provide a way back to that conversation.
User Impact
Grouped conversations created by agents remain discoverable through the command
palette and shared session navigation after selection changes. Choosing a search
result reopens the matching conversation through the existing palette entry
points.
Subagent runs and ungrouped spawned sessions retain their discovery exclusions.
Grouping grants no access to private or incognito conversations and does not
override archive, agent, cron, or system-session filters. The shared inventory
rule also makes grouped ordinary conversations eligible in Activity and in
sessions_listwhen subagents are excluded. Runtime ownership and parent/childrelationships remain intact.
Why This Change Was Made
The palette now sends its filters to the Gateway for both metadata and transcript
search. Its Gateway selector treated every entry carrying
spawnedByas asubagent, so changing only the browser's visibility predicate could not restore
the search result.
The repair narrows that existing discovery classification: actual subagent keys
remain excluded, while an ordinary spawned conversation with an explicit custom
group remains eligible. The shared UI navigation filter uses the same group
distinction. Canonical category updates already invalidate the prepared session
metadata, including archived rows, so the repair needs no new stored state,
configuration, or protocol option.
Evidence
On main at
0b753f1e15b27f13252f10aaf644613f52ecac0a, the real Gateway returnedzero metadata matches for the grouped conversation's title and zero transcript
matches for a unique word present in its history. The browser showed No results
found. This fixture contains 205 newer conversations across five configured
agents, so the search also has to reach beyond a recent roster window.
The regression coverage uses the registered Gateway methods and the existing
real-Gateway browser harness, with canonical synthetic session data and verified
production UI assets. It exercises title search, transcript search, reopening a
result after selection changes, and category rename/removal/restoration in the
same running Gateway. Separate owner-boundary cases protect private, incognito,
archived, cron, system, and transient subagent rows, plus pagination and people
and owner facets.
Focused remote verification is green for the candidate's Gateway, navigation,
sidebar, and search-fixture code: 25 Gateway tests and 548 UI tests. The three
Gateway regressions fail on the baseline with 22 passing controls; the shared
navigation regression also fails on main while its other 26 cases pass.
Formatting, targeted lint, syntax, and fast static guards passed on the final
content published as
5bbe6250562741620aed18b7cb12491e9c2c15f3.Exact-head remote verification at
5bbe6250562741620aed18b7cb12491e9c2c15f3passed all 34 selected check commands, including production core/UI types,
all 20 core test-type graphs, lint, and the applicable docs, schema, and
architecture guards. The committed real-Gateway lifecycle test passed, as did
the paired desktop and mobile capture scenarios against production UI assets.
With another conversation selected, both title and transcript searches now find
and reopen the older grouped conversation. Renaming, clearing, and restoring
its category immediately update search, shared navigation, and people/owner
facets in the same running Gateway. The before/after captures below use identical
synthetic fixtures at 1280×900 and 390×844; the branch badge is the only intentional
build-provenance difference outside the searched surface. No live provider
inference or operator data is involved.
Visual evidence
Mobile emulation: open palette, find and reopen categorized conversation
after-mobile.mp4
Visual verification
5bbe6250562741620aed18b7cb12491e9c2c15f3Desktop search and reopen
after-desktop.mp4
Reopened conversation