Skip to content

chore: 重新生成过期的 protocol registry 文档(修复 main CI 与全部 PR 的 Go checks 失败) - #511

Merged
Qiyuanqiii merged 1 commit into
mainfrom
Qiyuanqiii/protocol-registry-regen
Oct 28, 2026
Merged

Qiyuanqiii merged 1 commit into
mainfrom
Qiyuanqiii/protocol-registry-regen

Conversation

@Qiyuanqiii

Copy link
Copy Markdown
Member

What this fixes

main 自身的 CI 自 2026-10-27 18:20 起在 "Verify classified protocol registry and reader history" 步骤失败(docs/convergence/protocol-registry.md is stale; run go run ./cmd/protocolregistry -write),导致基于 main 的全部 open PR 的 Go checks / Go control plane 一并继承失败、整条 PR 队列被阻塞。

根因:#468 合并时更新了 protocols/registry.json(anthropic 原生搜索与 chatgpt request runtime 标识符入册),但生成产物 docs/convergence/protocol-registry.md 未随之重新生成——desktop-web-presentation-state 家族的计数停留在 23(实际 24)。

What this changes

go run ./cmd/protocolregistry -write 的纯工具输出(+2/-2):family 汇总表与 <details> 计数 23 → 24。无任何手写内容、无其他文件改动。

OCR delegate review(提交前执行)

ocr delegate preview/rule + 独立评审子代理全文核验,结论通过:

  • diff 仅触及该文件(+2/-2),无手写叙述;
  • 43 个族逐族严格比对计数与有序标识符列表,0 不匹配;
  • 抽查 desktop-web-presentation-state(24 个标识符逐一在 web/src 找到声明)与 web-evidence-tools(anthropic_native_search.v1 ↔ internal/webevidence/anthropic_search_provider.go);
  • -check 复跑:protocol registry is synchronized (43 families, 1254 identifiers, 129 explicit test/golden entries),exit=0。

Validation

  • 本地复现 CI 失败命令 go run ./cmd/protocolregistry -check -baseline 325e69043ae2cb19a6b831527d830bafa67aad21(PR 基线)→ 修复前 stale、修复后 synchronized;
  • 对当前 main(8d9ce6ac)基线同样 synchronized。

Note

合并本 PR 后,当前因继承失败而显示红的 open PR(#479/#489/#492/#494/#508/#509/#510 等)需要 Update branch 或重跑失败 job 才会转绿。

AI assistance and contributor review

  • Root-cause analysis and regeneration assisted by Claude (ZCode); commit authored by Claude <claude@users.noreply.github.com>.
  • Contributor self-review complete.

docs/convergence/protocol-registry.md went stale when the registry gained
the anthropic native search and chatgpt request runtime identifiers
(registry.json updated by #468 without regenerating the generated doc).
Every PR based on main then fails the 'Verify classified protocol registry
and reader history' step with 'docs/convergence/protocol-registry.md is
stale', blocking the whole queue.

Pure tool output from 'go run ./cmd/protocolregistry -write'; -check passes
against both the PR baseline and current main.
@Qiyuanqiii
Qiyuanqiii merged commit be9d7ab into main Oct 28, 2026
13 checks passed
@Qiyuanqiii
Qiyuanqiii deleted the Qiyuanqiii/protocol-registry-regen branch October 28, 2026 02:46
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