架构收敛批第3步: 29处判据锚全部迁出架构文档——16+5处直指GDD规范句(数据配置统一随机流/战斗结算伤害单据与扩展行/奇物扩签登记与池结构/秘宝定位形态/冒险结构共享池账本与主种子/锻造工坊满级特效位/术语表效果端口件), 3处改指架构保留节(三屏壳与组合根——屏互斥/状态位/装配合同属架构约束), 测量面驱动契约3处锚game/sim/battle_driver.gd头注(锚空间扩game/sim, 规范句在哪锚哪)。补GDD契约句5句: 战斗结算扩展行节(引擎装载订阅面/端口单实例路由/事实面闭集)+排雷玩法核心规则(揭示预览口)+冒险结构主种子段(调试种子三分判定)。制度同步: capability_audit CRITERION_RE认.gd锚+指针空间放game/sim; test-conventions §8.3锚空间句同步。凭据: --docs【验收通过】+能力审计红项0(455注记函数全识别)

This commit is contained in:
DKChan committed 2026-11-09 02:13:37 +08:00
1 parent d7d5242fe9
commit 330deeb748
19 files changed
+36 -32

No files matched your search

+4 -3
View File
@@ -339,7 +339,7 @@ def check_coverage(cov_tables, names):
red(README.relative_to(REPO), 1, "覆盖域表", "%s 未在覆盖域表登记" % doc)
CRITERION_RE = re.compile(r"^#\s*判据出处:\s*(\S+?\.md)(?::(\d+)|「([^」]+)」)\s*\S")
CRITERION_RE = re.compile(r"^#\s*判据出处:\s*(\S+?\.(?:md|gd))(?::(\d+)|「([^」]+)」)\s*\S")
VERDICT_RE = re.compile(r"(?<![_\w])check(?:_quiet)?\(|_problems\.append\(|push_error\(")
CRITERION_FUNC_RE = re.compile(r"^(?:static\s+)?func\s+([A-Za-z_]\w*)")
@@ -391,8 +391,9 @@ def check_criterion_markers():
marked += 1
for m in oks:
relp, no, sec = m.group(1), m.group(2), m.group(3)
if not relp.replace("\\", "/").startswith("design/"):
red(rel, s0 + 1, "判据出处注记", "%s 指针越出 design/ 全域:%s" % (name, relp))
_rp = relp.replace("\\", "/")
if not (_rp.startswith("design/") or _rp.startswith("game/sim/")):
red(rel, s0 + 1, "判据出处注记", "%s 指针越出 design/ 与测量面全域:%s" % (name, relp))
continue
tp = REPO / relp
if not tp.is_file():