From 57f3e7e4d0ee3ddbf32e3cf5a13d993b377759dc Mon Sep 17 00:00:00 2001 From: pikastech Date: Tue, 21 Jul 2026 15:12:13 +0200 Subject: [PATCH] =?UTF-8?q?docs(cicd):=20=E5=9B=BA=E5=8C=96=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E4=B8=8E=E6=89=A7=E8=A1=8C=E4=B8=80=E8=87=B4=E6=80=A7?= =?UTF-8?q?=E9=97=A8=E7=A6=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .agents/skills/unidesk-cicd/SKILL.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.agents/skills/unidesk-cicd/SKILL.md b/.agents/skills/unidesk-cicd/SKILL.md index ce42d208..31617d67 100644 --- a/.agents/skills/unidesk-cicd/SKILL.md +++ b/.agents/skills/unidesk-cicd/SKILL.md @@ -75,6 +75,9 @@ bun scripts/cli.ts hwlab nodes control-plane legacy-cicd --help - 计划范围扩大时先修复 source range、源码、YAML 或项目 planner,再重新 plan; - `package.json` 即使同时出现在 runtime deps 与 component paths,也只按运行字段做一次语义判定;scripts-only 变化不得进入服务 changed paths; - planner hash 算法变化时,从 catalog source commit 按新算法重算;source tree 未变的 metadata drift 不得触发 build 或 rollout; + - CLI `release plan` 与 Pipeline 内部 planner 必须使用相同的 source/base、catalog authority、registry probe 和 cache 可用性输入;不得让 CLI 省略 `--verify-reuse-registry` 等会改变 build/rollout 结论的判定; + - webhook admission 后 Pipeline 必须校验已审阅 plan identity;内部重算的 build/rollout/affected 任一范围扩大时,在进入 build 前失败并要求重新 plan,禁止静默执行扩大后的计划; + - 真实 TaskRun results 与 CLI plan 不一致时,按控制面合同漂移报告阶段耗时和差异后停止;禁止补跑、提高 timeout 或把实际构建解释成 env reuse; - `build=0`、`rollout=0`、`affected=0` 是 no-op 终态,不发送 webhook,不创建 PipelineRun,动态 `next` 不得指向 trigger; - renderer rollout 范围必须对应实际 GitOps Pod template diff: - renderer 重建完整 runtime tree 并改写未选 workload 的 source identity 时,plan 必须把全部实际受影响 workload 计入 rollout;