openclaw - 💡(How to fix) Fix Triage bot closed #76276 against its own Codex "keep open" verdict [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#77697Fetched 2026-05-06 06:22:51
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
2
Author
Timeline (top)
closed ×1commented ×1
RAW_BUFFERClick to expand / collapse

Filing this as a process thing, not a code bug.

I filed #76276 on Saturday — a cron-runId tracking gap with a wire-level repro and source-code citations. A couple hours later clawsweeper[bot] wrote a Codex review on it. The verdict was, verbatim:

"Keep open: current main returns a manual:... run ID from cron.run, but that ID is not carried into cron finished events, the JSONL run log, the protocol schema, or the history reader, so this is a distinct follow-up..."

Two hours after THAT, the same bot closed the issue. state_reason completed. Today openclaw-barnacle[bot] locked it.

A few things are off.

The Codex verdict (keep open) and the bot's auto-close action disagree. Both are nominally clawsweeper[bot], just running in different code paths and reaching opposite conclusions on the same issue. That's an automation defect.

state_reason completed is wrong — the bug isn't completed, it's still in main, and the Codex review on the issue says so.

The lock-after-close policy means I can't push back on #76276 itself. I'd be commenting there right now if it weren't locked.

Two things that'd probably help:

  • gate the auto-close on the Codex verdict. if Codex says keep open, don't close.
  • don't auto-lock issues whose closure came from a bot with state_reason: completed, at least not until a human signs off.

For what it's worth the cron-runId bug from #76276 is still real and reproducible. Happy to re-file it as a fresh issue if that's the right path. But the meta-pattern felt worth surfacing first — it probably buries other valid reports and the original reporter doesn't see any of it happen.

extent analysis

TL;DR

The issue can be addressed by refining the automation rules to prevent auto-closure and auto-locking of issues based on Codex verdicts and state reasons.

Guidance

  • Review the automation rules for clawsweeper[bot] to ensure consistency in handling issue closure and Codex reviews.
  • Consider implementing a gate on auto-close actions based on Codex verdicts to prevent premature closure of valid issues.
  • Evaluate the lock-after-close policy to allow for human review and sign-off before locking issues closed by bots with state_reason: completed.
  • Refile the original issue (#76276) as a fresh report if necessary, to ensure the cron-runId bug is properly addressed.

Example

No code snippet is provided as the issue is related to process and automation rules rather than code.

Notes

The solution may require adjustments to the automation scripts and policies, which could have broader implications on the issue tracking process. It's essential to test and validate any changes to prevent unintended consequences.

Recommendation

Apply a workaround by refining the automation rules to prevent auto-closure and auto-locking of issues based on Codex verdicts and state reasons, as this approach addresses the immediate issue without requiring significant changes to the underlying code or infrastructure.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING