From 40f3b2ef6f3bec76eccca8c5ce7591efb23c10a5 Mon Sep 17 00:00:00 2001 From: Citrons <909229731@qq.com> Date: Wed, 12 Aug 2026 18:19:40 +0800 Subject: [PATCH] =?UTF-8?q?docs(GOV-001):=20=E5=B0=81=E5=AD=98=E5=B7=A5?= =?UTF-8?q?=E7=A8=8B=E6=B2=BB=E7=90=86=E5=9F=BA=E7=BA=BF=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 2 +- CHANGELOG.md | 2 +- .../GOV-001-engineering-governance/gitnexus/after.md | 3 +++ docs/features/GOV-001-engineering-governance/manifest.yaml | 5 +++-- .../GOV-001-engineering-governance/release-notes.md | 7 +++++++ docs/features/GOV-001-engineering-governance/rollback.md | 4 +++- 6 files changed, 18 insertions(+), 5 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index c8f1602..ab3047b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -21,7 +21,7 @@ # GitNexus — Code Intelligence -This project is indexed by GitNexus as **a-share-analysis** (170 symbols, 191 relationships, 0 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely. +This project is indexed by GitNexus as **a-share-analysis** (171 symbols, 192 relationships, 0 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely. > If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first. diff --git a/CHANGELOG.md b/CHANGELOG.md index 60ec674..f16113c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,6 @@ 本项目采用语义化版本。功能级变化请从 `docs/features/` 按功能编号追溯。 -## 未发布 +## 0.0.0 - 2026-08-12 - 建立工程治理、GitNexus 门禁和功能档案体系。 diff --git a/docs/features/GOV-001-engineering-governance/gitnexus/after.md b/docs/features/GOV-001-engineering-governance/gitnexus/after.md index dd9a4a3..2c63413 100644 --- a/docs/features/GOV-001-engineering-governance/gitnexus/after.md +++ b/docs/features/GOV-001-engineering-governance/gitnexus/after.md @@ -2,7 +2,10 @@ - 日期:2026-08-12 - GitNexus状态:最新。 +- 已索引提交:`efdfb33`。 - 图谱规模:170 个符号、191 条关系、4 个功能簇、0 条执行流程。 - 远程仓库:未配置。 图谱已识别治理脚本中的功能编号校验、目录解析和门禁执行关系,并形成 4 个治理相关功能簇。查询“engineering governance feature record”能够定位功能编号校验、必备文件清单、开始/完成门禁及对应文档。仓库尚无业务代码,因此没有业务执行流程属于符合预期的结果。 + +提交后执行 `npx gitnexus detect-changes --repo a-share-analysis --scope all`,结果为 `No changes detected.`,说明实现提交之后没有未记录的代码变化。 diff --git a/docs/features/GOV-001-engineering-governance/manifest.yaml b/docs/features/GOV-001-engineering-governance/manifest.yaml index 4a093b5..f0e9ca0 100644 --- a/docs/features/GOV-001-engineering-governance/manifest.yaml +++ b/docs/features/GOV-001-engineering-governance/manifest.yaml @@ -1,7 +1,7 @@ id: GOV-001 name: 工程治理基线 slug: engineering-governance -status: verifying +status: released owner: project created_at: 2026-08-12 requirements: requirements.md @@ -14,4 +14,5 @@ gitnexus_before: gitnexus/before.md gitnexus_after: gitnexus/after.md gitnexus_comparison: gitnexus/comparison.md baseline_commit: 7cc2ba0 -release: unreleased +implementation_commit: efdfb33 +release: v0.0.0 diff --git a/docs/features/GOV-001-engineering-governance/release-notes.md b/docs/features/GOV-001-engineering-governance/release-notes.md index a875f75..6271ddc 100644 --- a/docs/features/GOV-001-engineering-governance/release-notes.md +++ b/docs/features/GOV-001-engineering-governance/release-notes.md @@ -1,3 +1,10 @@ # 发布说明 +## v0.0.0 + 建立项目首个工程治理基线,不包含用户可见业务功能。 + +- 实现提交:`efdfb33`。 +- 建立代码开发规范和开发流程规范。 +- 建立 GitNexus 开发前后双门禁。 +- 建立中文提交钩子、文档追溯和本地 Git/Gitea策略。 diff --git a/docs/features/GOV-001-engineering-governance/rollback.md b/docs/features/GOV-001-engineering-governance/rollback.md index 63196aa..ca41c9c 100644 --- a/docs/features/GOV-001-engineering-governance/rollback.md +++ b/docs/features/GOV-001-engineering-governance/rollback.md @@ -1,3 +1,5 @@ # 回退说明 -在本地首个提交建立后,可通过该提交完整读取治理基线。若治理脚本阻塞开发,可先用 Git 恢复到上一标签;不得删除功能档案或改写已共享历史。 +空仓库基线提交为 `7cc2ba0`,治理实现提交为 `efdfb33`,发布标签为 `v0.0.0`。 + +若治理脚本发生问题,优先新建修复提交。确需查看治理前状态时,可检出 `7cc2ba0`;不得在未来已共享到 Gitea 后重写 `main` 历史。`.gitnexus/` 可以删除后重新生成,功能档案和 Git 历史不可作为缓存删除。