Skip to content

ClawSweeper command status comment edits can re-enter activity handling and churn review labels #266

@ooiuuii

Description

@ooiuuii

ClawSweeper command status comment edits can re-enter activity handling and churn review labels

Summary

ClawSweeper command/status comments can be edited by clawsweeper[bot] while they still contain command markers and command-like text such as @clawsweeper re-review. Those bot-authored status comment edits appear to re-enter the GitHub activity lane as command-like activity, contributing to repeated ClawSweeper Dispatch runs, cancellations, and visible label/rating churn on a PR that had no new push and no new manual command.

This looks like the same class of self-comment inertness bug fixed for proof-nudge comments in #243, but for clawsweeper-command-status / clawsweeper-command-ack / progress marker comments.

Real incident

Observed on openclaw/openclaw#90328 (Expose model picker agent runtimes) on 2026-06-07.

After the final manual @clawsweeper re-review request, the PR still showed repeated ClawSweeper activity without new author pushes or new manual re-review comments.

Representative ClawSweeper Dispatch runs for #90328, all from issue_comment events:

27098166267  2026-06-07T16:25:24Z  completed success
27098147987  2026-06-07T16:24:41Z  completed success
27098142690  2026-06-07T16:24:26Z  completed cancelled
27098047591  2026-06-07T16:20:34Z  completed cancelled
27098028747  2026-06-07T16:19:51Z  completed cancelled
27098027944  2026-06-07T16:19:49Z  completed cancelled
27098027269  2026-06-07T16:19:47Z  completed cancelled
27098026607  2026-06-07T16:19:45Z  completed cancelled
27098023797  2026-06-07T16:19:38Z  completed success

The same window had visible label churn by clawsweeper[bot]:

2026-06-07T16:02:13Z  unlabeled  proof: sufficient
2026-06-07T16:02:15Z  unlabeled  proof: 📸 screenshot
2026-06-07T16:02:16Z  unlabeled  rating: 🦞 diamond lobster
2026-06-07T16:02:18Z  labeled    rating: 🌊 off-meta tidepool
2026-06-07T16:02:19Z  unlabeled  status: 👀 ready for maintainer look
2026-06-07T16:11:11Z  labeled    proof: sufficient
2026-06-07T16:11:12Z  labeled    proof: 📸 screenshot
2026-06-07T16:11:14Z  unlabeled  rating: 🌊 off-meta tidepool
2026-06-07T16:11:16Z  labeled    rating: 🐚 platinum hermit
2026-06-07T16:11:18Z  labeled    status: 👀 ready for maintainer look

The relevant command/status comment had hidden command markers and command-like visible text, e.g.:

<!-- clawsweeper-command-ack:4643099431 -->
<!-- clawsweeper-command-status:90328:re_review:bc62b391bf7f7c9e6ea722c5fd746ded2a5da612 -->
<!-- clawsweeper-command:4624832014:2026-06-04T18:01:54Z:re_review:bc62b391bf7f7c9e6ea722c5fd746ded2a5da612 -->

Expected behavior

ClawSweeper-authored command ack/status/progress comments should be inert when they are edited by the bot itself. They should not be treated as surprising GitHub activity or command-like input just because they contain marker text or repeat the original command.

A human-authored explicit command such as @clawsweeper re-review should still route normally.

Actual behavior

Bot-authored status comment edits with command/status markers appear to pass the command-like activity filter and can contribute to repeated activity dispatches and label churn. This makes a PR look like it is still being repeatedly reviewed even when no new author action occurred.

Related prior work

Suggested fix

Filter ClawSweeper-authored issue_comment activity when the comment body contains command ack/status/progress markers such as:

  • clawsweeper-command-status:
  • clawsweeper-command-ack:
  • clawsweeper-command-progress:start

This should happen before treating the activity as command-like, while preserving normal human-authored command routing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Urgent regression or broken agent/channel workflow affecting real users now.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis 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.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions