Skip to content

refactor(chat): move server entry helpers under chat namespace - #7896

Merged
huangruiteng merged 1 commit into
codex/small-kernel-m1-chat-slice2-20261102from
codex/small-kernel-m1-chat-slice4-20261102
Nov 2, 2026
Merged

huangruiteng merged 1 commit into
codex/small-kernel-m1-chat-slice2-20261102from
codex/small-kernel-m1-chat-slice4-20261102

Conversation

@cocolord

@cocolord cocolord commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Outcome

Advance the accepted M1 namespace regrouping with one reversible, behavior-preserving server-entry slice.

  • Move chat_session_open.py and chat_ssh_source_api.py under loopx.chat.
  • Update their only production consumer, focused imports, and mock patch targets.
  • Remove both old top-level paths without compatibility shims: repository inventory found no established docs, examples, or package import contract.
  • Lower the top-level module budget from 136 to 134, matching the exact net removal.

Stack and boundary

Validation

  • 69 passed: internal layout/budget, native steward session opening, and SSH source/lifecycle behavior.
  • examples/loopx-chat-server-smoke.py: real source Chat server path passed.
  • Source Chat bundle verification passed.
  • Isolated wheel import check proved both new modules ship, both old paths are absent, and loopx.chat_server imports outside the checkout.
  • Installed-wheel Chat HTTP delivery passed for entry, current/previous assets, and PWA files.
  • Diff-scoped semantic advisory found no supported new vocabulary carriers.
  • Rebase tree equality proved the validated product tree was unchanged after refactor(chat): colocate configuration APIs #7891 entered the stack base.
  • Exact-head standard premerge against 53435870b passed all direct checks and 2/2 selected catalog canaries.

Generated frontend assets, dependency trees, build output, and uv.lock were removed after validation.

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>
@huangruiteng
huangruiteng merged commit 77ebc81 into codex/small-kernel-m1-chat-slice2-20261102 Nov 2, 2026
12 of 33 checks passed
@huangruiteng
huangruiteng deleted the codex/small-kernel-m1-chat-slice4-20261102 branch November 2, 2026 12:22
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.

2 participants