From a286393216599ecf7c2270217b884f26a2dcd4cc Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Mon, 27 Apr 2026 17:13:03 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@5531502cb00986ffc63558a1f40900171472c075 --- .openclaw-sync/source.json | 4 ++-- docs/plugins/architecture.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index c89510aa9..f2e64e212 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "efc3a52947e9f0909569bf23dc9c5d1544f6aec3", - "syncedAt": "2026-04-27T16:43:24.967Z" + "sha": "5531502cb00986ffc63558a1f40900171472c075", + "syncedAt": "2026-04-27T17:11:34.610Z" } diff --git a/docs/plugins/architecture.md b/docs/plugins/architecture.md index 21969c4a3..e9cb2b768 100644 --- a/docs/plugins/architecture.md +++ b/docs/plugins/architecture.md @@ -151,6 +151,8 @@ Gateway startup builds one `PluginMetadataSnapshot` for the current config snaps Plugin-aware config validation, startup auto-enable, and Gateway plugin bootstrap consume that snapshot instead of rebuilding manifest/index metadata independently. `PluginLookUpTable` is derived from the same snapshot and adds the startup plugin plan for the current runtime config. +After startup, Gateway keeps the current metadata snapshot as a replaceable runtime product. Repeated runtime provider discovery can borrow that snapshot instead of reconstructing the installed index and manifest registry for each provider-catalog pass. The snapshot is cleared or replaced on Gateway shutdown, config/plugin inventory changes, and installed index writes; callers fall back to the cold manifest/index path when no compatible current snapshot exists. Compatibility checks must include plugin discovery roots such as `plugins.load.paths` and the default agent workspace, because workspace plugins are part of the metadata scope. + The snapshot and lookup table keep repeated startup decisions on the fast path: - channel ownership