Skip to content

feat(ui): improve Workboard task details - #88892

Merged
vincentkoc merged 11 commits into
mainfrom
workboard-operator-flow
Jun 1, 2026
Merged

vincentkoc merged 11 commits into
mainfrom
workboard-operator-flow

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Jun 1, 2026 •

Copy link
Copy Markdown
Member

Summary

  • make Workboard cards compact by moving expanded metadata, proof, diagnostics, worker logs, automation, protocol state, events, and operator notes into a detail drawer
  • keep execution safe from the drawer: active/linked/archived cards do not expose duplicate start paths, stale task cache is ignored when session lifecycle is authoritative, and recent proof/events stay visible
  • clarify the dispatcher tool copy and fix owner capacity so unclaimed review cards free a slot while claimed review cards still block duplicate starts
  • sync generated Control UI locale fallbacks for the new Workboard strings

Verification

  • git diff --check origin/main...HEAD
  • node scripts/run-vitest.mjs run --config test/vitest/vitest.ui.config.ts --configLoader runner ui/src/ui/controllers/workboard.test.ts ui/src/ui/views/workboard.test.ts (75 tests)
  • node scripts/run-vitest.mjs run extensions/workboard/src/dispatcher.test.ts (4 tests)
  • node --import "data:text/javascript,process.env.PATH=process.cwd()+'/.codex-bin:'+process.env.PATH" --import tsx scripts/control-ui-i18n.ts check with a temporary local pnpm exec oxfmt shim only for the Codex worktree check; all 18 fallback-only locales clean
  • .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main (clean: no accepted/actionable findings, overall 0.78)
  • Testbox-through-Crabbox tbx_01kt0qphxbr6wrxhctrey83vfe / GitHub Actions run 26735505349: node scripts/crabbox-wrapper.mjs run --provider blacksmith-testbox --blacksmith-org openclaw --blacksmith-workflow .github/workflows/ci-check-testbox.yml --blacksmith-job check --blacksmith-ref main --idle-timeout 90m --ttl 240m --timing-json -- env OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 corepack pnpm check:changed (exit 0, 8m14s total)

@vincentkoc vincentkoc self-assigned this Jun 1, 2026
@clawsweeper

clawsweeper Bot commented Jun 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed May 31, 2026, 11:42 PM ET / 03:42 UTC.

Summary
This PR adds a Workboard card detail drawer, compacts card metadata/actions, updates dispatcher slot accounting for review cards, and syncs Workboard UI tests plus generated i18n fallbacks.

PR surface: Source +1184, Tests +370. Total +1554 across 45 files.

Reproducibility: not applicable. this is primarily a feature/UI restructuring PR. The bug-like dispatcher slot behavior is source-reproducible through the added claimed-versus-unclaimed review-card tests.

Review metrics: 1 noteworthy metric.

  • Generated locale fallback keys: 20 Workboard keys added. The UI change adds new user-visible strings and generated fallback locale metadata, so maintainers should keep the i18n sync proof visible before merge.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🌊 off-meta tidepool
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • Attach or run a visual Control UI smoke showing the Workboard detail drawer, compact cards, session open action, and operator note path.
  • Rerun the changed check against the current base after the remote infrastructure issue clears.

Mantis proof suggestion
A short visible Control UI proof would materially help review of the new Workboard drawer workflow. A maintainer can ask Mantis to capture proof by posting a new PR comment that starts with the OpenClaw Mantis account mention, followed by:

visual task: verify the Control UI Workboard opens card details in the drawer, keeps cards compact, and can add an operator note.

Risk before merge

  • [P1] The PR is draft and protected by the maintainer label, so it should not be auto-cleaned or auto-landed without explicit maintainer handling.
  • [P1] The change is a visible Workboard UI workflow update, but no browser/visual drawer smoke proof is attached in the PR body.
  • [P1] Remote changed/full checks did not complete on the current head; a fresh current-main changed gate would reduce landing risk.

Maintainer options:

  1. Decide the mitigation before merge
    Land after maintainer UI review, a visual Workboard drawer smoke, and a fresh changed check confirm the drawer flow and dispatcher slot accounting remain clean.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Next step before merge

  • No automated repair lane is indicated because this protected draft PR has no discrete code finding; the remaining action is maintainer UI review and validation.

Security
Cleared: The diff stays in Workboard UI/plugin runtime/tests/generated i18n and does not change dependencies, workflows, permissions, secret handling, or package scripts.

Review details

Best possible solution:

Land after maintainer UI review, a visual Workboard drawer smoke, and a fresh changed check confirm the drawer flow and dispatcher slot accounting remain clean.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this is primarily a feature/UI restructuring PR. The bug-like dispatcher slot behavior is source-reproducible through the added claimed-versus-unclaimed review-card tests.

Is this the best way to solve the issue?

Yes, the implementation looks like an acceptable owner-boundary fix: the drawer belongs in the Control UI view/controller, while owner-slot accounting stays in the Workboard dispatcher. The main remaining question is UX validation, not a narrower code repair.

AGENTS.md: found and applied where relevant.

Codex review notes: model gpt-5.5, reasoning high; reviewed against a5ee3569d326.

