Merged
feat(tilelang): 将cannbot-skill中tilelang工作流迁移至cannbot中 #206
hedi0515Add on Oct 23
feat(tilelang): 将cannbot-skill中tilelang工作流迁移至cannbot中 #206
Merged
hedi0515Add on Oct 23
hedi0515
hedi0515Collaborators
Oct 23

描述

将 tilelang-op-orchestrator 编排层从 cannbot-skills 迁入 cannbot/plugins-official/。保留独立的 Ascend910 / Ascend950 工作流、角色正文和业务门禁;共享 Skill 仍由 cannbot-skills 维护,本仓负责安装、客户端入口与插件分发。

源码安装默认在插件目录生效;显式安装到已有项目时,只更新 TileLang 受管区块,保留项目规则及其他插件入口,无法安全合并时明确报错退出。

迁移评估与核对清单

已将“资产归属、vendor/安装引用、marketplace 登记、ST 与文档迁移、旧仓清理”纳入迁移评估。以下区分本 PR 已完成的工作与仍需配套 PR / 验证关闭的事项,避免把目录搬迁等同于迁移闭环。

核对项 资产归属与本 PR 处理 证据 / 验证 状态与后续
资产归属 合入后,AGENTS.md、6 个角色及 Codex 适配、两套 workflows/、references/、hooks 和插件级 evals 以 cannbot 为编排维护源。13 个共享 Skill 的正文、模板、脚本及各自 evals 继续以 cannbot-skills 的 ops/ 为维护源;npm 包内副本是构建产物,不作为第二份开发源。 插件入口;共享 Skill 声明 ✅ 已完成:明确编排层与共享 Skill 的维护边界。旧仓编排副本的冻结 / 移除见“旧仓清理”;后续不得双份更新编排正文。
vendor / 安装引用 复用 vendor/cannbot-skills,仅在 plugin-sources.json 声明 13 项依赖。源码安装支持 --skills SHA 或本地仓路径,按名称发现共享 Skill;打包时装配所需 Skill,不迁移共享 Skill 的维护权。默认配置留在 TileLang 插件目录,显式项目路径仍可用。 安装适配;源码安装器 ✅ 已完成:安装和打包装配接入。共享 Skill / 分发版本更新时须同步检查依赖声明、SHA 和构建结果。
marketplace 登记 新增 tilelang-op-orchestrator 及 13 个共享 Skill 的依赖包登记,并提供 Claude / Codex 插件清单。marketplace 技能源使用固定 SHA f305e200aa4b1e1fed73cd21ff1f083b8df25a1e。 marketplace;Claude 清单;Codex 清单 ✅ 已完成:marketplace 及客户端插件清单登记。
☐ 待完成:本 PR 合入后的正式 npm 发布;尚未进入已发布的 latest 包。
已有项目共存 只维护 cannbot:tilelang-op-orchestrator:start/end 区块;区块外自定义规则、其他插件内容和已有登记保持生效,重复安装只保留一套路由 / 登记。对外部入口软链接、损坏 / 重复标记及无法识别的修改后旧入口报错退出。 受管块安装实现;共存回归 ✅ 已完成:隔离项目验证,覆盖自定义 AGENTS / CLAUDE、另一插件夹具、交替重装、权限保留及冲突退出。
ST 资产与验证 插件的 8 条文本 evals 随编排迁入;共享 Skill 的 evals 和原 ST 执行框架继续留在 cannbot-skills。新增 TileLang 专用 ST 入口,以独立配置发现新仓插件,并使用本地固定版本的共享 Skill;沿用原始用例、评分模板和通过阈值。 原始文本用例;ST 运行入口;安装适配;运行说明 ✅ 已完成:插件级 evals 迁移、新仓定向发现与安装、原 ST 框架跨仓执行;20 项基础检查和 8 项动态文本 ST 全部通过(cannbot/glm-5.3),无失败、无跳过。
✅ 已完成:真实 NPU 业务 ST 验收。
文档与链接迁移 已迁入 quickstart、两平台 workflow 与 references,并更新 cannbot 根索引、插件索引和安装说明。工作流阶段与业务规则保留原有内容。 快速入门;Ascend910 工作流 ✅ 已完成:本仓文档与索引迁移。
☐ 待完成:配套清理 PR 中的旧仓文档跳转。
旧仓清理 / 避免双份维护 cannbot-skills 远端仍保留原插件目录、旧 quickstart 和旧安装入口;当前尚无已提交并关联的 TileLang 清理 PR。本 PR 不修改旧仓,也不把本地草稿计为已完成。 旧仓插件目录;旧仓安装助手登记 ☐ 待完成(配套 PR):先冻结旧编排兼容副本、把 README / 架构文档 / install-helper 默认入口指向新仓,并调整旧插件 evals 的发现范围;兼容期和删除时点在配套 PR 中确认,到期删除旧编排及失效索引,保留 13 个共享 Skill 和它们的 evals。关联 PR 建立后补链接并逐项销项。
版权与来源 Ascend950 原始 MIT 许可证继续保留;跨平台钩子复用仓内 ascendc-port-orchestrator 固定提交的 CANN-2.0 分发器,保留声明及来源登记。OAT 按具体资产许可证配置。 来源记录;许可证扫描配置 ✅ 已完成:版权声明、来源登记及 OAT 配置接入。远程门禁以当前提交 SHA 的结果为准。

