Repository navigation
feat(cron): configurable default delivery and failure destinations - #185848
Conversation
Add cron.delivery and cron.agents.<agentId>.{delivery,failureAlert} so
route-less announce jobs and failure alerts can go to a configured
Gateway-wide or per-agent destination. Explicit job routes win, the
owning agent's default replaces the Gateway default whole, and defaults
resolve at run time without rewriting stored jobs. none and webhook
delivery never gain a chat destination.
|
🦞👀 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: blocked before merge. What this changesThis PR adds Gateway, agent, and creator-profile automation destinations plus explicit failure-alert threads. Example: Creator wire-alpha has Telegram defaults for chat 123, with result thread 11 and failure thread 12.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains Keep open: this maintainer-authored feature provides useful routing defaults, and inspection found no definite introduced defect; exact-head CI remains unresolved. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherCron combines stored job settings, trusted creator attribution, and operator configuration into delivery plans consumed by Gateway transports and conversation-history writers. flowchart TD
A[Stored cron job] --> C[Shared destination resolution]
B[Gateway agent and creator defaults] --> C
C --> D[Primary completion]
C --> E[Scheduler failure policy]
D --> F[Gateway channel transport]
E --> F
F --> G[Recipient and conversation history]
Technical reviewBest possible solution: Retain the shared destination resolver and existing persistence owners, then complete latest-stable upgrade validation and settle exact-head CI. Do we have a high-confidence way to reproduce the issue? This is a feature request; source confirms that current main lacks these scoped defaults, and supplied HTTP traces demonstrate their added behavior. Is this the best way to solve the issue? The implementation extends existing planning, scheduler, validation, and storage owners without adding a competing delivery mechanism. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f24a3f03cd16. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +525, Tests +733, Docs +71, Generated 0, Other +3. Total +1332 across 55 files. Added test files: 3. 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. Review metrics
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 (6 earlier review cycles)
Reviewed November 5, 2026, 9:01 AM ET / 14:01 UTC (Revision 7). |
Add cron.creators.<profileId>.delivery and .failureAlert, keyed by the Gateway profile recorded in a job's createdActor (directly or as the delegating human). Precedence is the job's own route, then the creator default, then the owner-agent default, then the Gateway default. Legacy, channel-only, unknown, agent, and system creators get no creator default.
The create-time default check cast raw cron tool input to CronDelivery, which tripped the assertion SAFETY ratchet. Read the routing fields structurally instead so stored jobs and raw tool input share one check.
Baseline-Refresh: 6528ac64a95d2d249473aa1df1c4e1022294d878 Co-authored-by: VACInc <[email protected]>
Reduce the regression allowance to the actual 733 added test lines after refreshing the main baseline. Co-authored-by: VACInc <[email protected]>
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Existing data/upgrade compatibility proof — reused, not rerunThe remaining review checkbox asks for proof already completed and embedded in the PR description under Prior-head published-upgrade witness. Here is its exact applicability to current head
Please reassess the data-model compatibility checkbox using this existing proof and the input comparison above. The separate UI failure is now reproduced on untouched upstream main |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
…penclaw#185848) * feat(cron): configurable default delivery and failure destinations Add cron.delivery and cron.agents.<agentId>.{delivery,failureAlert} so route-less announce jobs and failure alerts can go to a configured Gateway-wide or per-agent destination. Explicit job routes win, the owning agent's default replaces the Gateway default whole, and defaults resolve at run time without rewriting stored jobs. none and webhook delivery never gain a chat destination. * feat(cron): add creator-profile default destinations Add cron.creators.<profileId>.delivery and .failureAlert, keyed by the Gateway profile recorded in a job's createdActor (directly or as the delegating human). Precedence is the job's own route, then the creator default, then the owner-agent default, then the Gateway default. Legacy, channel-only, unknown, agent, and system creators get no creator default. * fix(cron): type creation-time default check without an assertion The create-time default check cast raw cron tool input to CronDelivery, which tripped the assertion SAFETY ratchet. Read the routing fields structurally instead so stored jobs and raw tool input share one check. * feat(config): validate cron default destinations at load Reject a default destination whose channel names no installed channel plugin (cron.delivery and the cron.agents/cron.creators delivery and failureAlert routes). An unknown cron.failureAlert.channel only warns so existing configs keep loading. Reject cron.agents keys that resolve to the same agent id, sharing the duplicate-key check with agents.entries. * feat(doctor): check cron default destination channels The delivery-target advisory now also lists configured default destinations whose channel plugin is not active. * docs(cron): document default destination validation * fix(cron): deliver session-owned jobs as their owner Resolve the effective job owner before selecting the runtime agent for completion and failure-alert sends. Strengthen delivery and recipient-persistence regressions for session-only ownership. Co-authored-by: VACInc <[email protected]> * test(cron): cover implicit announce failure defaults Co-authored-by: VACInc <[email protected]> * fix(cron): support backward-compatible failure alert threads Preserve existing routing when no new defaults are configured. Carry optional failure thread selectors through schema, storage, merge and dispatch; retain legacy Telegram topic routes and repair alert-only intent. Update generated validators and focused integration coverage. Co-authored-by: VACInc <[email protected]> * test(cron): fix failure thread fixture types Keep creator attribution typed, provide the merge fallback mode, and assert optional results before checking persistence. Co-authored-by: VACInc <[email protected]> * fix(cron): align rebased test-line allocation Reduce the regression allowance to the actual 733 added test lines after refreshing the main baseline. Co-authored-by: VACInc <[email protected]> --------- Co-authored-by: VACInc <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: roboclaw-bot <[email protected]>
…penclaw#185848) * feat(cron): configurable default delivery and failure destinations Add cron.delivery and cron.agents.<agentId>.{delivery,failureAlert} so route-less announce jobs and failure alerts can go to a configured Gateway-wide or per-agent destination. Explicit job routes win, the owning agent's default replaces the Gateway default whole, and defaults resolve at run time without rewriting stored jobs. none and webhook delivery never gain a chat destination. * feat(cron): add creator-profile default destinations Add cron.creators.<profileId>.delivery and .failureAlert, keyed by the Gateway profile recorded in a job's createdActor (directly or as the delegating human). Precedence is the job's own route, then the creator default, then the owner-agent default, then the Gateway default. Legacy, channel-only, unknown, agent, and system creators get no creator default. * fix(cron): type creation-time default check without an assertion The create-time default check cast raw cron tool input to CronDelivery, which tripped the assertion SAFETY ratchet. Read the routing fields structurally instead so stored jobs and raw tool input share one check. * feat(config): validate cron default destinations at load Reject a default destination whose channel names no installed channel plugin (cron.delivery and the cron.agents/cron.creators delivery and failureAlert routes). An unknown cron.failureAlert.channel only warns so existing configs keep loading. Reject cron.agents keys that resolve to the same agent id, sharing the duplicate-key check with agents.entries. * feat(doctor): check cron default destination channels The delivery-target advisory now also lists configured default destinations whose channel plugin is not active. * docs(cron): document default destination validation * fix(cron): deliver session-owned jobs as their owner Resolve the effective job owner before selecting the runtime agent for completion and failure-alert sends. Strengthen delivery and recipient-persistence regressions for session-only ownership. Co-authored-by: VACInc <[email protected]> * test(cron): cover implicit announce failure defaults Co-authored-by: VACInc <[email protected]> * fix(cron): support backward-compatible failure alert threads Preserve existing routing when no new defaults are configured. Carry optional failure thread selectors through schema, storage, merge and dispatch; retain legacy Telegram topic routes and repair alert-only intent. Update generated validators and focused integration coverage. Co-authored-by: VACInc <[email protected]> * test(cron): fix failure thread fixture types Keep creator attribution typed, provide the merge fallback mode, and assert optional results before checking persistence. Co-authored-by: VACInc <[email protected]> * fix(cron): align rebased test-line allocation Reduce the regression allowance to the actual 733 added test lines after refreshing the main baseline. Co-authored-by: VACInc <[email protected]> --------- Co-authored-by: VACInc <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: roboclaw-bot <[email protected]> Source: 87c9eb3 Release adaptation: Only failure-alert effective owner selection uses existing canonical explicit-agent then session-agent then default resolver. Updated existing table regression for session-owner precedence. Excluded all destination config/schema/default/thread features and all unrelated hunks. Companion script timed out 35s; pinned PR log has source only; bounded source owner reviewed. Format/diff pass; runtime setup gap retained. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 9917307fe1fe6aa7521e776a1d06686574e45012)
What Problem This Solves
Operators otherwise repeat automation result and failure destinations for every job. Failure destinations also lacked the optional thread field available to primary destinations.
User Impact
Adds optional Gateway, owning-agent and creator-profile defaults. Explicit job routes still win. Without new defaults, route-less jobs keep the creating conversation/current route; stored routes and explicit
none/webhookmodes stay unchanged.Failure routes accept
threadIddirectly, including the CLI edit option. Existing Telegramto: "-100…:topic:N"destinations continue working. No migration is required.Why This Change Was Made
Resolution remains job → creator profile → owning agent → Gateway → existing behavior. Each selected default owns its complete route. Changing the channel, recipient, account or mode clears an inherited failure thread unless an explicit thread is supplied.
Evidence
Current correction and reusable runtime evidence
Current candidate:
89440c04a1c892425677c2972aa4a1fb99baf954. Its only change from72b36c53ebcc835b0acc727014cc985344f996c9is reducing the test-line allocation from 736 to the actual 733 added lines. No product code, tests, dependencies or runtime configuration changed.736 > 733); the corrected candidate passes with 6,494,420 test lines, a 6,494,424 ceiling and four lines of slack.git diff --checkalso passes.72b36c5and is reused for the unchanged runtime, not relabeled as a new execution at89440c0.Runtime-tested rebase verification
The runtime-tested rebase candidate is
72b36c53ebcc835b0acc727014cc985344f996c9, integrating main5492b763a42ab355453afaa577bb512ea1a95050. The native signed baseline-successor workflow preserved the reviewed product delta. Its two Doctor conflicts were resolved by keeping main’s asynchronous plugin-preparation checks and retaining the new scoped-default destination warnings.Independent Codex review through P3: no actionable findings in the full selected product diff and supplied source context. This was a static review; it did not execute project code.
On an isolated AWS worker with exact candidate HEAD and tree verified: 181 tests passed across 9 files / 4 shards (126.79s). Coverage includes Doctor warnings, config/delivery defaults, failure-thread persistence, failure alert/repair paths, and Gateway completion/notifications.
Production core typecheck, services-cron test typecheck, Doctor formatting, and
git diff --check: passed.Current-head GitHub CI and hosted ClawSweeper re-review remain landing gates. Earlier-head CI and review results below are historical, not substitutes for this head.
Fresh signed-creator-to-final-HTTP proof: 4 cases / 8 correctly isolated sends passed, covering both creator profiles under
operator.cronandoperator.write. The exercised fixture also rejects forged-owner creation and creation after revocation. No live Telegram-cloud or browser-authentication claim.Historical pre-refresh validation
84097d630e263848e57a3aa98d47f789606a970d.657a56c. The corrected runtime passes 527 cases across 17 focused files / 7 Vitest shards (350.43s).72d3ea3ead9b6df9f19ba561667649c1039ac2ebfound no actionable defects. The follow-up test-only correction29187ef66e9e14a893669e3b5e6db7788a458f63also passes independent P3 review, the exactservices-crontest typecheck, and all 16 failure-thread cases. It supplies the required merge mode and narrows optional results without changing runtime behavior.29187ef: the services-cron test typecheck, Android 16-KiB lane and Control UI performance lane now pass. The remaining failed leaf is check-lint-core-4: exactly two no-promise-executor-return errors at ui/src/e2e/chat-mcp-app-fullscreen.e2e.test.ts:26,29, inherited from main commit f05f838 (PR fix: MCP apps stay in a thin strip when expanded #193069). Aggregate CI gates also reflect that failure; they are not represented as green. The PR owner authorized landing with independently attributed unrelated failures, subject to the remaining review gates.Independently inspectable exact-head proof: redacted traces, witness and reproducer
The following evidence is embedded here so review does not require access to the protected Work session. All identities and chat IDs are synthetic. HTTP requests went to the repository-controlled Telegram fixture, not Telegram cloud; signed requests used in-process Gateway dispatch, not browser login. No credentials, grant tokens, cookies, full config or private conversation contents are included.
Unchanged-runtime final outbound request trace (72b36c5)
Synthetic destinations; actual captured adapter calls from the exact refreshed head.
{ "head": "72b36c53ebcc835b0acc727014cc985344f996c9", "tree": "b1c12203aca8acbe2259b825c7898d70a7b9a18f", "base": "5492b763a42ab355453afaa577bb512ea1a95050", "testedGrantScopes": [ "operator.cron", "operator.write" ], "caseCount": 4, "sendCount": 8, "harnessSha256": "970934578e9250bfa2a96b6e55e9fb3f015dcd7a30230288a0ba5950b850ccb8", "traces": [ { "creator": "wire-alpha", "sent": [ { "chat": "123", "thread": 11, "text": "Primary route proof" }, { "chat": "123", "thread": 12, "text": "Failure route proof" } ], "boundary": "production signed-grant dispatch to controlled Telegram HTTP API; not live Telegram cloud" }, { "creator": "wire-alpha", "sent": [ { "chat": "123", "thread": 11, "text": "Primary route proof" }, { "chat": "123", "thread": 12, "text": "Failure route proof" } ], "boundary": "production signed-grant dispatch to controlled Telegram HTTP API; not live Telegram cloud" }, { "creator": "wire-beta", "sent": [ { "chat": "456", "thread": 21, "text": "Primary route proof" }, { "chat": "456", "thread": 22, "text": "Failure route proof" } ], "boundary": "production signed-grant dispatch to controlled Telegram HTTP API; not live Telegram cloud" }, { "creator": "wire-beta", "sent": [ { "chat": "456", "thread": 21, "text": "Primary route proof" }, { "chat": "456", "thread": 22, "text": "Failure route proof" } ], "boundary": "production signed-grant dispatch to controlled Telegram HTTP API; not live Telegram cloud" } ], "boundary": "Signed in-process Gateway dispatch through final Telegram HTTP fixture; not browser authentication or live Telegram cloud." }Prior-head published-upgrade witness
Redacted from the completed published-upgrade-survivor summary. The baseline and candidate share a package version but the candidate is built from the exact PR commit. Configuration command values and local runtime paths are omitted. This is the standard base scenario, not all optional upgrade scenarios.
{ "head": "29187ef66e9e14a893669e3b5e6db7788a458f63", "status": "passed", "baseline": { "spec": "openclaw@latest", "version": "2026.10.10" }, "candidate": { "kind": "tarball", "version": "2026.10.10" }, "installedVersion": "2026.10.10", "scenario": "base", "candidateInstallMode": "updater", "updateRestartMode": "manual", "updateOutcome": "success", "timings": { "startupSeconds": 33, "updateRestartSeconds": null, "idempotenceSeconds": null, "idempotenceBudgetSeconds": null, "healthzSeconds": 1, "readyzSeconds": 1, "statusSeconds": 2 }, "failure": null, "configRecipe": { "source": "baseline-cli-command-recipe", "recipe": "upgrade-survivor-v1", "baselineVersion": "2026.10.10", "successfulSteps": 15, "totalSteps": 15 }, "passedPhases": [ "storage-preflight", "validate-update-restart-mode", "validate-worker-cell", "reset-run-state", "install-baseline", "initialize-state", "apply-baseline-config-recipe", "missing-load-path-seed", "validate-baseline-config", "missing-load-path-baseline-start", "missing-load-path-baseline-ready", "missing-load-path-baseline-stop", "resolve-candidate", "resolve-candidate-install-mode", "candidate-package-identity", "configure-clawhub-fixture", "prepare-update-restart-probe", "bootstrap-mobile-pairing", "seed-state", "install-baseline-plugin-dependencies", "seed-legacy-plugin-dependency-debris", "assert-legacy-plugin-dependency-debris", "seed-source-only-plugin-shadow", "assert-baseline", "seed-legacy-runtime-deps-symlink", "configure-plugin-registry", "missing-load-path-unavailable", "update-candidate", "installed-package-identity", "missing-load-path-post-update", "assert-automatic-migration", "mobile-pairing-candidate-first", "mobile-pairing-candidate-restart", "assert-prepublish-requests", "root-managed-vps-cli-usable", "assert-package-local-dependency-cleanup", "doctor", "assert-legacy-plugin-dependency-debris-cleaned", "assert-legacy-runtime-deps-symlink-repaired", "validate-post-doctor-config", "missing-load-path-doctor-lint", "missing-load-path-post-doctor", "assert-survival", "assert-prepublish-recovery-requests", "fixture-plugin-consent", "gateway-start", "gateway-probes", "gateway-status", "missing-load-path-ready" ], "laneAttempts": [ { "attempt": 1, "elapsedSeconds": 790, "finishedAt": "2026-11-05T01:45:01.355Z", "noOutputTimedOut": false, "startedAt": "2026-11-05T01:31:51.048Z", "status": 0, "timedOut": false } ], "rawWitnessSha256": "83a4efdba9b16f0a2443e70eb64e78ec3af8cdad6279872e458ceccd4f040b2a" }Runtime-tested-head wire reproducer (72b36c5)
Uses the checked-in creator transport suite and Telegram HTTP fixture. The SHA-256 digest above corresponds to the following recorded 72b36c5 harness. The base suite retains cross-owner mutation and revoked-creator denial checks; this extension adds forged-creator denial and final outbound isolation. Run in a disposable checkout because it creates a temporary integration-test file.
Upgrade reproduction: the retained upgrade witness above is pinned to pre-refresh head
29187ef, not the new head. To run that lane from a clean checkout, usepnpm test:docker:published-upgrade-survivorwith Docker available. Its default baseline isopenclaw@latest; the recorded run resolved it to2026.10.10.Original implementation by @VACInc. Delivery-owner repair and additional verification by RoboClaw.
Work sessions
Original design contract and author-reported verification
Summary
High Level TLDR
Today every automation either names its own chat route or follows the conversation that created it. An operator who wants all results in one place (for example topic 1 of a Telegram forum) has to pin
channel/to/threadIdon every job, and agent-created jobs pin whatever chat they were made in. Failure alerts have a Gateway-wide route but no per-agent or per-person one.This adds configurable default destinations at three layers, for both primary results and failure alerts:
cron.delivery(and the existingcron.failureAlert): Gateway-wide defaults.cron.agents.<agentId>.deliveryand.failureAlert: defaults for the agent that owns the job.cron.creators.<profileId>.deliveryand.failureAlert: defaults for the human who created the job, keyed by Gateway profile id.Defaults resolve at run time. Stored jobs are never rewritten, and a job that names its own route keeps it.
Contract
agentId, else the agent in its session key, else the default agent.createdActoron every job it stores (cron-creator-session.ts,cron-input-validation.ts), and run-time execution context already reads its profile id. The creator layer reads the same stamp through the canonicalsessionCreatorProfileIdhelper. It applies when the creator is a human with a Gateway profile, or a human profile that delegated creation to an agent (delegatedBy). Legacy jobs with nocreatedActor, and channel-only, unknown, agent-without-a-human, and system creators have no creator default. Profile keys match exactly; they are opaque ids, so they are not case-folded like agent ids.resolveCronDeliveryDefaultsScopederives both the owner and the creator for every path: preview, isolated run delivery, command/script completion, run-queue check, failure alerts, and create/update validation.cron.addpasses the stamped creator into its validation and preview so the add result already shows the creator default.channelother thanlast,to,threadId,accountId, ortarget: "owner".channelother thanlast,to,threadId,accountId, ortarget: "owner".announcemode with no routing field gets a default. This holds for every session target, includingcurrentandmain, where the default replaces the creating-conversation route.mode: "none"and"webhook"never gain a chat destination. That includesmessage-tool context. Failure alerts fornonejobs still use configured failure routes, as today.cron.creators.<profileId>.failureAlertandcron.agents.<id>.failureAlertsetmode,channel,to, andaccountId, in the same creator-then-agent order, replacing the global route fields whole.enabled,after,cooldownMs, andincludeSkippedstay Gateway-wide, socron.failureAlert.enabled: falsestill disables inherited alerts. Like acron.failureAlertobject, a scoped route activates the alert policy. Precedence: per-jobfailureAlertroute, thendelivery.failureDestinationlayered over the creator route, else the agent route, else the global route, then the primary announce route. That last step now includes a primary default, and itsthreadIdis kept.delegatedBy.channelnames no installed channel plugin (cron.deliveryand thecron.agents/cron.creatorsdeliveryandfailureAlertroutes; built-in aliases such asgchatpass). An unknowncron.failureAlert.channelonly warns, so existing configs keep loading.cron.agentskeys that resolve to the same agent id (opsandOPS) are rejected with the same checkagents.entriesuses.openclaw doctor's delivery-target advisory also lists defaults whose channel plugin is not active.cronblock stays strict.Behavior matrix (tested)
none/webhookcreatedActor), channel-only, unknown, agent, system, other profile, or case-different idnone,webhookdeliveryenabled: false+ agent failureAlertDocs
docs/automation/cron-jobs/delivery.md: new "Default destinations" section with the precedence table, thenonedecision, the session-route decision, and failure-route layering.docs/gateway/config-automation.md:cron.delivery,cron.agents, andcron.creatorsreference, plus the updated failure precedence.Verification
pnpm tsgo:core: pass.pnpm tsgo:test:src: all shards pass.pnpm tsgo:extensions: pass.oxlintandoxfmt --checkon touched files are clean.pnpm check:base-config-schema: ok.pnpm config:docs:check: ok, afterconfig:docs:gen.pnpm format:docs:check: clean.pnpm docs:check-links: 0 broken.docs:check-links:anchors: 6 misses, all in pre-existing release notes and none in touched pages.git diff --check: clean.pnpm test <files>), all passing. New tests:src/cron/delivery-defaults.test.ts: the matrix above, including every non-creator actor shape, legacy jobs with nocreatedActor, thenone/webhookinteraction, and failure vs primary resolved independently.src/agents/tools/cron-tool.test.ts: no route pinning when a Gateway, agent, or creator default applies (requesting or delegating profile); still pins for another agent's default, another profile's default, or a requester without a profile.src/cron/delivery-preview.test.ts: realresolveDeliveryTarget. A route-lesscurrentjob previews to the default; an explicittostill wins; another agent's default is ignored; a human-profile creator's default beats the agent default.src/gateway/server-cron-completion.test.ts: completion uses the session-key owner's default rather than the resolver fallback agent.cron-tool.ts.defaultAgentIdon finalization and skip snapshots: verified false, the snapshots already carry it.job.agentIdonly: valid, fixed by the shared scope helper.createdActor) checks out: failure-alert workers load jobs through the same row decoder (loadedCronStoreFromRows) whosecreatedActorthe run-time execution context already reads.7d661bba):CronDelivery;check:assertion-safety-ratchet(src/cron/delivery-context.ts: 2 > 1) now passes.pnpm check:changed --base 5c410ef4eb5: all lanes pass except the dead-export scan, whose entries are all in files this PR does not touch (same list on the base).src/config/config.cron-default-destinations.test.ts: unknown channel rejected at each of the five default paths, globalcron.failureAlertonly warns, known channels and built-in aliases pass,last/webhook routes skipped,cron.agentskeys differing by case rejected.src/commands/doctor/cron/warnings.test.ts: defaults on inactive channels are listed; active defaults stay quiet.cron.agentsduplicate check, or the doctor default scan each fails the new tests.resolveCronDeliveryPlan. Node 24.22, 64-job mix, 20k-iteration warmup, 15 samples of 5k iterations, median ns per call, base (5c410ef4) vs head, three runs:What was not tested
openclaw doctordoes not flag an unknown agent id undercron.agents.Open questions
channel: "last"is also the stored CLI default. Should there be an explicit opt-out, such asdelivery.target: "source"? Today such a job must name itschannel/to.threadId. Telegram topics use the-100…:topic:Nform, matching the existingcron.failureAlertshape. Should failure routes get athreadIdfield for parity?