Repository navigation
RFC 0026: Automations terminology and configurable feature naming - #50
Conversation
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WhJ8EiMXue6ADLmHfb7FL6
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
giodl73-repo
left a comment
There was a problem hiding this comment.
The direction is good: consolidating the user-facing feature name around Automations addresses a real product inconsistency. I am requesting revisions for three cross-surface contract gaps before the RFC is accepted: the agent tool rename is a runtime identity migration rather than a string sweep, the configurable terminology needs an explicit owner/distribution/localization model, and CLI help is registered before config bootstrap.
Phase 1's UI and copy cleanup makes sense. Phase 2 should align with the accepted and merged localization contract in RFC 0024 (#42), or explicitly narrow configurable terminology to English with defined fallback behavior.
| - **UI.** The i18n layer's existing `t(key, params)` interpolation carries | ||
| the term: the affected `en.ts` values (~30 keys, mostly the `cron.*` | ||
| namespace) gain `{term}`/`{termPlural}`/`{termTitle}` placeholders, and | ||
| the i18n manager injects the configured values as ambient params. No |
There was a problem hiding this comment.
Please align this with the accepted and merged localization RFC 0024 (#42). ui.assistant.name is not an equivalent precedent: current config defines ui as presentation customization without runtime behavior, and that value is projected only as Control UI identity. This terminology value would also change agent prompts and CLI output.
The Control UI bootstrap contract does not currently carry terminology, so ambient interpolation requires a new Gateway-to-browser projection plus reload/fallback semantics. A single English singular/plural pair also cannot grammatically satisfy all supported UI locales; RFC 0024 explicitly requires mixed-language interpolation checks for adopted localized surfaces.
I suggest shipping Phase 1 independently, then either (a) scope custom terminology to English with explicit fallback behavior or (b) use locale-keyed singular/plural labels. The RFC should also name the runtime-wide config owner and the Gateway carrier rather than silently broadening ui.
There was a problem hiding this comment.
Addressed in a2dd348. Phase 2 is reworked to compose with RFC 0024: the config shape is locale-keyed from day one (en required), v1 is explicitly English-first with defined fallback — a locale without an entry renders its canonical localized term, so a custom English word never leaks into a non-English sentence. The ui broadening is now explicit rather than silent: the RFC amends the documented ui contract to state ui.terminology is a runtime-wide product-language value consumed by Control UI, prompt builders, and CLI formatters. The gateway carrier is named: the Control UI bootstrap payload gains a terminology field (same projection as ui.assistant.name), with re-projection on config reload and fallback to built-in defaults on missing/invalid values. Phases are now explicitly independent — Phase 1 stands alone. Added an open question on which surfaces count as "adopted localized surfaces" under 0024's interpolation checks.
|
+1 on this. I did a lot of work to unify the cron system, heartbeats are just crons now too. So Automations is way more user-friendly than cron. |
… alignment, CLI help exclusion - Specify the agent tool rename as a canonical identity migration: single name constant + predicate, inventory of exact-name consumers on main, doctor rewrite of persisted policy, bounded invocation alias, transcript stance, and old/new-name regression tests. - Rework Phase 2 to compose with accepted localization RFC 0024: locale-keyed config shape, English-first scope with explicit fallback, named gateway bootstrap carrier and reload semantics, and an explicit (not silent) broadening of the ui contract. - Exclude CLI --help and registration strings from configurable terminology; buildProgram() registers help before config bootstrap, so custom terms apply to post-bootstrap output only. - Phases are now explicitly independent; prune resolved open questions. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WhJ8EiMXue6ADLmHfb7FL6
|
Codex review: needs real behavior proof before merge. Reviewed July 28, 2026, 12:32 AM ET / 04:32 UTC. ClawSweeper reviewWhat this changesThis RFC adds a proposed “Automations” name for user- and model-facing scheduler surfaces and introduces locale-aware configurable terminology for the UI, prompts, and post-bootstrap CLI output. Merge readinessThis RFC is still necessary: it asks maintainers to approve a new product-language and configuration contract, while the linked OpenClaw implementation slices remain open. The document addressed the prior review’s tool-identity, localization, and CLI-lifecycle concerns, but that does not replace a maintainer decision on whether the permanent terminology and configuration surface should be accepted. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw’s scheduler uses cron-based jobs internally but exposes them through agent tools, Control UI strings, CLI output, Doctor guidance, and documentation. The RFC defines a presentation and configuration contract that would feed those surfaces while preserving existing scheduler protocols and stored state. flowchart LR
Scheduler[Internal scheduled job system] --> Agent[Agent tools and prompts]
Scheduler --> ControlUI[Control UI]
Scheduler --> CLI[CLI and Doctor output]
Terminology[Terminology configuration] --> Agent
Terminology --> ControlUI
Terminology --> CLI
Agent --> Users[User-visible product language]
ControlUI --> Users
CLI --> Users
Decision needed
Why: The branch is an RFC proposing new product language and configuration behavior; its technical constraints have been clarified, but selecting the permanent product and configuration contract requires maintainer intent. Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Accept or narrow the RFC’s terminology and locale-aware configuration contract first, then review the linked implementation slices against that approved boundary without changing scheduler identifiers, storage, or RPC protocols. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR proposes terminology and configuration contracts rather than reporting a failing current-main behavior. Is this the best way to solve the issue? Unclear: the RFC now addresses the concrete technical concerns raised in review, but maintainers must decide whether a runtime-wide configurable product term is the right permanent surface before implementation proceeds. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against 593e6e46632b. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
…mations
Rewrites every string the model or user sees that names the feature:
tool label and terminal presentation, display-summary preset, subagents
catalog description, heartbeat guidance, subagent prompt, session labels
(Cron: -> Automation:), default job name, unattended-run preamble, delivery
awareness text, task-ledger progress summary, failure alerts, auto-disable
notification, model preflight diagnostics, validation errors, and the
shipped workspace AGENTS.md template. Adds a system-prompt backstop rule on
the automations tool line: the feature is called automations, never cron.
Cron stays only where it names the schedule syntax ({kind:"cron"}, cron
expressions), config keys (cron.triggers.enabled), RPC method names, and
session-key namespaces. Test fixtures with legacy labels are kept as
stored-data coverage. Part of RFC openclaw/rfcs#50 Phase 1 (PR B).
…mations
Rewrites every string the model or user sees that names the feature:
tool label and terminal presentation, display-summary preset, subagents
catalog description, heartbeat guidance, subagent prompt, session labels
(Cron: -> Automation:), default job name, unattended-run preamble, delivery
awareness text, task-ledger progress summary, failure alerts, auto-disable
notification, model preflight diagnostics, validation errors, and the
shipped workspace AGENTS.md template. Adds a system-prompt backstop rule on
the automations tool line: the feature is called automations, never cron.
Cron stays only where it names the schedule syntax ({kind:"cron"}, cron
expressions), config keys (cron.triggers.enabled), RPC method names, and
session-key namespaces. Test fixtures with legacy labels are kept as
stored-data coverage. Part of RFC openclaw/rfcs#50 Phase 1 (PR B).
…r rewrite Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WhJ8EiMXue6ADLmHfb7FL6
giodl73-repo
left a comment
There was a problem hiding this comment.
I did a second full pass at 2841c872. The earlier tool-identity, localization-ownership, and CLI-bootstrap concerns are mostly addressed, but the CLI rationale still contradicts the RFC's corrected lifecycle.
Finding
- [P1] Make the CLI lifecycle statement internally consistent.
rfcs/0026-automations-terminology.md:261-264correctly saysbuildProgram()registers commands/help before config bootstrap and help/version can exit before the pre-action hook. Line 308 instead says the CLI “builds its command tree after config load, so a dynamic alias is technically possible.” Both cannot be true, and the latter makes Phase 2 sound implementable without the architecture change the Phase 2 section now requires. Please correct/remove it and state whether Phase 2 needs earlier config bootstrap or keeps CLI names static.
Once fixed, the Phase 1 boundary and RFC 0024 ownership model look coherent to me.
…al identity Introduce AUTOMATIONS_TOOL_NAME + isAutomationsToolName() in src/agents/tools/automations-tool-name.ts as the single source of truth for the scheduler agent tool's name, and convert every exact-name consumer: factory descriptors, deferred-followup availability detection, add-counting, policy deny lists, mutation classification, trusted media set, tool catalog id, system-prompt tool order and tool-line map, sandbox deny defaults, delegation capability map, MCP loopback probes, and local-model lean deny. Behavior-neutral: the constant still resolves to "cron". Prepares the rename in RFC openclaw/rfcs#50 so the flip is a one-line change with no scattered literals.
Flip AUTOMATIONS_TOOL_NAME to "automations" and register the legacy name:
- TOOL_NAME_ALIASES gains cron -> automations, so persisted toolsAllow/
toolsDeny lists, tool groups, and creator allowlists written before the
rename keep matching through the same shipped mechanism as bash -> exec.
No doctor rewrite needed.
- isAutomationsToolName() accepts legacy names so saved transcripts keep
their mutation/replay-safety classification; MUTATING_TOOL_NAMES retains
the legacy entry for the same reason.
- Tool label, catalog label, and tool-search keywords follow the rename
("cron" kept as a search synonym).
- Regression tests cover old-name policy matching (allow and deny), legacy
transcript replay classification, and legacy creator allowlists
normalizing to the canonical id.
Model-facing description strings still say cron; those move in the
follow-up strings PR. Part of RFC openclaw/rfcs#50 Phase 1.
…mations
Rewrites every string the model or user sees that names the feature:
tool label and terminal presentation, display-summary preset, subagents
catalog description, heartbeat guidance, subagent prompt, session labels
(Cron: -> Automation:), default job name, unattended-run preamble, delivery
awareness text, task-ledger progress summary, failure alerts, auto-disable
notification, model preflight diagnostics, validation errors, and the
shipped workspace AGENTS.md template. Adds a system-prompt backstop rule on
the automations tool line: the feature is called automations, never cron.
Cron stays only where it names the schedule syntax ({kind:"cron"}, cron
expressions), config keys (cron.triggers.enabled), RPC method names, and
session-key namespaces. Test fixtures with legacy labels are kept as
stored-data coverage. Part of RFC openclaw/rfcs#50 Phase 1 (PR B).
…mations
Rewrites every string the model or user sees that names the feature:
tool label and terminal presentation, display-summary preset, subagents
catalog description, heartbeat guidance, subagent prompt, session labels
(Cron: -> Automation:), default job name, unattended-run preamble, delivery
awareness text, task-ledger progress summary, failure alerts, auto-disable
notification, model preflight diagnostics, validation errors, and the
shipped workspace AGENTS.md template. Adds a system-prompt backstop rule on
the automations tool line: the feature is called automations, never cron.
Cron stays only where it names the schedule syntax ({kind:"cron"}, cron
expressions), config keys (cron.triggers.enabled), RPC method names, and
session-key namespaces. Test fixtures with legacy labels are kept as
stored-data coverage. Part of RFC openclaw/rfcs#50 Phase 1 (PR B).
* refactor(agents): route scheduler tool-name consumers through canonical identity Introduce AUTOMATIONS_TOOL_NAME + isAutomationsToolName() in src/agents/tools/automations-tool-name.ts as the single source of truth for the scheduler agent tool's name, and convert every exact-name consumer: factory descriptors, deferred-followup availability detection, add-counting, policy deny lists, mutation classification, trusted media set, tool catalog id, system-prompt tool order and tool-line map, sandbox deny defaults, delegation capability map, MCP loopback probes, and local-model lean deny. Behavior-neutral: the constant still resolves to "cron". Prepares the rename in RFC openclaw/rfcs#50 so the flip is a one-line change with no scattered literals. * feat(agents): rename scheduler agent tool cron -> automations Flip AUTOMATIONS_TOOL_NAME to "automations" and register the legacy name: - TOOL_NAME_ALIASES gains cron -> automations, so persisted toolsAllow/ toolsDeny lists, tool groups, and creator allowlists written before the rename keep matching through the same shipped mechanism as bash -> exec. No doctor rewrite needed. - isAutomationsToolName() accepts legacy names so saved transcripts keep their mutation/replay-safety classification; MUTATING_TOOL_NAMES retains the legacy entry for the same reason. - Tool label, catalog label, and tool-search keywords follow the rename ("cron" kept as a search synonym). - Regression tests cover old-name policy matching (allow and deny), legacy transcript replay classification, and legacy creator allowlists normalizing to the canonical id. Model-facing description strings still say cron; those move in the follow-up strings PR. Part of RFC openclaw/rfcs#50 Phase 1. * test(agents): update creator-cap expectations for canonical automations id The creator tool surface derives from normalized live tool names, so derived toolsAllow outputs now emit "automations". Passthrough paths without a creator cap keep storing user input verbatim; those expectations stay on the legacy name as stored-data coverage. * fix(gateway): canonicalize legacy cron tool calls and restore scheduler deny protection Review follow-ups from ClawSweeper and Codex on the rename (RFC 0026): - MCP loopback tools/call resolves legacy "cron" names to the published automations tool without re-advertising the old name in tools/list. - Gateway /tools/invoke canonicalizes legacy names before core-id checks and exact-name dispatch, so pre-rename integrations keep working. - Security fix: dangerous-tools deny lists (owner-only HTTP deny and control-plane set) were keyed on the literal "cron", so the renamed tool silently lost default-deny and owner-only protection on the HTTP invoke surface. Lists now use the canonical constant, and the gateway.tools.allow un-deny filter normalizes both sides so legacy allow entries still lift it. - Voice high-impact confirmation list and MCP serve creator allowlist follow the canonical name. Existing cron-regression suite now proves the legacy path end to end: default deny 404 for both names, legacy allow entry lifts the deny, and non-owner protection holds. * fix(agents): cover stdio MCP legacy calls, probe prompts, and prompt snapshots for the rename - stdio MCP servers (openclaw-tools-serve / plugin tools handlers) resolve legacy "cron" callTool names to the published canonical tool, matching the HTTP loopback behavior; listTools stays canonical-only. - Live probe prompts instruct harnesses to load/call the automations MCP tool (mcp__openclaw__automations) instead of the retired name. - Prompt snapshot fixture filter follows the canonical name (the renamed tool had silently dropped out of the Codex dynamic-tools snapshots); snapshots regenerated as a clean rename. - Type-cast the new mcp-http handler test payloads for check-test-types. * test(agents): update tool-surface expectations for the automations rename CI-surfaced fallout in shards not covered by the focused local runs: tool availability, agent-config filtering, coding-tools construction, model-provider lean policy, and skill dispatch all assert the scheduler tool's surface name. Mock fixtures and expectations follow the canonical id; legacy-name coverage stays in the dedicated policy/creator-cap/invoke regression suites. * test(gateway): update tool-resolution exclude expectations for automations rename * test(security): update trust-model audit expectations for automations rename * docs(agents): declare cron a permanent scheduler-tool alias per owner decision Maintainer decision (Omar): cron is not being retired anywhere — config keys, RPC methods, schedule syntax, and the CLI token all keep it, and the tool alias follows the same permanent contract as bash -> exec. No doctor rewrite and no removal window; comments updated to state the contract instead of a deprecation plan. * chore(agents): regen prompt snapshots after rebase onto main * fix(agents): teach canonical automations tool in fallback guidance and reuse the identity source Review follow-ups: the structured-list fallback still taught models the cron tool; the cron-scope test echoed its own stub; MCP serve allowlist and voice confirmation hardcoded the name instead of the canonical constant. * fix(mcp): place automations identity import outside the header comment --------- Co-authored-by: Omar Shahine <[email protected]>
…mations
Rewrites every string the model or user sees that names the feature:
tool label and terminal presentation, display-summary preset, subagents
catalog description, heartbeat guidance, subagent prompt, session labels
(Cron: -> Automation:), default job name, unattended-run preamble, delivery
awareness text, task-ledger progress summary, failure alerts, auto-disable
notification, model preflight diagnostics, validation errors, and the
shipped workspace AGENTS.md template. Adds a system-prompt backstop rule on
the automations tool line: the feature is called automations, never cron.
Cron stays only where it names the schedule syntax ({kind:"cron"}, cron
expressions), config keys (cron.triggers.enabled), RPC method names, and
session-key namespaces. Test fixtures with legacy labels are kept as
stored-data coverage. Part of RFC openclaw/rfcs#50 Phase 1 (PR B).
…mations (#114852) * fix(agents): teach canonical automations tool in fallback guidance and reuse the identity source Review follow-ups: the structured-list fallback still taught models the cron tool; the cron-scope test echoed its own stub; MCP serve allowlist and voice confirmation hardcoded the name instead of the canonical constant. * fix(mcp): place automations identity import outside the header comment * feat(agents): rename model- and user-facing scheduler strings to automations Rewrites every string the model or user sees that names the feature: tool label and terminal presentation, display-summary preset, subagents catalog description, heartbeat guidance, subagent prompt, session labels (Cron: -> Automation:), default job name, unattended-run preamble, delivery awareness text, task-ledger progress summary, failure alerts, auto-disable notification, model preflight diagnostics, validation errors, and the shipped workspace AGENTS.md template. Adds a system-prompt backstop rule on the automations tool line: the feature is called automations, never cron. Cron stays only where it names the schedule syntax ({kind:"cron"}, cron expressions), config keys (cron.triggers.enabled), RPC method names, and session-key namespaces. Test fixtures with legacy labels are kept as stored-data coverage. Part of RFC openclaw/rfcs#50 Phase 1 (PR B). * docs(templates): keep workspace template on the live docs anchor until the docs PR renames it * fix(cron): rename remaining failure-notification producers and stale test expectations Codex review follow-ups: the per-run failure notification (server-cron- notifications) and the doctor legacy-notify advisory still said Cron job; failure-alert and incomplete-turn suites still asserted the old wording. * chore(plugin-sdk): re-emit plugin-state test runtime dts CI's extension-boundary runner holds stale tsgo incremental state whose cached plugin-state-test-runtime.d.ts predates the keyed-store re-exports; the freshness stamp validates it and reruns reuse the same sticky disk. Touching the module forces incremental emit to regenerate the declaration. Fresh builds of this head (local exact CI command and a forced Testbox rebuild) both emit the exports correctly. * fix(agents): rename residual model- and operator-facing cron prose Found in combined dev-gateway E2E: fallback tool line still told models the scheduler tool is cron; heartbeat scratch description, cron model preflight rejection, doctor and Claw prose still said cron jobs. * fix(agents): finish model-facing scheduler strings flagged in review Loop work-order prompts, subagents tool description, cron-tool write errors, and the headless exec denial label now say automations; loop builders covered by prompt assertions; snapshots regenerated. * chore(agents): refresh generated baselines and live docs anchor after rebase onto main * fix(agents): rename new main-side cron tool error expectations to automations * fix(gateway): rename main-side cron notification test expectations to automations * chore(agents): apply review moves - automations commands in workspace template, drop unrelated sdk comment --------- Co-authored-by: Omar Shahine <[email protected]>
|
Phase 1 of this RFC is fully implemented on openclaw/openclaw main as of today:
Hard contracts intentionally unchanged: cron.* config keys, cron.* RPC methods, SQLite schema/state paths, cron: session-key prefix, {kind:"cron"} schedules, and the 'cron job not found' wire wording for shipped CLI matchers. A live user-path upgrade proof (released 2026.7.1-2 -> combined payload on a Blacksmith Testbox, legacy config allowlist spelled 'cron') is captured in each PR body. Phase 2 (locale-keyed ui.terminology, e.g. 'habits') remains gated on acceptance of this RFC. |
…aw#114841) * refactor(agents): route scheduler tool-name consumers through canonical identity Introduce AUTOMATIONS_TOOL_NAME + isAutomationsToolName() in src/agents/tools/automations-tool-name.ts as the single source of truth for the scheduler agent tool's name, and convert every exact-name consumer: factory descriptors, deferred-followup availability detection, add-counting, policy deny lists, mutation classification, trusted media set, tool catalog id, system-prompt tool order and tool-line map, sandbox deny defaults, delegation capability map, MCP loopback probes, and local-model lean deny. Behavior-neutral: the constant still resolves to "cron". Prepares the rename in RFC openclaw/rfcs#50 so the flip is a one-line change with no scattered literals. * feat(agents): rename scheduler agent tool cron -> automations Flip AUTOMATIONS_TOOL_NAME to "automations" and register the legacy name: - TOOL_NAME_ALIASES gains cron -> automations, so persisted toolsAllow/ toolsDeny lists, tool groups, and creator allowlists written before the rename keep matching through the same shipped mechanism as bash -> exec. No doctor rewrite needed. - isAutomationsToolName() accepts legacy names so saved transcripts keep their mutation/replay-safety classification; MUTATING_TOOL_NAMES retains the legacy entry for the same reason. - Tool label, catalog label, and tool-search keywords follow the rename ("cron" kept as a search synonym). - Regression tests cover old-name policy matching (allow and deny), legacy transcript replay classification, and legacy creator allowlists normalizing to the canonical id. Model-facing description strings still say cron; those move in the follow-up strings PR. Part of RFC openclaw/rfcs#50 Phase 1. * test(agents): update creator-cap expectations for canonical automations id The creator tool surface derives from normalized live tool names, so derived toolsAllow outputs now emit "automations". Passthrough paths without a creator cap keep storing user input verbatim; those expectations stay on the legacy name as stored-data coverage. * fix(gateway): canonicalize legacy cron tool calls and restore scheduler deny protection Review follow-ups from ClawSweeper and Codex on the rename (RFC 0026): - MCP loopback tools/call resolves legacy "cron" names to the published automations tool without re-advertising the old name in tools/list. - Gateway /tools/invoke canonicalizes legacy names before core-id checks and exact-name dispatch, so pre-rename integrations keep working. - Security fix: dangerous-tools deny lists (owner-only HTTP deny and control-plane set) were keyed on the literal "cron", so the renamed tool silently lost default-deny and owner-only protection on the HTTP invoke surface. Lists now use the canonical constant, and the gateway.tools.allow un-deny filter normalizes both sides so legacy allow entries still lift it. - Voice high-impact confirmation list and MCP serve creator allowlist follow the canonical name. Existing cron-regression suite now proves the legacy path end to end: default deny 404 for both names, legacy allow entry lifts the deny, and non-owner protection holds. * fix(agents): cover stdio MCP legacy calls, probe prompts, and prompt snapshots for the rename - stdio MCP servers (openclaw-tools-serve / plugin tools handlers) resolve legacy "cron" callTool names to the published canonical tool, matching the HTTP loopback behavior; listTools stays canonical-only. - Live probe prompts instruct harnesses to load/call the automations MCP tool (mcp__openclaw__automations) instead of the retired name. - Prompt snapshot fixture filter follows the canonical name (the renamed tool had silently dropped out of the Codex dynamic-tools snapshots); snapshots regenerated as a clean rename. - Type-cast the new mcp-http handler test payloads for check-test-types. * test(agents): update tool-surface expectations for the automations rename CI-surfaced fallout in shards not covered by the focused local runs: tool availability, agent-config filtering, coding-tools construction, model-provider lean policy, and skill dispatch all assert the scheduler tool's surface name. Mock fixtures and expectations follow the canonical id; legacy-name coverage stays in the dedicated policy/creator-cap/invoke regression suites. * test(gateway): update tool-resolution exclude expectations for automations rename * test(security): update trust-model audit expectations for automations rename * docs(agents): declare cron a permanent scheduler-tool alias per owner decision Maintainer decision (Omar): cron is not being retired anywhere — config keys, RPC methods, schedule syntax, and the CLI token all keep it, and the tool alias follows the same permanent contract as bash -> exec. No doctor rewrite and no removal window; comments updated to state the contract instead of a deprecation plan. * chore(agents): regen prompt snapshots after rebase onto main * fix(agents): teach canonical automations tool in fallback guidance and reuse the identity source Review follow-ups: the structured-list fallback still taught models the cron tool; the cron-scope test echoed its own stub; MCP serve allowlist and voice confirmation hardcoded the name instead of the canonical constant. * fix(mcp): place automations identity import outside the header comment --------- Co-authored-by: Omar Shahine <[email protected]>
…mations (openclaw#114852) * fix(agents): teach canonical automations tool in fallback guidance and reuse the identity source Review follow-ups: the structured-list fallback still taught models the cron tool; the cron-scope test echoed its own stub; MCP serve allowlist and voice confirmation hardcoded the name instead of the canonical constant. * fix(mcp): place automations identity import outside the header comment * feat(agents): rename model- and user-facing scheduler strings to automations Rewrites every string the model or user sees that names the feature: tool label and terminal presentation, display-summary preset, subagents catalog description, heartbeat guidance, subagent prompt, session labels (Cron: -> Automation:), default job name, unattended-run preamble, delivery awareness text, task-ledger progress summary, failure alerts, auto-disable notification, model preflight diagnostics, validation errors, and the shipped workspace AGENTS.md template. Adds a system-prompt backstop rule on the automations tool line: the feature is called automations, never cron. Cron stays only where it names the schedule syntax ({kind:"cron"}, cron expressions), config keys (cron.triggers.enabled), RPC method names, and session-key namespaces. Test fixtures with legacy labels are kept as stored-data coverage. Part of RFC openclaw/rfcs#50 Phase 1 (PR B). * docs(templates): keep workspace template on the live docs anchor until the docs PR renames it * fix(cron): rename remaining failure-notification producers and stale test expectations Codex review follow-ups: the per-run failure notification (server-cron- notifications) and the doctor legacy-notify advisory still said Cron job; failure-alert and incomplete-turn suites still asserted the old wording. * chore(plugin-sdk): re-emit plugin-state test runtime dts CI's extension-boundary runner holds stale tsgo incremental state whose cached plugin-state-test-runtime.d.ts predates the keyed-store re-exports; the freshness stamp validates it and reruns reuse the same sticky disk. Touching the module forces incremental emit to regenerate the declaration. Fresh builds of this head (local exact CI command and a forced Testbox rebuild) both emit the exports correctly. * fix(agents): rename residual model- and operator-facing cron prose Found in combined dev-gateway E2E: fallback tool line still told models the scheduler tool is cron; heartbeat scratch description, cron model preflight rejection, doctor and Claw prose still said cron jobs. * fix(agents): finish model-facing scheduler strings flagged in review Loop work-order prompts, subagents tool description, cron-tool write errors, and the headless exec denial label now say automations; loop builders covered by prompt assertions; snapshots regenerated. * chore(agents): refresh generated baselines and live docs anchor after rebase onto main * fix(agents): rename new main-side cron tool error expectations to automations * fix(gateway): rename main-side cron notification test expectations to automations * chore(agents): apply review moves - automations commands in workspace template, drop unrelated sdk comment --------- Co-authored-by: Omar Shahine <[email protected]>
Summary
RFC 0026 proposes finishing the cron → Automations rename so the word "cron" never appears in user-facing UX or model-visible text when naming the feature, and adding a
ui.terminologyconfig so tailored deployments can use a custom term (e.g. "Habits").Key boundaries:
cron.*, gateway RPCcron.*methods, SQLite tables, state paths, session-key prefix, and theopenclaw cronCLI token (kept as alias) are untouched — no protocol bump, no storage migration.--cron,{kind:"cron"}), mirroring the split the UI schedule selector and docs already draw.automationswith allow-list alias, system prompt, heartbeat guidance, session labels, delivery notices), UI leftovers (~8 catalog values + 1 hardcoded prefix +/cronroute alias + command palette), CLI alias + prose, doctor prose, docs body copy.ui.terminology.automation.{singular,plural}injected via existing i18n param interpolation, prompt-builder templating, and CLI formatters.Backed by a four-surface audit of the current codebase (agent-facing strings, CLI, web UI i18n catalog, config schema/docs); file references inline in the RFC.
Status: draft, per RFC lifecycle. Discussion thread in
maintainer-discussionto follow.🤖 Generated with Claude Code
https://claude.ai/code/session_01WhJ8EiMXue6ADLmHfb7FL6