Skip to content

docs(skills): teach the mappings group, action and hook texts, and drop the stale label-serving caveat - #35302

Merged
os-zhuang merged 3 commits into
mainfrom
claude/issue-34962-i18n-skill-texts
Nov 19, 2026
Merged

os-zhuang merged 3 commits into
mainfrom
claude/issue-34962-i18n-skill-texts

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Bill · project thread
Fixes #34962
Fixes #35097
Fixes #34053
Part of #34546 — this PR carries its i18n half only (where a hook's texts sit in a bundle, plus one i18n eval case). The declaration half (hook texts and ctx.text in skills/objectstack-data/references/data-hooks.md, plus one objectstack-data eval case) rides with the area's data-hooks group, per the PM's fence ruling in this dispatch: that file and the data eval set sit under open draft #34964 and the next data-hooks group.

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:已发布技能 objectstack-i18n 的顶层分组列表加入 mappings(导入映射的 label,按映射 name 存放,附 showcase 的 zh-CN 实例);"按组织语言取句"一段扩到钩子与脚本动作在 texts 里声明、用 ctx.text 写入记录的句子(hooks.HOOK.texts.KEY.message、_actions.ACT.texts.KEY.message,无对象动作在 globalActions 下);删去已失效的"标签服务把内联文字当 defaultLocale 读"提醒,只保留仍然成立的一句:校验与拒绝消息仍经 t() 读标签,英文源、中文默认的应用仍需声明 fallbackLocale: 'en'。objectstack-ui 的 rules/actions.md 新增一小节,教脚本动作声明 texts 并用 ctx.text 取句。i18n 评测加 2 条、改 1 条,ui 评测加 1 条。
  • 为什么改:mappings 分组、动作 texts、钩子 texts 都已在 main 上落地,但技能没教;照技能写包的 agent 会把映射名留成英文、把句子硬编码进动作体。旧提醒在 sourceLocale 服务落地后已经说错。
  • 风险与回滚:只改发布技能文字、评测、一行 token 棘轮与 changeset;无运行时影响。rules/actions.md 的棘轮行 3180 → 3333(先删同文件两处复述示例的句子 53 字节,余额按实测);i18n SKILL.md 在原上限内付清(6327 → 6329,上限 6333 不动)。回滚 = revert 本 PR。
  • 先看:① skills/objectstack-i18n/SKILL.md 第 50–53 行(新的 t() 提醒是否准确)与分组段(mappings、texts 键);② skills/objectstack-ui/rules/actions.md 新增的 texts 小节;③ scripts/check-skills-token-ratchet.mjs 中 actions.md 行的注释与 +153。
  • 两分钟验证:node scripts/check-skills-token-ratchet.mjs,预期 skills/objectstack-ui/rules/actions.md is 3333 tokens (ceiling 3333; headroom 0)、skills/objectstack-i18n/SKILL.md is 6329 tokens (ceiling 6333; headroom 4),末行 ✓。
  • 需要你做的:审阅并合并(skills/** 属 Tier H 受管面)。

What changes

Ratchet and size readings

Raise authority, quoted verbatim and untranslated: the standing ruling of 2026-10-27, 「A:先削重复,余额按实测提高」, made the gate-recognised path by ruling record 6513306068 (letter B). Restatement in the same file is cut first; the remainder moves by measurement.

  • skills/objectstack-i18n/SKILL.md: paid in full in the same file, so the row does not move (open draft docs(skills): the api and i18n skills teach RuntimeBuildIssue.userMessage #34970 edits the same file). The restatement cut:
    • the renamed-target sentence, which restates the option paragraph's "parse, ship, and resolve to nothing" and the translation-target-unknown error stated just above it;
    • --objects-only and --source-hashes from the extract --help list, both taught in place (the paragraph right below and the Register code comment);
    • the group-name list in the --objects-only paragraph and the surface list in os i18n check's paragraph, two partial copies of the group list (neither named mappings, hooks or books);
    • the empty step "### 2. Translate / Fill in the values manually.";
    • the flow-key language parenthetical, merged into the one sentence that now also covers texts.
  • skills/objectstack-ui/rules/actions.md: paid down first by 53 bytes of restatement, each of the example right below its sentence: " as ${result.output.NAME}" in the onSuccess sentence (27; the Convert Lead block spells ${result.output.opportunity_id}) and "{recordId} placeholder; " in the newTabUrl sentence (26; the Open PDF block spells it). The refusals bundle key stays: the bundle's own evals grade _actions, and the with-skill arm reads this bundle only. Nothing else in the file restates another passage, so the rest moves by measurement: 12720 -> 13330 bytes, ceil(13330 / 4) == 3333, +153 tokens, pinned AT the measurement.
Reading (tree objectstack-ai/objectstack, base 01889892 -> head 14899df) Before After
skills/objectstack-i18n/SKILL.md lines 527 523
skills/objectstack-i18n/SKILL.md bytes / priced tokens (ceiling) 25325 / 6327 (6333) 25336 / 6329 (6333)
skills/objectstack-ui/rules/actions.md lines 248 258
skills/objectstack-ui/rules/actions.md bytes / tokens (ceiling) 12720 / 3180 (3180) 13330 / 3333 (3333)
All published skills/*/SKILL.md lines (sum, 13 files) 4835 4831
All published skills/*/SKILL.md bytes (sum) 254161 254172
Bundle total, whole shipped tree (ratchet units) 270968 271945

The bundle total's +977 units are mostly eval fixtures (+822, measured, not ratcheted).

Tests

Text-only change to served skill text, eval fixtures and one ratchet row. No tested behaviour changed, so there is no ablation and no package test / typecheck is owed (the diff touches no package source).

Token ratchet, gate and self-test (head 14899df)
node scripts/check-skills-token-ratchet.mjs                -> exit 0
✓ check-skills-token-ratchet: skills/objectstack-i18n/SKILL.md is 6329 tokens (ceiling 6333; headroom 4).
✓ check-skills-token-ratchet: skills/objectstack-ui/rules/actions.md is 3333 tokens (ceiling 3333; headroom 0).
✓ check-skills-token-ratchet: 59 authored bundle file(s) within their ceilings; 10 generator-owned file(s) and 38 eval fixture(s) measured, not ratcheted.
node scripts/check-skills-token-ratchet.mjs --self-test    -> exit 0
✓ check-skills-token-ratchet self-test: 104 cases pass.

Before the row was re-pinned, the same gate read 3333 / 3180 (+153) and exited 1: the remainder this PR carries.

Acceptance notes

Verification

Local gate union derived by node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at head 81eae9a (6 paths, 66 commands). Every family CI runs is read from this PR's check-runs. Fix round 14899df1c (contract review 6999139326, M1) re-ran the token ratchet and its self-test, the skills gates (check:skill-docs, check:skill-refs, check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync), check:nul-bytes, check:doc-authoring, check:pm-skill-id-lint, the changeset gates and overlap-check: all exit 0. check:doc-formula-expressions was NOT MEASURED there (no lint dist in the recreated worktree; no code block touched; exit 0 at 81eae9a).

Local run (head 81eae9a)
Run reconciliation: 66 derived, 64 run (exit 0), 2 NOT-MEASURED, 0 UNRUN.
✓ dispatch-gates --ran: 66 derived famil(ies) accounted for — 64 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3).

pnpm --filter @objectstack/spec run check:skill-docs   -> exit 0   ✅ Skill docs in sync
pnpm --filter @objectstack/spec run check:skill-refs   -> exit 0   ✅ 9 generated files in sync with packages/spec
pnpm check:skill-links                -> exit 0   267 relative link(s) in 73 published skill file(s) resolve; 138 fragment(s) name a real heading
pnpm check:skill-identifier-liveness  -> exit 0   Leg 1: 484 citation(s) over 73 published file(s); Leg 2: 11 registered exhaustive section(s), 0 ledgered gap(s)
pnpm check:skill-compatibility        -> exit 0   13 SKILL.md file(s) reconciled against 91 workspace packages
pnpm check:doc-authoring              -> exit 0
pnpm check:pm-skill-id-lint           -> exit 0   120 file(s) clean
pnpm check:nul-bytes                  -> exit 0   no raw ASCII control bytes
pnpm check:pm-dispatch-gates          -> exit 0   fast tier: 2249 cases pass
pnpm --filter @objectstack/lint run check:doc-formula-expressions -> exit 0 (after building the @objectstack/lint closure)
pnpm check:dual-build-cjs-loads       -> exit 3   PREREQUISITE NOT MET (needs every package's built dist/)
pnpm check:lean-entry-closure         -> exit 3   PREREQUISITE NOT MET (needs the objectql build)

NOT MEASURED locally: check:dual-build-cjs-loads and check:lean-entry-closure. Reason: PREREQUISITE NOT MET (exit 3). They load built dist/ trees that this docs-only diff does not build, and CI runs them. No package test / typecheck is owed, and no test:repo either: the diff touches no package source and no repo-project test.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Utp6CazXu8zyYD5PC6J2u7

…op the stale label-serving caveat

The i18n skill names the `mappings` translation group and where a hook's or
a script action's declared `texts` sit in a bundle; the ui actions rule
teaches declaring `texts` and asking for them with `ctx.text`. The caveat
that serving reads inline labels as defaultLocale text is replaced by the
narrower truth that still holds (`t()`-read labels in refusal messages).

Claude-Session: https://claude.ai/code/session_01Utp6CazXu8zyYD5PC6J2u7
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/m 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 19, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 81eae9ab9bf7e203dc0531557439ce71d8fa171c
Local-runs: none
Scope: skills/objectstack-i18n/SKILL.md, skills/objectstack-i18n/evals/bundles-locales-coverage.json, skills/objectstack-ui/evals/views-apps-actions-pages.json, skills/objectstack-ui/rules/actions.md + scripts/check-skills-token-ratchet.mjs
Security-touching: no

Read: the PR body and its diff against merge base 01889892 (6 files, +89/-28, two branch commits); cards #34962, #35097, #34053, #34546 with every comment, the dev report 6998622390, card #34030 and its comments; ruling record 6513306068 (on #27847); the two skill files and both eval files whole at head; the code the new sentences describe, at head; the skill-evals runner; the check-runs on this head. File sizes and token occurrences were read off git blobs. No repo script, build, test or gate was run.

Check-runs on this head (45 runs, all completed): 29 success, 16 skipped, 0 failed, 0 in progress. Success includes Build Core, Test Core and its 3 planned shards, TypeScript Type Check with its four parts, Lint & Repo Gates and all eight Lint parts, Live E2E UI, Dogfood Regression Gate, Check Changeset, Check PR Size, PR-body guards, Governed Surface Queue Guard. Skipped are the UI build/test/lint families, Build Docs, Temporal Conformance, the opt-in harnesses and the queue verdicts. The PR is a draft, mergeable_state: clean, no auto-merge armed. Main has moved 7 commits past the merge base (now 11345191); none touches the six paths or any file cited below, and the merge is clean.

① Derived judgments

Every new sentence, against the code at head:

  • mappings group, mappings.{mapping}.label keyed by the mapping's name, label only: RIGHT. packages/spec/src/system/translation.zod.ts:2359-2370 (one key, label; its guidance refuses description); packages/spec/src/data/mapping.zod.ts:411-412 (name, label, no description key); served by translateMapping, packages/spec/src/system/i18n-resolver.ts:2995-3045, registered at :2049; walked for extract and check at packages/lint/src/i18n-walk.ts:2175-2181, so "extract --no-objects-only scaffolds every group above" stays true with mappings in the list. The zh-CN example is the shipped spelling: examples/app-showcase/src/system/translations/index.ts:1554.
  • hooks.{hook}.texts.{key}.message and _actions.{action_name}.texts.{key}.message, also under globalActions: RIGHT. translation.zod.ts:398-411 (one factory for both), :498-503, :783, :1316, :2207, :2260; the keys are spelled by hookTextMessageKey and actionTextMessageKey (i18n-resolver.ts:4651, :4700).
  • "picked in the organization's language (the Localization setting if set, else i18n.defaultLocale; never the caller's)": RIGHT for all three writers. packages/core/src/organization-locale.ts:109-116 (setting, else the app default) and :185-198 (the one reader the flow record write, a hook text and an action text share); packages/runtime/src/sandbox/hook-text.ts:147; spec text at translation.zod.ts:2236-2242. "never the run starter's" became "never the caller's": same fact for a flow, and the automation skill (SKILL.md:271-272) still says it its own way. No contradiction.
  • rules/actions.md new H3: RIGHT, sentence by sentence. Same actions as refusals (a script action with a js body, anything else refused the key): packages/spec/src/ui/action.zod.ts:2673-2678. The texts literal and the await ctx.text('email_subject', { subject: input.subject }) call are the spec's and the docs' own example (action.zod.ts:1556-1560, content/docs/ui/actions.mdx:197-215). No translation writes the declared sentence, filled: hook-text.ts:148-162. An unreadable Localization setting rejects: organization-locale.ts:143-157 (only an unregistered setting reads as unset; any other throw propagates) through the un-caught await at hook-text.ts:147. Undeclared key refused at save when literal, else at run: action.zod.ts:2679-2685 and hook-text.ts:143-146. Installed on the action body at packages/runtime/src/sandbox/body-runner.ts:689.
  • sourceLocale row, "a request in it is served that text": RIGHT. i18n-resolver.ts:61-66 and :355-377; the serving layer passes getSourceLocale() first, packages/rest/src/meta-item-read-gate.ts:3286-3298. One qualifier the row does not carry and need not: a shipped source-locale bundle row still wins (i18n-resolver.ts:374-375).
  • The deleted reminder was stale: RIGHT. It said label serving reads inline text as defaultLocale text. Commit 2068e037 (feat(i18n): serve labels by i18n.sourceLocale as the authored language #34025), an ancestor of this head, made the five serving readers treat i18n.sourceLocale as the authored language (same cites as the row above, plus packages/runtime/src/app-plugin.ts:2875-2890).
  • The kept t() sentence and eval case 11: RIGHT on this head and on main 11345191. resolveFieldLabel asks the translator before the declared label (packages/objectql/src/validation/record-validator.ts:463-482); the translator is II18nService.t (packages/objectql/src/engine-validation-messages.ts:80-88); FileI18nAdapter.t() tries the requested locale, then its fallback (packages/services/service-i18n/src/file-i18n-adapter.ts:174-194); os serve builds it with fallbackLocale || defaultLocale || 'en' (packages/cli/src/commands/serve.ts:4032-4035). So with defaultLocale: 'zh-CN', sourceLocale: 'en' and no fallbackLocale, an en refusal reads the zh-CN row; with fallbackLocale: 'en' the miss echoes the key and the declared English label answers. i18n: validation and refusal messages read field, option and object labels through t(), so a declared i18n.sourceLocale request still names the field with the defaultLocale row #34030 is open (pm:queue), and main's 7 new commits touch none of these files.
  • The i18n same-file payments lost no instruction: RIGHT. The renamed-target sentence described a symptom; the gate that catches it (translation-target-unknown, an error) stays one paragraph up. --objects-only and --source-hashes left the "rest of --help" list and are each still taught in place (the default-on warning; the Register comment). The two partial group lists gave way to "the other groups", with --no-objects-only and "author them by hand" kept. "2. Translate / Fill in the values manually" carried no rule; no link names the renumbered heading.
  • Ratchet arithmetic: RIGHT. actions.md 12720 to 13335 bytes, ceil(13335 / 4) = 3334, zero headroom before, +154; the new H3 is 644 bytes and the refusals paragraph shrank 213 to 184 (29). i18n SKILL.md 25325 to 25336 bytes, priced without its 20-byte stamp line 6327 to 6329, row untouched at 6333.
  • The actions.md 29-byte cut lost no instruction for a reader of the whole catalog (objectstack-i18n keeps the _actions.{action_name}.refusals.{CODE} row), but it removed the only spelling of _actions in the objectstack-ui bundle, which that bundle's own evals assert: WRONG as landed. See ④ M1.

② Semver level

③ Boundary flags

④ Design judgment

One must-fix, on the eval fixtures. The teaching text itself holds against the code.

  • M1 (must-fix) — two objectstack-ui eval assertions now require a token their bundle no longer contains. skills/objectstack-ui/evals/views-apps-actions-pages.json case 21 (new here) and case 20 (landed with docs(skills, spec): the ui and i18n skills teach an action's refusals catalogue and its translation keys; action.zod.ts gains a module description #35087) both carry _actions in must_contain. At base the bundle taught it once, rules/actions.md:141, the bundle key this PR cut to pay 29 bytes. At head a search of skills/objectstack-ui outside evals/ finds no _actions at all, and the new H3 says "(keys: objectstack-i18n)". The runner gives a with-skill turn the case's own bundle and nothing else (packages/qa/scenarios/src/skill-evals/arms.ts:86-100: one cpSync of skillsRoot/bundle, tools Read/Glob/Grep/Skill in a fresh directory) and grades by literal substring (grade.ts:27-29). So an answer written from the ui skill cannot contain _actions: case 21, the one eval skills: teach declaring an action's texts (ActionSchema.texts) and translating them under the action node — objectstack-ui rules/actions.md and objectstack-i18n SKILL.md #35097 asks for, cannot pass on the with-skill arm, and case 20 goes from answerable to unanswerable. Across the catalog these are the only two must_contain tokens that sit in neither their bundle's markdown nor their own prompt at head and did not already at base. Fix, either way: (a) drop _actions from both lists and let the two expected_output texts say the sentence is translated under the action's keys taught by objectstack-i18n (i18n case 13 already asserts the refusal key there; widen i18n case 15 or add a case if the action-node texts key should stay graded); or (b) keep the key spelled in rules/actions.md, in which case the 29-byte payment is gone and the row cannot move under letter B without another same-file deletion. Under (a) the cut is a fair teach-once payment and the +154 stands.

Per file, otherwise:

  • skills/objectstack-i18n/SKILL.md: holds. An agent asked to translate a mapping label, a hook text or an action text now finds the key and whose language picks it; an agent configuring an English-source app for Chinese users is no longer told serving ignores sourceLocale, and is still told the one case where fallbackLocale: 'en' matters.
  • skills/objectstack-ui/rules/actions.md: holds as text. It teaches the declaration, the call and the three run-time answers, and leaves the keys to the skill that owns them.
  • skills/objectstack-i18n/evals/bundles-locales-coverage.json: cases 14 and 15 test what the new text teaches; case 11 matches the rewritten caveat. No must_not_contain entry occurs in its own expected_output.
  • scripts/check-skills-token-ratchet.mjs: the row and its note agree with the measured file; the note's claim depends on M1's route.

Nits (none blocks):

Implemented-by: claude/issue-34962-i18n-skill-texts
Reviewed-by: session_01Utp6CbUb7TcZK1XUAddUmQ

VERDICT: FAIL

…ames the texts key beside it

The `_actions` key spelling is graded by the ui bundle's own evals, and the
with-skill arm reads that bundle only, so it stays. Paid by two sentences
that restated the example right below them; the ratchet row moves by the
measured remainder. Two eval assertions no longer require text the prompt
hands the answerer or the bundle does not teach.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 14899df1c2c7c4e9ad221d8d209825f745ca5ffc
Local-runs: none
Scope: skills/objectstack-i18n/SKILL.md, skills/objectstack-i18n/evals/bundles-locales-coverage.json, skills/objectstack-ui/evals/views-apps-actions-pages.json, skills/objectstack-ui/rules/actions.md + scripts/check-skills-token-ratchet.mjs
Security-touching: no

Delta round. Round 1 is record 6999139326 on head 81eae9ab9bf7e203dc0531557439ce71d8fa171c: FAIL on one must-fix (M1), seven nits. This record reads the one commit since, 14899df1c2 (5 files, +30/-26), and stands on round 1 for everything that commit does not touch.

Read: the delta diff and its commit message; the three changed skill and eval files whole at this head; the row note; the PR body as it stands now; the PR diff against main (00cfb78f, 10 commits past the merge base 01889892); the code the two shortened sentences describe; the cards' threads since round 1 (no new comment). File sizes and token occurrences were read off git blobs. No repo script, build, test or gate was run.

Check-runs on this head, read at 2026-11-19T04:04Z, CI still running: 47 runs, 26 success, 18 skipped, 0 failed, 3 in progress. PENDING: Test Core (1/10), Test Core (2/10), Lint · PM dispatch-gates. Not yet reported on this head, and green on the round 1 head: the two roll-ups Test Core and Lint & Repo Gates. Already green here: Build Core, Test Core (3/10), TypeScript Type Check with its four parts, Lint · docs & code guards, Lint · repo & tooling gates, Lint · CI, release & engine gates, Lint · ESLint, the three scoped lints, Live E2E UI, Dogfood Regression Gate, Check Changeset, Check PR Size, PR-body guards, Governed Surface Queue Guard. The PR is a draft, mergeable_state: blocked, no auto-merge armed. This verdict covers the text and the evals; it does not stand in for the pending runs.

① Derived judgments

  • M1 is closed: RIGHT. skills/objectstack-ui/rules/actions.md:140-142 is byte-identical to base again and spells objects.OBJECT._actions.ACTION.refusals.CODE.message; it is the one _actions in the bundle outside evals/. Case 20 is answerable from that line. The new H3 says the text is "translated at the same node's texts.KEY.message" (:150), so case 21's key composes from the two lines of its own bundle. The claim is true: refusals and texts are sibling keys of one action translation schema (packages/spec/src/system/translation.zod.ts:497-503, :781-783). Catalog-wide, the must_contain tokens that sit in neither their bundle's markdown nor their own prompt are the same set at this head as at base; this PR adds none.
  • Cut A, " as ${result.output.NAME}" in the onSuccess sentence (27 bytes): a true restatement, no instruction lost. The sentence still says the URL template reads an isOutput variable (actions.md:67) and the block it introduces spells ${result.output.opportunity_id} (:85). Eval case 8, which requires result.output, still finds it in the bundle.
  • Cut B, "{recordId} placeholder; " in the newTabUrl sentence (26 bytes): a restatement of the example, no instruction lost. newTabUrl: '/api/v1/invoice/{recordId}/pdf' (:196) carries the spelling, which is the whole rule (packages/spec/src/ui/action.zod.ts:2320; the console replaces that literal, ui/packages/app-shell/src/utils/consoleServerAction.ts:247). It is the thinner of the two, see ④ D2. No eval asserts the removed words.
  • Both cuts are same-file restatement of the kind this row has paid with before (the skills: teach the action refusals catalogue and its translation keys (after #34273); fix the action.zod.ts index row #34824 note: "the examples show the shape"); main's docs(skills): scope "Declaring is a demand" to what os serve does #35294 paid the platform row under the same ruling the same way.
  • Ratchet: RIGHT. actions.md is 12720 bytes at base and 13330 here, ceil(13330 / 4) = 3333, zero headroom before, +153. The file at this head equals base with the two fragments removed and the 663-byte H3 inserted, nothing else. The row is pinned at 3333 (scripts/check-skills-token-ratchet.mjs:1442) and its note's numbers match. The i18n SKILL.md is byte-identical to round 1 (priced 6329, ceiling 6333, row untouched).
  • Ruling B (record 6513306068, point 2): the form holds and is now cleaner. The PR body quotes 「A:先削重复,余额按实测提高」 verbatim with the record id and the measured +153; both deletions are in the file whose row moves and each restates a passage of that same file.
  • The reworded H3 is still true sentence by sentence against the cites of round 1 ①; "read organization-wide" and "refused at save when named literally, else at run" change no claim.
  • On main's new tip the merge is clean. Main's docs(skills): scope "Declaring is a demand" to what os serve does #35294 edits the ratchet file on the platform row only; the merged tree keeps actions.md at 13330 bytes under 3333 and the i18n file at 6329 under 6333. None of main's 10 commits touches the code cited in either round.

② Semver level

  • Unchanged and still RIGHT: '@objectstack/skills': patch, Clause-②: no, Metadata-protocol: none, both lines in the PR body and the changeset. Check Changeset is green on this head.
  • The changeset body's two edited bullets match the diff: the ui bullet no longer says the refusals paragraph only points at the i18n skill, and a new bullet names the i18n same-file deletions (round 1 N7).

③ Boundary flags

④ Design judgment

No must-fix and no should-fix on this head. The fix took the route that keeps the bundle self-sufficient for its own evals, and paid for it with deletions that are restatement in the strict sense.

  • skills/objectstack-ui/rules/actions.md: holds. An agent writing a script action finds the declaration, the call, the three run-time answers and both bundle keys in one place.
  • skills/objectstack-ui/evals/views-apps-actions-pages.json: cases 20 and 21 test what their bundle teaches.
  • skills/objectstack-i18n/evals/bundles-locales-coverage.json: case 15 asserts only what the i18n text teaches.
  • scripts/check-skills-token-ratchet.mjs: the row agrees with the measured file and with its note.

Nits (none blocks, none needs a push):

  • D1 — "the same node" in the texts sentence has its antecedent across the heading (the refusals key one paragraph up), and the texts sentence no longer points at objectstack-i18n itself, so the globalActions home of an object-less action's text is reached only through the refusals sentence's pointer.
  • D2 — after cut B the Open PDF example is the only place the bundle shows {recordId}, a convention unlike the ${…} holes of target and onSuccess in the same file (action.zod.ts:2256-2258). A later edit of that example must keep it.
  • D3 — the row note again says "Nothing else in the file restates another passage", which this round and the skills: teach the action refusals catalogue and its translation keys (after #34273); fix the action.zod.ts index row #34824 round each disproved. Comment only.
  • PR body — the full local gate union is reported for the round 1 head and a subset for this one; CI covers the rest once it finishes.

Implemented-by: claude/issue-34962-i18n-skill-texts
Reviewed-by: session_01Utp6CbUb7TcZK1XUAddUmQ

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

维护者速读

席位核对 — ACCEPT · repo:objectstack#5 · head 14899df1c2c7c4e9ad221d8d209825f745ca5ffc · 2026-11-19T04:06Z

@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 19, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 19, 2026 04:28
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit 81c0947 Nov 19, 2026
55 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-34962-i18n-skill-texts branch November 19, 2026 04:55
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 19, 2026
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 size/m tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

3 participants