Skip to content

refactor(runtime): close product and tool owners#1041

Merged
limityan merged 1 commit into
GCWing:mainfrom
limityan:yanzhn/product-tool-runtime-owner-closure
Jun 2, 2026
Merged

refactor(runtime): close product and tool owners#1041
limityan merged 1 commit into
GCWing:mainfrom
limityan:yanzhn/product-tool-runtime-owner-closure

Conversation

@limityan
Copy link
Copy Markdown
Collaborator

@limityan limityan commented Jun 2, 2026

摘要

  • 收敛 ToolUseContext runtime handles、product tool materialization、collapsed unlock state 到更清晰的 runtime owner 路径,保留 core 兼容入口。
  • 将内置 MiniApp bundle identity、version 和 embedded assets 移入 bitfun-product-domains,不改变 seed、marker IO、recompile 或资源内容。
  • 精简架构与协作文档;补齐核心支撑 crate、transport/api、tool runtime、WebDriver 等模块边界指南。

关联 issue:#970。该 issue 继续作为完整架构迁移跟踪,不在本 PR 关闭。

功能边界

  • 不改变 tool name、provider order、expanded/collapsed exposure、GetToolSpec unlock 规则、portable tool context facts、MiniApp seed/reseed 决策、内置资源内容或默认 feature。
  • 不迁移 MiniApp worker/host dispatch、function-agent Git/AI concrete service、具体 IO tools 或平台适配实现。
  • 文档变更只收敛边界表达,不改变目标架构、接口归属、实现行为或贡献准入要求。

验证

  • Focused Rust tests 覆盖 runtime handles、tool context、product tool materialization、collapsed unlock、MiniApp reseed、product-domain feature profiles。
  • Rust checks 覆盖 bitfun-core --features product-fullbitfun-desktop 和 workspace。
  • Repo checks 覆盖 pnpm run check:repo-hygienenode scripts/check-core-boundaries.mjsgit diff --check

@limityan limityan force-pushed the yanzhn/product-tool-runtime-owner-closure branch 4 times, most recently from 48483a4 to ce4c1c6 Compare June 2, 2026 10:29
@limityan limityan force-pushed the yanzhn/product-tool-runtime-owner-closure branch from ce4c1c6 to cda3080 Compare June 2, 2026 10:57
@limityan limityan merged commit 471c3dc into GCWing:main Jun 2, 2026
4 checks passed
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