Repository navigation
Description
Summary
After upgrading to OpenClaw 2026.6.10 (aa69b12), the new "展开会话工作区 / Expand Session Workspace" side panel has three P0/P1 rendering bugs at the same time: the panel's own root path is displayed with the leading dot stripped, multiple folders that exist on disk are flagged "Missing" because the panel still resolves them to deleted /tmp/nano-* temp paths, and the file list is visually broken by overlapping z-index layers.
The four P0 issues I had originally drafted (including "OpenClaw-internal metadata exposed") are not all still in scope — internal dirs should remain visible. Reporting three.
Environment
- OpenClaw 2026.6.10 (
aa69b12) — first release that exposes the "展开会话工作区" button - macOS Monterey 12.7.6, MacBook Pro (Retina, 13-inch, Early 2015)
- Workspace root:
/Users/lr/.openclaw/workspace/(real path on disk) - Panel stats at the time of capture: 13 changed · 2 read · 0 artifacts · 213 shown
- Trigger: clicking the "展开会话工作区 / Expand Session Workspace" button in the right sidebar
Steps to Reproduce
- Open any session in OpenClaw 2026.6.10.
- Click the "展开会话工作区" button on the right side of the session view.
- Observe the breadcrumb / root path displayed at the top of the panel.
- Observe the file list — particularly folders starting with
.such as.backups,.cache,.cdp-tools,.review,.openclaw,.semantic_cache,.trash. - Observe the search input (placeholder "搜索文件" with 🔍 icon) and the section headers (已更改 / 已读取 / 项目文件).
Actual Behaviour
1. Root path missing the leading dot (P0)
The breadcrumb at the top of the panel reads:
/Users/lr/openclaw/workspace
But the real path on disk is:
/Users/lr/.openclaw/workspace/
The leading . in .openclaw is being dropped somewhere in the path display formatter. As a direct consequence, the real internal .openclaw/ directory (182.1 KB, the panel's own state/config dir) is then shown as a child of the panel — which is logically wrong, and means a user can't manage panel state from inside the panel.
2. False "Missing" labels on existing folders (P0)
The following entries are shown with a red "缺失 / Missing" tag even though the folders exist on disk:
| Folder | Resolved path shown in UI | Real status on disk |
|---|---|---|
.backups |
/tmp/nano-docker… |
exists |
.cache |
/tmp/nano-run.sh |
exists |
.cdp-tools |
/tmp/nano-status… |
exists |
.review |
/tmp/… |
exists |
These look like they were originally populated via ln -s to /tmp/nano-* scripts (Jetson Nano docker / run / status helpers), or their display path was cached before those temp files were cleaned up. The panel still resolves to the old symlink target and flags the whole folder as Missing.
3. Layout / z-index broken (P1)
- The search input (with 🔍 icon and placeholder "搜索文件") is rendered on top of the file list instead of in a dedicated sticky toolbar row.
- The section headers 已更改 / 已读取 / 项目文件 overlap each other.
- The whole file list is unreadable because of stacked layers.
Expected Behaviour
- The root path is rendered as
/Users/lr/.openclaw/workspace/with the leading dot preserved. - Folders that exist on disk are not marked Missing, even if their original creation path referenced a now-deleted temp file. The panel should re-resolve the canonical path and only flag true filesystem absences.
- The search input, section headers, and file rows render in distinct, non-overlapping layers (correct z-index / flex / grid layout).
Screenshots
Attached: 2026-06-25-11-14-35.png
- Shows root path missing the leading
. - Shows 4+ "缺失" tags on existing folders
- Shows overlapping search box and section headers
Possible Root Cause (for triage)
- Path display: simple string formatting (
workspacePath.replace('.openclaw', 'openclaw')or similar) eating the leading.. - Missing label: stale symlink target cache, or path resolution that follows the original symlink instead of the real inode.
- Layout: search input injected into the list container instead of a sticky header, or
position: fixed/absolutez-index misconfigured against scroll containers.
Severity
P0 — the "展开会话工作区" panel is the primary surface users use to navigate their work; it is currently both incorrect and unreadable. Reverts any productivity gained by introducing the panel in 2026.6.10.
Reproduction Confidence
- 100% reproducible on this workspace at this version
- Occurs every time the panel is opened (not transient)
- Not session-dependent
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Jun 25, 2026
Codex review: this still needs some work.
Summary
The confirmed directory-classification defect is fixed on current main, but the merged repair explicitly preserves this maintainer-engaged issue for reassessment of the root-path and symlink symptoms.
Reproducibility: The previously demonstrated directory defect is repaired in current source; this read-only review did not reproduce the remaining root-path or symlink symptoms.
Root-cause cluster
Relationship:
canonicalCanonical: #96660
Summary: This issue retains the broader report after separately merged directory, external-path, and layout repairs.
Members:
partial_overlap: fix(gateway): omit directories from session file activity #167732 - Merged; fixes confirmed directories appearing as missing files and explicitly preserves the broader issue.partial_overlap: fix: hide external files from the session workspace rail #105015 - Merged; addresses external transcript paths appearing in the workspace rail.partial_overlap: fix: keep workspace rail file sections scrollable #98646 - Merged; addresses compressed and overflowing workspace sections.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Maintainer decision needed
Next step
Reassess the remaining root-path and symlink cases with current RPC output and filesystem targets before identifying another repair.
Review details
Best possible solution:
Retain only demonstrable remaining behavior after a maintainer reassesses the root-path and symlink cases against the merged repairs.
Do we have a high-confidence way to reproduce the issue?
The previously demonstrated directory defect is repaired in current source; this read-only review did not reproduce the remaining root-path or symlink symptoms.
Is this the best way to solve the issue?
The merged directory omission reuses the existing safe filesystem owner appropriately; further changes need a concrete remaining failure rather than speculative path rewriting or relaxed symlink restrictions.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning medium; reviewed against bfdc102106bb.
Label changes
Label changes:
issue-rating: 🦪 silver shellfish: 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:source-repro: Current issue advisory state no longer selects this label.issue-rating: 🦞 diamond lobster: Current issue advisory state no longer selects this label.Label justifications:
P2: The report concerns workspace navigation accuracy and readability without evidence of a currently blocked first-run or core agent workflow.impact:ux-friction: Misleading paths, Missing badges, and overlapping file rows make workspace inspection confusing.Evidence reviewed
What I checked:
src/gateway/server-methods/workspace-files.ts:189, bfdc102106bb)src/gateway/server-methods/sessions-files.test.ts:332, bfdc102106bb)ui/src/pages/chat/components/chat-session-workspace-rail-solid.tsx:417, bfdc102106bb)src/gateway/server-methods/workspace-fs.ts:50, bfdc102106bb)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 explainto ask for more context, or@clawsweeper stopto stop active automation.Reviewed October 27, 2026, 5:07 AM ET / 09:07 UTC.
openclaw-barnacle commentedon Jul 9, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
steipete commentedon Jul 12, 2026
Related cluster update:
006f4e3ee8f7e2ac26d897fdd6636eb48cdd69ad) fixed the compressed/overlapping workspace-rail sections by making each file section scroll independently.05e95b7b45909529bd0744677771900b1998134d) now omits transcript-touched paths outside the active workspace instead of probing them through rawnode:fs. That resolves the external-path examples discussed in fix(workspace): prevent false Missing labels on existing files and fix panel layout overlap #97251 without exposing external file metadata.Neither change proves the two remaining symptoms in this issue: the displayed workspace root losing the dot in
.openclaw, and directory/symlink entries inside the workspace being marked missing. Keeping this issue open for those narrower cases. A fresh reproduction on currentmain(or the next release containing the commits above), including the rendered root andls -ld/ resolved targets for affected entries, would make the remaining behavior actionable.openclaw-barnacle commentedon Jul 27, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
32 remaining items
fix(gateway): omit directories from session file activity (#167732)
fix(gateway): omit directories from session file activity (openclaw#1…
openclaw-barnacle commentedon Oct 28, 2026
This issue has been automatically marked as stale after 7 days without qualifying human activity.
Without new human activity, Barnacle may close it as not planned 7 days after this message was posted. This is administrative inactivity cleanup, not a claim that the problem is fixed.
A human update restarts the inactivity clock; a new PR head also restarts it. A maintainer can add no-stale for a durable hold, or bad-barnacle to suppress Barnacle. Remove the hold when work can resume.
fix(gateway): omit directories from session file activity (#167732)
openclaw-barnacle commentedon Nov 5, 2026
Closing as not planned after the inactivity notice and full retest/update grace. This is an administrative close; the reported problem has not been confirmed fixed. Please reopen with current reproduction details if it still occurs.