Skip to content

docs(skills): teach the flow step-name and related-list title translation keys - #37072

Merged
os-zhuang merged 4 commits into
mainfrom
claude/issue-36401-i18n-skill-keys
Nov 24, 2026
Merged

os-zhuang merged 4 commits into
mainfrom
claude/issue-36401-i18n-skill-keys

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Fixes #36401
Fixes #36575
Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用户无感;读「多语言」和「数据建模」技能的 AI 助手现在知道,流程里每一步的名称、以及记录页上自定义的关联列表标签页标题,各自该写在哪个翻译位置。
  • 为什么做:这两个翻译位置已经随平台发布,技能文字却没跟上,是「流程步骤名可翻译」和「关联列表标题可翻译」两项改动各自欠下的技能说明,这里一次补齐。
  • 出错会怎样:只是技能里的几句说明和一条测评用例,不影响任何运行行为;写错的话 AI 助手会把翻译写到不生效的位置,可以直接撤回这一个合并。
  • 要你做什么:批准合并。只改技能文字和一道评测题;因为一个 PR 同时关两张卡,工具无法判断走哪张卡的低风险通道,所以按需要人工批准处理。契约审核 PASS:记录 7141681211,Head-sha 7523971c565c850e5183385030f0007e4ff08fd0。

What changes

One commit per card, then one merge of main and one fix commit after the contract review.

