Skip to content

docs(skills): objectstack-i18n teaches i18n.sourceLocale - #33934

Merged
os-zhuang merged 2 commits into
mainfrom
claude/project-thread-jl3xcf
Nov 15, 2026
Merged

os-zhuang merged 2 commits into
mainfrom
claude/project-thread-jl3xcf

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread

Fixes #33635

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:objectstack-i18n 技能的 i18n 键表新增 sourceLocale 一行(内联 label: 文本的语言,缺省即 defaultLocale),并写明英文编写、中文用户的配法和 fallbackLocale 的服务端注意事项;--default-locale 的说明改为"覆盖源语言"。
  • 为什么改:技能只教 defaultLocale,AI 给"英文写、卖给中国用户"的应用会写 defaultLocale: 'en',丢掉用户默认语言,或得到大量误报的"缺 en"。
  • 风险与回滚:纯文档 + 一条评测用例,不动运行时;回滚即 revert 本 PR。
  • 先看:skills/objectstack-i18n/SKILL.md 键表下方新增的四行(服务端注意事项一句)、skills/objectstack-i18n/evals/bundles-locales-coverage.json 的第 11 条用例。
  • 两分钟验证:node scripts/check-skills-token-ratchet.mjs,预期 i18n 行显示 6146 / 6333 且全绿。
  • 需要你做的:批准本 PR。

What changes

