Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

Commit 4f38f39

Browse files
docs(skills): the plugin guide's tombstone comment lists the serializer key list with of (objectui#10337) (#10780)
Fixes #10337 Clause-②: no. It is a comment in a guide, and no accept set moves. It still owes an at-tier review (governed rule text is a review surface), and it lands only by a human merge (Tier H). ⛔ The seat never approves or merges it. ## What changed One comment in one governed file: the ADR-0049 tombstones comment above `ComponentInputTombstones` in the `ComponentInput` example of `skills/objectui/guides/plugin-development.md`. | | text | |:--|:--| | before | "the manifest serializer forwards only `name`, `type`, `required`, `enum`, `binding` and `description`, so an authored value was silently dropped" | | after | "the manifest serializer forwards a fixed key list per input, `of` included since objectui#8067 — `name`, `type`, `of`, `required`, `enum`, `binding`, `description` — so an authored value was silently dropped" | The wording is the uncounted one that PR objectui#10362 gave the three non-governed texts: the `WidgetInput` docblock in `packages/types/src/widget.ts`, a `plugin-markdown` test comment and a `packages/types` test header. That PR took it from `ComponentInput`'s own docblock in `packages/types/src/base.ts`. ## Why the new sentence is true, not just uncounted Re-derived from the producer on `origin/main` `17b323e5c`: `manifestFromConfigs` in `packages/sdui-parser/src/index.ts` maps each input to `name`, `type`, `of`, `required`, `enum`, `binding` and `description`, and to nothing else. The comment's conclusion does not depend on how many keys are on that list. It depends on none of the tombstoned keys (`label`, `defaultValue`, `advanced`, `inputType`, `min`, `max`, `step`, `placeholder`) being on it, and none is. So the conclusion stays as written. What was wrong was the list: an agent following the guide learned that `of` is not published, and it is. ## Verification (at `b57c8a84df`, the only commit on the branch) - `node scripts/check-governed-queue-guard.mjs --test skills/objectui/guides/plugin-development.md`: GOVERNED, exit 3 (the governed verdict, as expected). - `node scripts/check-changeset-presence.mjs`: exit 0, "No source or published contract of a released package changed in this range, so no changeset is owed." - `node scripts/check-changeset-no-major.mjs`: exit 0. - `pnpm check:new-line-citations`: exit 0, `VERDICT new-cross-file-line-citations: 0 new citation(s)`. - `pnpm check:control-bytes`: exit 0. A separate control-byte grep of the edited file found no hits. - `pnpm check:spec-symbols`, `pnpm check:test-path-roots`: exit 0 each. - Skills gates: `pnpm check:skills-paths`, `pnpm check:skill-eval-tokens`, `pnpm check:shell-escape-residue`, `pnpm check:doc-fences`, `pnpm check:installed-pin-claims`: exit 0 each. - `check:skill-examples` is the gate that compiles this fence against the built types. First the closure was built with `pnpm exec turbo run build $(node scripts/check-skill-examples.mjs --build-filter) --concurrency=2` (29 of 29 tasks). Then `node scripts/check-skill-examples.mjs --self-test` passed (exit 0, 60 cases), and the gate itself passed (exit 0): "Semantic phase: 18 of 18 ts fence(s) judged, 0 failed." - Tests that read `skills/objectui/**`: `node scripts/markdown-test-inputs.mjs --list` names 9 test files. `pnpm exec vitest run` on those 9 gave `Test Files 9 passed (9)` and `Tests 340 passed (340)`. - ESLint `--no-inline-config --format json` on the touched file: 1 file, 0 errors, and 1 warning, "File ignored because no matching configuration was supplied." The `files` globs in `eslint.config.js` cover `ts`/`tsx` only, so a markdown file is outside the lint population. The config sets no `parserOptions`/`projectService`, so linting is not type-aware, and this diff cannot change the result for any other file. The repo-wide `pnpm lint` is left to CI. - NOT MEASURED: `pnpm check:doc-snippets`. Reason: exit 2, `PRECONDITION NOT MET` (its 34-package closure is not built). Its roots are `content/docs`, the root `README.md` and `docs/`, and its header says `skills/objectui/**` is not claimed by any gate there. So the touched file is outside its population. - Not owed: the `@object-ui/types` type-check and package tests, because the diff touches no package. The Spec Main Shape Gate is not owed either, because no spec-derived type is touched. ## Line readings (a `skills/**` diff) - Whole file: 481 → 482 lines (+1). - Whole bundle, the sum of every `SKILL.md` under `skills/` (one file, `skills/objectui/SKILL.md`): 137 → 137, unchanged. - No line budget covers the published `skills/` catalog in this repo. `grep -rn plugin-development scripts/ .github/workflows/` finds no ratchet, and the header of objectstack's `check-skill-line-ratchet.mjs` says the published catalog is deliberately outside it. ## Acceptance notes - The control sentence is left alone. The same fence's "SIX keys are writable — `name`, `type`, `of`, `required`, `enum`, `description`" is about the writable AUTHORING keys, not the serializer. Checked against `ComponentInput`: its non-`never` members are exactly those, so the sentence is true today. It is still a written count in the sense of AGENTS.md #9, but the card put it out of scope, and it is not this PR's row. - `binding` is on the serializer's list but is not writable. It is framework-set through `InjectedComponentInput` (objectui#6950). The new sentence lists it because the serializer forwards it. It does not add the framework-set caveat that `base.ts` carries, because that would go beyond the one row on this card. - No changeset, as the presence gate above says. - PR objectui#8941 (a draft) edits this file at the `lucide-react` version line, which is a separate hunk. If it lands first, this branch merges `main` (no rebase, no force-push). - Governed surface (Tier H): this PR stays a draft until an authorized approver leaves a review and a human merges it. The seat never approves or merges it. ## 维护者速读(草稿) - **改了什么**:发布给使用者的 skills 指南 `skills/objectui/guides/plugin-development.md` 里的一段代码注释。原文说 manifest 序列化器「只转发 `name`、`type`、`required`、`enum`、`binding`、`description`」,漏掉了 `of`。现在改成不写数目的说法,并列出全部键,`of` 也在内。 - **为什么改**:从 objectui#8067 起,`of` 就会随 manifest 发布。照这份指南写插件的 AI 会误以为 `of` 不发布,可能干脆不写它,或者把成员类型塞进 `description`。另外三处同类文字已经由 PR objectui#10362 改好,这是卡上剩下的唯一一行。 - **风险与代价(含回滚)**:只改注释,不动类型、运行时和已发布的包,不需要 changeset。这个代码块由 `check:skill-examples` 对着构建产物编译,本地已经跑绿。回滚就是 revert 这一个提交。 - **席位意见**:(留空,由席位定稿) - **你要做的**:快读这一处措辞。如果同意,由 os-zhuang 或 hotlong 给一个 approve,之后由认领席翻 ready、入队落地。 Session: `https://claude.ai/code/session_014fWVhLzhxR8qrFsJ5o8TYW` --- _Generated by [Claude Code](https://claude.ai/code/session_014fWVhLzhxR8qrFsJ5o8TYW)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 4128188 commit 4f38f39

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎skills/objectui/guides/plugin-development.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ const inputs: ComponentInput[] = [
112112
// Every key named here is `never` on the published type, so authoring one is a
113113
// `tsc` error and a named refusal from the Zod mirror (`ComponentInputSchema`).
114114
// They were never read and never published: the manifest serializer forwards
115-
// only `name`, `type`, `required`, `enum`, `binding` and `description`, so an
116-
// authored value was silently dropped. Remedy: delete the key and say it in
115+
// a fixed key list per input, `of` included since objectui#8067 — `name`,
116+
// `type`, `of`, `required`, `enum`, `binding`, `description` — so an authored
117+
// value was silently dropped. Remedy: delete the key and say it in
117118
// `description`, which IS published. A `Pick` rather than a prose list, so a
118119
// tombstone that is deleted upstream stops compiling here instead of lingering.
119120
type ComponentInputTombstones = Pick<

0 commit comments

Comments
 (0)