Skip to content

skills: objectstack-i18n still says refusal messages fall back to defaultLocale labels; #35351 serves them in sourceLocale #35569

Closed

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Filing gate: ① skills drift owed by a merged PR: PR #35351 (#34030, merged 93fa4f9) declares Skills-docs: follow-up owed — skills/objectstack-i18n/SKILL.md, evals, and the seat files that card after merge. ⛔ Not a claim.
Reader: domain:skills (skills/objectstack-i18n/). Suggested-grade: p2 · the published i18n skill tells authors to add a workaround the platform no longer needs, and states the opposite of current behaviour. Parent: #34030.
Dedupe: objectstack-i18n sourceLocale in open issues → none covering the skill text.

维护者速读

  • 用户能看到什么变化:给 AI 用的多语言技能说明改成和现在的行为一致:校验、拒绝和无权限提示里的字段名、对象名,会按作者写的原文语言给出,不再需要额外配 fallbackLocale 来绕。
  • 为什么做:fix(i18n)!: refusal labels follow the declared sourceLocale, as /meta serves them #35351 修好了这个问题,但技能说明和评测题 11 还写着旧的绕法。
  • 出错会怎样:只改说明和评测;写错了重改即可,不影响运行。
  • 要你做什么:无(分诊定级)。

What happens

Since PR #35351, validation, delete-restriction and permission-denial messages read field and object labels with the request's locale resolved against sourceLocale: a request in the source language is served the inline label: text, as label serving already was. skills/objectstack-i18n/SKILL.md lines 50-53 (on main) still say the opposite: that these messages "still read labels through t(), which falls back to fallbackLocale, else defaultLocale", and that without fallbackLocale: 'en' an en refusal names a field by its zh-CN row. Eval case 11 in skills/objectstack-i18n/evals/bundles-locales-coverage.json teaches the same fallbackLocale: 'en' workaround.

Expected

  1. In SKILL.md, replace the ⚠️ sentence (lines 50-53) with the current behaviour: refusal and validation messages name fields and objects in the request's language, and a request in sourceLocale gets the inline label. fallbackLocale stays documented for its own purpose (missing translations), not as a refusal workaround.
  2. In eval case 11, drop the "also declare fallbackLocale: 'en'" reasoning from expected_output and from any assertion that requires it. Keep the sourceLocale: 'en' beside defaultLocale: 'zh-CN' answer.
  3. Read the code on main before writing (the engine's validation-message reader and the security plugin's denial path that fix(i18n)!: refusal labels follow the declared sourceLocale, as /meta serves them #35351 changed), not this card's wording.

Done when

  • SKILL.md and eval 11 match the behaviour on main, and the skills lint passes.
  • Nothing else in skills/objectstack-i18n/ still tells authors to set fallbackLocale to fix refusal labels (search fallbackLocale).

Activity

  1. added
    domain:skills
    on Nov 19, 2026
  2. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:skills · pm:queue; rationale: area:build · Bug (shipped objectstack-i18n still says refusal messages fall back to defaultLocale labels; since #35351 they are served in the caller's locale) · builders, often → p2 under the shipped-skill rule.

  3. added
    pm:queue
    priority:p2
    on Nov 19, 2026
  4. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUZrkMKgGrXXe8zPGq

    Claim: PM loop round 1 — skills fold (chain head #35245; with #35569 and #35460, one PR, Sales 17:00Z fold rule)
    Session: session_01L6bhgUZrkMKgGrXXe8zPGq
    Account: os-sales
    Branch: claude/issue-35245-skills-publish-traps
    Worktree: objectstack-issue-35245
    Domain: domain:skills
    Seat: repo:objectstack#1
    Area: b1-C
    File surface: skills/objectstack-data/**, skills/objectstack-automation/** (the five publish-time traps of PR #35244, the update-only state-machine line of scope note 7018552906, the boolean required meaning of scope note 6998116920), skills/objectstack-i18n/SKILL.md and skills/objectstack-i18n/evals/bundles-locales-coverage.json (#35569), skills/objectstack-ai/SKILL.md and any eval/rule under skills/objectstack-ai/** that quotes the tool-source list (#35460), any served *.generated.ts they regenerate
    Container & model: S, mode:subagent, model: claude-fable-5-2 — dispatch-gates --tier: MANDATORY, clause ① (skills/**, no one-line exit), effort: high; governed register: skills/** lands Tier H (an authorized APPROVED review, then the seat lands it)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack — skills/objectstack-i18n tells authors refusal labels fall back to defaultLocale and to add fallbackLocale as a workaround | PR #35351 serves refusal labels in sourceLocale | AI authors following the i18n skill
    Thread-read: 7014193193
    Premise: holds — on origin/main 5dd856f #35351 merged (93fa4f9); skills/objectstack-i18n/SKILL.md:52 and eval case 11's expected_output (bundles-locales-coverage.json:117) still teach the fallbackLocale: 'en' workaround
    Serial constraints cleared: none — folded into the #35245 PR
    Pre-claim lane: skills/** → b1-C
    Pre-claim deps: parent #34030 closed; #35351 merged 93fa4f9
    Prior rulings read: skills,objectstack-i18n,says,refusal,messages,fall,back,defaultlocale,labels,serves,sourcelocale → 102 hits; ADR-0139 D3, ADR-0148 D1, ADR-0055 Decision §1, ADR-0087 D1, ADR-0101 D2, ADR-0119 D4, ADR-0144 D8, ADR-0146 D11, ADR-0148 D2, ADR-0150 D9; thread: none; repo: objectstack-ai/objectstack

    Fold answer: fold into the #35245 PR (Part of #35569 there; shut by hand after merge).

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 19, 2026
  6. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUZrkMKgGrXXe8zPGq

    Delivered · 2026-11-20T23:05Z · PR #35673 已合并(cf2e321b),本卡以 Part of 并入该 PR,现手动关闭为 completed。

    本卡已无剩余事项,移除 pm:dispatched。


    Generated by Claude Code

  7. removed
    pm:dispatched
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:builddomain:skillspriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions