Repository navigation
improve: put waiting for a free agent under automation timing - #201282
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: c0050abb-db0a-89a5-b384-3b8d7d96145d
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: passed. What this changesThis PR moves “Wait until the agent is free” from Conditions to Timing in the automation editor. Example: Edit a paused agent task scheduled for 09:30 UTC.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR makes a focused, approved presentation change that current main does not provide, with no introduced correctness or security defects identified. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI automation editor displays Gateway-owned job settings and submits edits through the existing cron form and save operations. flowchart LR
A[Automation editor] --> B[Advanced settings]
B --> C[Timing wait switch]
C --> D[Existing form state]
D --> E[Gateway cron operations]
E --> F[Scheduler]
Technical reviewBest possible solution: Retain the focused control relocation and the existing form, persistence and scheduler owners. Do we have a high-confidence way to reproduce the issue? Current-main source establishes the reported placement under Conditions; this is a discoverability preference rather than a demonstrated scheduler defect. Is this the best way to solve the issue? Relocating the existing row is the smallest complete change, preserving its callback, saved value and availability while leaving cron-specific options conditional. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ba0a7a5fac3e. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -1. Total -1 across 1 file. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (3 earlier review cycles)
Reviewed November 28, 2026, 10:52 PM ET / November 29, 2026, 03:52 UTC (Revision 4). |
Merge main while keeping unsupported delivery rows untouched. Preserve saved routes and valid execution bindings across neutral repairs, and give manual runs actionable guidance for retired options.
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Co-authored-by: daniel-lxs <[email protected]>
Keep the set-hours window below the schedule and move the wait-for-free switch to Advanced Timing. Keep the empty-scratch check in Conditions.
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
…enclaw#201282) Move “Wait until the agent is free” into Advanced → Timing for both hourly and interval automations. Keep the empty-scratch check in Conditions and the execution window below the schedule. Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: daniel-lxs <[email protected]> OpenClaw-Publication: c0050abb-db0a-89a5-b384-3b8d7d96145d
* commit '99b4afc696081eda8aefd8e91250c112f53a8a73': (564 commits) test(ios): verify send-at-tap feedback and work grouping (#207913) test(agents): reject unsuccessful live replay completions (#207724) fix(cron): keep a started cron turn running when its job is edited (#207947) improve(ui): put waiting for a free agent under automation timing (#201282) chore(ui): refresh control ui locales (#207514) fix: distinguish unresolved delivery failures from delivery history (#207897) test(doctor): require security check in proxy ordering assertion (#207912) fix: keep update rollback tests in sync with shipped workers (#207822) test(agents): fix provider header filtering coverage (#207732) refactor: remove the bundled GBrain adapter (#207924) improve(ui): show optional run limits beside the automation schedule (#201283) test(onboarding): inspect recorded output for credential leaks (#207872) perf(exec): reduce host memory sampler allocations (#207927) test(mcp-relay): isolate the Connected apps fallback locale (#207923) fix(acp): deliver bound channel replies to the pending question (#207035) fix(cron): keep required reports from going silent when nothing changes (#207044) test(sessions): assert participant queue rollback state (#207891) perf(gateway): skip session display preparation for transcript recall (#207916) test(agents): verify complete bracketed paste payload (#207733) test: stop timing out the cron recovery settlement test on slow runners (#207920) ...
* commit '1b246c09b0c1d41ed0f090f07fc50381decba90d': (574 commits) fix: stop the manual handoff UI test from hanging after completion (#207945) fix: surface favorites and recommended models in picker search (#201450) fix: show the saved quota reset when chat skips its only model (#207210) fix: avoid reloading unchanged plugins after Gateway boot (#207949) fix: keep Task progress double-clicks from changing the window (#207937) fix(doctor): continue repairs past retained conflicting exec approvals (#207951) test(reply): make account isolation assertion decisive (#207793) fix: keep task progress compact when reopening Details (#207943) fix(ui): restore the saved reading position after an empty search (#207673) fix: remove four Memory Wiki settings that had no effect (#207882) test(ios): verify send-at-tap feedback and work grouping (#207913) test(agents): reject unsuccessful live replay completions (#207724) fix(cron): keep a started cron turn running when its job is edited (#207947) improve(ui): put waiting for a free agent under automation timing (#201282) chore(ui): refresh control ui locales (#207514) fix: distinguish unresolved delivery failures from delivery history (#207897) test(doctor): require security check in proxy ordering assertion (#207912) fix: keep update rollback tests in sync with shipped workers (#207822) test(agents): fix provider header filtering coverage (#207732) refactor: remove the bundled GBrain adapter (#207924) ...
Co-authored by Vyctor Brzezowski.
Work sessions
Linked for team reference; these sessions aren’t public.
Related: #201219
What Problem This Solves
When I set up an automation to wait for a free agent, I have to look under Conditions rather than Timing. The scratch option beside it answers a different question: does the checklist contain anything to do?
User Impact
I can find Wait until the agent is free under Advanced → Timing. Skip when scratch is empty stays under Conditions for agent tasks. For chat delivery, Direct messages → Block stays under Results. No saved setting changes and no migration is needed.
Why This Change Was Made
Waiting affects when the run starts. Empty scratch is a test of checklist contents, which is why I kept it with the other conditions from #201219. I moved the existing wait control without changing its binding or exposing cron-only timing options on other schedules.
Evidence
I compared the production editor on main (
935d6230719e) and this head (b2a92ee521bc) against two isolated, real Gateways. I used the same paused 09:30 UTC agent task and light-theme Chromium viewport for both captures.Clean comparison
Main: both switches are in Conditions.
This head: only the wait switch moved to Timing.
Annotated comparison
On both revisions I saved the three settings, reloaded, and reopened the editor. A separate read-only Gateway connection confirmed both switches were on and direct messages were blocked. Cron showed its time zone and exact-time controls; intervals hid them. Waiting remained available on both. Scratch was hidden for system events, and direct-message policy was hidden for webhook and no delivery. I did not run the scheduler or send messages.
The rendered placement assertion failed on the previous PR head and passed on this head. All 47 focused checks passed, as did the UI typecheck, targeted lint and formatting. Local ClawSweeper reviewed the entire committed PR range at this head and found no code or security issues.
CI: Two checks in this head’s CI run failed outside the one-file editor diff: Doctor’s 21 expired compatibility deadlines and Workboard’s extra Solid
untrackcall. The separate repairs are #207854 and #207858.Worked on by