| content |
{"Commits":[{"Sha1":"8a95879f7 {"Commits":[{"Sha1":"8a95879f7501b2874d73cf1f36f07f7673695db3","Message":"test(modules): 六模块失败关闭夹具 + check:fixtures platform-fixtures 套件格式(开发计划 §3A Mx-7)\n\n- runtime/modules/{permission,credential,fact,audit,ai-gateway,scope}/test/fixtures/\u003cm\u003e.fixtures.json(kind=PlatformFixtures,\n P%02d- / N%02d- 命名,56 例):M3 Decision 预检形状 / 目录正反例;M2 人员 Token 复用、空主体、超 ttl、过宽 / 重复 scope、AI 无委托;\n M5 重复投递 / 乱序 / 缺口 / 毒消息(纯函数级);M6 无 Actor、敏感明细、时间篡改;M7 归属 / 委托命令 / 人工批准 / 敏感供应商、\n 路由区域 / 层级 / 留存 / 静默回退;M4 跨租户、版本水位落后、禁止字段(customer-account)、缺 Owner 引用。\n 端口级 / DEC 门后的情形(吊销即时性、OpenBao / Broker 断连、策略不可用、查询越权、配额熔断、别名解析)在各夹具 description 指向\n 端口一致性夹具 / e2e / chaos todo,不冒充。\n- 每模块 src/domain/fixture-evaluator.ts:evaluateFixturePayload(rule, payload) → 拒绝原因(空 = ACCEPT),只调用迁入的纯规则,\n 经 domain index 导出;test/negative/\u003cm\u003e.fixtures.test.ts(经 src,68 例:形状 + 逐例 + 篡改必红)与 governance check:fixtures(经 dist)共用同一函数。\n- governance/check-fixtures.mjs 新增套件格式 C(format=platform-fixtures:fixtureFile + rulesModule + requires;requires 缺失 → unavailable,\n 与 workspaceRelative 同语义)+ evaluatePlatformFixtures 纯函数(id 前缀须与 expect 对应);governance/test/platform-fixtures.test.mjs 3 例\n (正 / 篡改 exit 1 / 缺构建产物 unavailable);governance/fixtures/module-\u003cm\u003e.suite.json ×6。\n- 根 check:fixtures 挂六个模块套件(8 套件 89 例 0 失败);新增根脚本 runtime:build:modules;CI static job 在 pnpm check 前构建模块 dist。\n 负向实测:篡改 audit N01 的 reasons → check:fixtures exit 1(module-audit 1 失败),恢复后 exit 0。\n\n静态门禁(runtime pnpm check)与 governance 测试(106 例)在本提交前的脏树上通过;真实 DB 验收随后绑定。\n\nCo-Authored-By: Claude Fable 5.1 \u003cnoreply@anthropic.com\u003e\n","AuthorEmail":"hillao@juhailaoluodeMacBook-Pro.local","AuthorName":"juhailaoluo pro","CommitterEmail":"hillao@juhailaoluodeMacBook-Pro.local","CommitterName":"juhailaoluo pro","Timestamp":"2026-09-12T03:19:40-07:00"},{"Sha1":"9276c8decb4f65b258b578a130e561ce7bc5d280","Message":"docs(contracts): CT-2 阶段 2 回写候选——11 条候选 schema 改指 CHG-004 材料(镜像验证 passed),FactPersisted 实体改 FactAcceptance(DEC-015),README 指向登记包\n\nCo-Authored-By: Claude Fable 5.1 \u003cnoreply@anthropic.com\u003e\n","AuthorEmail":"hillao@juhailaoluodeMacBook-Pro.local","AuthorName":"juhailaoluo pro","CommitterEmail":"hillao@juhailaoluodeMacBook-Pro.local","CommitterName":"juhailaoluo pro","Timestamp":"2026-09-12T03:18:32-07:00"}],"HeadCommit":{"Sha1":"8a95879f7501b2874d73cf1f36f07f7673695db3","Message":"test(modules): 六模块失败关闭夹具 + check:fixtures platform-fixtures 套件格式(开发计划 §3A Mx-7)\n\n- runtime/modules/{permission,credential,fact,audit,ai-gateway,scope}/test/fixtures/\u003cm\u003e.fixtures.json(kind=PlatformFixtures,\n P%02d- / N%02d- 命名,56 例):M3 Decision 预检形状 / 目录正反例;M2 人员 Token 复用、空主体、超 ttl、过宽 / 重复 scope、AI 无委托;\n M5 重复投递 / 乱序 / 缺口 / 毒消息(纯函数级);M6 无 Actor、敏感明细、时间篡改;M7 归属 / 委托命令 / 人工批准 / 敏感供应商、\n 路由区域 / 层级 / 留存 / 静默回退;M4 跨租户、版本水位落后、禁止字段(customer-account)、缺 Owner 引用。\n 端口级 / DEC 门后的情形(吊销即时性、OpenBao / Broker 断连、策略不可用、查询越权、配额熔断、别名解析)在各夹具 description 指向\n 端口一致性夹具 / e2e / chaos todo,不冒充。\n- 每模块 src/domain/fixture-evaluator.ts:evaluateFixturePayload(rule, payload) → 拒绝原因(空 = ACCEPT),只调用迁入的纯规则,\n 经 domain index 导出;test/negative/\u003cm\u003e.fixtures.test.ts(经 src,68 例:形状 + 逐例 + 篡改必红)与 governance check:fixtures(经 dist)共用同一函数。\n- governance/check-fixtures.mjs 新增套件格式 C(format=platform-fixtures:fixtureFile + rulesModule + requires;requires 缺失 → unavailable,\n 与 workspaceRelative 同语义)+ evaluatePlatformFixtures 纯函数(id 前缀须与 expect 对应);governance/test/platform-fixtures.test.mjs 3 例\n (正 / 篡改 exit 1 / 缺构建产物 unavailable);governance/fixtures/module-\u003cm\u003e.suite.json ×6。\n- 根 check:fixtures 挂六个模块套件(8 套件 89 例 0 失败);新增根脚本 runtime:build:modules;CI static job 在 pnpm check 前构建模块 dist。\n 负向实测:篡改 audit N01 的 reasons → check:fixtures exit 1(module-audit 1 失败),恢复后 exit 0。\n\n静态门禁(runtime pnpm check)与 governance 测试(106 例)在本提交前的脏树上通过;真实 DB 验收随后绑定。\n\nCo-Authored-By: Claude Fable 5.1 \u003cnoreply@anthropic.com\u003e\n","AuthorEmail":"hillao@juhailaoluodeMacBook-Pro.local","AuthorName":"juhailaoluo pro","CommitterEmail":"hillao@juhailaoluodeMacBook-Pro.local","CommitterName":"juhailaoluo pro","Timestamp":"2026-09-12T03:19:40-07:00"},"CompareURL":"luoanwu/enterprise-platform/compare/23f6e71c1971bd243b703ddcf0ce7c4d40974a83...8a95879f7501b2874d73cf1f36f07f7673695db3","Len":2}... |