fix(sentinel): add YAML shortest-path validation

This commit is contained in:
Codex
2026-07-12 17:28:17 +02:00
parent e5c763f5a7
commit 5a99f4efd7
11 changed files with 153 additions and 15 deletions
+2
View File
@@ -75,6 +75,8 @@ bun scripts/cli.ts web-probe observe analyze <observerId>
## Architecture Preference
Web 哨兵 YAML 小改动使用两条现有入口完成闭环:提交前运行 `web-probe sentinel validate --local`,提交合并后运行 `web-probe sentinel control-plane status --wait`。前者只验证当前 worktree 的 owning YAML 和渲染结果;后者只读观察 PaC/GitOps/Argo/runtime/cadence 收敛,不得触发 publish、sync、refresh 或 patch。收敛中的版本或 cadence 差异只能显示为 `warning`,不得阻塞用户业务。
Prefer Kubernetes-native discovery and isolation before inventing a custom control plane:
- Labels/selectors identify sentinel runners.