Repository navigation
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 1, 2026, 12:17 AM ET / 04:17 UTC. Summary PR surface: Source +14, Tests +15, Config -1, Other -101. Total -73 across 10 files. Reproducibility: yes. at source level: current main defaults omitted-target systemEvent cron jobs to main and then stamps the resolved caller sessionKey when the target is not isolated. I did not rerun the live WhatsApp restart scenario. Review metrics: 2 noteworthy metrics.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Land a rebased cron-only fix that suppresses caller sessionKey for implicit main/systemEvent jobs, preserves isolated cron-owned sessions, restores WhatsApp dependency metadata, and includes redacted proof from a gateway running the patched branch. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main defaults omitted-target systemEvent cron jobs to main and then stamps the resolved caller sessionKey when the target is not isolated. I did not rerun the live WhatsApp restart scenario. Is this the best way to solve the issue? No as submitted. The main/systemEvent guard is the right direction, but the branch must preserve current isolated-session behavior, restore unrelated WhatsApp dependency metadata, rebase cleanly, and prove the patched source in a real gateway. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 5a5913a98b03. Label changesLabel justifications:
Evidence reviewedPR surface: Source +14, Tests +15, Config -1, Other -101. Total -73 across 10 files. View PR surface stats
Security concerns:
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
|
Dependency Changes DetectedThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
2b732b0 to
7a98f6b
Compare
|
This pull request has been automatically marked as stale due to inactivity. |
|
ClawSweeper PR egg: 🥚 incubating until a hatchable PR state. Hatch with Rules and detailsHatchability:
About:
|
|
This pull request has been automatically marked as stale due to inactivity. |
|
Closing per ClawSweeper review verdict |
Summary
Fixes #81375.
sessionKeyonto implicitsessionTarget="main"/payload.kind="systemEvent"jobs.job.sessionKeyand preserve caller-session stamping for isolatedagentTurnjobs, where the run-scoped cron session and inferred announce delivery still need that context.Root Cause / Live Behavior
Observed on 2026-05-13 after a macOS restart with local OpenClaw
2026.5.10-beta.1(dedc49c):hiwas ingested at 11:08:08 BST (web-inbound,web-auto-reply, andgateway/channels/whatsapp/inboundall logged it), but no visible reply was delivered and typing later timed out.sessionTarget="main",payload.kind="systemEvent", and the WhatsApp direct-chat session key. Startup catch-up put that cron work on the same session lane as the human DM; one job ran from about 11:06:35 to 11:08:39, and the next started immediately afterward.agentTurn+ announce delivery removed the lane collision. The WhatsApp channel stayed healthy and later outbound delivery succeeded.I checked current upstream/latest beta before patching.
2026.5.12-beta.4includes the adjacent WhatsApp pending-debounce close fix (#81246), and upstream main includes the active-run stuck-lane diagnostic fix (#81302), but neither changes this cron-tool session-key stamping behavior.Real behavior proof (required for external PRs)
main/systemEventwork, so post-reboot catch-up could occupy the same session lane as a human DM and make WhatsApp appear non-responsive.2026.5.10-beta.1(dedc49c), with private phone numbers and JIDs redacted. Inbound smoke source was localwacliusing the default authenticated sender store into the OpenClaw PA WhatsApp account.agentTurnjobs with explicit WhatsApp announce delivery, then sent a fresh inbound WhatsApp message throughwacli, and checked OpenClaw runtime logs plus channel status.wacliwas received by OpenClaw and OpenClaw sent a WhatsApp reply about four seconds later.waclisender path provided a cleaner real inbound WhatsApp smoke test.Verification
pnpm test src/agents/tools/cron-tool.test.ts(clean worktree on currentorigin/main): 81 passed.git diff --check -- src/agents/tools/cron-tool.ts src/agents/tools/cron-tool.test.ts