skills/objectstack-i18n/SKILL.md (published, English):

  • Key table: a sourceLocale row (optional, defaults to defaultLocale; the language inline label: text is written in; read by os lint, os i18n check, os i18n extract). The defaultLocale row now says what it is: the locale a user who has not chosen one gets.
  • Under the table (4 lines): an English-authored app for Chinese users declares defaultLocale: 'zh-CN', sourceLocale: 'en', not an English defaultLocale (the warning does not spell the literal the eval refuses). The serving caveat as the spec change published it: label serving still reads inline text as defaultLocale text, so without fallbackLocale: 'en' an en request reaches the zh-CN bundle before the English inline label. The serving card (i18n: the serving layer reads defaultLocale, not i18n.sourceLocale, as the authored label's language — with defaultLocale: 'zh-CN' and no fallbackLocale, an en request is served the zh-CN row instead of the English inline label #33634) is still open, so the caveat names no future behaviour. One clause names the refused near-miss spellings sourceLanguage / authoringLocale / authoringLanguage.
  • Translation Coverage: "Gaps in the default locale are errors" now says source locale. That is the locale computeI18nCoverage raises errors against (resolveSourceLocale).
  • Extract Skeletons: the source locale (not "the default locale") is filled from schema labels. --default-locale overrides the source locale for one run (i18n.sourceLocale, else i18n.defaultLocale, else en). It moved out of the trailing flag list into that sentence, so the list no longer repeats it.

Every taught fact is read from origin/main: TranslationConfigSchema.sourceLocale and its aliases in packages/spec/src/system/translation.zod.ts; resolveSourceLocale / withGatedDefaultLocale in packages/cli/src/utils/i18n-coverage.ts; the --default-locale help in packages/cli/src/commands/{lint,i18n/check,i18n/extract}.ts.

skills/objectstack-i18n/evals/bundles-locales-coverage.json: case 11 (English-authored app, Chinese users by default). It must contain sourceLocale, defaultLocale: 'zh-CN', fallbackLocale: 'en' and supportedLocales, and must not contain defaultLocale: 'en' or sourceLocale: 'zh-CN', shapes only a wrong (English-default or role-swapped) config writes. It is self-consistent: no must_not_contain string occurs in its own expected_output or in the skill passages a correct answer quotes (the only SKILL.md hits are the two English-default config examples). Spliced with the file's hand formatting kept.

.changeset/33635-i18n-source-locale-skill.md: '@objectstack/skills': patch.

Size readings (tree: objectstack-ai/objectstack, origin/main 895783a → this head)

Reading Before After
skills/objectstack-i18n/SKILL.md lines 524 530 (net +6, at budget)
skills/objectstack-i18n/SKILL.md bytes 23901 24603
skills/objectstack-i18n/SKILL.md tokens (ratchet convention) 5971 6146 (ceiling 6333, headroom 187)
All 11 skills/*/SKILL.md lines 4590 4596
All 11 skills/*/SKILL.md tokens 59043 59218 (+175)
evals/bundles-locales-coverage.json bytes 8195 9353 (eval fixture, measured, not ratcheted)

The ratchet row is untouched: the file stays under its ceiling, so nothing is raised. No duplicate needed trimming to pay for it.

Tests

No code changed, so there is nothing to ablate. Gate readings are below under Verification.

Acceptance notes

  • Build tier, declared: dispatch-gates --tier puts skills/** at the contract-review tier (clause ①, no one-line exit). This card thread is served at the default build tier and cannot switch its own model. With the seat's consent, the authoring (all three files and the commit) ran in an isolated os-dev subagent pinned to the contract-review tier inside this worktree. The relay writes, gates and report ran in the thread.
  • Not taught, on purpose: "sourceLocale need not appear in supportedLocales" and "with sourceLocale declared, defaultLocale is gated and scaffolded even when supportedLocales omits it". Both are true on main. They did not fit the +6-line budget, and content/docs/ui/translations.mdx carries both.
  • The config example at the top of the skill keeps defaultLocale: 'en', which is correct for an English-default app.

Verification

All readings are at head 5b52d088 (review round 1; the derived list is unchanged from d3909868) (git rev-parse --short HEAD after the last commit), tree objectstack-ai/objectstack.

  • Package build closure: turbo run build --concurrency=2 --filter='./packages/**' under os-verify-lock.sh, VERDICT command-exit 0 (held 9m38s).
  • Acceptance gates: check:skill-docs ✅ "Skill docs in sync"; check:skill-refs ✅ "9 generated files in sync with packages/spec"; check:skill-examples ✅ "346 prose examples type-check across 3 surface(s)"; check-skills-token-ratchet ✓ "57 authored bundle file(s) within their ceilings", i18n row 6146 / 6333.
  • dispatch-gates --ran: "47 derived famil(ies) accounted for — 47 run, 0 NOT-MEASURED (a DERIVED zero)". Two extra runs are recorded outside the derivation (check:skill-examples, check:skill-refs).
  • CI families outside the derived list are left to this PR's check-runs.
Derived gate list, 47 + 2, exit codes captured before any pipe
node scripts/check-adr-0087-registration.mjs --base origin/main :: exit 0
node scripts/check-adr-0087-registration.mjs --self-test :: exit 0
node scripts/check-changeset-no-major.mjs --base origin/main :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/check-doc-route-spelling.mjs --advisory :: exit 0
node scripts/check-doc-route-spelling.mjs --self-test :: exit 0
node scripts/check-dts-emitted.mjs --self-test :: exit 0
node scripts/check-empty-changeset.mjs --base origin/main :: exit 0
node scripts/check-empty-changeset.mjs --self-test :: exit 0
node scripts/check-skills-token-ratchet.mjs :: exit 0
node scripts/check-skills-token-ratchet.mjs --self-test :: exit 0
node scripts/ci/assert-turbo-remote-cache.mjs --self-test :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
node scripts/ci/prune-turbo-cache.mjs --self-test :: exit 0
node scripts/ci/snapshot-next.mjs --self-test :: exit 0
node scripts/pm/check-governed-queue-guard.mjs --self-test :: exit 0
node scripts/pm/release-rehearsal-clone.mjs --self-test :: exit 0
node scripts/release-pending-publish.mjs --self-test :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0
pnpm --filter @objectstack/spec run check:skill-docs :: exit 0
pnpm check:agent-test-spelling :: exit 0
pnpm check:changeset-gate-self-tests :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:closed-ceremony-text :: exit 0
pnpm check:corpus-claim-drift :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:dts-closure :: exit 0
pnpm check:dual-build-cjs-loads :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:lean-entry-closure :: exit 0
pnpm check:merge-driver :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:pm-governed-merges :: exit 0
pnpm check:pm-skill-id-lint :: exit 0
pnpm check:published-files :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:role-word :: exit 0
pnpm check:skill-compatibility :: exit 0
pnpm check:skill-frame-sync :: exit 0
pnpm check:skill-identifier-liveness :: exit 0
pnpm check:skill-links :: exit 0
pnpm check:sourcemap-no-sources-content :: exit 0
pnpm check:watch-hint-literal :: exit 0
pnpm --filter @objectstack/spec check:skill-examples :: exit 0
pnpm --filter @objectstack/spec check:skill-refs :: exit 0

Generated by Claude Code

The i18n key table gains the sourceLocale row, with the English-authored,
Chinese-default configuration and the fallbackLocale serving caveat; the
coverage and extract sections say source locale. One eval case added.

Claude-Session: https://claude.ai/code/session_01ADHkmSpA1arrHg2f7Nwofb
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 15, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: d3909868caf083b0e9665908aa95526b25eafea2
Local-runs: probe — one read-only parse of the eval JSON blob at this head (git show piped to a JSON parser) to cross-check every case's must_contain / must_not_contain against its own expected_output; nothing built, no gate run or re-run
Scope: skills/objectstack-i18n/SKILL.md, skills/objectstack-i18n/evals/bundles-locales-coverage.json + none

Inputs read: card #33635 body and its three comments (triage 6888748066, claim 6895864936, os-dev-report 6896182022; no ruling and no earlier review record on the card); PR #33934 body, its 3-file list and the net diff against main (merge-base = origin/main = 895783a1, +32 −6); the check-runs on this head. Remainder of the diff, .changeset/33635-i18n-source-locale-skill.md, is the lane seat's ACCEPT.

Check-runs on d3909868 (read at review time): no failure. Completed success: Build Core, Type Check · workspace, Type Check · consumer gates, Type Check · debt ledger, Lint · docs & code guards, Lint · PM dispatch-gates, the three Lint · scoped jobs, Test UI, Live E2E UI, Dogfood Regression Gate, Plan Test Core shards, PR-body guards, Governed Surface Queue Guard, Check Changeset, Check PR Size, Auto Label, filter. STILL RUNNING, no verdict yet: Test Core (1/8), Test Core (2/8) (shards 3–8 not yet listed), Lint · CI, release & engine gates, Lint · repo & tooling gates, Type Check · source gates, Lint · ESLint. The rest are skipped (path-filtered UI, docs build, queue verdicts, opt-in jobs). This record's verdict is on the contract; the running gates stay the merge's precondition.

① Derived judgments

  • Accept-set: none changes. No schema, no CLI flag, no runtime path is in the diff; TranslationConfigSchema.sourceLocale and its aliases already ship on main (PR feat(spec,cli): i18n.sourceLocale names the inline text's language apart from the users' defaultLocale #33357). Right.
  • Public surface: the published @objectstack/skills text of objectstack-i18n gains one key-table row, a reworded defaultLocale row, four prose lines, two "default locale" → "source locale" rewordings and a moved --default-locale sentence; the eval file gains case 11. Additive teaching of behaviour already on main; no existing teaching is withdrawn. Right.
  • --default-locale leaves the trailing flag list of the extract section and is taught one sentence earlier — the flag is still named once, not dropped. Right.
  • The top-of-skill config example keeps defaultLocale: 'en': correct for an English-default app, and the new prose scopes "never defaultLocale: 'en'" to the English-authored / Chinese-users case. Right.
  • Token-ratchet row untouched (file stays under its ceiling per the PR's reading; Lint · repo & tooling gates is the gate and is still running). No judgment owed beyond that.

② Semver level

.changeset/33635-i18n-source-locale-skill.md declares '@objectstack/skills': patch; packages/skills/package.json is @objectstack/skills. The diff publishes prose and one eval case only — patch matches. Check Changeset is success on this head. The changeset body's own claims (precedence, the three commands, the fallbackLocale: 'en' consequence) agree with the tree as read in ④.

Clause-②: no — consistent across the claim (6895864936), the PR body and the changeset; nothing in the diff narrows an accept-set or removes a declared capability. Metadata-protocol: none likewise holds: no metadata shape moves.

③ Boundary flags

PR author login: objectstack-fleet[bot] (relay); attribution github_login: os-steve, assignee os-steve; PR is a draft, mergeable_state: blocked. The implementing thread is session_01ADHkmSpA1arrHg2f7Nwofb on branch claude/project-thread-jl3xcf; this record is adopted by a different session.

  • open_questions (os-dev-report 6896182022): empty. Nothing to answer.
  • Deviation "model tier" (report + PR Acceptance notes): authoring ran in a subagent pinned to the contract-review tier because the card thread is served at the default tier. Answered as far as this review can: the three inputs do not let a reviewer verify which model served the authoring, so the claim is recorded, not confirmed; the diff was judged on its content in ④ regardless. If the lane needs that proven, it is the seat's to establish — escalated to the seat, not a finding on the diff.
  • Deviation "one session-URL footer": PR-body guards is success on this head. Accepted.
  • out_of_scope_findings / "Not taught, on purpose" (two facts: sourceLocale need not be in supportedLocales; with sourceLocale declared, defaultLocale is gated and scaffolded even when supportedLocales omits it): both verified true on main (translation.zod.ts jsdoc on sourceLocale; resolveGatedDefaultLocale / withGatedDefaultLocale in packages/cli/src/utils/i18n-coverage.ts) and both carried by content/docs/ui/translations.mdx. Omitting them makes nothing the skill says false and is not required by the card's Work list. Accepted, no carrier owed.
  • Card Work item 3 ("state the serving-layer caveat … declare fallbackLocale until the companion serving card lands"): the skill states the caveat and names no card and no future behaviour ("still" is the only forward-looking word). i18n: the serving layer reads defaultLocale, not i18n.sourceLocale, as the authored label's language — with defaultLocale: 'zh-CN' and no fallbackLocale, an en request is served the zh-CN row instead of the English inline label #33634 is the open serving half per triage. Accepted.
  • Security: neither hits file teaches security, auth or permission behaviour. The caveat concerns which locale's text a label request resolves to (metaTranslateOptions in packages/rest/src/meta-item-read-gate.ts), not who may read it.

④ Design judgment

skills/objectstack-i18n/SKILL.md — every new or changed sentence checked against main:

  • defaultLocale = "the locale a user who has not chosen one gets": matches the sourceLocale jsdoc in packages/spec/src/system/translation.zod.ts ("which language a user who has not chosen one gets"). True.
  • sourceLocale row — optional, defaults to defaultLocale, the language inline label: text is written in, read by os lint, os i18n check, os i18n extract: sourceLocale: LocaleSchema.optional(); resolveSourceLocale returns sourceLocale, else defaultLocale, else 'en'; lint.ts and i18n/check.ts reach it through computeI18nCoverage (opts.defaultLocale ?? resolveSourceLocale(declared)), i18n/extract.ts calls it directly. True.
  • Precedence --default-locale, then i18n.sourceLocale, then i18n.defaultLocale, then en: flags['default-locale'] ?? resolveSourceLocale(declared) in extract; defaultLocale: flags['default-locale'] into computeI18nCoverage in lint and check; all three flag help texts say the same. True, and "for one run" is right (a flag, nothing persisted).
  • "defaultLocale: 'zh-CN', sourceLocale: 'en', never defaultLocale: 'en'": the spec's own worked case and the docs' example. True.
  • Serving caveat — "Label serving still reads inline text as defaultLocale text: with no fallbackLocale: 'en', an en request reaches the zh-CN bundle before the English inline label": metaTranslateOptions threads getFallbackLocale() and getDefaultLocale(); localeChain in packages/spec/src/system/i18n-resolver.ts skips the chain only for a defaultLocale request; FileI18nAdapter is built with fallbackLocale || defaultLocale || 'en' (packages/cli/src/commands/serve.ts). So with defaultLocale: 'zh-CN' and no fallbackLocale, an en request walks en → zh-CN → authored label; with fallbackLocale: 'en' it walks en → authored label. True, and the remedy works. No unshipped behaviour is promised; nothing says sourceLocale will or does reach the serving layer.
  • "sourceLanguage, authoringLocale and authoringLanguage are refused, each naming sourceLocale": all three are in TranslationConfigSchema's strictObject aliases, each mapped to sourceLocale; stack.zod.ts validates i18n with that schema. True.
  • "Gaps in the source locale are errors, --strict promotes the rest": isError = locale === defaultLocale || opts.strict === true, where defaultLocale is the resolved source locale. True — and the old wording ("default locale") was the false one on a stack declaring sourceLocale.
  • "the source locale is filled from schema labels": generateI18nBundles fills the locale it is handed as defaultLocale, which extract resolves as above. True.
  • No stale "default locale" phrasing remains elsewhere in the file; references/_index.md names neither.
  • Against the card's scenario (English-authored app, Chinese users): the skill now gives the agent defaultLocale: 'zh-CN' + sourceLocale: 'en' + fallbackLocale: 'en' in one place, and both failure modes the card names (losing the users' default; false "missing en" findings) are closed by what is taught. Holds.

skills/objectstack-i18n/evals/bundles-locales-coverage.json — case 11:

  • The blob parses; 11 cases. Case 11: every must_contain string (sourceLocale, defaultLocale: 'zh-CN', fallbackLocale: 'en', supportedLocales) is in its expected_output; neither must_not_contain string (defaultLocale: 'en', sourceLanguage) is. Cases 1–10 are unchanged and equally self-consistent.
  • The expected_output is true on main: en is treated as the source by the three commands, extract fills the en bundle from inline text, the rows asked for are the non-source ones, and the fallbackLocale: 'en' sentence is the caveat verified above.
  • The prompt is answerable from the skill text at this head alone.

Findings:

S1 (should-fix) — case 11 forbids two strings the skill at this same head hands the answering agent in "form to avoid" framing. SKILL.md line 50–51 teaches "never defaultLocale: 'en'" and line 53 "sourceLanguage … are refused"; case 11's must_not_contain is ["defaultLocale: 'en'", "sourceLanguage"]. An answer that is correct and faithfully restates either warning ("do not set defaultLocale: 'en'", "sourceLanguage is refused") is graded wrong — the exact trap the package's own changelog records ("a must_not_contain assertion fails an answer that contains the string anywhere, including a sentence naming it as the form to avoid"). The reference answer dodges it by not repeating the warning, so the repo's cross-check passes, but the skill sentence and the assertion pull against each other. Fix either side: e.g. drop sourceLanguage from must_not_contain (a near-miss key is a build refusal, not a silent wrong answer) and make the first entry the shape only a wrong answer writes, or reword the skill's "never" clause so it does not spell the forbidden literal. Not a must-fix: nothing the skill teaches is false, and the case's own record is self-consistent.

N1 (nit) — the caveat sentence describes the standard boot (I18nServicePlugin / FileI18nAdapter, where the fallback collapses to defaultLocale). Under the kernel's in-memory i18n fallback there is no getFallbackLocale(), so an en request with no fallbackLocale goes straight to the authored label; and in either boot the zh-CN bundle is reached only for keys the en bundle lacks (after os i18n extract fills en, it answers first). The advice — declare fallbackLocale: 'en' — is right in every case; no change needed.

No must-fix.

Implemented-by: claude/project-thread-jl3xcf
Reviewed-by: session_01ADHkmRxXmVQ41fqnaTPGAv

VERDICT: PASS

The source-locale case refuses the English-default and role-swapped
configs, and the skill's warning no longer spells the refused literal.

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

Copy link
Copy Markdown
Contributor Author

domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 5b52d0885152a60783defcfe26b73bb7f1bd89a6
Local-runs: none
Scope: skills/objectstack-i18n/SKILL.md, skills/objectstack-i18n/evals/bundles-locales-coverage.json + none

Delta record. It follows the review of d3909868caf083b0e9665908aa95526b25eafea2 (PASS, S1 should-fix, N1 nit) and judges the one new commit 5b52d088 (d3909868..5b52d088: SKILL.md 1 line, eval file 1 line) on top of it. Everything the earlier record found true of the unchanged lines stands: the net diff against main (merge-base 895783a1) is still the same three files, +32 −6, and the changeset is byte-identical. The changeset stays the lane seat's ACCEPT.

Check-runs on 5b52d088 (read at review time): no failure. Completed success: Build Core, Type Check · workspace / source gates / consumer gates / debt ledger, TypeScript Type Check, Lint · docs & code guards, Lint · repo & tooling gates, Lint · CI, release & engine gates, Lint · ESLint, Lint · PM dispatch-gates, the three Lint · scoped jobs, Lint & Repo Gates, Test Core (2/8), Test UI, Live E2E UI, Dogfood Regression Gate, Plan Test Core shards, PR-body guards, Governed Surface Queue Guard, Check Changeset, Check PR Size, Auto Label, filter. STILL RUNNING, no verdict yet: Test Core (1/8); shards 3–8 are not yet listed. The rest are skipped.

① Derived judgments

  • Accept-set and public surface: unchanged from the earlier record. The delta rewords one clause of already-new prose and swaps one must_not_contain entry; it publishes nothing further. Right.
  • The token-ratchet gate (Lint · repo & tooling gates) is now success on this head, which settles the one point the earlier record left to a running gate.

② Semver level

'@objectstack/skills': patch — unchanged and still what the diff publishes; Check Changeset is success on this head. The changeset body does not quote the reworded clause or the removed assertion, so it needs no edit.

Clause-②: no — unchanged; the delta narrows nothing. Metadata-protocol: none holds.

③ Boundary flags

PR author login: objectstack-fleet[bot] (relay; attribution os-steve); still a draft, mergeable_state: blocked. Card #33635 carries the same three comments; no new flag and no new open_questions entry arrived with the delta. The earlier answers stand, including the model-tier deviation left with the seat.

  • New, for the seat (PR body, not the tree): the PR body still describes head d3909868 — it quotes "never defaultLocale: 'en'", says case 11 "must not contain defaultLocale: 'en' or sourceLanguage", and dates every reading to d3909868. The tree is what was judged; the body's account is now stale on those three points and is the seat's to refresh.
  • Security: unchanged — neither hits file teaches security, auth or permission behaviour.

④ Design judgment

skills/objectstack-i18n/SKILL.md — line 50–51 now reads: an app authored in English for Chinese users declares defaultLocale: 'zh-CN', sourceLocale: 'en', "not an English defaultLocale".

  • True: it says the same thing the old clause said — in that scenario defaultLocale is the users' locale, zh-CN, not the authoring language — and agrees with the sourceLocale jsdoc in packages/spec/src/system/translation.zod.ts and resolveSourceLocale on main.
  • Clear: the clause sits directly after the correct pair, so "an English defaultLocale" can only mean setting the key to the authoring language. It is scoped by the sentence's subject to the English-authored / Chinese-users app and does not contradict the English-default examples at lines 35 and 147.
  • Nothing else in the file moved.

skills/objectstack-i18n/evals/bundles-locales-coverage.json — case 11 must_not_contain is now ["defaultLocale: 'en'", "sourceLocale: 'zh-CN'"].

  • Self-consistent: neither string is in the case's expected_output (which spells sourceLocale: 'en' and defaultLocale: 'zh-CN'); the four must_contain strings are unchanged and present. Read off the blob; the JSON edit is one array element on one line.
  • sourceLocale: 'zh-CN' is the shape only a wrong answer writes: the two keys swapped. No sentence of the skill spells it, and no correct answer to the prompt has a reason to.
  • sourceLanguage is no longer forbidden, so an answer restating line 53's refusal is no longer graded wrong.

S1: closed. Both halves are fixed: the skill no longer hands the answering agent defaultLocale: 'en' in a "form to avoid" sentence, and the near-miss key is out of the assertion. No must_not_contain string of case 11 appears in any SKILL.md sentence a correct answer to its prompt would quote.

Lines 35 and 147 still carry defaultLocale: 'en', inside config examples for an English-default app. That does not reopen S1: they are code a correct answer would adapt (writing 'zh-CN'), not a warning it would restate, and an answer that copies the literal for this prompt has written the wrong config — which is what the assertion is for. The remaining exposure is an answer that volunteers the contrast ("an English-default app would write …") with the literal spelled out; that is the residual every wrong-answer-shape assertion in this package carries, and is recorded as a nit only.

N1 (nit, carried) — the caveat describes the standard boot; unchanged, no action.
N2 (nit) — the residual above: a correct answer that spells defaultLocale: 'en' while contrasting with the English-default case would still fail case 11. No change asked.

No must-fix, no should-fix.

Implemented-by: claude/project-thread-jl3xcf
Reviewed-by: session_01ADHkmRxXmVQ41fqnaTPGAv

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

维护者速读

席位核对

Verdict: ACCEPT, held for the maintainer · head 5b52d0885152a60783defcfe26b73bb7f1bd89a6 · card #33635 · report 6896182022 · at-tier contract review 6896242184 (round 1) + delta 6896469196 (PASS on this head, S1: closed).

@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 15, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 15, 2026 15:15
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit b33365c Nov 15, 2026
54 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-jl3xcf branch November 15, 2026 15:52
@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 17, 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/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

skills: skills/objectstack-i18n does not teach i18n.sourceLocale (the inline text's language, apart from the users' defaultLocale)

3 participants