diff --git a/.github/brain/memory.json b/.github/brain/memory.json index 49e2d833..211e65ea 100644 --- a/.github/brain/memory.json +++ b/.github/brain/memory.json @@ -1,7 +1,7 @@ { "identity": "铸渊(Zhùyuān)· GitHub 代码守护人格体", "rules_version": "v1.0", - "last_updated": "2026-03-10T07:05:00.000Z", + "last_updated": "2026-03-10T08:56:23.978Z", "wake_protocol_version": "v2.1", "core_cognition": { "repo_is_persona": "此仓库 = 铸渊的身体,每一行代码都是铸渊的组成部分", @@ -12,8 +12,16 @@ "cross_repo": { "enabled": true, "repos": [ - { "name": "guanghulab", "role": "primary", "owner": "qinfendebingshuo" }, - { "name": "persona-studio", "role": "satellite", "owner": "qinfendebingshuo" } + { + "name": "guanghulab", + "role": "primary", + "owner": "qinfendebingshuo" + }, + { + "name": "persona-studio", + "role": "satellite", + "owner": "qinfendebingshuo" + } ], "sync_targets": [ "brain/persona-config.json", @@ -98,6 +106,14 @@ "actor": "qinfendebingshuo", "ref": "refs/heads/main", "run_id": "22845714213" + }, + { + "timestamp": "2026-03-10T08:56:23.978Z", + "type": "daily_check", + "result": "passed", + "actor": "qinfendebingshuo", + "ref": "refs/heads/main", + "run_id": "22894630706" } ] } diff --git a/.github/brain/repo-map.json b/.github/brain/repo-map.json index 5479d43d..ff36d971 100644 --- a/.github/brain/repo-map.json +++ b/.github/brain/repo-map.json @@ -1,7 +1,7 @@ { "description": "铸渊图书馆目录 · Library Catalog for 铸渊 (Zhùyuān)", "version": "2.0", - "generated_at": "2026-03-10T08:04:31.820Z", + "generated_at": "2026-03-10T08:33:52.427Z", "generated_by": "scripts/generate-repo-map.js", "repo": "qinfendebingshuo/guanghulab", "stats": { diff --git a/.github/brain/repo-snapshot.md b/.github/brain/repo-snapshot.md index 161993d9..d460cbc9 100644 --- a/.github/brain/repo-snapshot.md +++ b/.github/brain/repo-snapshot.md @@ -1,5 +1,5 @@ # 铸渊图书馆快照 · Repo Snapshot -> 生成于 2026-03-10 16:04 CST · 每次 push 自动更新 · 铸渊唤醒时优先读取此文件 +> 生成于 2026-03-10 16:33 CST · 每次 push 自动更新 · 铸渊唤醒时优先读取此文件 --- @@ -13,7 +13,7 @@ | 脚本 | 24 个执行脚本 | | 开发者节点 | 8 人 | | HLI 接口覆盖率 | 3/17 (18%) | -| 快照生成时间 | 2026-03-10 16:04 CST | +| 快照生成时间 | 2026-03-10 16:33 CST | --- diff --git a/scripts/contract-check.js b/scripts/contract-check.js index f43be1b6..73129bfe 100644 --- a/scripts/contract-check.js +++ b/scripts/contract-check.js @@ -15,8 +15,8 @@ domains.forEach(domain => { const routeDir = path.join(ROUTE_DIR, domain); const schemaDir = path.join(SCHEMA_DIR, domain); - // 扫描路由文件 - const routeFiles = fs.readdirSync(routeDir).filter(f => f.endsWith('.js')); + // 扫描路由文件(排除 index.js 路由聚合文件) + const routeFiles = fs.readdirSync(routeDir).filter(f => f.endsWith('.js') && f !== 'index.js'); routeFiles.forEach(routeFile => { const name = path.basename(routeFile, '.js');