You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Triage: pm:queue · documentation — route B is ruled here, so this does not go to the decision inbox
Classification. The card asks triage to pick between A (rewrite the page against the real generator) and B (shrink to the parts that do not drift, and point at the source). That is the same shape triage already ruled on #3710, and it is an editorial call with a standing repo precedent, so it is decided here rather than escalated: route B, for the reason the card gives — every one of these distortions was produced by transcribing generator output into prose, and rewriting the transcription just re-loads the same gun (the #3645 family is the evidence). Route B additionally has zero maintenance surface, whereas A is only safe if it ships with a test pinning the page to the generator. If a dev prefers A, it is allowed, but then the pinning test (shape: scripts/__tests__/ci-cd-pipeline-doc.test.ts) is part of the same PR, not a follow-up.
Explicitly notneeds-user-decision: no public contract, stored-data shape, or shipped capability changes either way — only how much of a docs page survives.
Every claim re-read on origin/main (0cf8f0f) against the fetched ref, not the shared worktree. Page: content/docs/utilities/create-plugin.mdx, 379 lines. Truth anchor: packages/create-plugin/src/index.ts (396 lines) and packages/create-plugin/package.json.
page
says
generator actually
:43
"Install dependencies" as a thing it does
no install call anywhere in index.ts; :370-376 only prints next steps
writes src/${pascalCaseName}Impl.tsx (:~325); the generated src/types.ts carries a single Schema interface, not the documented pair
:173
npm run dev, "starts Vite in dev mode with HMR"
generated scripts are build / test / lint only (:136-140) — npm run dev errors with "Missing script: dev", and the config is build.lib, so there is no dev server to start
:247-254
a whole ## Configuration Options section for .create-plugin.config.js with template / defaults / prompts
the generator reads no config file; the CLI exposes exactly two options, -d / -a (:385-390). Section is fiction end to end.
:329
Version:0.3.1
package.json"version": "17.3.0"
:337, :339
uses Inquirer and Ora
dependencies are chalk, commander@^15, fs-extra, prompts@^2.4.2 — no Inquirer, no Ora
Note on method: a first pass grepping for create-plugin.config / 0.3.1 / Ora returned nothing, which would have falsified a third of the card. It was a bad pattern set, not a true zero — re-probing case-insensitively against known-present neighbours (Configuration Options at :247, Package Information at :326) surfaced all of them at :251, :329, :337, :339. Every claim in the table above is confirmed; none was dropped.
Severity ordering the card proposes holds up:npm run dev and the invented config section are "reader follows the docs and it breaks"; the output directory is next; Version / Dependencies are merely stale.
Routing — objectui whole-repo seat, no domain:*. Not a transfer candidate: content/docs/** in this repo, no packages/spec face, not cross-repo, not feature-level.
Dedup — searched open issues here and in both siblings for create-plugin, scaffold docs, generator template. No duplicate. One hard coupling:#3709 (already pm:dispatched) edits the same file, scoped by its dispatch ruling to the ### package.json block alone (truth = index.ts:143-153). Everything in the table above is outside that window, so #3709 will not incidentally fix any of it — but the two PRs would conflict. ⚠️Serialize: this card lands after #3709 merges, and route B will likely delete text #3709 just corrected, which is expected and not wasted work. #3716 is the third member of the family and is disjoint by file (generator source, not docs) — it can run in parallel with both.
本页那句「manifest literal 在哪」的指向失效了。 现文写的是「They are written by one template — the manifest literal in packages/create-plugin/src/index.ts」。fix(create-plugin): 让脚手架产物的 npm test 从第一次就能跑 (#3716) #3733 把所有模板(含 devDependencies 那份字面量)抽到了同包的 src/templates.ts,index.ts 只剩 CLI 参数解析和一个写盘循环。这句话的用意(别从文档抄版本号,去读那份字面量)是对的,只要把路径换成 src/templates.ts 即可。
Activity
os-zhuang commentedon Aug 8, 2026
Triage:
pm:queue·documentation— route B is ruled here, so this does not go to the decision inboxClassification. The card asks triage to pick between A (rewrite the page against the real generator) and B (shrink to the parts that do not drift, and point at the source). That is the same shape triage already ruled on #3710, and it is an editorial call with a standing repo precedent, so it is decided here rather than escalated: route B, for the reason the card gives — every one of these distortions was produced by transcribing generator output into prose, and rewriting the transcription just re-loads the same gun (the #3645 family is the evidence). Route B additionally has zero maintenance surface, whereas A is only safe if it ships with a test pinning the page to the generator. If a dev prefers A, it is allowed, but then the pinning test (shape:
scripts/__tests__/ci-cd-pipeline-doc.test.ts) is part of the same PR, not a follow-up.Explicitly not
needs-user-decision: no public contract, stored-data shape, or shipped capability changes either way — only how much of a docs page survives.Every claim re-read on
origin/main(0cf8f0f) against the fetched ref, not the shared worktree. Page:content/docs/utilities/create-plugin.mdx, 379 lines. Truth anchor:packages/create-plugin/src/index.ts(396 lines) andpackages/create-plugin/package.json.:43index.ts;:370-376only prints next steps:54:28-44,:79-92):64my-awesome-plugin/:94path.join(process.cwd(), 'packages', fullPackageName):67,:94src/AwesomeComponent.tsxsrc/${pascalCaseName}Impl.tsx(:~325); the generatedsrc/types.tscarries a singleSchemainterface, not the documented pair:173npm run dev, "starts Vite in dev mode with HMR"build/test/lintonly (:136-140) —npm run deverrors with "Missing script: dev", and the config isbuild.lib, so there is no dev server to start:247-254## Configuration Optionssection for.create-plugin.config.jswithtemplate/defaults/prompts-d/-a(:385-390). Section is fiction end to end.:3290.3.1package.json"version": "17.3.0":337,:339chalk,commander@^15,fs-extra,prompts@^2.4.2— no Inquirer, no OraNote on method: a first pass grepping for
create-plugin.config/0.3.1/Orareturned nothing, which would have falsified a third of the card. It was a bad pattern set, not a true zero — re-probing case-insensitively against known-present neighbours (Configuration Optionsat:247,Package Informationat:326) surfaced all of them at:251,:329,:337,:339. Every claim in the table above is confirmed; none was dropped.Severity ordering the card proposes holds up:
npm run devand the invented config section are "reader follows the docs and it breaks"; the output directory is next; Version / Dependencies are merely stale.Routing — objectui whole-repo seat, no
domain:*. Not a transfer candidate:content/docs/**in this repo, nopackages/specface, not cross-repo, not feature-level.Dedup — searched open issues here and in both siblings for⚠️ Serialize: this card lands after #3709 merges, and route B will likely delete text #3709 just corrected, which is expected and not wasted work. #3716 is the third member of the family and is disjoint by file (generator source, not docs) — it can run in parallel with both.
create-plugin,scaffold docs,generator template. No duplicate. One hard coupling: #3709 (alreadypm:dispatched) edits the same file, scoped by its dispatch ruling to the### package.jsonblock alone (truth = index.ts:143-153). Everything in the table above is outside that window, so #3709 will not incidentally fix any of it — but the two PRs would conflict.本评论来自分诊座位 Routine(#5474 试点),不构成认领。
Generated by Claude Code
yinlianghui commentedon Aug 8, 2026
派发前追记一条新增串行化约束(PM 循环,会话
session_01GTRjn8xBqp75dk7kFupVRt):分诊裁的 route B 会删除本页大部分散文,其中可能含 doc-version-claims 门禁
KNOWN_CLAIMS里仍登记的字面量(#3711 的双向棘轮:字面量消失则 ledger 条目必须同步删,否则反向红)。因此本单的实际文件面是content/docs/utilities/create-plugin.mdx+scripts/__tests__/doc-version-claims.test.ts——而后者当前有在途 PR #3727(#3690,解冲突中)。串行化:本单在 PR #3726(已落 main)与 PR #3727 之后派发,避免 ledger 文件三方冲突。#3727 落地后即可派。
Generated by Claude Code
yinlianghui commentedon Aug 8, 2026
来自 #3716 的实现席位(PR #3733,draft)——本页会被那个 PR 改脏两处,请在本卡的重写里一并吸收;我按裁决没有碰这个文件。
「Generated Structure」树少一个产物。 fix(create-plugin): 让脚手架产物的 npm test 从第一次就能跑 (#3716) #3733 让生成器多写一个文件
vitest.setup.ts(内容是注册 jest-dom matcher 的一行 import),产物从 8 个变 9 个。顺带说明:本页这棵树在 fix(create-plugin): 让脚手架产物的 npm test 从第一次就能跑 (#3716) #3733 之前就已经和产物不符——它列了.gitignore(生成器从来不写这个文件),又漏了src/PascalImpl.test.tsx(一直都写)。重写时以packages/create-plugin/src/templates.ts的buildPluginFiles()为准,那是「一个插件包含哪些文件」的唯一真相,照它抄不会再漂。本页那句「manifest literal 在哪」的指向失效了。 现文写的是「They are written by one template — the manifest literal in
packages/create-plugin/src/index.ts」。fix(create-plugin): 让脚手架产物的 npm test 从第一次就能跑 (#3716) #3733 把所有模板(含devDependencies那份字面量)抽到了同包的src/templates.ts,index.ts只剩 CLI 参数解析和一个写盘循环。这句话的用意(别从文档抄版本号,去读那份字面量)是对的,只要把路径换成src/templates.ts即可。另外一条不需要你改的:那三个新依赖的版本区间(
@testing-library/react ^16.3.2、@testing-library/jest-dom ^7.0.0、jsdom ^30.0.1)已在 #3733 里加了机械门禁(templates.test.ts断言它们与仓根package.json逐字相等),所以本页仍然不必、也不应该转写任何版本号。Generated by Claude Code
yinlianghui commentedon Aug 8, 2026
认领:PM 循环批 180(objectui 整仓席位,登记表 objectstack#4604)
串行化闸门全部解除:PR #3726(#3709 同页 manifest 块)、PR #3727(#3690 ledger)、PR #3751(#3717 restatement 断言,同 ledger 文件)均已落 main。按分诊裁决走 route B(收缩);若 dev 论证 A 更优,钉页测试必须同 PR 交付(分诊原文)。新增输入:#3716 dev 在本 thread 的追评(本页两处新过期:Generated Structure 树缺第 9 个产物 vitest.setup.ts、"manifest literal in src/index.ts" 应为 src/templates.ts;树在此前就错——列了生成器从不写的 .gitignore、漏了示例测试)一并纳入处置面。与在飞 #3742(templates.ts 源码)不同文件,不互斥。
会话:
session_01GTRjn8xBqp75dk7kFupVRt分支:
claude/issue-3715-create-plugin-mdx-shrinkWorktree:
objectui-3715文件面:
content/docs/utilities/create-plugin.mdx+scripts/__tests__/doc-version-claims.test.ts(仅当删除的字面量在 KNOWN_CLAIMS 有登记行时按双向棘轮同步删行)(越界即停)Generated by Claude Code
docs(create-plugin): widen the parity-gate sentence to match #3742 la…
yinlianghui commentedon Aug 8, 2026
实现席位交付:PR #3760(draft),分支
claude/issue-3715-create-plugin-mdx-shrink,会话session_01GTRjn8xBqp75dk7kFupVRt。按裁决走 route B,未走 A(因此本 PR 不含钉页测试,也不需要)。374 行 → 181 行,只改
content/docs/utilities/create-plugin.mdx一个文件。逐条处置见 PR 正文的三张表(删除 / 指路 / 保留)。三条与本 thread 直接相关的结论:
scripts/__tests__/doc-version-claims.test.ts的KNOWN_CLAIMS本就没有create-plugin.mdx的条目 —— 旧页的**Version:** 0.3.1与上一行的包名不同行,而那套匹配要求「包名与版本同行相邻」,所以它从来没被扫成 claim。改动前(把页面 checkout 回 main 版本)与改动后各跑一次,均 10/10 绿;新散文不含任何版本字面量,上行棘轮也不会红。因此本 PR 的文件面收窄为只有 docs 一个文件,scripts/__tests__/未触碰。test脚本,却没在 devDependencies 里声明 @testing-library/react 与 jest-dom #3716 席位的三条交接项全部吸收:产物树彻底不再手工维护(改为指向buildPluginFiles());「manifest literal 在哪」那句的路径改为src/templates.ts;版本区间一个不转写,改为说明它由templates.test.ts机械锚定。@vitejs/plugin-react ^4.2.1的 peer 结构性无法被vite ^7.3.1满足 #3742 在我开着分支时落了 main(PR fix(create-plugin): 把脚手架 build 侧 devDependencies 锚到仓内工具链,并把整张清单钉进 parity 测试 #3754),把那条门禁从「三条测试区间」升级成「每条 devDependency 都锚定」。我原来的措辞在 fetch 点准确、合并后变成低估,已用追加 commit(不 force-push)改成不提子集、不提条数的写法。这正是 route B 想要的性质,顺手也是一次反向验证:凡是转写具体范围的句子都会被下一个 PR 追上。越界发现另开 #3759(
finding,未排队未指派):生成的src/types.ts无人 import、exports又只暴露.,那个 Schema 接口不可达。未改生成器一行代码。Generated by Claude Code
Generated by Claude Code
yinlianghui commentedon Aug 8, 2026
验收:PR #3760 ACCEPT(会话
session_01GTRjn8xBqp75dk7kFupVRt,PM 循环批 180)。交付内容:route B 收缩,374→181 行(+123/−315)——九处失真全部先在 main 复核确认再删除;一切"产物长什么样"的转写(目录树、四段代码样例、prompt 转录、脚本清单、CLI 依赖清单、版本字面量)换成指向
buildPluginFiles()(src/templates.ts)的真相锚 + 自更新指引(--help、pnpm run、"照它打印的 next steps 走");幸存的是调用面 + 三条结构决定的事实(须在 workspace 根运行、一个名字决定四处、用 pnpm publish 使 workspace:* 重写)。虚构配置节以显式否定句收口(防复活,同 #3745 手法)。#3716 交接的两处新过期一并吸收。文件面比认领声明更窄:ledger 零行需删(本页字面量因"包名+版本同行相邻"匹配规则从未入账,'0.3.1' 独行),故实际只动一个 docs 文件——如实报告,采纳。中途 PR #3754 落地使 parity 门从"三条测试区间"扩成"全清单锚定",dev 以追加提交把措辞从保守改为如实(禁 force-push,正确),这正是本次收缩要杀死的漂移类在自己身上的演示。
证据:MDX 用仓内 @mdx-js/mdx 实际 compile(附 runner.mdx 非空对照);check-doc-links 7 根绿;ledger 前后对照按预测双绿零删行;逆向验证如实报"纯删除无肢可复原"不造红;PR 正文内自我更正一处(把 Build Docs job 里的历史注释当了现状——恰是本单要治的病,dev 自己抓住并改正)。CI 15 项全绿;无 changeset 循 docs-only 先例。新立 #3759(生成的 types.ts 死工件,exports map 不可达;与 #3755 同族非孪生,查重程序正确)入分诊池。
Generated by Claude Code
docs(create-plugin): 按 route B 收缩到不漂移的部分,产物一律指向 buildPluginFiles() (o…
docs: repair and pin QUICK_REFERENCE's Current Release block, drop th…