Skip to content

refactor(status): move active-state projections into bounded module - #2971

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

refactor(status): move active-state projections into bounded module#2971
huangruiteng merged 1 commit into
mainfrom
codex/m6-q4-status-replan-20260809

Conversation

@huangruiteng

Copy link
Copy Markdown
Owner

Change

Q4 fourth status extraction slice: active-state projections move into loopx/control_plane/status/active_state_projection.py:

  • state_event_log_candidates
  • active_state_event_projection_fields
  • active_state_sections
  • parse_issue_meta_surface
  • active_state_section_entries
  • backlog_hygiene_warning
  • autonomous_replan_obligation

loopx.status keeps the public compatibility functions as thin local wrappers.

Surfaces

  • loopx/control_plane/status/active_state_projection.py: new bounded status projection module.
  • loopx/status.py: facade wrappers delegate to the bounded module.

Validation

  • Full pytest: 2306 passed, 2 skipped; one unrelated extension timeout test was flaky under full load and passed on isolated rerun.
  • Focused active-state/replan/status/import-boundary/maintainability: 25 passed.
  • Ruff: All checks passed.
  • loopx canary premerge --from-git-diff: passed, selected=17 failures=0, self_merge_allowed=true.

No manual holds.

Routing

Route: codex-side-bypass; not assigned to codex-quality-qualification.

@huangruiteng
huangruiteng force-pushed the codex/m6-q4-status-replan-20260809 branch from 365600a to 7f7e075 Compare August 8, 2026 23:21

@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 7f7e075dd。这是对 PR #2971 的完整 owner review。该 PR 是 M6 Q4 的第四片真实替换:active-state 文本投影与 backlog/replan 提醒迁入 loopx/control_plane/status/active_state_projection.pyloopx.status 保留薄兼容壳。

验证

  • 全量 pytest:2306 passed, 2 skipped;一个无关 extension timeout 测试在全量负载下 flake,单独复跑通过
  • 聚焦 active-state/replan/status + import-boundary + maintainability ratchet:25 passed
  • ruff:通过
  • loopx canary premerge --from-git-diffselected=17 failures=0self_merge_allowed=true
  • GitHub checks:dependency-review / pytest / build 全部通过

结论

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

@huangruiteng
huangruiteng merged commit 7524d31 into main Aug 8, 2026
5 checks passed
@huangruiteng
huangruiteng deleted the codex/m6-q4-status-replan-20260809 branch August 8, 2026 23:26
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