refactor(core): layer crates and close product assembly facade#1076
Merged
Conversation
b154a8a to
1a178e8
Compare
1a178e8 to
a979d25
Compare
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.
变更内容
src/crates收敛为分层目录:surfaces、facade、integrations、services、product、execution、contracts。src/crates/runtime物理层重命名为src/crates/execution,保留现有 crate/package 名称与公开 API 语义。src/crates/surfaces/acp,明确其作为产品协议入口的归属。AGENTS.md、README、架构与计划文档中的层级名称、依赖方向和路径说明。风险与兼容性
bitfun://runtime/...等逻辑 URI。src/crates/integrations保留为具体 provider/transport/platform adapter 的物理目录;产品协议入口移动到surfaces。验证
cargo metadata --no-deps --format-version 1node --test scripts/check-core-boundaries.test.mjsnode scripts/check-core-boundaries.mjspnpm run check:repo-hygienepnpm --dir src/web-ui run test:run src/shared/services/reviewTargetClassifier.test.ts src/shared/services/review-team/pathMetadata.test.ts src/shared/services/review-team/risk.test.tscargo check -p bitfun-core --no-default-featurescargo check -p bitfun-core --features product-fullcargo check -p bitfun-acpcargo test -p bitfun-acpcargo check -p bitfun-clicargo check -p bitfun-desktopgit diff --check