Skip to content

Commit 03bc287

Browse files
committed
fix: remove governance entries from dynamic plugin README documentation
1 parent a1cd518 commit 03bc287

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

apps/lina-core/pkg/plugin/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,6 @@ This chapter lists the `hostServices` service names dynamic plugins can declare
305305
| `users.tenants.list` | List tenants visible to one user. |
306306
| `tenants.switch.validate` | Validate one tenant switch target. |
307307

308-
Reserved governance entries currently exist for `secret.resolve`, `event.publish`, and `queue.enqueue`. They are part of the descriptor catalog for future governance alignment, but they are not published guest-callable methods and should not be used for executable dynamic plugin calls until host dispatcher and guest SDK support is added.
309-
310308
## Developer Guide
311309

312310
- Use `capability.Services` when a source plugin or host package needs ordinary read-oriented plugin-facing capabilities.

apps/lina-core/pkg/plugin/README.zh-CN.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,6 @@ hostServices:
305305
| `users.tenants.list` | 列出单个用户可见的租户。 |
306306
| `tenants.switch.validate` | 校验一个租户切换目标。 |
307307

308-
当前还存在`secret.resolve`、`event.publish`和`queue.enqueue`预留治理条目。它们属于描述符目录,用于后续治理对齐,但不是已发布的`guest`可调用方法;在宿主分发器和`guest SDK`支持补齐前,不应把它们用于可执行动态插件调用。
309-
310308
## 开发者指南
311309

312310
- 源码插件或宿主包需要普通读取型插件可见能力时,使用`capability.Services`。

openspec/changes/simplify-dynamic-ai-host-service-auth/tasks.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@
1515
- [x] 3.1 更新并运行`pluginbridge``WASM` host service 单元测试,覆盖`ai.resources`拒绝、方法授权成功和未授权方法拒绝
1616
- [x] 3.2 运行 Go 编译门禁和`openspec validate simplify-dynamic-ai-host-service-auth --strict`
1717
- [x] 3.3 执行`lina-review`,确认 OpenSpec、插件、后端 Go、测试、文档和`i18n`影响均已闭环
18+
19+
## Feedback
20+
21+
- [x] **FB-1**: 删除动态插件 README 中`secret.resolve``event.publish``queue.enqueue`预留治理条目说明

0 commit comments

Comments
 (0)