惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Security Blog
Microsoft Security Blog
WordPress大学
WordPress大学
Stack Overflow Blog
Stack Overflow Blog
D
DataBreaches.Net
罗磊的独立博客
博客园 - 司徒正美
Last Week in AI
Last Week in AI
The Cloudflare Blog
大猫的无限游戏
大猫的无限游戏
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog RSS Feed
The GitHub Blog
The GitHub Blog
宝玉的分享
宝玉的分享
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
小众软件
小众软件
Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hugging Face - Blog
Hugging Face - Blog
B
Blog
博客园 - 【当耐特】
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
refactor: drop legacy implicit startup sidecar fallback ·...
steipete · 2026-05-02 · via Recent Commits to openclaw:main

@@ -255,24 +255,15 @@ embedded agent harness ids that do not already have an ownership field.

255255

This block is metadata only. It does not register runtime behavior, and it does

256256

not replace `register(...)`, `setupEntry`, or other runtime/plugin entrypoints.

257257

Current consumers use it as a narrowing hint before broader plugin loading, so

258-

missing activation metadata usually only costs performance; it should not

259-

change correctness while legacy manifest ownership fallbacks still exist.

260-261-

Every plugin should set `activation.onStartup` intentionally as OpenClaw moves

262-

away from implicit startup imports. Set it to `true` only when the plugin must

263-

run during Gateway startup. Set it to `false` when the plugin is inert at

264-

startup and should load only from narrower triggers. Omitting `onStartup` keeps

265-

the deprecated legacy implicit startup sidecar fallback for plugins with no

266-

static capability metadata; future versions may stop startup-loading those

267-

plugins unless they declare `activation.onStartup: true`. Plugin status and

268-

compatibility reports warn with `legacy-implicit-startup-sidecar` when a plugin

269-

still relies on that fallback.

270-271-

For migration testing, set

272-

`OPENCLAW_DISABLE_LEGACY_IMPLICIT_STARTUP_SIDECARS=1` to disable only that

273-

deprecated fallback. This opt-in mode does not block explicit

274-

`activation.onStartup: true` plugins or plugins loaded by channel, config,

275-

agent-harness, memory, or other narrower activation triggers.

258+

missing non-startup activation metadata usually only costs performance; it

259+

should not change correctness while manifest ownership fallbacks still exist.

260+261+

Every plugin should set `activation.onStartup` intentionally. Set it to `true`

262+

only when the plugin must run during Gateway startup. Set it to `false` when

263+

the plugin is inert at startup and should load only from narrower triggers.

264+

Omitting `onStartup` no longer startup-loads the plugin implicitly; use explicit

265+

activation metadata for startup, channel, config, agent-harness, memory, or

266+

other narrower activation triggers.

276267277268

```json

278269

{

@@ -288,21 +279,21 @@ agent-harness, memory, or other narrower activation triggers.

288279

}

289280

```

290281291-

| Field | Required | Type | What it means |

292-

| ------------------ | -------- | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

293-

| `onStartup` | No | `boolean` | Explicit Gateway startup activation. Every plugin should set this. `true` imports the plugin during startup; `false` opts out of the deprecated implicit sidecar startup fallback unless another matched trigger requires loading. |

294-

| `onProviders` | No | `string[]` | Provider ids that should include this plugin in activation/load plans. |

295-

| `onAgentHarnesses` | No | `string[]` | Embedded agent harness runtime ids that should include this plugin in activation/load plans. Use top-level `cliBackends` for CLI backend aliases. |

296-

| `onCommands` | No | `string[]` | Command ids that should include this plugin in activation/load plans. |

297-

| `onChannels` | No | `string[]` | Channel ids that should include this plugin in activation/load plans. |

298-

| `onRoutes` | No | `string[]` | Route kinds that should include this plugin in activation/load plans. |

299-

| `onConfigPaths` | No | `string[]` | Root-relative config paths that should include this plugin in startup/load plans when the path is present and not explicitly disabled. |

300-

| `onCapabilities` | No | `Array<"provider" \| "channel" \| "tool" \| "hook">` | Broad capability hints used by control-plane activation planning. Prefer narrower fields when possible. |

282+

| Field | Required | Type | What it means |

283+

| ------------------ | -------- | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

284+

| `onStartup` | No | `boolean` | Explicit Gateway startup activation. Every plugin should set this. `true` imports the plugin during startup; `false` keeps it startup-lazy unless another matched trigger requires loading. |

285+

| `onProviders` | No | `string[]` | Provider ids that should include this plugin in activation/load plans. |

286+

| `onAgentHarnesses` | No | `string[]` | Embedded agent harness runtime ids that should include this plugin in activation/load plans. Use top-level `cliBackends` for CLI backend aliases. |

287+

| `onCommands` | No | `string[]` | Command ids that should include this plugin in activation/load plans. |

288+

| `onChannels` | No | `string[]` | Channel ids that should include this plugin in activation/load plans. |

289+

| `onRoutes` | No | `string[]` | Route kinds that should include this plugin in activation/load plans. |

290+

| `onConfigPaths` | No | `string[]` | Root-relative config paths that should include this plugin in startup/load plans when the path is present and not explicitly disabled. |

291+

| `onCapabilities` | No | `Array<"provider" \| "channel" \| "tool" \| "hook">` | Broad capability hints used by control-plane activation planning. Prefer narrower fields when possible. |

301292302293

Current live consumers:

303294304295

- Gateway startup planning uses `activation.onStartup` for explicit startup

305-

import and opt-out of deprecated implicit sidecar startup fallback

296+

import

306297

- command-triggered CLI planning falls back to legacy

307298

`commandAliases[].cliCommand` or `commandAliases[].name`

308299

- agent-runtime startup planning uses `activation.onAgentHarnesses` for