| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(ai): introduce AI-native governance workflows and GitCode CLI tooling Co-authored-by: jhon-117<fangkai15@huawei.com> Co-authored-by: aflyingto<wupengfei10@huawei.com> # message auto-generated for no-merge-commit merge: !623 merge ai-governance-test into master feat(ai): introduce AI-native governance workflows and GitCode CLI tooling Created-by: jhon-117 Commit-by: jhon-117;aflyingto Merged-by: ascend-robot Description: ## 背景 建立 MindStudio-Modeling 的 AI Native 工作流治理基线,使 Codex / Claude / Cursor / OpenCode 等代理能按统一契约完成 Issue 草拟、开发投递、SIG 检视、CI 修复和领域 Skill 触发。本 PR 汇总 ai-governance-test 分支共 32 个 commit,落地 spec、skills、脚本和测试,不改动 tensor_cast/、serving_cast/、optix/ 业务逻辑代码。 ## 主要修改 按类型分组: - **docs(ai)**:定义 native workflow governance(spec/ 入口、事实源矩阵、执行策略、GitCode CLI 契约、审计记录契约);补充 workflow guide 与 use cases;暴露仓库级 native entrypoints(AGENTS.md / CLAUDE.md);target canonical/upstream 工作流。 - **feat(ai)**:新增 GitCode Issue/PR skills;编排 repository delivery 工作流;解析 canonical/source 仓库;幂等 gitleaks 安装器用于 pre-commit hook。 - **feat(ci)**:新增 pipeline 分析核心、失败报告、完整 diagnostics 命令。 - **refactor(review)**:SIG 检视路由到 GitCode CLI;弃用并移除 legacy API review 客户端;restore sig-review 到 upstream 版本并补 CLI 迁移。 - **spec(review)**:review-state label scheme 防重复检视;needs-supplement 超时静默通过;timeout 前置声明;/lgtm bot 命令 + 回复机制;label 应用拆为独立验证步骤。 - **spec(ci)**:ci-pipeline-passed label 名修正与决策逻辑;compile comment 触发;ruff 配置 lesson 与 docs CI label 处理。 - **style(ci/ai)**:pipeline 脚本分段规范化(1-350 / 351-700 / 701-1050 / 1051-1400 / 1401-1552);文档结尾规范化。 - **test(ai)**:强制 CLI 与 skill 契约测试。 - **fix(ai)**:加固 fork 工作流工具。 ## 验证 本地已执行: - python scripts/ai/install_gitleaks.py(幂等安装,平台感知) - python scripts/ai/validate_skills.py - python scripts/ai/validate_remote_boundary.py - python scripts/ai/resolve_repository_context.py --json - python scripts/ai/check_gitcode_cli.py --json 由于本 PR 仅触及 spec / skills / scripts / 测试与文档,未运行 tensor_cast / serving_cast 单元测试。CI 失败将由本会话按 msmodeling-ci-recovery 工作流自动修复。 ## 风险 - 大量 spec/skill 文档变更,评审成本较高;建议按 commit 分组审阅。 - style(ci) 对 pipeline 脚本做了行级规范化,请重点确认无语义变化(仅空白/换行)。 - review/ci label scheme 变更会影响机器人自动化行为,需与 openLiBing 流水线侧对齐。 ## AI 参与说明 本 PR 标题、body 与推送由 OpenCode 代理在 jhon-117 fork 上完成;CI 修复循环将使用 gitcode-pipeline-analyzer skill 拉取 openLiBing 日志并按 lessons 修复。作者自检非独立审批。 ## 未覆盖项 - 未包含 tensor_cast / serving_cast / optix 业务代码改动。 - 未运行 build.py test / build.py(本 PR 无构建产物变化)。 See merge request: Ascend/msmodeling!623 | 4 天前 | |
feat(ai): introduce AI-native governance workflows and GitCode CLI tooling Co-authored-by: jhon-117<fangkai15@huawei.com> Co-authored-by: aflyingto<wupengfei10@huawei.com> # message auto-generated for no-merge-commit merge: !623 merge ai-governance-test into master feat(ai): introduce AI-native governance workflows and GitCode CLI tooling Created-by: jhon-117 Commit-by: jhon-117;aflyingto Merged-by: ascend-robot Description: ## 背景 建立 MindStudio-Modeling 的 AI Native 工作流治理基线,使 Codex / Claude / Cursor / OpenCode 等代理能按统一契约完成 Issue 草拟、开发投递、SIG 检视、CI 修复和领域 Skill 触发。本 PR 汇总 ai-governance-test 分支共 32 个 commit,落地 spec、skills、脚本和测试,不改动 tensor_cast/、serving_cast/、optix/ 业务逻辑代码。 ## 主要修改 按类型分组: - **docs(ai)**:定义 native workflow governance(spec/ 入口、事实源矩阵、执行策略、GitCode CLI 契约、审计记录契约);补充 workflow guide 与 use cases;暴露仓库级 native entrypoints(AGENTS.md / CLAUDE.md);target canonical/upstream 工作流。 - **feat(ai)**:新增 GitCode Issue/PR skills;编排 repository delivery 工作流;解析 canonical/source 仓库;幂等 gitleaks 安装器用于 pre-commit hook。 - **feat(ci)**:新增 pipeline 分析核心、失败报告、完整 diagnostics 命令。 - **refactor(review)**:SIG 检视路由到 GitCode CLI;弃用并移除 legacy API review 客户端;restore sig-review 到 upstream 版本并补 CLI 迁移。 - **spec(review)**:review-state label scheme 防重复检视;needs-supplement 超时静默通过;timeout 前置声明;/lgtm bot 命令 + 回复机制;label 应用拆为独立验证步骤。 - **spec(ci)**:ci-pipeline-passed label 名修正与决策逻辑;compile comment 触发;ruff 配置 lesson 与 docs CI label 处理。 - **style(ci/ai)**:pipeline 脚本分段规范化(1-350 / 351-700 / 701-1050 / 1051-1400 / 1401-1552);文档结尾规范化。 - **test(ai)**:强制 CLI 与 skill 契约测试。 - **fix(ai)**:加固 fork 工作流工具。 ## 验证 本地已执行: - python scripts/ai/install_gitleaks.py(幂等安装,平台感知) - python scripts/ai/validate_skills.py - python scripts/ai/validate_remote_boundary.py - python scripts/ai/resolve_repository_context.py --json - python scripts/ai/check_gitcode_cli.py --json 由于本 PR 仅触及 spec / skills / scripts / 测试与文档,未运行 tensor_cast / serving_cast 单元测试。CI 失败将由本会话按 msmodeling-ci-recovery 工作流自动修复。 ## 风险 - 大量 spec/skill 文档变更,评审成本较高;建议按 commit 分组审阅。 - style(ci) 对 pipeline 脚本做了行级规范化,请重点确认无语义变化(仅空白/换行)。 - review/ci label scheme 变更会影响机器人自动化行为,需与 openLiBing 流水线侧对齐。 ## AI 参与说明 本 PR 标题、body 与推送由 OpenCode 代理在 jhon-117 fork 上完成;CI 修复循环将使用 gitcode-pipeline-analyzer skill 拉取 openLiBing 日志并按 lessons 修复。作者自检非独立审批。 ## 未覆盖项 - 未包含 tensor_cast / serving_cast / optix 业务代码改动。 - 未运行 build.py test / build.py(本 PR 无构建产物变化)。 See merge request: Ascend/msmodeling!623 | 4 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 天前 | ||
| 4 天前 |