-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Bug: openclaw workboard list CLI does not filter archived cards (CLI/API inconsistency) #94555
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper 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.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper 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.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Bug:
openclaw workboard listCLI does not filter archived cards (CLI/API inconsistency)Summary
The
openclaw workboard listCLI command does not hide soft-archived cards, while theworkboard_listMCP tool / API does (whenincludeArchivedis unset). This makes the CLI and API inconsistent and causes users to think archive operations failed.Reproduction
archived_at, or via direct DB write):openclaw workboard list --json→ the JSON output shows"metadata": { "archivedAt": 1781780622000 }(good, archive registered).openclaw workboard list(no flags) → the archived card is still printed (BUG).Expected
openclaw workboard listshould hide cards withmetadata.archivedAtset, matching the API tool's default behavior.Root cause
In
cli-D90w1uNl.js(functionregisterWorkboardCli, theworkboard.command("list")handler):There is no filter on
card.metadata?.archivedAt.Compare with the API tool path in
extensions/workboard/index.js(~line 263,workboard_list):Same store, different filter rules — that's the inconsistency.
Suggested fix
Add an
--include-archivedflag (mirroring the API tool) and default to hiding archived cards in the CLI:Environment
workboard(bundled, version 2026.6.8)Notes
Discovered while running through a card create/list/cleanup demo. Users who try to "archive" demo cards via the workboard tool will still see them in CLI output, leading them to think archive did not work — until they notice the CLI/API divergence.