Files
Nexus/docs/design/plans/2026-06-14-gate-ai-review.md
T
r 9c9a51263c chore: 本地快照 — 终端 UI、服务器 site_url、后台任务与 Agent 导航
汇总未提交工作区:Servers 列表 site_url 链接、终端页与选机器 UI、SSH 连通性与 Telegram 通知、agent/offline/unset_path 后台调度与 gate_ai_review 门控;更新 AGENTS 与 agent-exploration 规则(仅本机 commit);同步 web/app 构建产物与相关文档。
2026-06-18 06:01:50 +08:00

842 B
Raw Blame History

实施计划 — 门控 AI Review

涉及文件

文件 动作
scripts/gate_ai_review.py 新增:审查逻辑、缓存、cursor-agent 调用
scripts/gate_ai_review.sh 新增:包装脚本
deploy/pre_deploy_check.sh Gate 8、GATES_TOTAL=8
docs/reviews/.gitkeep 审查产物目录
docs/changelog/2026-06-14-gate-ai-review.md changelog
docs/audit/2026-06-14-gate-ai-review.md 审计

步骤

  1. 实现 gate_ai_review.pygit diff、JSON schema、阻断规则)
  2. 接入 pre_deploy_check.sh Gate 8
  3. 本地跑门控验证

回滚

  • 删除 Gate 8 调用或将 NEXUS_SKIP_AI_REVIEW=1 写入 deploy 脚本(临时)
  • git revert 本提交

测试要点

  • 无源码变更 commit → skip
  • 有缓存 JSON → pass
  • 伪造 P0 finding → block