工程(黄金图自愈补采·CI采集步): 用户裁补采自动化——渲染能力在runner会话,人手不做二进制搬运; 新增tools/ci/golden_selfheal.sh+ci.yml采集步(full批·导入后跑闸前): 缺棋盘三件基线→golden_baseline_refresh棋盘模式渲染→提交回master推送→下一轮full批拉取后渲染闸绿; 护栏三道: GITHUB_WORKSPACE必在(本地误跑即拒·实测guard_exit=1)/三件齐盘零动作(幂等无循环)/四失败点全置红不静默; 读数: bash -n过+guard实测过

This commit is contained in:
DKChan committed 2026-11-08 06:36:09 +08:00
1 parent db7719ca47
commit e0103d82ef
2 files changed
+51

No files matched your search

+8
View File
@@ -48,6 +48,14 @@ jobs:
rm -rf game/.godot/imported
/usr/local/bin/godot --headless --path game --editor --quit
- name: 棋盘黄金图自愈补采(full 批——缺基准时 runner 会话渲染→提交回 master→下一轮拉取生效)
if: steps.route.outputs.mode == 'full'
env:
GODOT_BIN: /usr/local/bin/godot
run: |
cd "$GITHUB_WORKSPACE/repo"
bash tools/ci/golden_selfheal.sh
- name: 跑闸
if: steps.route.outputs.mode != 'skip'
env: