Skip to content

refactor(status): move run projections into bounded module - #2972

Merged
huangruiteng merged 1 commit into
mainfrom
codex/m6-q4-status-run-20260809
Aug 8, 2026
Merged

refactor(status): move run projections into bounded module#2972
huangruiteng merged 1 commit into
mainfrom
codex/m6-q4-status-run-20260809

Conversation

@huangruiteng

Copy link
Copy Markdown
Owner

Change

Q4 fifth status extraction slice: run lifecycle projection wrappers move into loopx/control_plane/status/run_projection.py:

  • is_status_neutral_run
  • latest_agent_lane_run
  • compact_agent_lane_recommendation
  • latest_run_recommended_action_for_projection
  • latest_run

loopx.status keeps 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

  • Full pytest: 2306 passed, 2 skipped.
  • Focused status/attention/contract/import-boundary/maintainability: 23 passed.
  • Ruff: 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 to codex-quality-qualification.

@huangruiteng huangruiteng left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: APPROVED

head c90fcc9c9。这是对 PR #2972 的完整 owner review。该 PR 是 M6 Q4 的第五片真实替换:run lifecycle projection 包装组迁入 loopx/control_plane/status/run_projection.pyloopx.status 保留薄兼容壳。

验证

  • 全量 pytest:2306 passed, 2 skipped
  • 聚焦 status/attention/contract + import-boundary + maintainability ratchet:23 passed
  • ruff:通过
  • loopx canary premerge --from-git-diffselected=17 failures=0self_merge_allowed=true
  • GitHub checks:dependency-review / pytest / build 全部通过

结论

无 blocker。run lifecycle projection 现在位于 bounded status context,公共 facade 行为保持。按仓库 merge policy 路由合并。

@huangruiteng
huangruiteng merged commit 52d3caa into main Aug 8, 2026
5 checks passed
@huangruiteng
huangruiteng deleted the codex/m6-q4-status-run-20260809 branch August 8, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant