Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
regional-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 87171bcd
authored
Aug 21, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
docs: record knowledge graph migration evidence
1 parent
d79614c2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
10 deletions
docs/generated/PROJECT-SUMMARY.md
docs/generated/knowledge-graph.json
docs/migrations/project-knowledge-graph/manifest.json
docs/migrations/project-knowledge-graph/test-acceptance.md
docs/generated/PROJECT-SUMMARY.md
View file @
87171bc
...
...
@@ -4,9 +4,9 @@
## 规模
-
节点:42
04
-
关系:80
79
-
未解析:8
5
-
节点:42
18
-
关系:80
97
-
未解析:8
8
## 节点类型
...
...
@@ -18,10 +18,10 @@
| domain | 6 |
| endpoint | 234 |
| globalState | 34 |
| method | 29
07
|
| module | 36
0
|
| method | 29
14
|
| module | 36
3
|
| page | 71 |
| test | 7
2
|
| test | 7
6
|
## 关系类型
...
...
@@ -32,11 +32,11 @@
| callsApi | 221 |
| callsEndpoint | 332 |
| contains | 708 |
| coveredBy |
56
|
| declares | 29
08
|
| coveredBy |
60
|
| declares | 29
15
|
| definesApi | 332 |
| documentedBy | 53 |
| imports | 4
29
|
| imports | 4
36
|
| navigatesTo | 71 |
| readsState | 778 |
| usesComponent | 315 |
...
...
docs/generated/knowledge-graph.json
View file @
87171bc
This diff is collapsed.
Click to expand it.
docs/migrations/project-knowledge-graph/manifest.json
View file @
87171bc
...
...
@@ -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"
},
{
...
...
docs/migrations/project-knowledge-graph/test-acceptance.md
View file @
87171bc
...
...
@@ -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 业务,只为现有撤销单与改单流程增加逆序、脱敏的尽力清理。
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment