chore(禁写变更记录批): 版本历史节/日期批注全面废除——gdd_lint R4 反转禁设+三工具去豁免+48 文档删节+game/README 流水段删+代码注释 900 余行轨迹标签清偿(约束句保留)+规约/skills 五层指令面同批改指 git 沿革
This commit is contained in:
1 parent
b2327eb9ce
commit
6d601d23dc
232 files changed
+2577
-4100
No files matched your search
+6
-7
@@ -188,12 +188,13 @@ def main():
|
||||
print(" · %-46s ← %s" % (ref, where[0]))
|
||||
|
||||
print("\n=== 退役命名扫描 ===")
|
||||
# ⚠ 口径纪律:退役命名**只在代码与素材清单里是违规**;文档的版本历史与叙述性文件
|
||||
# 提到这些名字属正常,不是违规。故扫描面只含:代码(.gd/.tscn) + 素材清单
|
||||
# (design/art/*.md,且文件名不含「版本历史」),其余一律不扫;
|
||||
# ⚠ 口径纪律:退役命名**只在代码与素材清单里是违规**;叙述性文档提到这些名字属正常,
|
||||
# 不是违规。故扫描面只含:代码(.gd/.tscn) + 素材清单(design/art/*.md),其余一律不扫;
|
||||
# .git/.workbuddy/.zcode/archive 在目录层就排除。
|
||||
# 2026-10-07 初版全仓扫 .md 曾把历史记述全判成违规,故收窄到上述两面(当日还额外跳过
|
||||
# 根目录会话状态文件,该文件已于 2026-10-18 用户裁废除,跳过项一并删除)。
|
||||
# 根目录会话状态文件,该文件已于 2026-10-18 用户裁废除,跳过项一并删除;
|
||||
# 「版本历史」文件名跳过项亦于 2026-10-19 变更记录节禁设批删除——此类节改由
|
||||
# gdd_lint.py --changelog-only 全 design/ 扫,本工具不再分派豁免)。
|
||||
hits = 0
|
||||
scan_exts = (".gd", ".tscn")
|
||||
for dirpath, dirnames, names in os.walk(repo):
|
||||
@@ -206,9 +207,7 @@ def main():
|
||||
if any(s in rel for s in (".workbuddy", ".zcode")):
|
||||
continue
|
||||
is_code = fn.endswith(scan_exts)
|
||||
is_manifest = (fn.endswith(".md")
|
||||
and os.sep + "art" + os.sep in fp
|
||||
and "版本历史" not in fn)
|
||||
is_manifest = (fn.endswith(".md") and os.sep + "art" + os.sep in fp)
|
||||
if not (is_code or is_manifest):
|
||||
continue
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user