Repository navigation
Conversation
|
和 #2002 撞车了:同一个 issue、同样 5 个文件、同样这 15 处编号(含 12.1 重复行与 两处可以给 #2002 参考的验证结果已贴到那边评论:修复后 5 个文件的坏编号与重复标题均为 0;01/02/05/06/12 的中文编号序列与英文源一致,04 是英文编号序列的子序列(英文 3.2/6.4 等整节缺译,属另一个 P0 方向,不在本 PR); |
|
Closed as a duplicate of #2002, which covered the same five files and the same fixes 11 minutes earlier. Not merged. Thanks for checking before pushing #2002 onward rather than letting the two compete — and for the three out-of-scope findings you posted there. Two of them were correct and are worth recording:
Two smaller notes. The issue asked for 17 broken headings across six files; the real count on |
|
Correction to my previous comment: I said the What is worth a look is the heading text alone. The other two findings stand as you reported them:
|
Related to #2000
范围
按 issue 的 P0「机械修复」,只修正中文规格里被写坏的标题编号(
3. 1→3.1这类),不重排结构、不改正文内容、不碰英文源文件。对照对象是英文源规格docs/spec/07-plugins/中同名文件的标题编号序列。核对文档:
docs/zh-CN/spec/07-plugins/下的01-plugin-system.md、02-plugin-manifest-schema.md、04-plugin-security.md、05-plugin-lifecycle.md、12-plugin-ipc-and-host-services.md(另检查了06-plugin-packaging.md,见下)。对照文件:
docs/spec/07-plugins/同名英文规格(仅作编号参照,未修改)。改动(5 个文件,14 处编辑)
01-plugin-system.md(7 处)### 6. 1 主机主→### 6.1 主机主### 6. 2 插件运行时(受限)→### 6.2 插件运行时(受限)### 6. 3 插件面板用户界面→### 6.3 插件面板用户界面### 12. 1 激活范围控制重复出现两行 → 合并为一处### 12.1 激活范围控制(重复标题也会让锚点失效)### 12. 2 设置 > 智能体中的 MCP 管理→### 12.2 设置 > 智能体中的 MCP 管理### 12. 3 设置 > 智能体中的技能管理→### 12.3 设置 > 智能体中的技能管理02-plugin-manifest-schema.md(2 处)## 5. 1 总线主题语法→## 5.1 总线主题语法## 9. 1 示例:能力贡献→## 9.1 示例:能力贡献04-plugin-security.md(4 处)## 3. 1 贡献主题CSS→## 3.1 贡献主题 CSS(issue 示例要求的编号与中英文间空格)## 5. 1 插件间消息总线→## 5.1 插件间消息总线## 7. 1 到达代理的技能和 MCP 工具→## 7.1 到达代理的技能和 MCP 工具## 8. 1 MCP 服务器出口和凭证→## 8.1 MCP 服务器出口和凭证05-plugin-lifecycle.md(1 处)## 3. 1 居民服务→## 3.1 居民服务12-plugin-ipc-and-host-services.md(1 处)## 4. 1 事件(主机→插件进程)→## 4.1 事件(主机→插件进程)与 issue 统计的差异
issue 写的是「6 个文件共 17 处」,分布 01(7)、02(2)、04(4)、05(1)、06(2)、12(1)。我在当前
main(97cc04d)上复现:grep -rnE '^#{1,6} [0-9]+\. [0-9]+' docs/zh-CN/spec/07-plugins/实测为 5 个文件共 15 处:01(7,含 12.1 重复一次)、02(2)、04(4)、05(1)、12(1);
06-plugin-packaging.md共 9 个标题,与英文 9 个标题的编号序列完全一致,没有坏编号。另外在01发现 12.1 重复标题一处(上面已合并)。以实际可复现结果为准,未改动 06。验证
docs-only,不改变任何行为,因此不需要 spec/E2E 文档更新;未改代码、未改英文、未重排结构。
另发现(不在本 PR,留作后续 P0/P1)
04-plugin-security.md中文缺英文的3.2 Session collaboration boundary、6.4 Dropped-file grants等整节(issue「一、1」已列出)。01-plugin-system.md的6.1 主机主标题疑似被截断(英文对应小节标题为Host main),本 PR 只修编号、未猜写正文。docs/plugin-development.md指向07-plugins/03-plugin-api.md#projects-workspace-fs的锚点在当前 main 上不存在(既有失效链接,与本 PR 无关)。