Repository navigation
docs(skills): a bundle navigation node may carry keywords without a label - #39357
objectstack-fleet[bot] wants to merge 2 commits into
Conversation
…abel The apps and translations pages and the objectstack-i18n key map say that apps.APP.navigation.ID takes label, keywords, or both, and what a locale that gives keywords alone shows. One eval case exercises a keywords-only node. The objectstack-i18n ratchet row follows the measurement, 2243 to 2250. Claude-Session: https://claude.ai/code/session_01Utp6Cbb4nipp9xHscbT4fu Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6Cbb4nipp9xHscbT4fu Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd Contract reviewServed-tier: Reviewed 2026-12-03T15:47Z by an isolated subagent, read-only: the diff from the pulls files API, the PR body, card #39209 and its three comments, standing note 7216253348 on #37630, the head's check-runs, and the cited code at the head tree. A draft record by another reviewer was given as unverified input; every statement below was re-read at the head, none is carried over. The two doc pages ( ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
Findings:
No must-fix and no should-fix. This is the final round for this head: the four nits are accepted deviations, and 1 to 3 may go to a follow-up card through the filing gate. CI at the head (check-runs API, read 2026-12-03T15:47Z): 54 runs, all completed; 35 success, 19 skipped, 0 failure, 0 in progress. Both Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd 维护者速读
席位核对ACCEPT · head
|
|
repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd Review request: 2026-12-03T15:48Z · |
Requested by Bill · project thread
Fixes #39209
Claim for this branch: comment 7381632637
Clause-②: no
Metadata-protocol: none
repo:objectstack@os-bill · os-bill · session_01Utp6Cbb4nipp9xHscbT4fu
维护者速读
What changes
The contract has accepted a navigation translation node,
apps.APP.navigation.ID, withkeywordsand nolabelsince the change that madelabeloptional besidekeywords(packages/spec/src/system/translation.zod.ts,requiredOneOf(['label', 'keywords'])). Three taught surfaces still saidlabelonly. Each now states the rule once.content/docs/ui/apps.mdx, thekeywordsparagraph: a bundle gives a locale's keywords beside the entry'slabelor without one. A locale that gives keywords and nolabelshows the label the next locale in its fallback chain gives, else the source label, andos i18n checkstill lists that label as untranslated.content/docs/ui/translations.mdx, the App navigation row of the key table: the key islabel/keywords,keywordsis a list, a node carries at least one of the two, and the same fallback sentence.skills/objectstack-i18n/SKILL.md, one line of the key map:navigation.{id}.labelbecomesnavigation.{id}.{label,keywords[]} (at least one). No bullet is added.skills/objectstack-i18n/evals/bundles-locales-coverage.json: case 19 asks for a keywords-only node.scripts/check-skills-token-ratchet.mjs: theskills/objectstack-i18n/SKILL.mdrow, 2243 to 2250.The ratchet row. The file sat at its ceiling with headroom 0, and the one-line edit measures 7 tokens (8999 bytes to 9027; 8972 priced to 9000). The entry is a router and nothing in it restates that line, so no deletion is shown. The row moves to the measurement and no further, under the maintainer's standing words of 2026-11-27 05:20Z, 「后续遇到这种问题,能适当放宽token 的限制」, as the note of record applies them (comment 7216253348 on the ratchet card: a PR's own legitimate change to that skill, at most 10 tokens over). The zone agreed before the commit.
Published skills size, before and after.
skills/objectstack-i18n/SKILL.md, linesskills/objectstack-i18n/SKILL.md, tokensSKILL.mdfiles, linesRead first, by risk:
skills/objectstack-i18n/SKILL.md(the key-map line, shipped to customer projects),scripts/check-skills-token-ratchet.mjs(the row and its comment),content/docs/ui/translations.mdx(the table row).Tests
No package source changes, so no package build or test is owed. Gate readings are under Verification.
Live check
pnpm --filter @objectstack/scenarios skill-evals --case objectstack-i18n/bundles-locales-coverage#19 --model haiku --effort medium, one repeat, served claude-haiku-5-5, subscription login. The case asks for a zh-CN bundle that givesnav_accountsthe search words 客户 and 公司 with no label, and whether a node withoutlabelis accepted. Run once on this branch (head 1958ca7) and once on a second tree at the base, 850d240, holding the same case file and the old skill text.What the with-skill turn answered
nav_accounts. The skill's key map gives navigation text one path:apps.{app}.navigation.{id}.label", so it wrote nokeywordsat all (missing tokenkeywords).keywordsunder the navigation id and leave outlabel", with the bundle spelled asapps.crm.navigation.nav_accounts.keywordsholding a list.Notional cost the CLI reported: $0.01 per round, two rounds.
Acceptance notes
os i18n checkstill lists the label) is taken from the contract's own docblock on the node'slabeland from the changeset that shipped the change. It was not re-measured against a running app here.keywordsand the label-optional rule, and the skill's routing table already sends a reader totranslation.zod.tsfor the rest.scripts/check-skills-token-ratchet.mjsandcontent/docs/ui/translations.mdxare also touched by other open PRs, on other rows.overlap-check.mjsat the push: clean againstorigin/mainand the three PR heads it found.Verification
Two minutes: open
skills/objectstack-i18n/SKILL.mdand read theapps.{app}line of the key map; thennode scripts/check-skills-token-ratchet.mjsprints the i18n row at 2250 / 2250 and exits 0.Local gates, on head 1958ca7: the 82 commands
node scripts/pm/dispatch-gates.mjs --commandsderives from this diff, exit codes captured before any pipe. 79 exit 0, among themcheck-skills-token-ratchetand its--self-test(111 cases),check:docs,check:skill-docs,check:doc-authoring,check:doc-anchors,check:skill-links,check:skill-identifier-livenessandcheck:nul-bytes.The three that did not exit 0
check:skill-examples, exit 3, PREREQUISITE NOT MET (reads the client packages' built output). NOT MEASURED locally, reason: no full local build; CI'sTypeScript Type Checkis success on this head.check:dual-build-cjs-loads, exit 3, PREREQUISITE NOT MET (every package'sdist/). NOT MEASURED locally, same reason; CI'sBuild CoreandLint & Repo Gatesare success on this head.check:pm-dispatch-gates, exit 1 on its first run, on one self-test line about the tracked corpus listing, while a second worktree with an untracked copy of the eval file stood beside this one for the base live check. After that tree was removed,node scripts/pm/dispatch-gates.mjs --self-test --fastpasses 2904 cases on the same head, and CI'sLint · PM dispatch-gatesis success. Read as a reading of the box at that moment, not of this diff.CI on head 1958ca7: every check run is success or an expected skip. Success:
Lint & Repo Gates,TypeScript Type Check,Test Core,Build Core,Governed Surface Queue Guard,Test UI,Live E2E UI,Dogfood Regression Gate,Check Changeset,Build Docs,Check Documentation Links,PR-body guards.Generated by Claude Code