Commit 87171bcd by 张立顺

docs: record knowledge graph migration evidence

1 parent d79614c2
......@@ -4,9 +4,9 @@
## 规模
- 节点:4204
- 关系:8079
- 未解析:85
- 节点:4218
- 关系:8097
- 未解析:88
## 节点类型
......@@ -18,10 +18,10 @@
| domain | 6 |
| endpoint | 234 |
| globalState | 34 |
| method | 2907 |
| module | 360 |
| method | 2914 |
| module | 363 |
| page | 71 |
| test | 72 |
| test | 76 |
## 关系类型
......@@ -32,11 +32,11 @@
| callsApi | 221 |
| callsEndpoint | 332 |
| contains | 708 |
| coveredBy | 56 |
| declares | 2908 |
| coveredBy | 60 |
| declares | 2915 |
| definesApi | 332 |
| documentedBy | 53 |
| imports | 429 |
| imports | 436 |
| navigatesTo | 71 |
| readsState | 778 |
| usesComponent | 315 |
......
......@@ -43,7 +43,7 @@
"verification": {
"commands": [
{
"command": "node scripts/run-node-tests.mjs tests/knowledge-graph tests/project-governance tests/order-lifecycle/liveProfiles.test.mjs tests/order-lifecycle/e2e/liveCleanup.test.mjs",
"command": "node scripts/run-node-tests.mjs tests/knowledge-graph tests/project-governance tests/order-lifecycle/liveProfiles.test.mjs tests/order-lifecycle/ui/loginSmokeConfig.test.mjs tests/order-lifecycle/e2e/liveCleanup.test.mjs tests/order-lifecycle/environmentGuard.test.mjs tests/order-lifecycle/e2e/orderLifecycle.live.test.mjs tests/order-lifecycle/ui/loginSmoke.live.test.mjs",
"status": "pass"
},
{
......
......@@ -11,3 +11,14 @@
| KG-007 | Live profiles contain no credential literals and default to skipped | absent | pass |
| KG-008 | full offline suite | blocked by KG-002 | pass |
| KG-009 | knowledge artifacts remain outside upload package | docs/scripts/tests pass; .agents absent | pass |
## 最终证据(2026-08-21)
- 知识图谱与治理合同:34 项通过,0 失败。
- 生成稳定性:`docs/generated` 与组件索引共 12 个文件,连续两次构建的 SHA-256 完全一致;最终图谱包含 4,218 个节点、8,097 条边、71 个页面和 88 个未解析项。
- 全仓离线套件:`npm test` 退出码为 0;订单生命周期单独回归为 82 项通过、4 个 Live 用例默认跳过。
- Live 安全合同:开发 profile 仅允许登录冒烟,测试 profile 写入要求 `LIVE_ALLOW_WRITES=1`;登录冒烟停在账号列表,不选择园区、门店或场景。
- 公共查询:`createOrder` 返回 337 个直接命中和 1,360 条证据;`packageWorkspace` 返回 1,158 个直接命中和 2,910 条证据。
- 上传边界:`docs`、`scripts`、`tests`、`.agents` 均被排除;Node 24.19 下上传 guard 扫描 236 个文件,依赖、路由和 API 闭包均无缺口。
- 凭据边界:从设计基线起的全部迁移差异通过通用 11 位手机号模式扫描,未发现凭据字面量。
- 当前项目没有参考项目的 `constructionFlow.mjs`;本次未引入该独有施工 Live 业务,只为现有撤销单与改单流程增加逆序、脱敏的尽力清理。
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!