docs(GOV-012): 完成功能质量与发布追溯档案

This commit is contained in:
2026-08-18 03:04:59 +08:00
parent f1c412b6a3
commit 58026aead3
10 changed files with 183 additions and 1 deletions
@@ -0,0 +1,23 @@
# GitNexus 开发后基线
- 功能编号:GOV-012
- 记录时间:2026年08月18日 CST
- 分支:`codex/gov-012-node-schema-exporter`
- 当前提交:`f1c412b`
## GitNexus 状态
```text
Indexed commit: f1c412b
Nodes: 2,383
Edges: 3,234
Clusters: 54
Flows: 63
MCP: Transport closed(按 CLI 与静态证据降级)
```
## 实际影响
- 运行时只影响 Schema 治理工具、测试、治理文档和 `v0.0.9` 开发基线。
- HTTP/OpenAPI、Web API、消息契约、Redis、API、Scheduler、Worker 和部署入口没有代码变更。
- MySQL 连接仅命中用户确认的 development 配置和 `a_share_analysis_dev`;没有生产数据库访问。
@@ -0,0 +1,9 @@
# GitNexus 前后对比
| 项目 | 开发前 | 开发后 | 判断 |
| --- | --- | --- | --- |
| Git 提交 | `3555b7c` | `f1c412b` | GOV-012 独立分支完成实现和文档提交 |
| 索引规模 | 2,112 nodes / 2,790 edges / 50 flows | 2,383 nodes / 3,234 edges / 63 flows | 仅新增导出器、测试和文档相关符号 |
| MCP | `Transport closed` | `Transport closed` | 使用 CLI、静态引用和回归测试降级核对 |
| 数据库范围 | 缺失 `v0.0.9` 基线 | `a_share_analysis_dev`,`captured_empty` | 开发门禁恢复 |
| 跨模块变更 | 待分析 | 无 HTTP/OpenAPI、消息、Redis、运行时服务变更 | 符合影响计划 |
@@ -0,0 +1,17 @@
# GitNexus 变更检测
## 工具证据
- GitNexus MCP `detect_changes` 在开发前后均返回 `Transport closed`。
- `npx gitnexus analyze` 已在关键提交后执行,最终索引为 2,383 nodes、3,234 edges、63 flows。
- `npx gitnexus detect-changes --repo a-share-analysis` 返回 `No changes detected`;CLI 对当前未提交差异的识别不完整,不能单独作为无影响结论。
## 静态与 Git 交叉核对
- `git diff --stat` 和提交清单确认变更集中在 `tools/database/schema-baseline.mjs`、`tools/database/mysql2-schema-exporter.mjs`、对应测试、GOV-012 文档及 `database/schema-baselines/v0.0.9/manifest.yaml`。
- `rg` 静态引用确认 `runCommandLine -> runBaselineGeneration -> exportMysql57Schema` 及历史 `verifyBaselineDirectory` 调用链仍在预期治理路径内。
- 没有 HTTP/OpenAPI、Web API、RocketMQ、Redis、API、Scheduler、Worker 或生产部署文件变更。
## 结论
影响范围符合开发前计划;MCP 传输故障作为残余工具风险保留,不解释为无影响。