Skip to content

refactor(status): move dreaming projections into bounded module - #2974

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

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

Conversation

@huangruiteng

Copy link
Copy Markdown
Owner

Change

Q4 seventh status extraction slice: dreaming/planning projection wrappers move into loopx/control_plane/status/dreaming_projection.py:

  • compact_server_planning_contract
  • compact_dreaming_proposal
  • compact_dreaming_lane_badge
  • dreaming_attention_fields

loopx.status keeps the public compatibility functions as thin local wrappers, and preserves DREAMING_ADVISORY_CLASSIFICATIONS as an audited compatibility reexport with explicit test evidence.

Surfaces

  • loopx/control_plane/status/dreaming_projection.py: new bounded status projection module.
  • loopx/status.py: facade wrappers delegate to the bounded module.
  • tests/control_plane/test_status_classification_reexport.py: explicit facade evidence for the preserved classification constant.

Validation

  • Full pytest: 2306 passed, 2 skipped.
  • Focused status/goal/contract/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 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 e090cc35b。这是对 PR #2974 的完整 owner review。该 PR 是 M6 Q4 的第七片真实替换:dreaming/planning projection 包装组迁入 loopx/control_plane/status/dreaming_projection.pyloopx.status 保留薄兼容壳,并保留 DREAMING_ADVISORY_CLASSIFICATIONS 的 audited reexport。

验证

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

结论

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

@huangruiteng
huangruiteng merged commit 4b59024 into main Aug 9, 2026
5 checks passed
@huangruiteng
huangruiteng deleted the codex/m6-q4-status-dreaming-20260809 branch August 9, 2026 00:34
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