Label changes

Label justifications:

  • P2: This is a normal-priority Workboard UI/dispatcher improvement with focused blast radius and no confirmed blocking defect.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The contributor proof gate does not apply to this MEMBER/maintainer-labeled PR, though a visual Workboard drawer smoke would still help before landing.
Evidence reviewed

PR surface:

Source +1184, Tests +370. Total +1554 across 45 files.

View PR surface stats
Area Files Added Removed Net
Source 42 1320 136 +1184
Tests 3 441 71 +370
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 45 1761 207 +1554

What I checked:

  • Repository policy applied: Root AGENTS.md was read fully, and the scoped UI and extensions guides were read; the UI guide specifically treats non-English locale bundles and .i18n metadata as generated output to be committed after sync. (ui/AGENTS.md:3, a5ee3569d326)
  • Diff scope: The PR diff against its merge base is confined to Workboard plugin runtime/tests, Control UI Workboard view/controller/styles/tests, English strings, and generated locale fallback metadata/bundles. (bb396e1d69c2)
  • Detail drawer implementation: The PR head renders the selected Workboard card details panel with status/session/task/run fields, notes, labels, attempts, links, proof, artifacts, attachments, diagnostics, worker logs, worker protocol, automation, events, and operator-note controls. (ui/src/ui/views/workboard.ts:823, bb396e1d69c2)
  • Card surface behavior: The PR head changes card clicks/keyboard activation to open details, keeps compact badges on the card, and preserves explicit action buttons for opening sessions, stopping runs, starting work, archiving, and deleting. (ui/src/ui/views/workboard.ts:1078, bb396e1d69c2)
  • Detail comment state: The controller adds detailCardId/detailCommentBody state and lets addWorkboardCardComment target an explicit card/body while using busyCardId instead of global loading for comment requests. (ui/src/ui/controllers/workboard.ts:1684, bb396e1d69c2)
  • Dispatcher slot accounting: The dispatcher now counts running cards, claimed cards, and running executions as owner-slot consumers, which allows unclaimed review cards to stop blocking ready work while claimed review cards still block duplicate starts. (extensions/workboard/src/dispatcher.ts:125, bb396e1d69c2)

Likely related people:

  • vincentkoc: GitHub context shows a MEMBER-authored, self-assigned, maintainer-labeled Workboard PR, and the listed branch commits for the proposed Workboard drawer/dispatcher changes are authored by Vincent Koc. (role: assigned PR owner; confidence: medium; commits: 40533aaaf9d3, e98b8b9b1cc0, bb396e1d69c2; files: ui/src/ui/views/workboard.ts, ui/src/ui/controllers/workboard.ts, extensions/workboard/src/dispatcher.ts)
  • Dallin Romney: The available shallow current-main history and blame for the Workboard UI/controller/dispatcher source points to b097cec across the reviewed files, so this is a weak but concrete current-source routing signal. (role: recent area contributor; confidence: low; commits: b097cec21997; files: ui/src/ui/views/workboard.ts, ui/src/ui/controllers/workboard.ts, extensions/workboard/src/dispatcher.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

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.
  • 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 explain to ask for more context, or @clawsweeper stop to stop active automation.

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P2 Normal backlog priority with limited blast radius. labels Jun 1, 2026
@vincentkoc
vincentkoc force-pushed the workboard-operator-flow branch from bb396e1 to 40f2897 Compare June 1, 2026 04:48
@vincentkoc
vincentkoc marked this pull request as ready for review June 1, 2026 04:48
@vincentkoc

Copy link
Copy Markdown
Member Author

Land-ready proof for 40f289743d436304300198b6713dbe6aad5ce4f6:

  • Focused UI proof: node scripts/run-vitest.mjs run --config test/vitest/vitest.ui.config.ts --configLoader runner ui/src/ui/controllers/workboard.test.ts ui/src/ui/views/workboard.test.ts (75 tests passed).
  • Focused dispatcher proof: node scripts/run-vitest.mjs run extensions/workboard/src/dispatcher.test.ts (4 tests passed).
  • Generated locale proof: node --import "data:text/javascript,process.env.PATH=process.cwd()+'/.codex-bin:'+process.env.PATH" --import tsx scripts/control-ui-i18n.ts check with a temporary local pnpm exec oxfmt shim for the Codex worktree only; all 18 fallback-only locales clean.
  • Diff hygiene: git diff --check origin/main...HEAD passed.
  • Auto review: .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main clean, no accepted/actionable findings, overall 0.78.
  • Broad changed gate: Testbox-through-Crabbox tbx_01kt0qphxbr6wrxhctrey83vfe, GitHub Actions run 26735505349, corepack pnpm check:changed, exit 0, 8m14s total.
  • PR CI after undraft: 125 successful checks, 26 skipped, no pending or failing checks.

Behavior notes: card summary stays compact, expanded run/proof/diagnostic state is in the drawer, archived/active/linked cards avoid duplicate start paths, stale task detail cache is ignored when lifecycle disagrees, and dispatcher capacity now distinguishes unclaimed review cards from claimed cards.

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

Labels

app: web-ui App: web-ui maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. plugin: workboard rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant