Repository navigation
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 6, 2026, 11:33 AM ET / 15:33 UTC. Summary PR surface: Source -1, Tests +25. Total +24 across 4 files. Reproducibility: yes. from source inspection: current main treats any boolean best-effort flag as enough to set Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Land the CLI condition and regression tests after maintainer acceptance of the intentional delivery compatibility change, keeping explicit Do we have a high-confidence way to reproduce the issue? Yes, from source inspection: current main treats any boolean best-effort flag as enough to set Is this the best way to solve the issue? Yes. Changing the cron edit patch construction is the narrow owner-boundary fix because AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 9606fe43231b. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source -1, Tests +25. Total +24 across 4 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Maintainer repair is land-ready at
Known gap: no live Gateway cron round-trip was run; deterministic CLI patch-construction tests and the full exact-head suite cover the repaired owner boundary. |
|
Merged via squash.
|
…ffort on payload edits (openclaw#100846) * fix(cron): do not set delivery mode to announce when disabling best-effort on payload edits * fix(cron-cli): update sibling test to expect undefined mode on no-best-effort-deliver * fix(cron): preserve delivery mode when disabling best effort --------- Co-authored-by: Peter Steinberger <[email protected]>
What Problem This Solves
When running
openclaw cron editto edit a payload (such as passing--message), if you also disable best-effort delivery via--no-best-effort-deliver, the CLI wrongly forces the delivery mode to"announce".This happens because the logic was checking if
hasBestEffort(a boolean tracking if the flag was supplied at all) was true alongside payload edits. If it was, it set the mode to"announce". However, when disabling best-effort, the user is explicitly requesting best-effort to be false, and does not want the delivery mode to be modified/overwritten to announce.Fix
Change the condition to check if
opts.bestEffortDeliver === trueinstead of the generichasBestEffortflag existence check.Test plan
Added unit test
does not set delivery mode to announce when disabling best-effort on payload editsinsrc/cli/cron-cli/register.cron-edit.test.ts. Verified that all 22 tests passed.Evidence
Passed tests on branch
fix/2.3-no-best-effort-overwrite-delivery-mode:Real Behavior Proof