docs(GOV-007): 封存开发库 Schema 门禁验证结果
This commit is contained in:
@@ -4,49 +4,27 @@
|
||||
|
||||
```text
|
||||
Repository: /Users/citrons/Documents/Codex/2026-08-12/wo-x/a-share-analysis
|
||||
Indexed: 8/13/2026, 12:44:53 PM
|
||||
Indexed commit: 2c502eb
|
||||
Current commit: 2c502eb
|
||||
Indexed: 8/13/2026, 1:13:21 PM
|
||||
Indexed commit: d827bfa
|
||||
Current commit: d827bfa
|
||||
Status: ✅ up-to-date
|
||||
```
|
||||
|
||||
## Git 已跟踪变更摘要
|
||||
## 最终实现
|
||||
|
||||
```text
|
||||
AGENTS.md | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
d827bfadb1fc0a7d768eefbf87b46ba26ac612d6
|
||||
fix(GOV-007): 收紧 Schema 基线安全门禁
|
||||
```
|
||||
|
||||
## Git 工作区摘要
|
||||
该提交已推送到 `origin/main`,实时远程查询结果与本地提交一致。
|
||||
|
||||
## 实现范围摘要
|
||||
|
||||
```text
|
||||
MM AGENTS.md
|
||||
M CHANGELOG.md
|
||||
M README.md
|
||||
M VERSION
|
||||
M docs/features/GOV-007-development-schema-baseline/design.md
|
||||
A docs/features/GOV-007-development-schema-baseline/gitnexus/comparison.md
|
||||
A docs/features/GOV-007-development-schema-baseline/gitnexus/detected-changes.md
|
||||
A docs/features/GOV-007-development-schema-baseline/gitnexus/impact-plan.md
|
||||
A docs/features/GOV-007-development-schema-baseline/implementation-plan.md
|
||||
A docs/features/GOV-007-development-schema-baseline/manifest.yaml
|
||||
A docs/features/GOV-007-development-schema-baseline/prd.md
|
||||
A docs/features/GOV-007-development-schema-baseline/qa/test-results.md
|
||||
A docs/features/GOV-007-development-schema-baseline/qa/visual-qa.md
|
||||
A docs/features/GOV-007-development-schema-baseline/release-notes.md
|
||||
A docs/features/GOV-007-development-schema-baseline/requirements.md
|
||||
A docs/features/GOV-007-development-schema-baseline/review/code-review.md
|
||||
A docs/features/GOV-007-development-schema-baseline/review/standards-review.md
|
||||
A docs/features/GOV-007-development-schema-baseline/rollback.md
|
||||
A docs/features/GOV-007-development-schema-baseline/test-plan.md
|
||||
M docs/governance/code-development-standards.md
|
||||
M docs/governance/development-workflow.md
|
||||
M docs/index.md
|
||||
M package.json
|
||||
A tools/database/fixtures/mysql57-schema-expected.sql
|
||||
A tools/database/fixtures/mysql57-schema-input.sql
|
||||
A tools/database/schema-baseline.mjs
|
||||
A tools/database/schema-baseline.test.mjs
|
||||
M tools/governance/finish.mjs
|
||||
M tools/governance/start.mjs
|
||||
30 files changed, 1835 insertions(+), 18 deletions(-)
|
||||
```
|
||||
|
||||
最终索引为 879 节点、1062 关系、23 条流程。新增流程集中在 Schema
|
||||
生成、校验、N/A 运行时一致性和发布门禁,不包含市场业务、HTTP、RabbitMQ
|
||||
或生产数据库流程。
|
||||
|
||||
@@ -8,10 +8,11 @@
|
||||
|
||||
## 开发后
|
||||
|
||||
- 基线提交:`2c502ebbec25e45ac2980c08ed288ace194b7a04`(先独立提交并推送 v0.0.5 N/A 基线)。
|
||||
- 索引:837 节点、997 关系、17 流程。
|
||||
- 暂存区:23 文件、179 符号、17 条流程,risk=critical。
|
||||
- N/A 基线提交:`2c502ebbec25e45ac2980c08ed288ace194b7a04`,已独立推送。
|
||||
- 最终实现提交:`d827bfadb1fc0a7d768eefbf87b46ba26ac612d6`,已推送 `origin/main`。
|
||||
- 索引:879 节点、1062 关系、23 条流程,状态 up-to-date。
|
||||
- 最终修复变更检测为 HIGH,涉及 13 条 Schema 生成、验证与治理门禁流程。
|
||||
|
||||
## 结论
|
||||
|
||||
新增关系和流程全部来自 GOV-007 Schema 安全门禁及其测试,没有引入市场业务、HTTP、RabbitMQ 或页面流程。风险从 LOW 提升到 critical 是因为新的 `governance:start` 前置门禁属于关键开发路径且整个模块首次加入;对应流程已用失败测试、修复测试、远程实测和独立 Review 覆盖。
|
||||
新增关系和流程全部来自 GOV-007 Schema 安全门禁及其测试,没有引入市场业务、HTTP、RabbitMQ 或页面流程。风险提升是因为 `schema:verify` 和 `governance:start` 属于关键开发路径;对应流程已用红绿测试、23 项 Schema 回归、远程实测和独立终审覆盖。
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
# GitNexus 暂存区变更检测
|
||||
|
||||
- 检测日期:2026-08-13
|
||||
- 检测范围:staged
|
||||
- 变更文件:23
|
||||
- 变更符号:179
|
||||
- 受影响流程:17
|
||||
- GitNexus 风险:critical(已按关键门禁完成专项验证)
|
||||
- 检测范围:最终实现提交前的 unstaged 修复
|
||||
- 变更文件:3
|
||||
- 变更符号:17
|
||||
- 受影响流程:13
|
||||
- GitNexus 风险:high(已按关键门禁完成专项验证)
|
||||
|
||||
## 受影响流程
|
||||
|
||||
@@ -15,9 +15,11 @@
|
||||
- 清单、SHA-256 与目录文件集合验证。
|
||||
- MySQL 5.7 双客户端、服务端和字符规则验证。
|
||||
- 当前发布版本本地校验。
|
||||
- N/A 基线与当前固定开发环境开关的一致性校验。
|
||||
- 顶层数据修改/装载、疑似凭据、连接串和生产主机扫描。
|
||||
- 已提交、已推送、远程分支和远程标签严格校验。
|
||||
- CLI 生成/验证和 `governance:start` 入口。
|
||||
|
||||
## 风险解释
|
||||
|
||||
GitNexus 以“新增模块的全部 17 条流程均在本次变更中”为依据给出 critical,而非发现了业务市场分析、生产数据库或跨服务调用回归。本功能本身是开发前关键门禁,因此该风险等级按关键路径处理:执行 20 项 Schema 行为测试、既有 13 项治理回归测试、真实 Gitea `ls-remote` 校验、三轮独立代码 Review 和完成门禁。任何 Review Important 项未关闭前不发布。
|
||||
GitNexus 的 HIGH 结论来自安全扫描和 N/A 校验位于 13 条生成、验证及治理门禁流程,而非发现市场业务、生产数据库或跨服务回归。该风险已用 23 项 Schema 行为测试、既有 13 项治理回归测试、真实 Gitea `ls-remote` 校验和独立最终 Review 覆盖。最终 Review 无未关闭问题。
|
||||
|
||||
Reference in New Issue
Block a user