76538fe36f, the flow step-name key (#36401, the follow-up owed by the flows nodes group). skills/objectstack-i18n/SKILL.md, the paragraph on keys that sit deeper than their group's label, now names a fourth key:

any other step's name at flows.{flow}.nodes.{node_id}.label (a screen is named by its heading, flows.{flow}.screens.{node_id}.title, and takes a nodes key only beside a title of its own; os i18n check asks for a flow's top-level steps, and for one of FLOW_TECHNICAL_NODE_TYPES — script, http, connector_action, assignment, boundary_event, the four *_record types — only where a decision's branch leads to it)

"Three keys" and "all three keys included" become four. This is what the readers do: the walk in packages/lint/src/i18n-walk.ts asks nodes.NODE_ID.label for each top-level node, skips an approval (keyed approvals.NODE_ID.label) and a screen whose label screens.NODE_ID.title already covers, skips isFlowTechnicalNodeType nodes, and adds back a technical step a drawn decision's branch names (decisionBranchTechnicalTargets); os i18n extract reads the same walk. The nine types are the literal list of FLOW_TECHNICAL_NODE_TYPES in packages/spec/src/automation/flow-altitude.ts, whose source file does not ship in the package, so the skill lists them.

cd690662c7, the related-list title key (#36575, the follow-up owed by the related-list title translation).

  • skills/objectstack-i18n/SKILL.md, the object translation group table, gains the _relatedLists.{list} row beside _tabs: the label of an object-form relatedLists entry on the parent object, by the entry's literal list (event.related_to is one key); an entry with no label has no key and keeps the child field's relatedListTitle, else the child's plural label; "Spelled relatedLists, the group is refused, naming this one" (the alias table of ObjectTranslationDataSchema maps the unprefixed spelling to _relatedLists as a refusal, never an accepted second spelling).
  • skills/objectstack-data/rules/relationships.md, the relatedLists entry: "its label translates at objects.{parent}._relatedLists.{list}.label (none: nothing to translate)".
  • skills/objectstack-i18n/evals/bundles-locales-coverage.json: one case (id 16) covering both keys.

Precedence is stated as the contract has it (RelatedListEntryObjectSchema.label in packages/spec/src/data/object.zod.ts: the entry label, then the child FK's relatedListTitle, then the child's plural label).

40f4e27ee0, merge of origin/main 159113f4fe (plain merge, no conflict; brings #37044's edit to the same file).

7523971c56, the contract review's S1 and N1 (record 7141134189), relationships.md only:

  • S1: the 'primary' bullet ends "its tab stays unless relatedLists omits it" again (the first round had cut the qualifier, leaving a sentence that was false for a declared list that omits the child).
  • N1: "override the derived title / columns (columns: the child's highlightFields); an entry's label / columns win."

Paid in the same files; no ceiling of the skills token ratchet moves. Restatement cut from skills/objectstack-i18n/SKILL.md: three sentences repeating the heading above them; the "Use both gates" paragraph keeps its one new fact; the relatedListTitle cell says "likewise"; "Requires --out" loses its restating clause; the per-namespace row loses "assembled by your own imports" (said above the table for every layout); "Both shipped adapters" loses the parenthetical the Service Contract section spells in full; the translation item section loses its heading restated as a sentence; the Register step folds a repeat of the authoring section.

Cut from skills/objectstack-data/rules/relationships.md, inside the related-list section: "absent, nothing changes" (the section opens by saying every child relationship shows by default, and objectstack-ui Record Page says it too); the section's opening sentence loses "You usually don't declare the related list on the parent's record detail page" (it restated "by default"); "a self-referential FK (a hierarchy)" loses the parenthetical. The "Catalog auto-fill" bullet and the Delete Behaviors section are untouched.

Published-skill size against main 159113f4fe (before) and 7523971c56 (after):

lines bytes tokens (ceiling)
skills/objectstack-i18n/SKILL.md 520 / 515 25215 / 25193 6299 / 6294 (6333)
skills/objectstack-data/rules/relationships.md 401 / 402 16805 / 16800 4202 / 4200 (4203)
skills/objectstack-i18n/evals/bundles-locales-coverage.json 155 / 165 14511 / 15724 3628 / 3931 (eval fixture, not ratcheted)

The two authored files are 27 bytes smaller together; the eval case is the tree's only growth.

Tests

Text only: no package source, test or behaviour changes, so there is no ablation. The pins the text was written from were read, not edited: packages/cli/test/i18n-flow-node-coverage.test.ts and packages/lint/src/i18n-related-lists-label-36528.test.ts.

Acceptance notes

  • The body opens with the seat signature line; the closing lines follow it.
  • check:dual-build-cjs-loads and check:lean-entry-closure were NOT MEASURED locally (exit 3, prerequisite: a whole-workspace build); the diff touches no package and CI runs both.
  • The flows nodes key is accepted by os validate at any depth and for a titled screen; the skill teaches what os i18n check asks for and the one screen rule an author can get wrong, not the full acceptance set.
  • Contract review nit N2 (the nine-type list is a hand copy of FLOW_TECHNICAL_NODE_TYPES with no gate tying them) is accepted as is.

Verification

Read first, by risk: the "Four keys sit deeper" paragraph and the _relatedLists.{list} row of skills/objectstack-i18n/SKILL.md; the three related-list bullets of skills/objectstack-data/rules/relationships.md.

Two-minute check: node scripts/check-skills-token-ratchet.mjs prints 60 authored bundle file(s) within their ceilings, with skills/objectstack-data/rules/relationships.md is 4200 tokens (ceiling 4203; headroom 3). overlap-check at 7523971c56: VERDICT clean exit 0 against origin/main, #36158 and #35129.


Generated by Claude Code

…LOW.nodes.NODE_ID.label

The deeper-keys paragraph names the nodes group: what it translates, that a
screen is named through screens.NODE_ID.title, and that the coverage check
asks a FLOW_TECHNICAL_NODE_TYPES step only where a decision's branch leads to
it. Paid in the same file by three restatement cuts.

Claude-Session: https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr
Co-authored-by: Claude <noreply@anthropic.com>
…ey objects.OBJECT._relatedLists.LIST.label

The object translation group table gains the _relatedLists row beside _tabs,
with the refused unprefixed spelling; relationships.md names the key on the
relatedLists entry and says an entry with no label has nothing to translate.
One eval case covers this key and the flow step-name key. Paid inside each
file by restatement cuts.

Claude-Session: https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 24, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review brief — PR #37072 @ cd690662c70a2fcdf66c63783b1bb18dca7957ff (card #36401 and #36575)

You review at CONTRACT_REVIEW_TIER. Render ONE ## Contract review record on this head — its shape is
node scripts/pm/record-recognisers.mjs --template — with a PASS or FAIL verdict, and post it as ONE comment
on the PR or its card.

Inputs — these and nothing else:
· card #36401 and #36575: its body and EVERY comment (rulings and earlier records included)
· PR #37072: its body, its file list, and the net diff against main at cd690662c70a2fcdf66c63783b1bb18dca7957ff
· the check-runs on cd690662c70a2fcdf66c63783b1bb18dca7957ff: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

Scope — the paths reviewFace returns as hits on this PR's file list: skills/objectstack-i18n/SKILL.md, skills/objectstack-data/rules/relationships.md, skills/objectstack-i18n/evals/bundles-locales-coverage.json;
plus every file IN THIS DIFF that directly implements or enforces them — the gate that enforces a rule, the code
a jsdoc or schema line describes, the validator a skill teaches — reviewed for agreement with the contract.
Widen it freely, ⛔ never below hits; the record's Scope: line names the implementing files apart from hits.
The rest of the diff (tests, unrelated modules, lockfiles, generated output, changesets) is the lane seat's
ACCEPT at TIER_DEFAULT, exactly as a standalone PR of those files.
④ judges the hits files and those implementing files ONLY:
lockfiles, generated output, changesets and prose elsewhere in the PR are not reviewed;
code outside the diff is READ to judge them, never reviewed.

Security — if a hits path is under skills/** or ui/skills/** and the change teaches security, auth or permission
behaviour the path name doesn't show, the record says so and the seat adopting the record adds the security label.
The record says so on its Security-touching: line, and the arm lands on no alone: write no ONLY when no changed
hunk teaches permission, sharing, credential, token, authentication or other security behaviour, else yes.

Rule change — if a hits path is under .claude/**: the PR body declares Rule-change: and you verify it against the diff.
Write Rule-change-verified: none ONLY when no changed hunk alters what an agent may do without the maintainer
(merge, bypass a check, change repository settings), what gets done and in what order (grading, dispatch, scope), or
what must go to him (decisions, maintainer actions); process steps, scripts, wording, slimming and file moves are not rule
changes. Write ruled ONLY when every such hunk copies the ruling the PR body quotes on its Ruling-ref: line — check the
copy against the quoted words, do not re-rule it. Otherwise yes: the pull request then waits for the maintainer.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is /tmp/claude-0/-home-user-objectstack/177ababb-cccd-573a-a846-cda17d8e5bbd/scratchpad/pr-37072/ alone; nothing there you did not write this round is read.

Judge, in the record's own sections:
① Derived judgments — every accept-set and public-surface change the diff implies, each named right or wrong.
② Semver level — the changeset (or skip-changeset) matches what the diff publishes, and the Clause-②: line.
③ Boundary flags — every dev flag and every open_questions entry answered, or escalated.
On every face, SQL push-down: a new id materialisation or in-app join where SQL could push down is a
finding unless a reason is given (AGENTS.md, Prime Directive 5: SQL first).
④ Design judgment — for EVERY hits file: does the change hold against the code it cites and the
scenario it is accepted against? A skill file against the card's eval prompt and the spec it teaches
on main; a schema file against the ruling or ADR it implements and its first consumer; an ADR
against its first consumer and its execution plan. For EVERY implementing file in the diff: does the
code agree with the contract, sentence by sentence? Read the cited code in the live tree, and try to
break the design.
Grade each finding must-fix, should-fix or nit — a nit has no effect on correctness or the contract.
A must-fix is a FAIL; a must-fix or should-fix earns a delta review of its fix; nits alone end the round.
Spell a must-fix or should-fix with its id and grade, S1 (should-fix) — …, and a clean round as
No must-fix, no should-fix.: the queue guard reads a graded finding as OPEN on this head and
refuses the record; the delta record names those it closes by id alone, S1: closed.
A nit is fixed only on the prose faces, or left as an accepted deviation or a follow-up card: a fix
anywhere else moves the head, and this record no longer covers it.
⛔ Judge the tree, never the PR body's account of it.
Sign Implemented-by: with the dev's branch and Reviewed-by: with your session id — the value is the FIRST
thing after each colon.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: cd690662c70a2fcdf66c63783b1bb18dca7957ff
Local-runs: none
Scope: skills/objectstack-i18n/SKILL.md, skills/objectstack-data/rules/relationships.md, skills/objectstack-i18n/evals/bundles-locales-coverage.json + none
Security-touching: no
Rule-change-verified: none

PR #37072, folding cards #36401 and #36575. Inputs read: both card bodies and all four comments on each (triage, unlock, claim, dev report), the PR body, its four-file list, the net diff against main (merge-base 938a48f112; main read at 896bfc4762), and the 44 check-runs on the head.

Check-runs on the head: 28 success, 16 skipped, none failed, cancelled, neutral or pending. The skips are the path-filtered UI, docs and dogfood lanes (Type Check UI, Lint UI, Build UI Deps, Build & E2E UI, UI Published Artifacts, Plan Test UI shards, the Test UI and Dogfood Regression Gate matrix placeholders, Dogfood Verify CLI, Build Docs, Temporal Conformance), the two opt-in lanes (Packed-tarball smoke, 18.x upgrade harness), the two merge-queue verdicts (Queue verdict, Borrowed queue verdict) and the schedule gate: all expected on a skills-text diff. Check Changeset, Governed Surface Queue Guard, PR-body guards, every Lint and Type Check lane, Build Core and Test Core are success. Observation only: Test Core ran as shards 1/10 and 2/10 with the aggregate Test Core green.

① Derived judgments

  • No accept-set changes: the diff holds no schema, validator, lint rule or runtime code. Every refusal the new text names (relatedLists unprefixed in an object translation, a nodes key over an untitled screen) is existing behaviour on main. Right.
  • Public surface: the published @objectstack/skills text of two authored files and one eval fixture. Right, and it is the whole of it.
  • Skills token ratchet: no ceiling moves. skills/objectstack-i18n/SKILL.md 25215 to 25193 bytes; relationships.md 16718 to 16715. main has since taken docs(skills): lookupAutofill copies a currency amount only between fields in the same currency #37044 on relationships.md (16805 bytes there): merged, the file is 16802 bytes, 4201 tokens of the 4203 ceiling. The PR base 2b67603615 already contains docs(skills): lookupAutofill copies a currency amount only between fields in the same currency #37044, and the ratchet's lane is green on this head. Right.
  • os:check fences and served-section headings in the touched hunks are intact (the comment before the Stack-Level config block is kept; no heading changed). Right.

② Semver level

'@objectstack/skills': patch, one changeset. Text and one eval fixture only, nothing an installed project parses changes: patch is the level. Clause-②: no on the PR body and in the changeset agrees with the diff (no narrowing, no behaviour change); Metadata-protocol: none likewise. Check Changeset is success.

③ Boundary flags

open_questions: empty. Dev deviations and out-of-scope notes, each answered:

  • Signature line first in the PR body, closing lines after it: the PR-body guards run is success; both Fixes lines are present. Accepted.
  • Extra cuts in the related-list bullets of relationships.md beyond the relatedLists bullet: judged in ④; one of them is S1.
  • The nine technical node types listed beside the constant name: accepted. flow-altitude.ts is not a *.zod.ts file, and the skill itself states that only src/**/*.zod.ts ships as source, so the constant's members are not readable from a customer project. The list equals FLOW_TECHNICAL_NODE_TYPES on main member for member (see N2 on drift).
  • test:repo and the two NOT MEASURED gates (check:dual-build-cjs-loads, check:lean-entry-closure): answered by the head's check-runs, all green.
  • Out-of-scope note, carrier none: the other screens sub-keys and the flow-level successMessage / errorMessage, refusals, notices keys are still not spelled in the i18n skill. Agreed it is outside both cards (card objectstack-i18n skill: document the flows nodes translation group #36401 asks for step names). It has no carrier; the seat decides whether to file one.
  • Out-of-scope note on PR chore: version packages #35129 sharing SKILL.md: this diff lowers the file by 22 bytes, so it cannot cost that PR headroom. Accepted.
  • SQL push-down: no code in the diff; nothing to judge.
  • Security: no changed hunk teaches permission, sharing, credential, token or authentication behaviour. The words permissions and permission-denial near the hunks are unchanged context lines.

④ Design judgment

Code read on main to judge the text (read, not reviewed): packages/lint/src/i18n-walk.ts (the nodes pass and decisionBranchTechnicalTargets), packages/spec/src/automation/flow-altitude.ts, packages/cli/test/i18n-flow-node-coverage.test.ts, packages/lint/src/validate-translation-references.ts (the nodes orphan rule), packages/spec/src/system/translation.zod.ts (nodes, _relatedLists, the relatedLists alias, relatedListTitle), packages/lint/src/i18n-related-lists-label-36528.test.ts, packages/spec/src/system/i18n-related-lists-label-36528.test.ts, packages/spec/src/data/object.zod.ts (RelatedListEntryObjectSchema, ObjectSchema.relatedLists), ui/packages/app-shell/src/utils/deriveRelatedLists.ts, skills/objectstack-ui/rules/record-page.md.

No must-fix.

skills/objectstack-i18n/SKILL.md — the new teaching holds.

  • flows.{flow}.nodes.{node_id}.label: the walk emits it for each top-level node, skipping an approval (keyed approvals), a screen unless its own config.title holds a {{ hole, and isFlowTechnicalNodeType nodes, then adds the top-level technical targets of a top-level decision's branches. "Asks for a flow's top-level steps, and for a technical type only where a decision's branch leads to it" is that, and the coverage test pins it (asks nothing for a technical step no branch names, asks for a folded technical step where a drawn decision's branch list names it).
  • The nine types: script, http, connector_action, assignment, boundary_event and the four get_ / create_ / update_ / delete_record are exactly the frozen list.
  • The screen rule: the screens.{node_id}.title key covers config.title ?? node.label, and os validate refuses a nodes key over an untitled screen, pointing at the screens key, while a titled screen's nodes key is accepted. "Takes a nodes key only beside a title of its own" is correct.
  • "All four keys included" for os i18n extract --no-objects-only: extract and check share collectExpectedEntries, so the nodes key is scaffolded with the other flow keys.
  • _relatedLists.{list} row: key on the parent, the entry's literal list indexed whole (event.related_to one key), only an authored label has a key (a key over an unlabelled entry, a bare name or a built-in tab is translation-target-unknown), precedence entry label, then the child FK's relatedListTitle, then the child's plural label, as RelatedListEntryObjectSchema.label states it. The unprefixed relatedLists group is refused with the rename onto _relatedLists (alias table of ObjectTranslationDataSchema, pinned by the spec test). All correct.
  • Card objectstack-i18n skill: document the flows nodes translation group #36401's acceptance: on the test's own opportunity_approval shape, an author following the paragraph writes nodes keys for the start, decision, notify, loop and end steps, leaves the approvals and the untitled screen to their own keys, and is asked nothing for mark_approved; that is the set the coverage test expects.

skills/objectstack-i18n/SKILL.md — the cuts that pay for it lose no rule. Each cut, and where the file still says it:

  • "assembled by your own imports" (per-namespace row): the sentence above the table says it for every layout ("your own import graph assembles it ... nothing loads a directory tree for you").
  • "Use both gates": what each gate answers is still the section heading ("freshness, not coverage"), the os i18n check paragraph (missing keys per locale) and "coverage is only half the gate"; the kept sentence carries the one fact that motivates running both.
  • "Translations do not have to ship as files.": the heading and "created in the Studio, through the metadata API, or by an agent ... layering over the file bundles".
  • The adapter names: spelled in full under Service Contract.
  • "Configure i18n settings in your objectstack.config.ts", "The working coverage path is the CLI", "Scaffold ready-to-edit translation files", "there is nothing to compare against without it", "the most common shape in this repo": headings or repo-internal remarks; the config file is still named in the authoring sample, and that no shipped implementation provides getCoverage is still said under Service Contract.
  • relatedListTitle cell, "likewise": carries the inlineTitle clauses (the key is the child's; untranslated it keeps its authored text), which is what the field schema says of both.
  • Register step: stack registration is still taught in the authoring section; the folded sentence keeps the wrap rule.

skills/objectstack-data/rules/relationships.md.

S1 (should-fix) — relationships.md, the 'primary' bullet: "its tab stays unless a declared relatedLists omits it" is now "its tab stays." For a parent that declares relatedLists and names no entry for the group-placed child, the tab goes and the table stays at its group (deriveRelatedLists.ts, the "body table no entry names" branch; ObjectSchema.relatedLists jsdoc), so the sentence as it stands is false for that case. The file is not wrong as a whole: the next bullet still says a declared list shows only the lists it names, and objectstack-ui Record Page keeps the qualifier word for word. But the precedence between two adjacent statements was explicit and is now left to inference, and an author reading the specific sentence over the general one concludes the tab survives a declared list. That is a rule an author arranging tabs needs (the objectstack-ui record-page eval case 6 turns on it), so it is graded above a nit, and no higher because the governing rule is still on the next line. Restore the qualifier in some spelling and pay for it in the file: after #37044 the file has 10 bytes of headroom (16802 of 16812).

N1 (nit) — same file: "override the derived title / columns (the child's highlightFields)". The parenthetical now reads as the source of both; only the columns derive from highlightFields (the derived title is the child's plural label). The old wording ("otherwise columns auto-derive from ...") was exact.

N2 (nit) — SKILL.md: the nine-type list is a hand copy of FLOW_TECHNICAL_NODE_TYPES with nothing tying the two; it goes stale silently if the table gains a type. A follow-up, not a fix here.

skills/objectstack-i18n/evals/bundles-locales-coverage.json, case 16. Valid JSON, ids unique. The expected output holds against main: objects.crm_account._relatedLists['crm_event.related_to'].label on the parent as one key; the bare crm_contact entry has no key and keeps relatedListTitle, else the plural label; flows.opportunity_approval.nodes.high_value.label for the decision; update_record is a technical type asked only where a decision's branch leads to it, so the check is not missing a key. The names are the coverage test's own fixture. The assertions (_relatedLists, crm_event.related_to, nodes, high_value; not approvals.high_value, not screens.high_value) discriminate the two wrong groups an answer would reach for.

Implemented-by: claude/issue-36401-i18n-skill-keys
Reviewed-by: session_01QSeKYo86w1wqy2z2fMrryr

VERDICT: PASS

…lifier and says which default is highlightFields

Contract review S1 and N1 on the related-list bullets. Paid in the same file
by two restatement cuts in the section's opening and closing sentences.

Claude-Session: https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 7523971c565c850e5183385030f0007e4ff08fd0
Local-runs: none
Scope: skills/objectstack-i18n/SKILL.md, skills/objectstack-data/rules/relationships.md, skills/objectstack-i18n/evals/bundles-locales-coverage.json + none
Security-touching: no
Rule-change-verified: none

This is a delta review over the contract review record on this PR (record 7141134189: PASS at cd690662c70a2fcdf66c63783b1bb18dca7957ff, should-fix S1, nits N1 and N2). Since that head: the merge 40f4e27ee0 of main 159113f4fe, and the fix commit 7523971c56, which touches skills/objectstack-data/rules/relationships.md alone (5 lines out, 5 in). Read for this delta: record 7141134189 in full, the PR body, the two new commits, the net diff against main at 159113f4fe (still the tip of main), the 48 check-runs on the new head, and the code named in ④. Everything the prior record judged and this delta does not move stands as judged there: skills/objectstack-i18n/SKILL.md, the eval fixture and the changeset are the same blobs at cd690662c7, at the merge and at the new head.

Check-runs on the head: 30 success, 18 skipped, none failed, cancelled, neutral or pending. The skips are the path-filtered UI, docs and dogfood lanes (Type Check UI, Lint UI, Build UI Deps, Build & E2E UI, UI Published Artifacts, Plan Test UI shards, the Test UI and Dogfood Regression Gate matrix placeholders, Dogfood Verify CLI, Build Docs, Temporal Conformance), the two opt-in lanes (Packed-tarball smoke, 18.x upgrade harness), the two merge-queue verdicts, the schedule gate, and Auto Label and Check PR Size on the run the PR-body edit started (both are success on the push run). All expected on a skills-text diff. Check Changeset and the PR-body guards are success on both runs; Governed Surface Queue Guard, every Lint and Type Check lane, Build Core and Test Core are success. Token ratchet: the Type Check · source gates lane is success, its lane verdict reads 35 gates passed with Published skills token ratchet (#10473) + its self-test ok, and the gate's own line is 60 authored bundle file(s) within their ceilings (skills/objectstack-i18n/SKILL.md 6294 of 6333).

① Derived judgments

  • The merge is clean and brings nothing of its own. The tree of 40f4e27ee0 is byte for byte the tree an automatic three-way merge of cd690662c7 and 159113f4fe produces (c81d42b8d7), so no hand resolution is in it. Its diff against main is the four files of the reviewed diff with the same patch id as the diff record 7141134189 reviewed (cd690662c7 against its merge base 938a48f112). In the PR's files the merge changes one thing against its first parent: the two-line lookupAutofill parenthetical of docs(skills): lookupAutofill copies a currency amount only between fields in the same currency #37044 in the Catalog auto-fill bullet of relationships.md, which is main's text and not in the net diff. Right.
  • Net diff against main at the new head: the same four files, 50 lines in and 32 out: the reviewed diff plus the fix commit, nothing else. Right.
  • No accept-set changes: no schema, validator, lint rule or runtime code in the delta. Right.
  • Skills token ratchet: no ceiling moves and the script is unchanged against main. relationships.md is 16800 bytes at the head (16805 on main), 4200 tokens against the 4203 ceiling the script holds for it; 16802 at the merge, so the fix commit is two bytes lighter than what it fixes. Right.
  • Served-section headings and os:check fences: the fix edits three prose passages and no heading or fence; the served-sections gate and the skills link gate are ok in the lane verdict. Right.

② Semver level

Unchanged from the prior record: one changeset, '@objectstack/skills': patch, the same blob at the new head. The fix is text in a published skill file, so patch is still the level, and Clause-②: no and Metadata-protocol: none still agree with the diff. Check Changeset is success.

③ Boundary flags

  • open_questions: none added by the delta.
  • S1 and N1 of record 7141134189 are answered by 7523971c56; both judged in ④.
  • N2 (the nine-type list is a hand copy of FLOW_TECHNICAL_NODE_TYPES): the PR body accepts it as is. A nit left as an accepted deviation; nothing to re-judge.
  • The two cuts that pay for the fix are named in the PR body and judged in ④.
  • SQL push-down: no code in the delta; nothing to judge.
  • Security: the fix hunks are the related-list opening sentence, the 'primary' bullet and the title / columns sentence. None teaches permission, sharing, credential, token or authentication behaviour, and the rest of the net diff is as the prior record judged it.

④ Design judgment

Code read on main at 159113f4fe to judge the text (read, not reviewed): ui/packages/app-shell/src/utils/deriveRelatedLists.ts (the rules header, keepsTab, relatedListNamingEntries, the declared-list branch), packages/spec/src/data/object.zod.ts (ObjectSchema.relatedLists jsdoc and description, RelatedListEntryObjectSchema), ui/packages/plugin-detail/src/RelatedList.tsx (the highlightFields column default), skills/objectstack-ui/rules/record-page.md, and the rest of relationships.md at the head.

S1: closed.

The 'primary' bullet ends "its tab stays unless relatedLists omits it". That is what the reader does: a master_detail table a parent field group places carries keepsTab, and where the parent declares relatedLists and no entry names the list, the declared-list branch of deriveRelatedLists strips keepsTab and keeps the table at its group ("A body table no entry names stays at its group, with no tab"). ObjectSchema.relatedLists says the same from the other side: body tables a field group places are not hidden by the list, and leaving a list out hides its tab. The restored qualifier drops the word "declared" that main carries; nothing is lost with it, since a relatedLists that is absent omits nothing, the next bullet opens "declared, only the named lists show", and objectstack-ui Record Page keeps the long form.

N1, fixed: "override the derived title / columns (columns: the child's highlightFields); an entry's label / columns win." is correct. The parenthetical now scopes highlightFields to the columns alone, which is where the renderer reads it; the derived title is the child's list label, and the object-form entry's label / columns win over the FK's relatedListTitle / relatedListColumns (the declared-list branch, objectstack#35899).

The two new cuts lose no rule and no hint an author needs. No finding on either.

  • The section's opening sentence, "You usually don't declare the related list on the parent's record detail page: every child relationship is shown by default as a tab" to "On the parent's record detail page every child relationship is a related list, shown by default as a tab". What goes is the imperative spelling of a hint the sentence still carries as a fact: "shown by default" tells the author nothing needs declaring, the next sentence calls the flags refinements of that default, and the group form is still marked "written only when asked". This sentence is now the section's one statement of the default (the prior round cut "absent, nothing changes" from the relatedLists bullet and leaned on it), and it still makes that statement in full, with objectstack-ui Record Page saying "Without it nothing changes" behind the bullet's own pointer. The new wording also defines the term "related list" where the old one only used it. The universal "every child relationship" is main's own, and its exceptions (relatedList: false, audit FKs) still follow in the section.
  • "a self-referential FK (a hierarchy) surfaces a "children" list" without "(a hierarchy)". The parenthetical was a gloss, not a rule. The same file teaches the pairing twice above: the field-type table row for tree (Self-reference, Hierarchical) and the "Hierarchical: tree (Self-Reference)" pattern section. What the sentence teaches, that a self-FK yields a list of the records pointing back at the parent, is intact and matches the derivation's self-reference rule.

skills/objectstack-i18n/SKILL.md and skills/objectstack-i18n/evals/bundles-locales-coverage.json: unchanged blobs since the reviewed head; the prior record's judgment stands. main moved one commit past the tree that record read (#37063: skills/objectstack-ui/rules/list-views.md and its changeset), which touches none of the code or text either file was judged against.

No must-fix, no should-fix.

Implemented-by: claude/issue-36401-i18n-skill-keys
Reviewed-by: session_01QSeKYo86w1wqy2z2fMrryr

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

席位核对 — ACCEPT · L1 · head 7523971c565c850e5183385030f0007e4ff08fd0 · 2026-11-24T19:09Z

Zone a4-A, fold of cards #36401 (chain head) and #36575. Read from the PR's diff and check-runs, not from the dev reports.

  1. Shape. 4 files, +50 / −32: skills/objectstack-i18n/SKILL.md (the flows nodes.{node_id}.label key with the screen rule and the technical-node rule; the _relatedLists.{list} row), skills/objectstack-data/rules/relationships.md (the relatedLists entry names its translation key), one eval case (id 16), one @objectstack/skills patch changeset. One commit per card, a plain merge of main, one fix commit. No ceiling moved (relationships.md 4200 of 4203; i18n SKILL.md 6294 of 6333). Net +6 lines under skills/** against a fold budget of +8.
  2. Premise, measured. Neither key was taught in skills/** at 938a48f112; feat(spec): every step a flow drawing shows can be translated, under flows.FLOW.nodes.NODE_ID.label #36383 and feat(spec): a record-page tab title a relatedLists entry declares is translatable (objects.OBJECT._relatedLists.LIST.label) #36574 are merged. The text was checked against packages/lint/src/i18n-walk.ts, FLOW_TECHNICAL_NODE_TYPES, ObjectTranslationDataSchema and RelatedListEntryObjectSchema by the contract review.
  3. Gates. Check-runs on this head: 48, 30 success, 18 expected skips, none failed or pending; the token ratchet is green in Type Check · source gates.
  4. Contract review. Full PASS 7141134189 at cd690662c7 with S1 (should-fix); delta PASS on this head (posted just above): S1: closed, N1 fixed, the two new same-file cuts lose no rule, merge clean (same patch id). Security-touching: no. N2 accepted.
  5. Out of scope. The other screens sub-keys and the flow-level message keys are still not spelled in the i18n skill (dev note, carrier none): an omission os i18n extract scaffolds and os i18n check names — noted, not filed.
  6. Landing. Tier S on the low-risk skills arm with the record on this head; the zone lands it. Fixes #36401 and Fixes #36575.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Correction to item 6 of ACCEPT 7141692651 · 2026-11-24T19:10Z

check-governed-merges.mjs --pr 37072 reads Tier H, not Tier S: the PR closes two cards (Fixes #36401, Fixes #36575), so the low-risk skills arm cannot derive which card's labels to read and cannot rule out a security label. Neither card carries one today, but the zone does not land it: it is handed to the seat session for an authorized approval. Every other item of the ACCEPT stands.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

维护者速读

  • 用户能看到什么变化:用户无感。AI 写应用时会正确翻译流程里每一步的名称、相关列表的标题,技能文档里几处重复和过时的说法被删掉。
  • 为什么做:这两处能力已经上线,但技能文档没教,AI 写出的应用会漏翻译。
  • 出错会怎样:只是教学文字和一道评测题;最坏是 AI 少翻译几处,os i18n check 会提示。
  • 要你做什么:批准合并。一个 PR 关两张卡,工具判不出该走哪张卡的低风险通道,所以按需人工批准处理。契约审核 PASS:记录 7141681211,Head-sha 7523971c565c850e5183385030f0007e4ff08fd0。

席位意见:可以合并。两张卡(#36401、#36575)都没有 security 标签,内容是纯技能文字。

席位核对 — ACCEPT · L1 · head 7523971c565c850e5183385030f0007e4ff08fd0 · 2026-11-24T19:12Z

Seat's own read of the diff (4 files, +50/−32), over zone a4-A's L1 (7141692651) and the contract reviews (full PASS 7141134189 at cd690662c7 with S1; delta PASS 7141681211 at this head, S1: closed, Security-touching: no).

  • Shape. Folds objectstack-i18n skill: document the flows nodes translation group #36401 and Skills: teach the related-list entry title translation key objects.OBJECT._relatedLists.LIST.label (follow-up of #36528) #36575 (two Fixes). skills/objectstack-i18n/SKILL.md teaches the flows.{flow}.nodes.{node_id}.label key (screens named by their title, which technical node types os i18n check asks for) and the objects.{parent}._relatedLists.{list}.label key; skills/objectstack-data/rules/relationships.md points to the related-list label key; restatements are cut without losing a rule (the contract review's S1 restored "its tab stays unless relatedLists omits it"); one eval case; changeset @objectstack/skills patch, Clause-②: no, Metadata-protocol: none.
  • Tier H only because the low-risk skills arm cannot tell which of the two folded cards carries the record; neither card carries security (read now). Check-runs at this head: 30 success, 18 expected skip, 0 failed; landing K = 0.
  • No must-fix, no should-fix.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Hand-off · 2026-11-24T19:12Z · @os-zhuang — PR #37072 (cards #36401, #36575) is ready for your approval. Skills text and one eval case only; Tier H because one PR folds two cards. Seat record (速读 + ACCEPT) above; contract review PASS 7141681211, Head-sha 7523971c565c850e5183385030f0007e4ff08fd0. After your approval the seat lands it.

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 24, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 24, 2026 19:16
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 9d70768 Nov 24, 2026
57 of 58 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-36401-i18n-skill-keys branch November 24, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

3 participants