清理: design/存量超期批——删86件(dev四组11+qa证据39=只留最新规首跑+research 34)+引用改写17处/15文件+doc-conventions §11新增证据只留最新(v13)+美术审计报告留置呈报(工作日志 413)
This commit is contained in:
1 parent
74fe99733f
commit
8e02dcf05b
102 files changed
+184
-40450
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import pathlib, re
|
||||
for tf, pairs in [
|
||||
('design/gdd/systems/冒险循环/难度曲线与Boss.md', [('numfix-newruler-readings-2026-10-01.md', '数值修复批读数(已退役,git 历史可查)')]),
|
||||
('design/gdd/07-体验验证清单.md', [('numfix-newruler-readings-2026-10-01.md', '数值修复批读数(已退役,git 历史可查)')]),
|
||||
('design/gdd/ux/level-map.md', [('m2-exit-gate-checklist-2026-09-28.md', 'M2 出口检查单(已退役,git 历史可查)')]),
|
||||
]:
|
||||
p = pathlib.Path(tf); d = p.read_bytes(); n = 0
|
||||
for b, repl in pairs:
|
||||
pat = re.compile(rb'[\w./\-\\]*' + re.escape(b.encode()))
|
||||
hits = pat.findall(d)
|
||||
assert hits, (tf, b)
|
||||
d = pat.sub(repl.encode(), d); n += len(hits)
|
||||
p.write_bytes(d); print('fixed', tf, n)
|
||||
print('OK')
|
||||
Reference in new issue
Block a user