feat(profile): 建立技术能力契约与校验器

This commit is contained in:
zhiye.sun
2026-09-03 17:11:47 +08:00
parent f7ea0dcd86
commit 381308e04a
9 changed files with 286 additions and 0 deletions
@@ -0,0 +1,10 @@
# 提供方发现协议
1. 当前会话的 Skill 清单是提供方是否可用的唯一运行时依据。
2. 消费者请求已发现的 `<provider>:profile`,由提供方读取自己的清单和资料。
3. 没有发现对应 Skill 时返回 `missing`,不扫描用户插件缓存。
4. Profile 插件不维护运行时注册表,不读取其他插件目录。
5. 新增或更新插件后的真实发现行为必须在安装后的新会话验证。
仓库静态校验只能证明声明有效,不能证明插件已经安装或当前会话已经加载。