Repository navigation
Description
Summary
Windows session navigation renders opaque Gateway routing keys and treats evolving key suffixes as a fixed schema.
Observed behavior
Session titles and truncation tooltips can show values such as:
agent:main:telegram:main:direct:<peer>agent:main:tui-<uuid>:heartbeat
The current parser reads only part of the Gateway session row, expects legacy property names for provider/group metadata, and title formatting assumes agent:<agent>:<slot>.
Expected behavior
- Prefer the Gateway session presentation contract when available.
- Fall back to bounded, human-readable titles for older Gateways without showing full peer IDs, UUIDs, hashes, or routing keys.
- Treat the raw key as an opaque routing value kept for copy/details and actions.
- Group using structured agent metadata.
- Hide cron, heartbeat, dreaming, subagent, ACP, hook, harness, and internal sessions from ordinary conversation navigation by default, with an explicit background-session view.
Impact
Affected: Windows app users with generated, channel, subagent, automation, or multi-agent sessions.
Severity: Medium usability issue.
Frequency: Consistent whenever unnamed generated sessions are returned.
Consequence: users cannot identify conversations reliably and background execution rows crowd the chat/session navigation.
Evidence
Observed in the Windows app session selector. Source audit confirms the formatter uses fixed colon positions and the Gateway parser ignores the current label, modelProvider, groupChannel, worktree/node, lineage, and presentation fields.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsChannels
Activity
clawsweeper commentedon Jul 13, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 13, 2026, 4:46 PM ET / 20:46 UTC.
Summary
This detailed, maintainer-authored issue should remain open: the requested Gateway presentation contract, privacy-bounded fallback titles, and explicit background-session navigation are not proven implemented on the supplied current main, and no canonical open or merged fix owns the work.
Reproducibility: no. live high-confidence reproduction was established during this read-only review, but the supplied examples and source audit map directly to the current formatter, visibility service, parser, and Sessions page, making the defect source-reproducible with medium confidence.
Ways to help us reproduce this
Next step
A maintainer should first confirm whether background-session visibility ships with the presentation fix or as a follow-up; after that choice, the implementation path is concrete.
Maintainer decision needed
Review details
Best possible solution:
Introduce a typed session-presentation projection that consumes structured Gateway presentation, agent, grouping, and lineage fields first; retain the opaque key only for identity/actions, add privacy-bounded compatibility fallbacks, and drive a clearly labeled background-session view from structured classification.
Do we have a high-confidence way to reproduce the issue?
No live high-confidence reproduction was established during this read-only review, but the supplied examples and source audit map directly to the current formatter, visibility service, parser, and Sessions page, making the defect source-reproducible with medium confidence.
Is this the best way to solve the issue?
Yes for the title defect: structured Gateway presentation with a bounded compatibility fallback is safer than parsing evolving opaque keys. The background-session view is also reasonable, but its default visibility policy should be explicitly confirmed or split from the parser fix.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against 77c42440376e.
Label changes
Label changes:
P2: The issue describes a consistent usability defect affecting session identification and navigation, but not data integrity or core runtime availability.impact:ux-friction: Opaque routing keys and intermingled background rows make conversations difficult to identify without fully blocking setup or first use.issue-rating: 🐚 platinum hermit: Current issue advisory state selects this label.clawsweeper:needs-live-repro: Current issue advisory state selects this label.clawsweeper:no-new-fix-pr: Current issue advisory state selects this label.clawsweeper:needs-maintainer-review: Current issue advisory state selects this label.clawsweeper:needs-product-decision: Current issue advisory state selects this label.Label justifications:
P2: The issue describes a consistent usability defect affecting session identification and navigation, but not data integrity or core runtime availability.impact:ux-friction: Opaque routing keys and intermingled background rows make conversations difficult to identify without fully blocking setup or first use.Evidence reviewed
What I checked:
src/OpenClaw.Tray.WinUI/Services/SessionTitleFormatter.cs, 77c42440376e)src/OpenClaw.Tray.WinUI/Services/SessionVisibilityFilter.cs, 77c42440376e)src/OpenClaw.Tray.WinUI/Pages/SessionsPage.xaml.cs, 77c42440376e)Likely related people:
src/OpenClaw.Tray.WinUI/Services/SessionTitleFormatter.cs,src/OpenClaw.Tray.WinUI/Services/SessionVisibilityFilter.cs,src/OpenClaw.Tray.WinUI/Pages/SessionsPage.xaml.cs)src/OpenClaw.Tray.WinUI/Pages/SessionsPage.xaml,src/OpenClaw.Tray.WinUI/Pages/SessionsPage.xaml.cs)src/OpenClaw.Tray.WinUI/Pages/SessionsPage.xaml,src/OpenClaw.Tray.WinUI/Pages/SessionsPage.xaml.cs)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.