Skip to content

[Bug]: ClawSweeper queueable labels do not protect actionable OpenClaw issues from stale automation #247

@brokemac79

Description

@brokemac79

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

When ClawSweeper marks an OpenClaw issue as source-reproduced and queueable, it does not currently add a stale-exempt marker such as no-stale or otherwise intentionally remove/protect against stale.

Steps to reproduce

  1. Let Barnacle mark an eligible OpenClaw issue as stale.
  2. Let ClawSweeper review the issue and add actionable labels such as clawsweeper:queueable-fix, clawsweeper:source-repro, and clawsweeper:fix-shape-clear.
  3. Observe that the issue can still have stale, or that Barnacle later removes stale only because ClawSweeper label writes changed the issue updated_at.

Observed examples on June 2, 2026:

Expected behavior

When ClawSweeper classifies an issue as an actionable queued fix candidate, it should intentionally protect that issue from stale closure.

Reasonable behavior would be one or more of:

  • Add no-stale when adding clawsweeper:queueable-fix.
  • Remove stale when adding clawsweeper:queueable-fix.
  • Add a durable ClawSweeper-specific stale-exempt label that the OpenClaw stale workflow exempts.
  • Add an audit/report for queueable issues that still have stale or lack stale protection.

Actual behavior

ClawSweeper can add actionable labels while leaving the issue stale-eligible or still carrying stale.

The current behavior relies on OpenClaw's stale workflow noticing that the issue updated_at changed and removing stale on a later run. That is indirect and can create confusing label churn between Barnacle and ClawSweeper.

OpenClaw version

OpenClaw issue state observed on June 2, 2026.

Operating system

N/A - GitHub App / repository automation behavior.

Install method

ClawSweeper GitHub App / scheduled or event-driven issue review.

Model

N/A for the stale-protection behavior. ClawSweeper review comments observed on related issues mention Codex review model gpt-5.5, but the stale protection bug is label automation behavior.

Provider / routing chain

ClawSweeper GitHub App -> OpenClaw issue review -> GitHub issue labels.

Additional provider/model setup details

ClawSweeper is itself a bot. Its issue label updates should be treated as bot automation and should not be the only reason an issue exits the stale lifecycle.

Logs, screenshots, and evidence

Representative current labels:

stale
clawsweeper:queueable-fix
clawsweeper:source-repro
clawsweeper:fix-shape-clear

Current live examples:

Prior churn example:

The broader queueable data/message-loss search showed 13 issues where stale was removed after ClawSweeper label/update activity, plus 3 issues currently carrying both stale and clawsweeper:queueable-fix.

Impact and severity

Affected: OpenClaw maintainers using ClawSweeper to identify work candidates.

Severity: Medium to high for automation reliability. Queueable issues can appear inactive or move toward stale closure despite being actively classified by ClawSweeper.

Frequency: Observed across multiple queueable issues.

Consequence: Maintainers may lose trust in stale labels, ClawSweeper queue labels, or both. Actionable issues may require manual rescue before stale closure.

Additional information

Companion OpenClaw issue: openclaw/openclaw#89564.

I plan to work on a PR for this issue and a linked PR for the companion OpenClaw stale workflow issue. The ClawSweeper PR should stay focused on making queueable/actionable labels intentionally stale-safe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority bug or improvement with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.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