Skip to content

review follow-ups of PR #37675: retired i18n route-owner wording in spec/client docblocks; skill nits on plugin wiring and source locale #37695

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ① (review follow-ups, one card per PR) · Source: fleet (Contract review record 7203257460 on PR #37675, nits N1–N3 and its out-of-diff note, adopted at ACCEPT)

What happens

PR #37675 (card #37625) corrects the objectstack-i18n skill and two spec comments: the three locale routes are mounted by the runtime HTTP dispatcher and served from whichever i18n provider fills the slot. Its review left these items open; none could be fixed on that head without moving it (the skill sits at its token ceiling).

  • The retired route-owner fact is still stated outside that diff (N1). packages/spec/src/system/i18n-resolver.ts still says it in the ResolvedFieldLabel docblock ("service-i18n's autonomous route") and the normalizeSupportedLocales docblock ("either one can be the thing mounting GET /i18n/locales"); the same wording sits in packages/client/src/index.ts and i18n-resolver.test.ts. Expected: name the dispatcher as the mounter, as docs(skills,spec): name the dispatcher as the owner of the i18n routes #37675 did.
  • "Don't wire this plugin" reads as a prohibition (N2). Explicit new I18nServicePlugin({ localesDir }) wiring is supported (os serve skips auto-registration when it is present). Expected: restore the statement form ("You do not need to wire…") when tokens allow.
  • getSourceLocale() is listed bare (N3). It returns only the declared value (undefined otherwise), while the same skill's config table says sourceLocale defaults to defaultLocale. Expected: one clause saying what the getter returns when nothing is declared.
  • Registration sentence omits two facts (out-of-diff note). The three routes answer signed-in callers only, and the locales answer also carries fallbackChain (packages/runtime/src/domains/i18n.ts). Expected: say both, if the budget can pay for them.

Category ①: docs and skill text that teach a stale or incomplete fact.
Priority: p3 (comments and skill wording; no shipped behaviour changes).
Business reason: an app author or agent following the skill or the spec comments would look for the routes in the wrong plugin, or read getSourceLocale() as always returning a locale.
Reader: the dev who next edits the i18n skill or i18n-resolver.ts.
Dedupe: searched open issues for "PR #37675": 0 hits.
Related: #37625, PR #37675.

Grade

area:ux · Bug · minor · reach: read (the head against main) · evidence: read → p3

Activity

  1. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ai · domain:skills · Task · priority:p3 · pm:queue · size XS; rationale: review follow-ups of PR #37675 (retired i18n route-owner wording in spec and client docblocks, skill nits on plugin wiring). Comments and skill wording with no behaviour change: p3 as filed. Area moved from area:ux to area:ai, where skills cards live.

  2. added
    area:ai
    domain:skills
    pm:queue
    and removed on Nov 26, 2026
  3. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Claim: PM loop round 2 · 2026-11-28T05:58Z
    Folded into the skills fold whose chain head is #33773 (claim 7234897576). The fold keeps all its other lines: thread session session_01L6bhgWxqfFaGCWssNvt6hh, branch claude/project-thread-ycobp7, area s2-ai, Tier H, skills text written by an isolated fable sub-agent. The maintainer in this seat's project, verbatim: 「并发5」, and the standing 「能合并处理的卡尽量合并处理」.
    Session: session_01L6bhgV6i8jfWwSXjpWJrjA
    Thread session: session_01L6bhgWxqfFaGCWssNvt6hh
    Account: os-sales
    Branch: claude/project-thread-ycobp7 (from main)
    Domain: domain:skills
    Seat: repo:objectstack#2
    Area: s2-ai
    Fold gates for this member:

    • ① it is the same defect (published text that lags merged code, fixed by rewording);
    • it is also the same file as 技能:翻译技能里「规范说明写 {variable}、与运行时不一致」的旁注已过时(#38090 后两边一致),删改它 #38177 (skills/objectstack-i18n/SKILL.md), so splitting the two would put two PRs on one file at its token ceiling;
    • ② one changeset;
    • ③ graded p3;
    • ④ each box has its own check (i18n-resolver.ts and the os serve auto-registration).
      File surface: skills/objectstack-i18n/SKILL.md (N2, the statement form of the wiring sentence; N3, what getSourceLocale() returns); the route-owner docblocks in packages/spec/src/system/i18n-resolver.ts, packages/spec/src/system/i18n-resolver.test.ts and packages/client/src/index.ts (N1, name the dispatcher as the mounter).
      Container & model: S, mode:thread, model: fable — dispatch-gates.mjs --tier: MANDATORY skills/** (clause ①, no one-line exit). The thread session serves opus. Every write under skills/** is made by an isolated fable sub-agent, and its tier is read with verify-review-tier.mjs before the push. The docblocks are off the mandatory path and the thread may write them itself. effort: high (reason: the thread session serves effort high).
      Clause-②: no
      Metadata-protocol: none
      Responsibility: n/a — contract review record 7203257460 on PR #37675, N1–N3
      Thread-read: none
      Serial constraints cleared: no open PR names i18n-resolver (search 2026-11-28T05:57Z); open PR fix(lint,rest)!: i18n extract/check expect the _relatedLists keys os validate accepts under a .custom arrangement, and the object read translates a tab title the arrangement sets #38085 touches none of these files.

    The PR adds Fixes #37695.

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 28, 2026
  5. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Landed · 2026-11-28T08:44Z

    PR #38196 merged at 2026-11-28T08:39Z through the merge queue after the maintainer's Tier H approval, on the seat's ACCEPT (7235974832), and its Fixes lines closed #33773, #34328, #38177, #33875 and #37695. What changed in the skills:

    pm:dispatched is cleared on all five cards and pm:awaiting-merge on the PR.

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

Metadata

Metadata

Assignees

Labels

area:aibugdomain:skillspriority:p3

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions