Skip to content

ci(chat-kernel): 修复 Chat Kernel and UI gates 中可机械修复的三处失败 - #213

Merged
lioensky merged 1 commit into
lioensky:mainfrom
1902435792:fix/chat-kernel-ci
Sep 28, 2026
Merged

lioensky merged 1 commit into
lioensky:mainfrom
1902435792:fix/chat-kernel-ci

Conversation

@1902435792

Copy link
Copy Markdown

目前 main 上的 "Chat Kernel and UI gates" 对所有 PR 都会失败(如 #212 及 9/21、9/26 的 PR)。 本 PR 只修复其中可机械修复、不涉及设计决策的三处:

  • tests/content-pipeline.test.mjs:c31f6af9(加强代码块围栏)为 STREAM_FAST 路径新增了 protect-code-blocks / restore-code-blocks,同步测试的期望步骤。 无代码块时 codeBlockMap 仍为 null,原有断言不变。
  • docs/contracts/generated/chat-event-graph.json:用 npm run build:chat-event-graph 重新生成 (此前缺少 ProjectForge、fileKit、BladeGame、ChartController 等新文件)。
  • docs/contracts/chat-contracts.json:登记 modules/loom/webcore/comfyui-main-world-bridge.js 第 271、276 行两处 RESPONSE_EVENT 动态事件(常量 'vcp-comfyui-agent-response', 消费者 comfyui-page-adapter.js)。暂无自动化测试,status 如实标为 manual_required。

本地复现验证(Linux、Node 20、Rust stable):

  • npm run test:chat-kernel:182/182 通过
  • npm run check:chat-evidence:全部通过(含 built-artifact smoke、transcript snapshot)

仍需维护者处理(本 PR 未改动,均为现有 main 的问题):

  1. guard:next-delta:scripts/next-delta-shared-baseline.json 中 10 个文件有 6 个 sha256 已过期 (chatManager、messageRenderer、topicListManager、itemListManager、grouprenderer、settingsManager), 需人工审阅后更新 hash 与 reason。
  2. guard:ui-system:modules/ui-system/settings/group-slots.js contains inline style mutation。
  3. test:appearance-engine:断言 "global wallpaper applies glass locally to the sidebar" 失败。
  4. guard:design-subtraction 以 merge-base(HEAD, origin/main) 为基准,任何修改 allowlist 以外文件的 PR 都会失败(例如 fix(ProjectForge): 写盘前复核 hash、Rollback 原子化、py_compile 异步化 #212 修改 ProjectForge / fileKit 即被拦截)。是否将其限定为设计系统相关 PR,请维护者决定。

目前 main 上的 "Chat Kernel and UI gates" 对所有 PR 都会失败(如 lioensky#212 及 9/21、9/26 的 PR)。
本 PR 只修复其中可机械修复、不涉及设计决策的三处:

- tests/content-pipeline.test.mjs:c31f6af9(加强代码块围栏)为 STREAM_FAST 路径新增了
  protect-code-blocks / restore-code-blocks,同步测试的期望步骤。
  无代码块时 codeBlockMap 仍为 null,原有断言不变。
- docs/contracts/generated/chat-event-graph.json:用 npm run build:chat-event-graph 重新生成
  (此前缺少 ProjectForge、fileKit、BladeGame、ChartController 等新文件)。
- docs/contracts/chat-contracts.json:登记 modules/loom/webcore/comfyui-main-world-bridge.js
  第 271、276 行两处 RESPONSE_EVENT 动态事件(常量 'vcp-comfyui-agent-response',
  消费者 comfyui-page-adapter.js)。暂无自动化测试,status 如实标为 manual_required。

本地复现验证(Linux、Node 20、Rust stable):
- npm run test:chat-kernel:182/182 通过
- npm run check:chat-evidence:全部通过(含 built-artifact smoke、transcript snapshot)

仍需维护者处理(本 PR 未改动,均为现有 main 的问题):
1. guard:next-delta:scripts/next-delta-shared-baseline.json 中 10 个文件有 6 个 sha256 已过期
   (chatManager、messageRenderer、topicListManager、itemListManager、grouprenderer、settingsManager),
   需人工审阅后更新 hash 与 reason。
2. guard:ui-system:modules/ui-system/settings/group-slots.js contains inline style mutation。
3. test:appearance-engine:断言 "global wallpaper applies glass locally to the sidebar" 失败。
4. guard:design-subtraction 以 merge-base(HEAD, origin/main) 为基准,任何修改 allowlist 以外文件的 PR
   都会失败(例如 lioensky#212 修改 ProjectForge / fileKit 即被拦截)。是否将其限定为设计系统相关 PR,请维护者决定。
@lioensky
lioensky merged commit 071236d into lioensky:main Sep 28, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants