已合并
feat: 先合入索引摘要生成器并规范中文导航 #67
zhanghz1创建于 9月28日
feat: 先合入索引摘要生成器并规范中文导航 #67
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 zhanghz1 的贡献)9月28日 添加了label:cann-cla/yes
CANN-robot
9月28日 评论:
9月28日 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/cannbot-knowledge | ✅ qq_41667743, wangsj0012 (2/2) | ✅ qq_41667743 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
zhanghz1, thanks for your pull request. All authors of the commits have signed the CLA. 👍


CANN-robot
9月28日 评论:
9月28日 评论:
zhanghz1
9月28日 评论:
9月28日 评论:
/compile


9月28日 预合并成功(commit_id: ea285d425c3236b1e00ec00701e35b92e1610139)
CANN-robot
9月28日 评论:
9月28日 评论:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


9月28日 添加了label:ci-pipeline-running
9月28日 删除了label:ci-pipeline-running
9月28日 添加了label:ci-pipeline-passed
9月28日 预合并成功(commit_id: 24c685bc367589c28c4d18f74eb066e97717f01b)
9月28日 预合并成功(commit_id: 0b7bcb43feafc395eff1f719776ad9b4ca8616cd)
9月28日 删除了label:cann-cla/yes
9月28日 删除了label:ci-pipeline-passed
CANN-robot
9月28日 评论:
9月28日 评论:
9月28日 添加了label:cann-cla/yes
9月28日 修改标题为 “feat: 先合入索引摘要生成器并规范中文导航”,原标题为“ci: 为 PR #58 索引迁移提供受信检查并规范中文导航”
9月28日 修改了pull request 的描述
zhanghz1
9月28日 评论:
9月28日 评论:
/compile


9月28日 预合并成功(commit_id: ff998a27494df9808679775d3a1305038a0b8ccb)
CANN-robot
9月28日 评论:
9月28日 评论:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


9月28日 添加了label:ci-pipeline-running
9月28日 删除了label:ci-pipeline-running
9月28日 添加了label:ci-pipeline-passed
9月28日 添加了label:approved
wangshaojun
9月28日 评论:
9月28日 评论:
/lgtm


9月28日 添加了label:lgtm
9月28日 合入了pull request
Pull Request 说明
PR #58 同时修改索引生成器和 85 个
index.md,在当前 CI 的受信快照机制下,旧 master 生成器会把新索引判为 stale。维护者已接受短暂窗口期,因此先合入生成器代码,再由 PR #58 合入再生成索引。本 PR 将 PR #58 中的
governance/contracts/indexes.py和evals/test_governance.py原样提前合入:摘要优先使用目录概述卡,并正确统计一级子目录及卡片数。同时在AGENTS.md规定新增或修改的索引导航以中文表述,保留必要技术标识原文;当天日志记录此次分步迁移。本 PR 不修改任何knowledge/**/index.md,也不修改.gitcode/。本地验证:索引摘要 9 项单测通过;两份 Python 文件与 PR #58 当前版本的 Git blob 完全一致;
git diff --check通过。由于索引留待第二步,使用新生成器检查当前旧知识树会报告预期的 85 个index.stale,因此此阶段的bash check.sh不能通过;严格 Lint 的 85 项 Finding 均为index.stale,没有其他问题。当前环境未安装ruff,未执行该项本地检查。合入顺序:
logs/2026-09-28.md冲突,并把日志中旧的“原子单 PR / CI override”叙述改为实际两步方案。此时两个 Python 文件已由本 PR 提前合入,#58 应主要剩余 85 个再生成索引和相应日志。/compile与bash check.sh,确认新索引和新生成器自洽后尽快合入,结束窗口期。变更类型
验证