Skip to content

[Workspace panel] Root path drops leading dot, false 'Missing' labels on existing folders, broken layout #96660

Closed as not planned

Description

@mmhzlrj

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

  1. Open any session in OpenClaw 2026.6.10.
  2. Click the "展开会话工作区" button on the right side of the session view.
  3. Observe the breadcrumb / root path displayed at the top of the panel.
  4. Observe the file list — particularly folders starting with . such as .backups, .cache, .cdp-tools, .review, .openclaw, .semantic_cache, .trash.
  5. 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

  1. The root path is rendered as /Users/lr/.openclaw/workspace/ with the leading dot preserved.
  2. 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.
  3. 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/absolute z-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

Activity

  1. clawsweeper commented on Jun 25, 2026

    @clawsweeper
    Contributor

    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: canonical
    Canonical: #96660
    Summary: This issue retains the broader report after separately merged directory, external-path, and layout repairs.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Maintainer decision needed

    • Question: After the directory repair, should this issue remain open pending a current reproduction of dot loss or incorrect in-workspace symlink classification?
    • Recommendation: Request a scoped current reproduction: Retain the issue and compare the rendered root with sessions.files.list output, plus filesystem type and resolved targets for affected entries.
    • Why: The discussion explicitly retained those cases, while current source does not establish a remaining narrow defect and the merged repair deliberately leaves this issue open.

    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:

    • No current reproduction establishes dot loss or distinguishes an ordinary existing directory from an intentionally rejected symlink.
    • The merged directory repair and older layout repair do not prove every symptom in the original macOS workspace is resolved.

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

    Label changes

    Label changes:

    • add issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.
    • add clawsweeper:no-new-fix-pr: Current issue advisory state selects this label.
    • add clawsweeper:needs-maintainer-review: Current issue advisory state selects this label.
    • remove clawsweeper:source-repro: Current issue advisory state no longer selects this label.
    • remove 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:

    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

    Reviewed October 27, 2026, 5:07 AM ET / 09:07 UTC.

  2. added
    P2Normal backlog priority with limited blast radius.
    impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.
    issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.
    clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.
    clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.
    clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.
    on Jun 25, 2026
  3. openclaw-barnacle commented on Jul 9, 2026

    @openclaw-barnacle

    This issue has been automatically marked as stale due to inactivity.
    Please add updates or it will be closed.

  4. steipete commented on Jul 12, 2026

    @steipete
    Contributor

    Related cluster update:

    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 current main (or the next release containing the commits above), including the rendered root and ls -ld / resolved targets for affected entries, would make the remaining behavior actionable.

  5. openclaw-barnacle commented on Jul 27, 2026

    @openclaw-barnacle

    This issue has been automatically marked as stale due to inactivity.
    Please add updates or it will be closed.

  6. removed
    clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.
    issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.
    on Jul 30, 2026
  7. 32 remaining items

  8. added
    clawsweeper:intake:bugPreliminary submission classification; full source review pending.
    clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.
    clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.
    issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.
    and removed
    clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.
    issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.
    clawsweeper:intake:bugPreliminary submission classification; full source review pending.
    on Oct 27, 2026
  9. openclaw-barnacle commented on Oct 28, 2026

    @openclaw-barnacle

    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.

  10. openclaw-barnacle commented on Nov 5, 2026

    @openclaw-barnacle

    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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.staleMarked as stale due to inactivity

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions