docs(plan): module-system migration plan (Stage A–I)#2
Closed
Tanya7z wants to merge 1 commit into
Closed
Conversation
…e grounded) Co-authored-by: Shiroha <Tanya7z@users.noreply.github.com>
Member
Author
|
Superseded: this plan was generated against a stale main (pre HANDOFF.md, pre-afk-migration). The actual current refactor is the v2 protocol lift described in HANDOFF.md §6. Closing; not merging. |
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.
背景
任务要求阅读仓库根目录的
HANDOFF.md作为上下文,但该文件在当前分支、其他分支(main、origin/refactor/module-system)以及 git 历史中均不存在。本 PR 通过现有真相源(docs/plan/module-architecture.md、代码内 Stage 标记、catalog.json/module-lock.json/@sfmc-sdk/db-server/src的实际结构)重建了迁移上下文,并产出一份规划文档,无任何代码改动。内容
新增
docs/plan/module-system-migration.md:@sfmc/sdk(而非旧文的 4 个shared/*包)、集中式db-server/src分层。module-lock.json孤儿条目(service-panel、feature-money)、package.json中check-catalog的/tools绝对路径 bug、*-gui子包未进 catalog、manifest 三字段未被消费、CLAUDE.md文档漂移等。SapiHostApis适配层 + 去 stub)→ G(Node 侧模块化 + 单一ModuleManager)→ I(清单驱动路由/迁移),每阶段附范围、触点、验收。说明
如后续补上
HANDOFF.md且范围不一致,应以其为准并据此修订本文。