Repository navigation
Closed
Labels
clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.
Description
What Problem This Solves\n\nworkboard_move (store-promote.ts:move()) allows moving a claimed, dispatched card to a terminal status (done, blocked, review) without clearing the card's claim, running execution, or open attempts. complete() and block() both properly clear claim, close running attempts, and mark execution terminated — but move() bypasses all of that, calling updateCard({status, position}) with no side-effect cleanup.\n\nThis leaves a card in status: "done" that still carries metadata.claim (preventing the real worker from completing it), execution.status: "running" (keeping the owner's dispatch slot consumed), and an open running attempt. The card becomes an active dependency target forever and its owner can't start any new ready cards.\n\n## Evidence\n\nReproduction:\n1. Claim a card, then dispatch it (so it has execution.status === "running", a claim, and a running attempt).\n2. Call workboard_move { status: "done" } via the agent tool.\n3. Observe: status === "done" but metadata.claim is still set, execution.status === "running", and a running attempt remains open.\n4. Compare to workboard_complete() which would have cleared all of these.\n\nCode location: extensions/workboard/src/store-promote.ts:23-44 — move() calls updateCard(id, {status, position}, {enforceStatusHolds: true}) with no claim-clearing, no execution handling, and no attempt cleanup.\n\nFix sketch: Block move() to terminal statuses while a claim or running execution is live (routing the user to complete/block), or apply the same cleanup that complete/block do: clear claim, close running attempts, and update execution status.\n\n## Checklist\n\n- [x] Overlap-checked: gh search issues 'workboard move' — no open issues/PRs. The closest open item is #113582 (proposal: fail-closed completion gates), whose PR attempt #113641 was closed without merging. This is a concrete, independently-fixable defect within that proposal's scope.\n- [x] Agent-authored
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Activity
clawsweeper commentedon Aug 5, 2026
🦞🔧
ClawSweeper is automatically building this issue.
The issue review finished and no active implementation pull request was found.
Automatic implementation progress:
clawsweeper:manual-onlyorclawsweeper:human-review.clawsweeper commentedon Aug 5, 2026
Thanks for the context here. I did a careful shell check against current
main, and this is already implemented.The merged repair fixes terminal-move claim retention, running execution, and open attempts on current main; nonterminal review handoff is separately tracked.
Root-cause cluster
Relationship:
canonicalCanonical: #119592
Summary: The focused terminal-move defect is fixed by the merged repair; nonterminal claim handoff remains separately tracked.
Members:
fixed_by_candidate: fix(workboard): moving a claimed card to done or blocked leaves its owner unable to start new work #184241 - Merged repair settles done/blocked execution and attempts, clears claims, and restores owner capacity.partial_overlap: workboard_move with an active claim moves the card but does not release the claim #127785 - Open report additionally requests claim release for review and todo moves, outside the terminal repair.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
So I’m closing this as already implemented rather than keeping a duplicate issue open.
Review details
Best possible solution:
Retain the merged shared-writer repair and track nonterminal claim handoff in #127785.
Do we have a high-confidence way to reproduce the issue?
No runtime reproduction was executed during this read-only review; current source and SQLite-backed regressions establish the repaired terminal path, corroborated by the linked built Gateway comparison.
Is this the best way to solve the issue?
The merged repair addresses the owning card writer and reuses complete/block teardown, avoiding duplicate tool policy while preserving claim authorization and nonterminal review semantics.
Security review:
Security review: This issue reports Workboard lifecycle consistency without a concrete security concern.
AGENTS.md: found and applied where relevant.
What I checked:
extensions/workboard/src/store-status-write.ts:94, ba2c43235473)extensions/workboard/src/store-core.ts:495, ba2c43235473)extensions/workboard/src/tools.test.ts:739, ba2c43235473)extensions/workboard/src/store-status-write.ts:94, a88d599bcc51)extensions/workboard/src/store-core.ts, a88d599bcc51)Likely related people:
extensions/workboard/src/store-status-write.ts)Codex review notes: model internal, reasoning medium; reviewed against ba2c43235473; fix evidence: commit a88d599bcc51, main fix timestamp 2026-10-27T01:04:12Z.
8 remaining items