fix(workboard): hide archived cards from cli list#94721
Conversation
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Close: this draft is a later duplicate candidate for the Workboard CLI archived-card listing bug, and the same remaining work is already tracked by the earlier open canonical PR with positive proof and maintainer-editable branch state. Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Canonical path: Use #94562 as the canonical landing path and resolve the default JSON archived-card visibility decision there. So I’m closing this here and keeping the remaining discussion on #94562. Review detailsBest possible solution: Use #94562 as the canonical landing path and resolve the default JSON archived-card visibility decision there. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection of current main shows the terminal CLI list path omits archived filtering, while the Workboard tool and slash-command paths already filter archived cards by default. Is this the best way to solve the issue? No for this branch as the landing path. The CLI-layer fix is the right boundary, but the earlier open canonical PR should carry the remaining compatibility decision and final implementation. Security review: Security review cleared: The diff changes Workboard CLI filtering, adjacent tests, and CLI docs only; it adds no dependencies, workflows, secrets handling, package-resolution changes, or code-execution surface. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against 50b5238b3895. |
Summary
openclaw workboard listby default, matching the Workboard tool and slash-command list behavior.--include-archivedso operators can still inspect archived cards from the terminal.WorkboardStore.list, archive semantics, or non-CLI Workboard surfaces.Linked context
Closes #94555
Related #94555
Was this requested by a maintainer or owner?
No direct maintainer request; this follows the issue-fix-agent qualified path for a queueable, source-reproduced issue.
Real behavior proof (required for external PRs)
openclaw workboard listno longer prints archived cards unless--include-archivedis set./private/tmp.env NODE_PATH=$PWD/node_modules node --import tsx /private/tmp/workboard-cli-proof.ts--include-archivedshowed both active and archived cards.openclaw workboard listrun against a real user state database.pnpm docs:listwas attempted before editing docs but failed because pnpm's dependency status check triggeredpnpm installand timed out downloading registry tarballs even after a network-enabled retry.openclaw workboard listCLI does not filter archived cards (CLI/API inconsistency) #94555 includes the source-level before behavior and reproduction.Tests and validation
node scripts/run-vitest.mjs extensions/workboard/src/cli.test.ts extensions/workboard/src/tools.test.ts extensions/workboard/src/command.test.tsgit diff --check origin/main...HEAD.agents/skills/autoreview/scripts/autoreview --mode local --prompt "Review the local diff for issue #94555 only: Workboard terminal CLI list should hide archived cards by default and expose --include-archived, matching existing Workboard tool/slash-command behavior. Scope is extensions/workboard/src/cli.ts, cli tests, and docs/cli/workboard.md."env NODE_PATH=$PWD/node_modules node --import tsx /private/tmp/workboard-cli-proof.tsRegression coverage added:
--include-archived.Risk checklist
Did user-visible behavior change? (
Yes/No)Yes. Archived Workboard cards are hidden from terminal list output by default.
Did config, environment, or migration behavior change? (
Yes/No)No.
Did security, auth, secrets, network, or tool execution behavior change? (
Yes/No)No.
What is the highest-risk area?
Operators who depended on
workboard listshowing archived cards by default now need--include-archived.How is that risk mitigated?
The new flag preserves access to archived cards, and the default now matches existing Workboard tool and slash-command behavior.
Current review state
What is the next action?
Maintainer review and CI.
What is still waiting on author, maintainer, CI, or external proof?
CI and any maintainer-requested real packaged CLI proof.
Which bot or reviewer comments were addressed?
Local autoreview reported no accepted/actionable findings.