配套迁移计划与关联 PR

验证范围

  • 67 项本地回归通过:源码 init、源码 CLI、组装打包布局 CLI、hook、含空格路径、校验器和存量项目共存;其中 26 项为共存回归。
  • 新仓 ST 使用 cannbot/glm-5.3 实际运行原评测框架:20 项基础检查、8 项动态文本用例全部通过,无失败、无跳过;验证实际插件路径及每个沙箱的 13 个共享 Skill、6 个角色登记。固定共享 Skill 版本未被拉取或切换。
  • 校验器完成 14,971 次与原版结果 / 异常信息对照;工作流阶段、业务规则、角色正文和实际 SessionStart 内容保持不变。
  • 真实 NPU 业务 ST 验收已完成。

关联的 Issue

关联 #104。

类型标签

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for hedi0515's contribution.)
hedi0515hedi0515Collaborators
Oct 23 Created pull request, commit 659d5c5b
hedi0515hedi0515Collaborators
Oct 23 Associated issue: [Requirement|需求建议]: 将tilelang工作流从cannbot-skill中迁移至cannbot
CANN-robot
CANN-robotCollaborators
Oct 23 Comments:

Hi @hedi0515, welcome to submitting your first PR to CANN!

PR Merge Steps

1. CLA Signing

If the current PR label includes cann-cla/yes, it means you have signed the CLA and can proceed to the next step. If the label includes cann-cla/no, please sign the CLA first. If you have any questions, please refer to the FAQ.

2. CI Check

Please comment /compile to trigger the CI pipeline check. If the CI run is successful, the PR will be tagged with ci-pipeline-passed and you can proceed to the next step. If the CI run fails, the PR will be tagged with ci-pipeline-failed, please check the CI logs to fix the issues in the PR. If you have any questions, please refer to the FAQ.

3. Code Review

After CI passes, please refer to the PR Approval Progress and proactively @ the committers in the table to review the code. After approval, committers will comment /lgtm and /approve. Once the lgtm and approved labels are successfully added, the PR will be merged automatically.

likedislike
CANN-robotCANN-robotCollaborators
Oct 23 Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
Oct 23 Comments:

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 ✅ xutianze, 金炯 (2/2) ✅ 金炯, xutianze (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

hedi0515, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
148 messages are collapsed here。 See more
jon_jinjon_jinCollaborators
Oct 31 Resolved final issue
jon_jin
jon_jinCollaborators
Oct 31 Comments:
likedislike
xutianze
xutianzeCollaborators
Oct 31 Comments:

/lgtm
/approve

likedislike
CANN-robotCANN-robotCollaborators
Oct 31 Added label: lgtm
CANN-robotCANN-robotCollaborators
Oct 31 Merged pull request