refactor(status): move run projections into bounded module - #2972
Merged
Conversation
huangruiteng
commented
Aug 8, 2026
huangruiteng
left a comment
Owner
Author
There was a problem hiding this comment.
Review: APPROVED
head c90fcc9c9。这是对 PR #2972 的完整 owner review。该 PR 是 M6 Q4 的第五片真实替换:run lifecycle projection 包装组迁入 loopx/control_plane/status/run_projection.py,loopx.status 保留薄兼容壳。
验证
- 全量 pytest:
2306 passed, 2 skipped - 聚焦 status/attention/contract + import-boundary + maintainability ratchet:
23 passed - ruff:通过
loopx canary premerge --from-git-diff:selected=17 failures=0,self_merge_allowed=true- GitHub checks:dependency-review / pytest / build 全部通过
结论
无 blocker。run lifecycle projection 现在位于 bounded status context,公共 facade 行为保持。按仓库 merge policy 路由合并。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Q4 fifth status extraction slice: run lifecycle projection wrappers move into
loopx/control_plane/status/run_projection.py:is_status_neutral_runlatest_agent_lane_runcompact_agent_lane_recommendationlatest_run_recommended_action_for_projectionlatest_runloopx.statuskeeps the public compatibility functions as thin local wrappers.Surfaces
loopx/control_plane/status/run_projection.py: new bounded status projection module.loopx/status.py: facade wrappers delegate to the bounded module.Validation
2306 passed, 2 skipped.23 passed.All checks passed.loopx canary premerge --from-git-diff: passed,selected=17 failures=0,self_merge_allowed=true.No failures or skips beyond the pre-existing suite skips. No manual holds.
Routing
Route:
codex-side-bypass; not assigned tocodex-quality-qualification.