Repository navigation
fix(cron): keep required reports from going silent when nothing changes - #207044
Conversation
Worked on by: - @DonnieFi Co-authored-by: DonnieFi <[email protected]> OpenClaw-Publication: 1444ac78-4306-4b2e-9cbb-c6e477bcda76
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Codex review: passed. What this changesThis PR clarifies required-report guidance, supplies outcome-recording examples, and reports malformed outcomes as correctable input errors. Example: A daily queue check must report “Queue: IDLE” even when the queue remains empty.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR fixes a source-confirmed reporting problem still present on main, preserves intentional quiet checks, and has no actionable correctness findings. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe scheduler builds an unattended agent prompt, the automations tool records optional structured outcomes, and the existing delivery owner announces results or suppresses intentional silence. flowchart LR
A[Scheduled job] --> B[Cron prompt]
B --> C[Agent turn]
C --> D[Optional outcome recorder]
C --> E[Final reply]
D --> F[Delivery owner]
E --> F
F --> G[Announcement or intentional silence]
Technical reviewBest possible solution: Land the focused guidance and typed-input-error repair while retaining the existing structured silence and delivery owners. Do we have a high-confidence way to reproduce the issue? Current-main guidance can select no_change for an unchanged required report, which the existing finalizer suppresses; malformed outcomes also reach an untyped error that the Code Mode bridge cannot classify as invalid_input. Is this the best way to solve the issue? The repair resolves the conflicting instructions and uses the existing trusted input-error contract without weakening intentional quiet-check suppression or adding configuration. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e26ccfebf07c. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +1, Tests +94, Docs 0. Total +95 across 10 files. Added test files: 1. 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 (5 earlier review cycles)
Reviewed November 28, 2026, 9:44 PM ET / November 29, 2026, 02:44 UTC (Revision 6). |
Worked on by: - @DonnieFi Co-authored-by: DonnieFi <[email protected]> OpenClaw-Publication: 5d95e822-f028-4426-8f23-8eddf4eb180a
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Worked on by: - @DonnieFi Co-authored-by: DonnieFi <[email protected]> OpenClaw-Publication: 93be6a55-7d82-4153-b4a2-d1e3601a38b8
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Co-authored-by: DonnieFi <[email protected]>
Worked on by: - @DonnieFi Co-authored-by: DonnieFi <[email protected]> OpenClaw-Publication: 83a76209-d3d1-4eb8-bea0-b5ae67cedeea
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Co-authored-by: DonnieFi <[email protected]>
Worked on by: - @DonnieFi Co-authored-by: DonnieFi <[email protected]> OpenClaw-Publication: bfdef767-7e57-46ae-9f84-35965a88af6c
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
…eline * commit 'eee1e0553d29456424ac367008c3cf080f9866ec': (550 commits) 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) fix: show when worktree cleanup stopped or will retry (#207883) fix: show approval destinations only when the forwarding mode uses them (#207885) fix: keep inherited tools when changing agent settings (#207884) feat: let Knowledge add someone's email or other alias to a page without rewriting it (#207881) fix: stop reporting a child worker as finished when the Gateway loses contact (#207713) fix: keep the Activity visibility test stable at midnight (#207847) perf(agents): reuse prepared tool catalog executors (#207900) fix: show the Gateway command default beside host rules in Devices (#207887) fix: verify chat Stop recovery after dashboard pairing (#207888) test(activity): check midnight refresh against the elapsed window (#207859) test(ui): use one persisted message ID in queued-image handoff (#207861) test(agents): release configured MCP fixture resources (#207716) fix(workboard): clear CI failures in the session filter editor (#207858) perf(ai): reduce allocation in OpenAI Responses streams (#207889) ...
…ions suite * commit '60e80f1c5fd439f7aa4ce33f54985c7efdc30884': (555 commits) 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) fix: show when worktree cleanup stopped or will retry (#207883) fix: show approval destinations only when the forwarding mode uses them (#207885) fix: keep inherited tools when changing agent settings (#207884) feat: let Knowledge add someone's email or other alias to a page without rewriting it (#207881) fix: stop reporting a child worker as finished when the Gateway loses contact (#207713) fix: keep the Activity visibility test stable at midnight (#207847) perf(agents): reuse prepared tool catalog executors (#207900) fix: show the Gateway command default beside host rules in Devices (#207887) fix: verify chat Stop recovery after dashboard pairing (#207888) ...
* commit 'ba0a7a5fac3e2f1b642d05502273b98dc75adf4f': (556 commits) 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) fix: show when worktree cleanup stopped or will retry (#207883) fix: show approval destinations only when the forwarding mode uses them (#207885) fix: keep inherited tools when changing agent settings (#207884) feat: let Knowledge add someone's email or other alias to a page without rewriting it (#207881) fix: stop reporting a child worker as finished when the Gateway loses contact (#207713) fix: keep the Activity visibility test stable at midnight (#207847) perf(agents): reuse prepared tool catalog executors (#207900) fix: show the Gateway command default beside host rules in Devices (#207887) ...
…es (openclaw#207044) Return a required status or digest on every scheduled run, including when nothing changes. Reserve silent outcomes for intentionally quiet checks. Report malformed outcome arguments as invalid input so the agent can correct the call. Closes openclaw#206884. Co-authored-by: DonnieFi <[email protected]> OpenClaw-Publication: 1444ac78-4306-4b2e-9cbb-c6e477bcda76 OpenClaw-Publication: 5d95e822-f028-4426-8f23-8eddf4eb180a OpenClaw-Publication: 93be6a55-7d82-4153-b4a2-d1e3601a38b8 OpenClaw-Publication: 83a76209-d3d1-4eb8-bea0-b5ae67cedeea OpenClaw-Publication: bfdef767-7e57-46ae-9f84-35965a88af6c
* 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) ...
…es (#207044) Return a required status or digest on every scheduled run, including when nothing changes. Reserve silent outcomes for intentionally quiet checks. Report malformed outcome arguments as invalid input so the agent can correct the call. Closes #206884. Co-authored-by: DonnieFi <[email protected]> OpenClaw-Publication: 1444ac78-4306-4b2e-9cbb-c6e477bcda76 OpenClaw-Publication: 5d95e822-f028-4426-8f23-8eddf4eb180a OpenClaw-Publication: 93be6a55-7d82-4153-b4a2-d1e3601a38b8 OpenClaw-Publication: 83a76209-d3d1-4eb8-bea0-b5ae67cedeea OpenClaw-Publication: bfdef767-7e57-46ae-9f84-35965a88af6c (cherry picked from commit 8a0b268) Release adaptation: Regenerate stable prompt snapshots for the reporting contract; do not import a main live-proof artifact or claim contributed live evidence. Companion audit: PR #207044 is selected; keep host prompt/presentation and automated completion validation together. Co-authored-by: RomneyDa <[email protected]>
…es (#207044) Return a required status or digest on every scheduled run, including when nothing changes. Reserve silent outcomes for intentionally quiet checks. Report malformed outcome arguments as invalid input so the agent can correct the call. Closes #206884. Co-authored-by: DonnieFi <[email protected]> OpenClaw-Publication: 1444ac78-4306-4b2e-9cbb-c6e477bcda76 OpenClaw-Publication: 5d95e822-f028-4426-8f23-8eddf4eb180a OpenClaw-Publication: 93be6a55-7d82-4153-b4a2-d1e3601a38b8 OpenClaw-Publication: 83a76209-d3d1-4eb8-bea0-b5ae67cedeea OpenClaw-Publication: bfdef767-7e57-46ae-9f84-35965a88af6c Release adaptation: Regenerate against release tool prompts; omit the unreferenced contributor-specific live evidence artifact. (cherry picked from commit 8a0b268) Co-authored-by: RomneyDa <[email protected]>
Closes #206884
What Problem This Solves
A scheduled job can produce its required daily status and still suppress it because nothing changed.
User Impact
Jobs that request a report every run are told to return it even on unchanged days. Conditional alerts stay quiet unless triggered. If an agent supplies the wrong field while recording an outcome, it gets a correctable input error instead of an internal error.
Why This Change Was Made
The runner deliberately suppresses a recorded
no_change. Rather than weakening that guarantee, the prompt distinguishes a required report from an intentionally quiet check and shows the optional recorder’s input shape. Only malformed outcome data is reclassified; the delivery and authorization paths are unchanged.Evidence
Contributor-run live Gateway proof: DonnieFi’s run record documents two isolated Codex/OpenAI cron runs at
a383623bwith Code Mode and the same unchanged queue. The required report announcedQueue: IDLEexactly once to the local QA adapter (delivered). The conditional alert recordedno_change, finishedok/not-delivered/silent, and produced zero captures. Neither was sent directly by a messaging tool. The JSON evidence record (test/fixtures/cron-required-report-live-proof.json) preserves those observations; it is not an executable replay.The new prompt and Code Mode regressions failed before their respective fixes. Through the actual Code Mode bridge, missing
outcome(includingresultandstatusaliases) left the invocation unrecorded, and a corrected retry succeeded.A paired isolated-runner fixture supplied the same
Queue: IDLEtext in both cases. The announce adapter captured it once for the report and zero times for a recorded quiet check. Neither was delivered by a direct messaging-tool send. The fixture used synthetic responses.107 focused tests across six files passed at local head
fbd664b10, as did both paired fixture cases, targeted typecheck, lint, formatting, and docs link checks. Independent agent reviews of the two code changes caught a conditional-alert ambiguity; the corrected prompt and recorder diff had no remaining review findings. Base:0633f256. Independent reviewers inspected supplied diffs; these are not hosted ratings or CI.Simplification: removed 87 lines of test code that asserted literal observations, retaining all original fields in 65 lines of JSON. No runtime logic or behavioral regression tests changed in this pass (net −22 lines). Across the whole PR: production +5/−4, executable tests +32/−3, docs +1/−1, evidence +65/−0. All 20 focused tests passed after the conversion.
After integrating
8d901228, the three generated prompt snapshots were refreshed (+15/−15 generated lines; no additional runtime or executable test changes).pnpm prompt:snapshots:checkverified all six snapshots and the three focused cron suites passed 23 tests on the published source tree.Contributor: DonnieFi.
Work sessions
Linked for team reference; these sessions aren’t public.
🦞 Made with OpenClaw
Worked on by