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 }}
Repository navigation
A translation bundle can give a navigation entry its keywords without pinning its label (#39050) #39146
Source: topic #39050 · category ③ (child of the maintainer's epic), filed on the seat's word (ruling 7347779833 on #39055: item (b) becomes its own card under #39050, any priority). Origin: #39052 hand-over 7347620600, item 2; L2 N1 on PR #39125.
Grade: p3 · area:ux · type Feature · suggested domain server (triage sets it) · size S · evidence: read (objectstack main3dfffef, 2026-12-02).
What
The translation bundle's navigation node (apps.<app>.navigation.<id>, packages/spec/src/system/translation.zod.ts) requires label. Since #39052 it also takes keywords, so an entry that keeps its source label can get per-locale keywords only by pinning a label as well. That pinned label then goes stale when the source label changes.
Decide whether label becomes optional on the node when keywords is present, and if so make it optional (spec change; os i18n check and the label gates must still count a missing label as untranslated where one is owed).
Acceptance
A bundle node carrying only keywords parses, and the entry keeps its source (or other-locale) label.
A node with neither label nor keywords is still refused.
Reader: the dev who takes this card; ADR-0149 D1 and the seat ruling 7347779833 (a locale's keywords add to the source list) are read first.
stop on a breach and explain it in the report
Container & model: S, mode:subagent, model: opus (dispatch-gates --tier: no path-derived mandate; floor sonnet · default opus · ceiling fable — default tier), effort: medium
Clause-②: yes (widening: a bundle node with keywords and no label parses; the dev re-declares from the diff)
Metadata-protocol: none (the dev re-declares from the diff)
Responsibility:
Gap: a translation bundle can give a navigation entry per-locale keywords only by also pinning a label, and that label goes stale when the source label changes.
Rule: ADR-0149 D1, and seat ruling 7347779833 (a locale's keywords add to the source list).
{
"issue": 39146,
"status": "done",
"branch": "claude/issue-39146-bundle-keywords-without-label",
"pr": "https://github.com/objectstack-ai/objectstack/pull/39207",
"session": "session_01QSeKYnrQ7UMtHofKQVjcH2",
"premise_still_valid": true,
"summary": "The app navigation translation node's label is now optional and the node carries refine(requiredOneOf(['label','keywords'])) in packages/spec/src/system/translation.zod.ts, so a keywords-only node parses at the bundle and registered-item doors and a node with neither is refused at ...navigation.ID.label with a sentence naming both keys; the built JSON Schema projects it as anyOf required label / required keywords. translateApp (it lives in packages/spec/src/system/i18n-resolver.ts, not metadata-protocol) needed no change: lookupNavLabel walks the locale chain per key, so a keywords-only node serves the next locale's label, else the source label. Coverage (os i18n check / os lint via computeI18nCoverage) needed no change and still reports the label as untranslated. Two existing pins that encoded the old requirement were rewritten (app-nav-keywords.test.ts CONTROL; an unused ts-expect-error in translation-contributed-nav-bundle.test.ts); both are tests of the edited node schema.",
"tests": "At 6f8e8ca249: new spec file translation-nav-keywords-only.test.ts plus resolver/translation/contributed-nav files: 4 files 247 passed. Full spec test: 1 failed / 29224 passed before rewriting the reversed pin app-nav-keywords.test.ts (CONTROL 'node still owes its label'); rewritten file 42 passed. CLI: i18n-nav-keywords-only-coverage + i18n-contributed-nav-coverage + i18n-coverage: 3 files 47 passed. spec + cli typecheck exit 0. Ablation via scripts/ablation-replace.mjs: refine(requiredOneOf(...)) -> refine(() => true): anchor 1->0, blob f90c1682d6e5 -> 4aeb94ca6be2, 'refuses a node with neither label nor keywords' red (1 failed / 5 passed); restored blob f90c1682d6e5 == HEAD, git diff HEAD empty (spec tests import src, no dist leg).",
"gates": "dispatch-gates --commands at 6f8e8ca249: 95 families; 94 exit 0 (five spec dist readers, check:i18n-walk-parity and check:type-check-debt first exit 3 on stale dist, green after rebuilding spec and cli); NOT MEASURED check:dual-build-cjs-loads, reason: needs every package's dist (full pnpm build), owed to CI. dispatch-gates --ran: 95 derived accounted, 94 run, 1 NOT-MEASURED. check:generated --fix regenerated check:docs only. PR check-runs not yet concluded at report time: NOT MEASURED, PM reads CI.",
"mcp_calls": "0",
"api_writes": "2 — fleet-write pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST issues/39207/assignees); post-stamped comment on #39146 (POST /issues/39146/comments)",
"classifier_refusals": [],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": ["carrier: none · noted, not filed — neither skills/objectstack-i18n/SKILL.md nor content/docs/ui/translations.mdx teaches bundle nav keywords (pre-existing since #39052); recorded as Skills-docs: none in the PR body"]
}
Activity
objectstack-fleet commentedon Dec 2, 2026
triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ
First touch · 2026-12-02T14:08Z
定级:
area:ux · Feature · p3 · 翻译包只想给导航项加关键词,却必须连带固定标签,标签会过期 · 读码domain:server、类型 Feature,进pm:queue(作者定级保留)。Setup 专题 专题:系统设置左侧导航改为两层 10 组——按使用频率排序、一次性设置默认折叠、分组 id 全部换新 #39050 子卡。objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2
Claim: PM loop (
epic:#39050pick; the maintainer's 「setup 专题 你要加速处理」, recorded 7360379234 on #34830)Session:
session_01QSeKYnrQ7UMtHofKQVjcH2Account:
os-justinBranch:
claude/issue-39146-bundle-keywords-without-labelWorktree:
objectstack-issue-39146Domain:
domain:serverSeat:
repo:objectstack@os-justinFile surface:
packages/spec/src/system/translation.zod.ts(the app navigation node only), with its testscheck:generated --fix)packages/cli/src/commands/i18n/check.tsandpackages/cli/src/utils/i18n-coverage.ts, so a missing label still counts as untranslated where one is owedpackages/lint/src/i18n-walk.ts,packages/metadata-protocol/src/protocol.ts(translateApp) only if the merge must changeContainer & model:
S,mode:subagent,model: opus (dispatch-gates --tier: no path-derived mandate; floor sonnet · default opus · ceiling fable — default tier),effort: mediumClause-②: yes (widening: a bundle node with
keywordsand nolabelparses; the dev re-declares from the diff)Metadata-protocol: none (the dev re-declares from the diff)
Responsibility:
label, and that label goes stale when the source label changes.Thread-read: 7348074825
Prior rulings read: 7347779833 on Command palette finds a Setup page by its old name and shows 「分组 › 页面」 on each result (#39050) #39055; Navigation items accept search aliases, per locale (Setup redesign #39050) #39052 hand-over 7347620600 item 2; L2 N1 on PR feat(spec): a navigation item declares search aliases, keywords, per locale (#39052) #39125. No conflict.
Premise: holds. At origin/main
83c0b6b529(2026-12-02T21:29Z),translation.zod.ts:1356declares the nav node'slabelas a requiredz.string().Pre-claim deps: none named; feat(app-shell): the command palette finds a nav entry by its old name and shows its group path #39163, which shared these files (os-support-ai 7357798833), merged as
f7c791f1.Serial constraints cleared:
check-handover --inflight --paths=packages/spec/src/system/translation.zod.ts,packages/objectql/src/i18n-resolver.ts --card=39146(2026-12-02T22:14Z) reads no overlap. The five path-less claims were read by hand (as on Plugin-contributed Setup items target the new group ids; 「审批中心」 is no longer a Setup entry (#39050) #39058) and are disjoint.objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2
Dispatched 2026-12-02T22:18Z ·
os-devsubagent of sessionsession_01QSeKYnrQ7UMtHofKQVjcH2(mode:subagent,model: opus,effort: medium), on the claim above.feat(spec): navigation translation node may carry keywords without a …
test(cli): keywords-only nav node still owes its label (#39146)
feat(spec): regenerate references and add changeset (#39146)
test(spec): the nav node's keywords-only control now parses (#39146)
objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2
os-dev-report
{ "issue": 39146, "status": "done", "branch": "claude/issue-39146-bundle-keywords-without-label", "pr": "https://github.com/objectstack-ai/objectstack/pull/39207", "session": "session_01QSeKYnrQ7UMtHofKQVjcH2", "premise_still_valid": true, "summary": "The app navigation translation node's label is now optional and the node carries refine(requiredOneOf(['label','keywords'])) in packages/spec/src/system/translation.zod.ts, so a keywords-only node parses at the bundle and registered-item doors and a node with neither is refused at ...navigation.ID.label with a sentence naming both keys; the built JSON Schema projects it as anyOf required label / required keywords. translateApp (it lives in packages/spec/src/system/i18n-resolver.ts, not metadata-protocol) needed no change: lookupNavLabel walks the locale chain per key, so a keywords-only node serves the next locale's label, else the source label. Coverage (os i18n check / os lint via computeI18nCoverage) needed no change and still reports the label as untranslated. Two existing pins that encoded the old requirement were rewritten (app-nav-keywords.test.ts CONTROL; an unused ts-expect-error in translation-contributed-nav-bundle.test.ts); both are tests of the edited node schema.", "tests": "At 6f8e8ca249: new spec file translation-nav-keywords-only.test.ts plus resolver/translation/contributed-nav files: 4 files 247 passed. Full spec test: 1 failed / 29224 passed before rewriting the reversed pin app-nav-keywords.test.ts (CONTROL 'node still owes its label'); rewritten file 42 passed. CLI: i18n-nav-keywords-only-coverage + i18n-contributed-nav-coverage + i18n-coverage: 3 files 47 passed. spec + cli typecheck exit 0. Ablation via scripts/ablation-replace.mjs: refine(requiredOneOf(...)) -> refine(() => true): anchor 1->0, blob f90c1682d6e5 -> 4aeb94ca6be2, 'refuses a node with neither label nor keywords' red (1 failed / 5 passed); restored blob f90c1682d6e5 == HEAD, git diff HEAD empty (spec tests import src, no dist leg).", "gates": "dispatch-gates --commands at 6f8e8ca249: 95 families; 94 exit 0 (five spec dist readers, check:i18n-walk-parity and check:type-check-debt first exit 3 on stale dist, green after rebuilding spec and cli); NOT MEASURED check:dual-build-cjs-loads, reason: needs every package's dist (full pnpm build), owed to CI. dispatch-gates --ran: 95 derived accounted, 94 run, 1 NOT-MEASURED. check:generated --fix regenerated check:docs only. PR check-runs not yet concluded at report time: NOT MEASURED, PM reads CI.", "mcp_calls": "0", "api_writes": "2 — fleet-write pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST issues/39207/assignees); post-stamped comment on #39146 (POST /issues/39146/comments)", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": ["carrier: none · noted, not filed — neither skills/objectstack-i18n/SKILL.md nor content/docs/ui/translations.mdx teaches bundle nav keywords (pre-existing since #39052); recorded as Skills-docs: none in the PR body"] }