Merge blocked
感谢提交 Pull Requests!
Thanks for submitting a pull request.


【AI-Review】【严重】【基础代码问题】【代码逻辑错误】
● 问题: 根 package.json 第 17 行 pack 脚本仍为 pnpm --filter "@cptf/*" run pack,而本 PR 已将六个包的 name 字段全部由 @cptf/* 改为 @liu_wentao/cptf-*(framework/schema/benchmark/benchmark-rn/native-harmony/plugin-rn,见 packages/*/package.json 与 packages/native-harmony/harmony/nativeharmony/oh-package.json5、packages/benchmark-rn/harmony/benchmarkrn/oh-package.json5)。pnpm 的包名 glob @cptf/* 要求包名以 @cptf/ 开头,而改名后所有包名前缀已是 @liu_wentao/,该过滤器匹配不到任何包。
● 影响: 执行 pnpm run pack 时 pnpm 因无包匹配而跳过所有子包的 pack 脚本,不产出任何 .tgz 产物(如 cptf-framework-0.2.0.tgz、cptf-benchmark-0.2.0.tgz、cptf-benchmark-rn-0.2.0.tgz)。这直接打断 packages/framework/BUILD.md 文档记录的发布打包流程(pnpm run pack → 生成 cptf-framework-{version}.tgz),与本 PR「源码与发布产物零 diff、发布分支不再需要 sed 改名」的目标矛盾——发布流水线在 pack 这一步即中断。同文件第 11–14 行的 build:framework/build:benchmark/dev:framework/test 已同步改为 @liu_wentao/cptf-*,唯独 pack 漏改。
● 建议: 将第 17 行过滤器改为 @liu_wentao/cptf-*,与同文件其余 --filter 脚本保持一致:
"pack": "pnpm --filter \"@liu_wentao/cptf-*\" run pack"


Change Type
Change Description
Option A from the naming discussion: align the trunk's package references with the npm reality — the six packages are published as
@liu_wentao/cptf-*(0.2.0), and the bare@cptf/*names can never exist on npm (thecptforg/scope is taken). Keeping dead names in source meant every publish required a sed-rename branch and permanent source/registry drift.What changes (57 files):
@liu_wentao/cptf-framework,cptf-schema,cptf-benchmark,cptf-benchmark-rn,cptf-native-harmony,cptf-plugin-rn@cptf/benchmarkpackageIntentionally unchanged:
@cptf/*names as they were at the time)@cptf/*names are unimplemented placeholders, not references to real packagesEffect: the publish branch no longer needs any renaming step — source and published artifacts are name-identical (zero diff). The published packages live at https://www.npmjs.com/package/@liu_wentao/cptf-framework (all six under the same scope).
Note for maintainers: the
@liu_wentaoscope is the current npm publishing identity (thecptforg name is unavailable on npm). When a permanent org scope is decided (e.g.@cpf-rn), this rename repeats once — thecptf-prefix on package names is designed to survive that migration unchanged.Test Steps
Test reference: test case: full verification chain on the renamed graph
pnpm installresolves the renamed graphpnpm typecheck— clean@cptf/*six-package references remain outside CHANGELOG history and detox placeholder docs (grepped)Test Status
Pre-merge Self-Check