iter57 cluster-067: 删 projection actorId ensure surfaces + Inspector cleanup (#943)#944
Conversation
移除 Studio/Scripting projection port 内部 ensure helper,并将测试激活迁移到 typed activation service。 补充 Inspector stale registration cleanup 与 guard 防回流。 ⟦AI:AUTO-LOOP⟧
📊 状态卡片 — reviewer 派出
🤖 controller status banner ⟦AI:AUTO-LOOP⟧ |
📊 状态卡片 — fix 派出
🤖 controller status banner ⟦AI:AUTO-LOOP⟧ |
📊 codex 进展 review-pr944-omnibus-r1 (⏳ 进行中; 已跑 7 min)
|
…or test 确定性 await PR #944 r1 reject 2 blockers: - public_projection_ensure_ports_guard.sh 漏 internal/多行 method signature - InspectorEndpointsTests.ActorsEndpoint_ShouldReflectInspectorUnregisterCleanup 实际 fail 修: - guard awk 覆盖 internal + multi-line method signature(actorId 后续行也算) - Inspector test 用 deterministic await(non Task.Delay),等 cleanup 实际生效 - 临时探针验证 guard 拦得住,移除后 pass - Inspector test 8/8 passed ⟦AI:AUTO-LOOP⟧
📊 状态卡片 — reviewer 派出
🤖 controller status banner ⟦AI:AUTO-LOOP⟧ |
📊 codex 进展 fix-pr944-r2 (⏳ 进行中; 已跑 11 min)
|
📊 codex 进展 review-pr944-omnibus-r3 (⏳ 进行中; 已跑 7 min)
|
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## auto-refact-dev #944 +/- ##
===================================================
+ Coverage 82.83% 83.53% +0.69%
===================================================
Files 998 987 -11
Lines 63092 63614 +522
Branches 8161 8220 +59
===================================================
+ Hits 52261 53138 +877
+ Misses 7304 6914 -390
- Partials 3527 3562 +35
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 63 files with indirect coverage changes 🚀 New features to boost your workflow:
|
摘要
iter57 cluster-067(severity:medium)— 删 internal projection actorId ensure surfaces + Inspector cleanup + 强化 guard
StudioCurrentStateProjectionPort+ scripting 模块的内部 actorId-based ensure helpers 仍可被生产代码用作"读 actor 现态"侧门,违反 "Projection 只消费 committed 事实" + "查询始终走 readmodel"IProjectionScopeActivationService<TLease>bootstrap;Inspector stale registration 清理;guard 加强防回流违反:CLAUDE.md「权威状态 / ReadModel / Projection」「禁止侧读冒充 query」「禁止 query-time replay/priming」
Phase 9 共识链路
META_JUDGE_DONE:consensus:delete:delete internal actorId projection ensure surfaces, include Inspector stale registration cleanup, use strengthened guard plus existing behavior tests✅详见 issue #943。
Scope
StudioCurrentStateProjectionPort+ DI registrationsIProjectionScopeActivationService<TLease>tools/ci/public_projection_ensure_ports_guard.sh加强local PASS:architecture_guards + test_stability_guards + dotnet build
closes #943
🤖 Generated with Claude Code via codex-refactor-loop iter57
⟦AI:AUTO-LOOP⟧