Skip to content

Commit 2841c87

Browse files
omarshahineclaude
andcommitted
RFC 0026: cron is a permanent tool alias per owner decision, no doctor rewrite
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WhJ8EiMXue6ADLmHfb7FL6
1 parent a2dd348 commit 2841c87

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

‎rfcs/0026-automations-terminology.md‎

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Automations Terminology and Configurable Feature Naming
33
authors:
44
- Omar Shahine
55
created: 2026-07-23
6-
last_updated: 2026-07-25
6+
last_updated: 2026-07-27
77
status: draft
88
issue:
99
rfc_pr: https://github.com/openclaw/rfcs/pull/50
@@ -114,14 +114,16 @@ Phase 2 stalls, Phase 1 still leaves the product consistent.
114114
`src/agents/local-model-lean.ts`, the system-prompt `toolOrder` list,
115115
the tool-catalog entry, and tool-policy allow/deny resolution including
116116
groups and profiles.
117-
- **Persisted policy.** `openclaw doctor --fix` rewrites stored
118-
`toolsAllow`/`toolsDeny` entries `"cron"` → `"automations"`. Until
119-
rewritten, policy resolution normalizes the legacy name through the
120-
predicate so existing configs keep constructing and permitting the tool.
121-
- **Invocation compat.** The tool router accepts a model-emitted `cron`
122-
tool call as `automations` for one release train (sessions upgraded
123-
mid-conversation carry old schema bytes in cached context), with the
124-
removal plan named at the alias site.
117+
- **Permanent alias (owner decision).** `"cron"` remains a permanently
118+
accepted spelling for the tool — in persisted `toolsAllow`/`toolsDeny`
119+
lists via `TOOL_NAME_ALIASES` (the same shipped contract as
120+
`bash -> exec`), and for inbound calls at every external dispatch
121+
boundary (MCP `tools/call`, gateway `POST /tools/invoke`, stdio MCP
122+
servers), which resolve it to the published canonical tool without
123+
re-advertising it. Nothing is being retired — `cron.*` config keys, RPC
124+
methods, schedule syntax, and the CLI token all keep the name — so this
125+
is standing vocabulary, not migration debt: no doctor rewrite, no
126+
removal window.
125127
- **Transcripts and tool cards.** Historical transcripts keep the literal
126128
`cron` tool name; renderers already display arbitrary tool names and
127129
must not special-case it. No transcript rewriting.
@@ -293,8 +295,8 @@ a seam that presents a different name to the model than the runtime id is a
293295
rename with extra indirection — the same name-keyed consumers must be
294296
audited either way, plus a permanent translation layer. Renaming once,
295297
through the canonical migration contract in Phase 1 (single constant,
296-
predicate, doctor rewrite, bounded invocation alias, regression tests), is
297-
the smaller permanent surface.
298+
predicate, permanent policy/dispatch alias, regression tests), is the
299+
smaller permanent surface.
298300

299301
**Why placeholders in i18n rather than a term-resolution layer in the
300302
translator?** Parameter interpolation already exists and is visible in the
@@ -322,9 +324,9 @@ follows the `ui.assistant.name` precedent.
322324
sweep controls first-party text, but the model can still say "cron" when
323325
discussing cron expressions or third-party content. Proposed line: syntax
324326
mentions are fine, feature mentions are not. Is that the accepted bar?
325-
- **Invocation-alias window.** The tool router accepts model-emitted `cron`
326-
calls for one release train; confirm one train is enough for long-lived
327-
sessions, or whether the alias should key off session age instead.
327+
- ~~**Invocation-alias window.**~~ Resolved by owner decision during
328+
implementation (openclaw/openclaw#114841): the alias is permanent, not
329+
windowed — same contract as `bash -> exec`.
328330
- **RFC 0024 adoption boundary.** Which terminology-interpolated surfaces
329331
count as "adopted localized surfaces" under RFC 0024's coverage checks in
330332
v1 — Control UI only, or agent-visible prompt text too (which is not

0 commit comments

Comments
 (0)