docs(FEAT-MO-004): 完成详情页治理追溯

This commit is contained in:
2026-08-25 00:24:11 +08:00
parent 0131f863b6
commit 50b6318d25
15 changed files with 219 additions and 6 deletions
@@ -0,0 +1,40 @@
# GitNexus 开发后基线
## GitNexus 状态
```text
Repository: /Users/citrons/Documents/Codex/2026-08-12/wo-x/a-share-analysis
Indexed: 8/25/2026, 12:22:30 AM
Indexed commit: 0131f86
Current commit: 0131f86
Status: ✅ up-to-date
```
## Git 已跟踪变更摘要
```text
AGENTS.md | 2 +-
docs/features/FEAT-MO-004-index-sector-detail/design.md | 7 ++++++-
docs/features/FEAT-MO-004-index-sector-detail/manifest.yaml | 3 +--
server/apps/api/src/market-overview/detail/market-detail.mapper.ts | 4 +++-
.../apps/api/src/market-overview/detail/market-detail.service.ts | 1 -
5 files changed, 11 insertions(+), 6 deletions(-)
```
## Git 工作区摘要
```text
M AGENTS.md
M docs/features/FEAT-MO-004-index-sector-detail/design.md
M docs/features/FEAT-MO-004-index-sector-detail/manifest.yaml
M server/apps/api/src/market-overview/detail/market-detail.mapper.ts
M server/apps/api/src/market-overview/detail/market-detail.service.ts
?? "SRMS3.6.0\345\270\270\350\247\201\351\227\256\351\242\230\346\265\213\350\257\204\351\242\230.2csv"
?? docs/features/FEAT-MO-004-index-sector-detail/development-summary.md
?? docs/features/FEAT-MO-004-index-sector-detail/gitnexus/comparison.md
?? docs/features/FEAT-MO-004-index-sector-detail/gitnexus/detected-changes.md
?? docs/features/FEAT-MO-004-index-sector-detail/qa/
?? docs/features/FEAT-MO-004-index-sector-detail/release-notes.md
?? docs/features/FEAT-MO-004-index-sector-detail/review/
?? docs/features/FEAT-MO-004-index-sector-detail/test-plan.md
```
@@ -0,0 +1,11 @@
# GitNexus 前后对比
| 指标 | 开发前 | 开发后 |
| --- | ---: | ---: |
| 索引提交 | `f8f4da9` | `0131f86`及收尾文档提交 |
| 节点 | 3506 | 3786 |
| 关系 | 4983 | 5466 |
| 执行流 | 104 | 115 |
| 变更风险 | 开发前 `MarketOverviewService` MEDIUM,其余 LOW | `detect_changes` MEDIUM,影响为预期模块注册/路由/契约 |
执行流数量变化来自详情 Controller/Service、Mapper、页面和测试被 GitNexus 纳入索引;收尾后的 3 个 mapper 流程是 lint 修复后的预期细化,没有发现跨基础设施的意外扩散。完整状态保存在 `before.md` 与 `after.md`。
@@ -0,0 +1,18 @@
# GitNexus 开发后变更检测
- 执行:`gitnexus_detect_changes(scope=all)`(实现提交前与文档收尾后各执行一次)
- 实现提交前结果:`risk_level=medium`,实现变更落在 API 模块注册、OpenAPI 导出、路由和概览导航,受影响执行流 2 个。
- 收尾后结果:`risk_level=medium`,5 个收尾变更文件、3 个 `mapDetailQuote` 相关执行流,均为预期的注释/文档和 lint 修复。
## 预期变更
- API:`MarketOverviewModule.register` 注册详情 Controller/Service;OpenAPI 导出接入详情 Controller/Service。
- Web:新增详情路由;概览页指数/板块入口改为真实导航。
- 文档:功能档案和 GitNexus 统计更新。
## 受影响执行流
- `RunApi → CreateTdxClient`:模块注册步骤变化,已有 API 启动和详情 E2E 已覆盖。
- `RunApi → CreateAktoolsClient`:模块注册步骤变化,已有短线和进程烟测已覆盖。
未发现数据库、Redis、RocketMQ、Scheduler、Worker 或部署文件的非预期变更;两次检测均未出现 HIGH/CRITICAL。