Repository navigation
docs(skills): teach the flow step-name and related-list title translation keys - #37072
Conversation
…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>
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr Contract review brief — PR #37072 @
|
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr Contract reviewServed-tier: 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 Check-runs on the head: 28 ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentCode read on No must-fix.
S1 (should-fix) — N1 (nit) — same file: "override the derived title / columns (the child's N2 (nit) —
Implemented-by: 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>
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr Contract reviewServed-tier: This is a delta review over the contract review record on this PR (record 7141134189: PASS at Check-runs on the head: 30 ① Derived judgments
② Semver levelUnchanged from the prior record: one changeset, ③ Boundary flags
④ Design judgmentCode read on S1: closed. The N1, fixed: "override the derived title / columns (columns: the child's The two new cuts lose no rule and no hint an author needs. No finding on either.
No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr 席位核对 — ACCEPT · L1 · head
|
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr Correction to item 6 of ACCEPT 7141692651 · 2026-11-24T19:10Z
|
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 维护者速读
席位意见:可以合并。两张卡(#36401、#36575)都没有 席位核对 — ACCEPT · L1 · head
|
|
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 |
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr
Fixes #36401
Fixes #36575
Clause-②: no
Metadata-protocol: none
维护者速读
7523971c565c850e5183385030f0007e4ff08fd0。What changes
One commit per card, then one merge of
mainand one fix commit after the contract review.76538fe36f, the flow step-name key (#36401, the follow-up owed by the flowsnodesgroup).skills/objectstack-i18n/SKILL.md, the paragraph on keys that sit deeper than their group'slabel, now names a fourth key:"Three keys" and "all three keys included" become four. This is what the readers do: the walk in
packages/lint/src/i18n-walk.tsasksnodes.NODE_ID.labelfor each top-level node, skips anapproval(keyedapprovals.NODE_ID.label) and a screen whose labelscreens.NODE_ID.titlealready covers, skipsisFlowTechnicalNodeTypenodes, and adds back a technical step a drawn decision's branch names (decisionBranchTechnicalTargets);os i18n extractreads the same walk. The nine types are the literal list ofFLOW_TECHNICAL_NODE_TYPESinpackages/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: thelabelof an object-formrelatedListsentry on the parent object, by the entry's literallist(event.related_tois one key); an entry with nolabelhas no key and keeps the child field'srelatedListTitle, else the child's plural label; "SpelledrelatedLists, the group is refused, naming this one" (the alias table ofObjectTranslationDataSchemamaps the unprefixed spelling to_relatedListsas a refusal, never an accepted second spelling).skills/objectstack-data/rules/relationships.md, therelatedListsentry: "itslabeltranslates atobjects.{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.labelinpackages/spec/src/data/object.zod.ts: the entrylabel, then the child FK'srelatedListTitle, then the child's plural label).40f4e27ee0, merge oforigin/main159113f4fe(plain merge, no conflict; brings #37044's edit to the same file).7523971c56, the contract review's S1 and N1 (record 7141134189),relationships.mdonly:'primary'bullet ends "its tab stays unlessrelatedListsomits it" again (the first round had cut the qualifier, leaving a sentence that was false for a declared list that omits the child).highlightFields); an entry'slabel/columnswin."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; therelatedListTitlecell 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; thetranslationitem 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
main159113f4fe(before) and7523971c56(after):skills/objectstack-i18n/SKILL.mdskills/objectstack-data/rules/relationships.mdskills/objectstack-i18n/evals/bundles-locales-coverage.jsonThe 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.tsandpackages/lint/src/i18n-related-lists-label-36528.test.ts.Acceptance notes
check:dual-build-cjs-loadsandcheck:lean-entry-closurewere NOT MEASURED locally (exit 3, prerequisite: a whole-workspace build); the diff touches no package and CI runs both.nodeskey is accepted byos validateat any depth and for a titled screen; the skill teaches whatos i18n checkasks for and the one screen rule an author can get wrong, not the full acceptance set.FLOW_TECHNICAL_NODE_TYPESwith no gate tying them) is accepted as is.Verification
Read first, by risk: the "Four keys sit deeper" paragraph and the
_relatedLists.{list}row ofskills/objectstack-i18n/SKILL.md; the three related-list bullets ofskills/objectstack-data/rules/relationships.md.Two-minute check:
node scripts/check-skills-token-ratchet.mjsprints60 authored bundle file(s) within their ceilings, withskills/objectstack-data/rules/relationships.md is 4200 tokens (ceiling 4203; headroom 3).overlap-checkat7523971c56:VERDICT clean exit 0againstorigin/main, #36158 and #35129.Generated by Claude Code