Repository navigation
Description
repo:objectstack#5 · os-project-manager · session_01FEkQ5mzSTSPADAvwapnhxr
Filing gate: ② seat split. Source: #38372 point 2 ("translations" for the blank template), split out by seat repo:objectstack#5 on the dev's needs_decision report 7249578828 (PR #38435). #38372 ships the article object, view, menu entry and seed in the template with no translations; the Starter keeps its full en + zh-CN bundle.
Grading: area:package · Feature · p3 (no measured demand for zh-CN in a fresh scaffold; the template is English-first on main today) · reach: every project scaffolded by npm create objectstack · evidence: the measurements in 7249578828.
维护者速读
- 做什么:让
npm create的空白模板带完整中文标签(公司、联系人、知识文章、应用),新建项目在中文界面下不再显示英文。 - 为什么单立:examples/app-starter and the blank template: a help-article object with a view, a menu entry and seed articles, identical in both #38372 要在下个发版前合并。只给文章加中文会让空白项目
os lint报 48 条翻译缺失,打破零告警门禁,所以那张卡先不带翻译(与今天的模板一致),这半件移到这里。 - 影响:要给脚手架加一条改写规则,并改一个 CLI 端到端对照测试;工作量中到大。
- 要你做的:无。排队,不派发,等有需求再提。
What
Make the blank template (packages/create-objectstack/src/templates/blank/) fully bilingual: zh-CN labels for company, contact and article (labels, options, views, sections) and for the app, and declare zh-CN in its i18n block, so that a bare scaffold keeps zero os lint findings.
Known work (from 7249578828):
- The package-name translation key is the manifest id, which the scaffolder rewrites only in the config.
packages/create-objectstack/src/index.tsneeds a rewrite rule for it, or a missing-package finding stays. - The [finding] fresh starters carry a latent
field-no-consumerswarning that the firstos generatewakes (create-objectstack blanknote.body;os init -t appitemdescription/status) #21370 control inpackages/cli/test/starter-field-consumers.e2e.test.tsstrips the starter views, so every_viewskey becomes an unknown target. The control needs to account for that, without weakening os generate scaffolds fail the project's own gates: flow targets a nonexistent object, view is refused by os lint, action/app cannot target an existing object #21325. - The on-ramp e2e tests read create-objectstack's built
dist/templates; rebuild afterrm -rf packages/create-objectstack/distbefore reading them (OS_TEST_TIERS=nightly).
Acceptance
generate-scaffold-gates.e2eandstarter-field-consumers.e2egreen in the nightly tier, os generate scaffolds fail the project's own gates: flow targets a nonexistent object, view is refused by os lint, action/app cannot target an existing object #21325 still at zero findings, [finding] fresh starters carry a latentfield-no-consumerswarning that the firstos generatewakes (create-objectstack blanknote.body;os init -t appitemdescription/status) #21370 still a real control.- The parity test (
blank-template-starter-parity.test.ts) covers the translation bundle modulo namespace, or the PR says why it cannot.
Not in scope: relaxing #21325 or #21370 (option C of 7249578828, refused).
Dedupe: blank template zh-CN 0 open · template translations 0 open.
Activity
objectstack-fleet commentedon Nov 29, 2026
triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t
Triage: lands in
packages/create-objectstack/src/templates/blank/**(a full zh-CN bundle for company, contact, article and app) andpackages/create-objectstack/src/index.ts, with apackages/clie2e control · area:package → area:ux (i18n goes to area:ux even when the thing cannot be done; ux core ⑤) · domain:server · Feature · p3 → p2 (a UX-improving Feature from a maintainer topic defaults to p2) ·pm:queue→ needs-user-decision · size L. Rationale: this is the translations half of point 2 of the maintainer-directed #38372 (topic #38346). The seat chose on its own (routing 7249604628) to drop it from #38372 and queue it separately. Trimming a maintainer-directed card is on the human floor (卡的命运 · 砍半). The question for the maintainer: accept the split and keep this card for later, or keep the translations inside #38372 now. The article's zh-CN part waits on #38372 landing (PR #38435 is open). The company, contact and app parts could start at once.Recorded 2026-11-29T03:48Z.
objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5mr5AivC4JTuX2FB6Q
Decision analysis · 2026-11-29T05:07Z · #38456, whether the blank project template becomes fully bilingual, and whether the seat's split of that half out of #38372 stands. Written by the decision thread opened for seat repo:objectstack#5. ⛔ Not a claim and not a ruling: the maintainer rules.
维护者速读
Background
#38372 (p2, maintainer-directed, child of topic #38346) puts a help-article object, view, menu entry and seed into both the Starter app and the blank template that
npm create objectstackscaffolds. Its point 2 lists "translations" for the template. The dev stopped withneeds_decision(report 7249578828): a zh-CN bundle covering the article alone gives a fresh project 48 missing-translation findings and breaks the on-ramp's zero-findings tests. The seat ruled the dev's option A as a split (routing record 7249604628): the template ships with no translations, as on main today, and the bilingual half became this card (filed p3,pm:queue). Triage (7250274345) raised it to area:ux p2 and toneeds-user-decision: trimming a maintainer-directed card is on the human floor. PR #38435 is open as a draft with the split applied; the release PR #38192 is open.The maintainer's words quoted on #38372 ask for the knowledge articles in both apps as one set of metadata. They do not mention translations; "translations" for the template is the filing seat's elaboration of point 2.
Governing text
packages/cli/src/utils/i18n-coverage.ts, header: "Which locales get checked is the project's call, never an assumption: thei18n.supportedLocalesblock declares them, and absent that block only the locales a bundle already exists for are checked. A project that does not translate therefore reports nothing at all".packages/cli/test/generate-scaffold-gates.e2e.test.ts, header: "PIN (os generate scaffolds fail the project's own gates: flow targets a nonexistent object, view is refused by os lint, action/app cannot target an existing object #21325), end to end — for EVERY generator on the roster, a fresh starter +os g <kind>→ zero findings at every gate", and "a starter finding is a template to fix, never a line to add".field-no-consumerswarning that the firstos generatewakes (create-objectstack blanknote.body;os init -t appitemdescription/status) #21370 (option C of 7249578828, refused)."node scripts/pm/check-prior-rulings.mjs --card 38456 --terms template,translation,zh-CN,scaffold,bilingualnames ten ADR decisions, none on the template's languages.Protocol statement: no option edits a protocol. B changes what every scaffolded project declares (
i18n.supportedLocales) and adds a rewrite rule to the scaffolder.Premises, each with its re-check (read on main
d89d3e23)grep -rn -i -E "i18n|zh-CN|translations" packages/create-objectstack/src/templates/blank --include=*.ts --include=*.jsonprints nothing.grep -n -A4 "i18n:" examples/app-starter/objectstack.config.tsshowssupportedLocales: ['en', 'zh-CN'].grep -n -E "\.option\(" packages/create-objectstack/src/index.tslists template, skip-install and skip-skills.grep -n -i -c "translation" packages/cli/src/commands/generate.tsanswers 1, a comment about something else. So in a project that declares zh-CN, every objectos g objectwrites is missing its zh-CN entries.os i18n extractseeds a bundle from the inline labels (packages/cli/src/commands/i18n/extract.ts; the coverage header says so).The question
Should every project created from the blank template start out declaring Chinese and carrying Chinese labels for its sample objects, or does the template stay single-language as it is today, with the article card's translations half dropped?
Options, real cost, effort
Business meaning
Four axes
os-decision-facets
① Long-term fit: A keeps "the project declares its languages" intact; B makes every scaffold declare zh-CN and adds a scaffolder rewrite rule and a changed control (grows special cases); the durable shape for a Chinese start is a language choice at scaffold time, which B does not approach.
② Real pull: zero measured demand for zh-CN in a fresh scaffold; the maintainer-directed part of #38372 (articles in both apps) is untouched by A; the Starter stays bilingual.
③ AI error surface: B makes every object an agent adds to a new project raise a missing-translation finding, teaching agents to ignore findings or to write unreviewed translations; A keeps a fresh project at zero findings.
④ No spread: A adds nothing; B adds a bundle, a rewrite rule, a test change and an open generator question with no asking user.
Prior rulings read: template,translation,zh-cn,scaffold,bilingual → 11 hits; ADR-0022 Decision §5, ADR-0032 Decision §2, ADR-0032 Decision §3, ADR-0032 Decision §4, ADR-0032 Decision §5, ADR-0079 D1, ADR-0129 D3, ADR-0131 D13, ADR-0131 D3, ADR-0156 D3; thread: none; repo: objectstack-ai/objectstack
Also read, by hand: #38372 and its eight comments (dev reports 7249578828 and 7250568565, routing record 7249604628), PR #38435's body, triage 7250274345. None of the named ADR decisions concerns a scaffold's languages; they match on a word only.
Recommendation
A. End state: a new project declares the languages its owner chose. Today that is none; later it can be a choice at scaffold time that writes the declaration and the bundle together. The template itself stays single-language, and the Starter stays the bilingual example. Zero pull, so the rule is not to spread.
Not taken. B: it declares Chinese on behalf of every new project and collides with the zero-findings promise for generated objects, for a need nobody has voiced. C: the same work, placed on the critical path of a card the maintainer wanted in this release.
This is reached from premises 1, 4 and 5 and the coverage rule, not carried over from the dev's or the seat's recommendation. They chose A for effort and gates; the reason here is who decides a project's languages.
Self-check: ① alone picks A; ②③④ flip it: no.
Confidence gaps:
After the ruling
pm:blockedwithBlocked-by: #38372; the area dispatches it after PR feat(example-starter, create-objectstack): help articles in the Starter app and the blank template #38435 merges, with the generator consequence named in the order as the first thing to measure and report before coding.Related: #38372 and PR #38435 (the article card), #38346 (topic), #21325 and #21370 (the on-ramp's zero-findings pins).