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.
Published-contract shape fork: ComponentInput.type (types/base.ts:215, live @ f5f8744) cannot express spec unions, so legal metadata using the undeclared arm draws type-mismatch warnings from the repo's own manifest gate (checkType in sdui-parser/validate.ts) — including the inline translation maps that the same inputs' descriptions teach (containers.tsx:703 page:card.title is a standing example of the contradiction). Routes: (a) widen type to arrays / add a types field — changes a published sdui.manifest.json field read by the designer and generateDts; (b) add a narrow i18nString coarse type; (c) consumer-side leniency — anti-#0.1, listed only for contrast; (d) upstream spec narrowing — mass in-the-wild producers. (a)/(d) are the one-contract directions; both need the maintainer.
Routing note: if (d) is chosen this transfers to the objectstack backlog per the one-main-backlog rule; kept here until the direction is picked so the transfer does not pre-decide it.
Maintainer ruling (2026-08-09): direction (a) — ComponentInput.type learns to express unions.pm:queue.
Extend the published shape so a declaration can carry multiple arms (accept an array in type, or an additive types?: ControlType[] — implementer's call on encoding, with the constraint that the existing single-string form stays valid, so this is a backward-compatible extension of sdui.manifest.json). checkType passes when any arm matches; both declaration sites (base.ts:215, plugin-scope.ts:172) move together; consumers (designer panels, generateDts) follow in the same PR. Then fix the five measured specimens (the four i18n-map title/subtitle/body inputs and element:text_input.defaultValue) to declare their real unions.
Rationale (three-axis): the same ComponentInput currently teaches the inline translation map in its description while its type makes the manifest gate warn on it — a platform authority contradicting itself, hit today. (a)/(d) are the one-contract directions per #0.1; (c) consumer leniency is the second-dialect shape the repo explicitly rejects; (d) upstream narrowing would break the inline-translation maps' many in-the-wild producers, so (a) is the honest fix. And noise-warnings on legal writes train authors to ignore the true unknown-prop/type-mismatch signals — killing that noise is the AI-error axis.
Maintainer directive (verbatim, covering all 25 decision-inbox cards this round): 「全部接受」. Recorded by PM session session_01LGRN2cSRfggfX9B2L83bQc. Veto window open — comment to overturn.
Activity
claude commentedon Aug 8, 2026
Triage:
needs-user-decision.ComponentInput.type(types/base.ts:215, live @f5f8744) cannot express spec unions, so legal metadata using the undeclared arm drawstype-mismatchwarnings from the repo's own manifest gate (checkType in sdui-parser/validate.ts) — including the inline translation maps that the same inputs' descriptions teach (containers.tsx:703page:card.titleis a standing example of the contradiction). Routes: (a) widentypeto arrays / add atypesfield — changes a publishedsdui.manifest.jsonfield read by the designer and generateDts; (b) add a narrowi18nStringcoarse type; (c) consumer-side leniency — anti-#0.1, listed only for contrast; (d) upstream spec narrowing — mass in-the-wild producers. (a)/(d) are the one-contract directions; both need the maintainer.本评论来自分诊座位 Routine(#5474 试点),不构成认领。
Generated by Claude Code
os-project-manager commentedon Aug 9, 2026
Maintainer ruling (2026-08-09): direction (a) —
ComponentInput.typelearns to express unions.pm:queue.Extend the published shape so a declaration can carry multiple arms (accept an array in
type, or an additivetypes?: ControlType[]— implementer's call on encoding, with the constraint that the existing single-string form stays valid, so this is a backward-compatible extension ofsdui.manifest.json).checkTypepasses when any arm matches; both declaration sites (base.ts:215,plugin-scope.ts:172) move together; consumers (designer panels,generateDts) follow in the same PR. Then fix the five measured specimens (the four i18n-maptitle/subtitle/bodyinputs andelement:text_input.defaultValue) to declare their real unions.Rationale (three-axis): the same
ComponentInputcurrently teaches the inline translation map in its description while itstypemakes the manifest gate warn on it — a platform authority contradicting itself, hit today. (a)/(d) are the one-contract directions per #0.1; (c) consumer leniency is the second-dialect shape the repo explicitly rejects; (d) upstream narrowing would break the inline-translation maps' many in-the-wild producers, so (a) is the honest fix. And noise-warnings on legal writes train authors to ignore the trueunknown-prop/type-mismatchsignals — killing that noise is the AI-error axis.Maintainer directive (verbatim, covering all 25 decision-inbox cards this round): 「全部接受」. Recorded by PM session session_01LGRN2cSRfggfX9B2L83bQc. Veto window open — comment to overturn.
Generated by Claude Code
yinlianghui commentedon Aug 17, 2026
认领(objectui 车道分片 PM,会话
session_01GTRjn8xBqp75dk7kFupVRt,批次 19 补席,替换前提过期关卡的 #3931):branchclaude/issue-3832-componentinput-union。按 2026-08-09 维护者裁定方向 (a) 实施:
ComponentInput.type可表达联合(编码归实施者,约束 = 既有单字符串形态保持合法,sdui.manifest.json向后兼容扩展);checkType任一臂命中即过;两声明位(base.ts / plugin-scope.ts)同移;消费者(designer 面板、generateDts)同 PR 跟进;五个实测标本(四个 i18n-map title/subtitle/body 输入 +element:text_input.defaultValue)改声明真实联合。Generated by Claude Code
Merge origin/main into claude/issue-3832-componentinput-union
feat(types,sdui-parser): ComponentInput.type 可声明联合,五个标本停止对合法写入告警 (obj…
fix(components,plugin-detail): element:text.content / element:button.…