chore(cqrs-rewrite): 校正恢复指标

- 更新 cqrs-rewrite 的 active tracking 与 trace 指标,确保 branch diff 与下一步建议反映当前提交后状态
This commit is contained in:
gewuyou 2026-05-12 08:55:53 +08:00 committed by GeWuYou
parent 370ea20de8
commit d7e142f03f
2 changed files with 8 additions and 7 deletions

View File

@ -18,7 +18,7 @@ CQRS 迁移与收敛。
- 当前结论:
- 本轮按 `$gframework-batch-boot 50` 持续协调多波 non-conflicting subagent基线固定为
`origin/main @ ef4d3d5d (2026-05-11 17:33:43 +0800)`
- 当前 branch 相对基线的累计 diff 约为 `7 files / 961 lines`;本轮停点由
- 当前 branch 相对基线的累计 diff 约为 `9 files / 1114 lines`;本轮停点由
`context-budget / reviewability` 决定,而不是 `50 files` 阈值。
- tests 侧已补齐并提交:
- `CqrsRegistrationServiceTests`:补空输入、空项过滤、稳定键排序与跨调用跳过边界
@ -48,7 +48,7 @@ CQRS 迁移与收敛。
- 当前基线:
- `origin/main @ ef4d3d5d (2026-05-11 17:33:43 +0800)`
- 本轮 batch 启动前,分支相对基线的累计 diff 为 `0 files / 0 lines`
- 当前自然停点时,累计 diff 约为 `7 files / 961 lines`
- 当前自然停点时,累计 diff 约为 `9 files / 1114 lines`
- 本轮提交:
- `ef3cfdc4` `test(cqrs): 补充注册服务边界测试`
- `bcfecd3c` `test(cqrs): 补充 registrar 激活失败分支测试`
@ -69,9 +69,9 @@ CQRS 迁移与收敛。
- `dotnet test GFramework.Cqrs.Tests/GFramework.Cqrs.Tests.csproj -c Release --filter "FullyQualifiedName~CqrsRegistrationServiceTests|FullyQualifiedName~CqrsHandlerRegistrarTests|FullyQualifiedName~CqrsHandlerRegistrarFallbackFailureTests|FullyQualifiedName~CqrsNotificationPublisherTests"`
- 结果:通过,`Passed: 36, Failed: 0`
- `python3 scripts/license-header.py --check --paths GFramework.Cqrs.Benchmarks/Messaging/StreamPipelineBenchmarks.cs GFramework.Cqrs.Benchmarks/Messaging/StreamingBenchmarks.cs GFramework.Cqrs.Benchmarks/README.md GFramework.Cqrs.Tests/Cqrs/CqrsHandlerRegistrarFallbackFailureTests.cs GFramework.Cqrs.Tests/Cqrs/CqrsHandlerRegistrarTests.cs GFramework.Cqrs.Tests/Cqrs/CqrsNotificationPublisherTests.cs GFramework.Cqrs.Tests/Cqrs/CqrsRegistrationServiceTests.cs ai-plan/public/cqrs-rewrite/todos/cqrs-rewrite-migration-tracking.md ai-plan/public/cqrs-rewrite/traces/cqrs-rewrite-migration-trace.md`
- 结果:待本轮 `ai-plan` 更新后重新确认
- 结果:通过
- `git diff --check origin/main...HEAD`
- 结果:发现并修复 `StreamPipelineBenchmarks.cs` 1 处 trailing whitespace待本轮 `ai-plan` 更新后重新确认
- 结果:通过
## 下一推荐步骤

View File

@ -36,12 +36,13 @@ SPDX-License-Identifier: Apache-2.0
- `python3 scripts/license-header.py --check --paths ...`
- `git diff --check origin/main...HEAD`
- 当前停点判断:
- 当前 branch diff 约为 `7 files / 961 lines`
- 当前 branch diff 约为 `9 files / 1114 lines`
- 明显低于 `50 files` 阈值
- 本轮停止信号来自 `context-budget / reviewability`,不是文件预算耗尽
- 当前下一步:
- 先把本轮主线程修正与 `ai-plan` 更新提交到干净工作树
- 再按需要运行 `$gframework-pr-review` 或继续单文件 benchmark parity / docs-only 下一波
- 先按需要运行 `$gframework-pr-review`,确认 `PR #348` latest-head open thread 是否已随本轮新增提交收敛
- 若继续扩 benchmark优先补 `StreamLifetimeBenchmarks``StreamStartupBenchmarks` 的单文件 `Mediator` parity
- 若切回文档收尾,把 `GFramework.Cqrs/README.md``docs/zh-CN/core/command.md``docs/zh-CN/core/query.md` 单独作为 docs-only 下一波
## 2026-05-11