Follow up Workspace file rail parity gaps
The initial Windows Workspace file rail adds the core session files experience: session-touched files, read/edited/missing state, metadata, path-driven folder browsing, server-side search/truncation messaging, copy-path actions, browser-only preview guards, and safe preview via the typed sessions.files.list / sessions.files.get APIs.
Remaining follow-up gaps to close against the main Control UI experience:
- Show artifacts in the workspace rail when available.
- Consider refresh/collapse affordances if they fit the Windows Workspace page layout.
- Further polish visual sectioning if the page later moves closer to the chat-side rail presentation.
This should build on the existing WorkspaceFilesModel projection layer and canonical typed gateway APIs rather than duplicating protocol DTOs or parsing raw gateway payloads.
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed September 3, 2026, 12:42 PM ET / 16:42 UTC.
Summary Keep open for maintainer product direction. Current main already provides refresh, but artifact rows are not part of the Workspace file contract or projection, and the collaborator-authored item requires explicit maintainer judgment.
Reproducibility: not applicable. this is a feature follow-up rather than a failure report. Current-source inspection does confirm that refresh exists while Workspace artifact rows are not represented by the rail’s typed contract.
Ways to help us reproduce this
- Add a screenshot or short recording showing the behavior.
- Add expected vs actual behavior.
- Include redacted logs or terminal output.
Maintainer decision needed
| Question | Recommendation |
|---|---|
| Should the Windows Workspace rail show session artifacts, and if so should the initial version be metadata-only or permit selected artifact preview/download? | Define a metadata-first artifact rail: Add only session-scoped artifact rows with explicit unavailable and preview guards, leaving content retrieval to a later approved contract. |
Why: Current main has a file-only typed rail, while the existing artifact path is chat-media-specific; choosing artifact scope and the initial preview boundary is a product and privacy decision rather than a mechanical UI gap.
Next step A maintainer must choose the artifact visibility and preview contract before a bounded implementation can be safely defined; the collaborator-authored item must remain open for that judgment.
Review details
Best possible solution:
Define a narrow, read-only session artifact contract and its visibility and preview policy, then add a tested Workspace projection that preserves the existing file rail’s session scope and safe-preview boundaries.
Do we have a high-confidence way to reproduce the issue?
Not applicable: this is a feature follow-up rather than a failure report. Current-source inspection does confirm that refresh exists while Workspace artifact rows are not represented by the rail’s typed contract.
Is this the best way to solve the issue?
Unclear: showing artifacts may be valuable, but the requested direction lacks an approved session-artifact listing and preview policy, so a direct UI reuse would not be the narrowest safe solution.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
- Reusing the chat-media artifact download path for Workspace rows without a new session-scoped listing and preview contract could expose artifacts outside the file rail's established relevance and safety rules.
Codex review notes: model internal, reasoning high; reviewed against bd7702c5149a.
Label changes
Label justifications:
P3: This is a bounded parity and ergonomics follow-up, not a report of broken current behavior.impact:other: The requested improvement concerns operator visibility in the Workspace rail and does not match a more specific impact taxonomy.
Evidence reviewed
What I checked:
- Refresh is already implemented: The current Workspace header includes a Refresh button wired to reload the file rail. (
src/OpenClaw.Tray.WinUI/Pages/WorkspacePage.xaml:87, bd7702c5149a) - Current rail contract has files only: The typed session-file models contain file and browser entries, but no artifact row or artifact metadata type. (
src/OpenClaw.Shared/GatewayProtocolModels.cs:371, bd7702c5149a) - Workspace consumes only the typed file endpoint: The page loads its rail through sessions.files.list and applies the resulting file projection. (
src/OpenClaw.Tray.WinUI/Pages/WorkspacePage.xaml.cs:143, bd7702c5149a) - Existing artifact download is chat-media-specific: Artifact download is driven by structured chat media and is rendered on the chat path, so it does not establish a Workspace artifact-list contract or preview policy. (
src/OpenClaw.Shared/OpenClawGatewayClient.AssistantMedia.cs:17, bd7702c5149a) - Feature provenance: The merged initial rail commit added the Workspace projection, page changes, and focused projection tests; its recorded parent is the prior main revision. (
src/OpenClaw.Tray.WinUI/Pages/WorkspaceFilesModel.cs:22, 556e7dafc4ba) - Current release baseline: The reviewed current-main checkout is the fetched main revision and is tagged v2026.7.1-3; this confirms the missing artifact projection is current behavior, not an older checkout result. (bd7702c5149a)
Likely related people:
- unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
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-reviewcomments, 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-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only. - Maintainers can also comment
@clawsweeper reviewto request a fresh review only. - Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
- Maintainer-only repair and merge flows require explicit commands such as
@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review. - Maintainers can comment
@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.
This issue has been automatically marked as stale due to inactivity. Please add updated OpenClaw Windows details or it will be closed.
This issue has been automatically marked as stale due to inactivity. Please add updated OpenClaw Windows details or it will be closed.
Closing due to inactivity. If this still affects OpenClaw Windows, open a new issue with the current version, logs, and fresh reproduction details.