chore(卫生): 闸域表口径对齐机器+删退役仪表盘工具+清基线 08b 记录(2026-10-18 用户点令三项)
①architecture.md 闸域表第三列与机器侧不一致已修:原写代码域触发含 `game/`、`tools/`、`artwork/`,而 worktree-guard 现行判定只有 `_p.startswith("game/")`(:149-151)、run_all_gates.sh 头注也只认触及 game/——`7bdf53e3` 改判时漏改的第二处。同时查出 roadmap.md:88「重闸」步仍带同一条旧口径与「改闸件本身→全量」旧条款(该义务已由 7bdf53e3 换成「闸件自身改动不占合回全量,质量义务=落批时变异验证」),一并换代。
②删 `tools/loop_dashboard.py`(529 行):roadmap 早在 2026-09-27 重整批就宣布它退役、职责交 06 与状态记录,全仓现行文档/闸序列/技能零调用(git grep 只命中自身);它的主要数据源之一 active.md 快照节已于本日废除,「台账健康」栏(撞号检测与下一编号建议)随编号方案一起失效。它唯一不重复的能力=引用版本与被引文档现行版本的落后比对,已按现存格式重立为 `doc-consistency-check` 技能第 10 项人工核对(比对面从已消失的 07「当前批次来源」行改到 06 的闭合凭据)。试跑该新件即命中真问题:06 有一条凭据写「元进度.md v1.0」而该文档现行已 v1.21,另有一条 character-design.md v1.9 取不到现行版本可核。
③删 `game/tests/.gates/baseline.json` 的「08b active.md 体量」记录(基线 13 闸→12),本批 diff 因此触及 game/,按域判据跑全量档(代码域+文档域)。附带 `tools/path_check.py` 去掉已失效的 active.md 跳过项并把注释里「排除台账类文件」的旧说法改成与实际扫描面一致的表述(实查该工具扫的只有 .gd/.tscn 与 design/art/*.md,从未跳过 *checklist*/*memory*)。
This commit is contained in:
1 parent
ea69670c39
commit
c167affae2
5 files changed
+9
-544
No files matched your search
+6
-8
@@ -188,14 +188,14 @@ def main():
|
||||
print(" · %-46s ← %s" % (ref, where[0]))
|
||||
|
||||
print("\n=== 退役命名扫描 ===")
|
||||
# ⚠ 口径纪律:退役命名**只在代码与素材清单里是违规**;文档的版本历史/
|
||||
# 台账在「叙述这些名字已退役」时提到它们属正常,不是违规。
|
||||
# 故扫描面只含:代码(.gd/.tscn) + 素材清单(design/art/*.md),
|
||||
# 且排除版本历史/台账类文件(active.md / *checklist* / *memory* / .zcode)。
|
||||
# 2026-10-07 初版全仓扫 .md ⇒ active.md/记忆文件里的历史记述全被误判,已修。
|
||||
# ⚠ 口径纪律:退役命名**只在代码与素材清单里是违规**;文档的版本历史与叙述性文件
|
||||
# 提到这些名字属正常,不是违规。故扫描面只含:代码(.gd/.tscn) + 素材清单
|
||||
# (design/art/*.md,且文件名不含「版本历史」),其余一律不扫;
|
||||
# .git/.workbuddy/.zcode/archive 在目录层就排除。
|
||||
# 2026-10-07 初版全仓扫 .md 曾把历史记述全判成违规,故收窄到上述两面(当日还额外跳过
|
||||
# 根目录会话状态文件,该文件已于 2026-10-18 用户裁废除,跳过项一并删除)。
|
||||
hits = 0
|
||||
scan_exts = (".gd", ".tscn")
|
||||
skip_names = ("active.md",)
|
||||
for dirpath, dirnames, names in os.walk(repo):
|
||||
dirnames[:] = [d for d in dirnames
|
||||
if d not in (".git", ".godot", "archive", "node_modules",
|
||||
@@ -205,8 +205,6 @@ def main():
|
||||
rel = os.path.relpath(fp, repo)
|
||||
if any(s in rel for s in (".workbuddy", ".zcode")):
|
||||
continue
|
||||
if fn in skip_names:
|
||||
continue
|
||||
is_code = fn.endswith(scan_exts)
|
||||
is_manifest = (fn.endswith(".md")
|
||||
and os.sep + "art" + os.sep in fp
|
||||
|
||||
Reference in new issue
Block a user