chore: establish documentation and collaboration baseline

This commit is contained in:
2026-10-30 16:49:35 +08:00
parent 89f1d7f4fa
commit f605829e02
22 changed files with 286 additions and 112 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
// 两种模式:
// 1) 离线结构校验(默认,可在 CI 直接跑,不联网)
// node tools/probe/capability-check.mjs
// 校验 docs/capability-baseline.json 的枚举合法性、状态完整性、证据存在性、
// 校验 docs/能力基线.json 的枚举合法性、状态完整性、证据存在性、
// 「结论与证据强度是否匹配」——防止把未验证项写成已验证。
//
// 2) 实测漂移比对(升级 NapCat 后必跑)
@@ -16,7 +16,7 @@ import fs from 'node:fs';
import path from 'node:path';
const ROOT = path.resolve(import.meta.dirname, '../..');
const BASELINE = path.join(ROOT, 'docs/capability-baseline.json');
const BASELINE = path.join(ROOT, 'docs/能力基线.json');
const errors = [];
const warns = [];
const fail = (m) => errors.push(m);