Issue author review/re-review commands are acked but do not produce a fresh review or visible dashboard rerun
Summary
On openclaw/openclaw#88102, issue-author @clawsweeper review / @clawsweeper re-review commands were acknowledged as queued, but no fresh durable review appeared on the issue and the operator reports no corresponding rerun visible on https://clawsweeper.openclaw.ai/.
This may be one bug or two related bugs:
- author-issued issue commands are acked but do not dispatch/complete a fresh review;
- queued/attempted reruns are not visible on the ClawSweeper dashboard.
Evidence
Original ClawSweeper review comment on openclaw/openclaw#88102:
https://github.com/openclaw/openclaw/issues/88102#issuecomment-4578679774
That review says:
Reviewed May 29, 2026, 2:46 PM ET / 18:46 UTC.
After additional evidence was added to the issue, the issue author posted:
@clawsweeper re-review based on latest comments
Command comment:
https://github.com/openclaw/openclaw/issues/88102#issuecomment-4579020705
ClawSweeper acknowledged it as queued:
https://github.com/openclaw/openclaw/issues/88102#issuecomment-4579021116
The author later posted:
@clawsweeper review based on full details of the ticket plus additional comments
Command comment:
https://github.com/openclaw/openclaw/issues/88102#issuecomment-4579054352
ClawSweeper acknowledged it as queued:
https://github.com/openclaw/openclaw/issues/88102#issuecomment-4579054896
However, after those queued acknowledgements, the durable review comment did not appear to be updated with a new reviewed timestamp or a review incorporating the later comments. The issue still only showed the original review content from 18:46 UTC.
The operator also reported that reruns were not showing on the public ClawSweeper dashboard:
https://clawsweeper.openclaw.ai/
Expected behavior
The behavior described in ClawSweeper's own review footer says:
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.
For an eligible issue-author command on an open issue, ClawSweeper should either:
- complete the queued review and update the durable review comment with a fresh timestamp/result that includes later comments; or
- update the ack/status comment with a concrete failure reason explaining why the review did not run.
The dashboard should also show the queued/running/failed/completed rerun so operators can tell whether the command is stuck or rejected.
Actual behavior
The command was acknowledged as queued, but the operator observed no new review result and no visible dashboard rerun.
Impact
This makes it look like ClawSweeper accepted the command while silently not doing the requested review. On issues where maintainers are relying on ClawSweeper to reassess new evidence, the stale review result can block or confuse triage.
Related issue
A separate duplicate-ack bug was observed on the same source issue and is tracked in openclaw/clawsweeper#226. That may share a command-router/idempotency root cause, but this issue is specifically about queued author review/re-review commands not producing a fresh review or visible dashboard run.
Notes
The source OpenClaw issue #88102 was later superseded by openclaw/openclaw#88120 to consolidate the report. The ClawSweeper command behavior evidence remains available in #88102 comments.
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed May 29, 2026, 3:46 PM ET / 19:46 UTC.
Summary
Keep open: current main still has a source-level trigger mismatch where the webhook posts a fast ack and dispatches clawsweeper_comment, but the sweep workflow only listens for clawsweeper_item and clawsweeper_target_sweep, so an acknowledged comment command can fail to start the review workflow or produce dashboard-visible progress.
Reproducibility: yes. source-level reproduction is high confidence: src/repair/comment-webhook.ts dispatches clawsweeper_comment, while .github/workflows/sweep.yml does not subscribe to that repository_dispatch type. The linked OpenClaw comments also show acked commands without a later durable review update.
Next step Queue a narrow fix because the source-level workflow trigger mismatch is clear and the likely files and validation path are bounded.
Review details
Best possible solution:
Make the fast-ack comment path and sweep workflow share one supported event path, then ensure every acknowledged command reaches an in-progress, complete, superseded, or failed status that is visible from the issue and dashboard.
Do we have a high-confidence way to reproduce the issue?
Yes, source-level reproduction is high confidence: src/repair/comment-webhook.ts dispatches clawsweeper_comment, while .github/workflows/sweep.yml does not subscribe to that repository_dispatch type. The linked OpenClaw comments also show acked commands without a later durable review update.
Is this the best way to solve the issue?
Yes: the narrow maintainable fix is to align the dispatch event type and workflow trigger, then add regression coverage that a fast-acked issue-author re-review command can start the exact-item workflow and update command status. Unsupported freeform author commands should fail visibly rather than being silently acknowledged.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
- Fixing the workflow trigger should make comment-dispatched reruns visible, but dashboard rendering may still need a separate check to ensure event runs are included in the public dashboard view.
- The observed commands included extra freeform text; the repair should not silently expand contributor command privileges, but any unsupported author command form that gets a fast ack must end in a visible status or failure reason.
Codex review notes: model gpt-5.5, reasoning high; reviewed against f37d8cdc6cf0.
Label changes
Label changes:
- add
P1: The issue shows a user-facing ClawSweeper command workflow accepting commands while silently failing to run or surface progress. - add
impact:other: The concrete impact is broken maintainer automation observability: acknowledged rerun commands do not produce durable review or dashboard state. - add
issue-rating: 🦞 diamond lobster: Current issue advisory state selects this label. - add
clawsweeper:source-repro: Current issue advisory state selects this label. - add
clawsweeper:queueable-fix: Current issue advisory state selects this label. - add
clawsweeper:fix-shape-clear: Current issue advisory state selects this label.
Label justifications:
P1: The issue shows a user-facing ClawSweeper command workflow accepting commands while silently failing to run or surface progress.impact:other: The concrete impact is broken maintainer automation observability: acknowledged rerun commands do not produce durable review or dashboard state.
Evidence reviewed
Acceptance criteria:
- pnpm run build:all
- node --test test/repair/comment-webhook.test.ts test/repair/update-command-status.test.ts test/dashboard-worker.test.ts
- pnpm run check
What I checked:
- Repository policy: AGENTS.md was read fully; it specifically directs ClawSweeper reviews to inspect current source, workflow, state/dashboard behavior, and avoid live apply/close commands. (
AGENTS.md:1, f37d8cdc6cf0) - Documented command behavior: README says
review,re-review, andre-rundispatch a fresh issue/PR review, and that issue/PR authors may request@clawsweeper re-reviewor@clawsweeper re-run. (README.md:193, f37d8cdc6cf0) - Workflow trigger mismatch: Current workflow dispatch filters omit
clawsweeper_comment, so a repository_dispatch of that type will not start this workflow. (.github/workflows/sweep.yml:7, f37d8cdc6cf0) - Webhook dispatch type: The fast-ack issue-comment webhook dispatches repository_dispatch with
event_type: "clawsweeper_comment", matching the missing workflow type. (src/repair/comment-webhook.ts:663, f37d8cdc6cf0) - Status path exists only after a run starts: The workflow has steps to mark a re-review in progress and complete/failed, but those steps are unreachable for a dispatch type the workflow does not subscribe to. (
.github/workflows/sweep.yml:277, f37d8cdc6cf0) - Live incident evidence: The referenced OpenClaw issue comments show the original durable review timestamp, two issue-author command comments, and fast-ack comments with no corresponding updated durable review timestamp in the fetched comments.
Likely related people:
- Peter Steinberger: Introduced the comment webhook, comment router, event workflow, and command status updater in the same feature-history commit that added
clawsweeper_commentdispatches. (role: introduced behavior and adjacent owner; confidence: high; commits: c6d8067054ec, 7da9945e7743, f37d8cdc6cf0; files:src/repair/comment-webhook.ts,src/repair/comment-router.ts,src/repair/update-command-status.ts) - Vincent Koc: Recently changed the workflow repository_dispatch type list that currently omits
clawsweeper_comment. (role: recent workflow contributor; confidence: medium; commits: b46fde39d7c5; files:.github/workflows/sweep.yml) - Tak Hoffman: Recently worked on fast-ack idempotency for the same command-ack surface, which is adjacent to the reported ack-without-progress behavior. (role: recent adjacent contributor; confidence: medium; commits: c01469876a85; files:
src/repair/comment-webhook.ts,src/repair/comment-router.ts,test/repair/comment-webhook.test.ts)
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.