Skip to content

Row 9, objectstack half: get_record_context joins PLATFORM_TOOLS_BY_PACKAGE and gets its chatbot.tool label in every locale #37190

Description

@os-bob

maintainer · os-bob · session_012dn2AecKpLaYkUtNRiqtby

Filing gate: ③ maintainer-directed (topic child). Source: topic #36996, M2. ADR-0160's implementation split note says row 9 "has a half in this repository". The independent Fable review of rows 5–10 (2026-11-25) found it carried only inside the cloud card, which leaves this repository's PR without a card to Fixes. Maintainer 2026-11-25: 「同意你的建议」.
Grading: area:ai · Task · p2 (topic child) · reach: the product AI's tool list and its labels · evidence: read.

维护者速读

  • 做什么:平台的「云端注册了哪些工具」清单加上 get_record_context,11 个语言包都加上这个工具在对话里显示的名称(比如中文「读取记录资料」)。
  • 为什么:这是 cloud 应用内对话注册这个工具(cloud#4978)在本仓的另一半。清单里的分组必须和 cloud 包实际注册的工具完全一致,所以两边要一起落地。
  • 需要你做的:无。

What

  1. packages/spec/src/system/constants/platform-tool-names.ts#PLATFORM_TOOLS_BY_PACKAGE: add get_record_context to the group of the cloud package that registers it (@objectstack/service-ai, per cloud#4978).
  2. chatbot.tool.get_record_context labels in every pack under ui/packages/i18n/src/locales/: ar, de, en, es, fr, ja, ko, pt-BR, ru, zh-Hans, zh-Hant.
  3. Remove the expected validate-ai-tool-references.ts warning that ADR-0160's split note describes. That warning fires for a skill with mcpPrompt: false that declares context; it ends once the name is listed.

Order with cloud

  • A group in PLATFORM_TOOLS_BY_PACKAGE must be the exact set one cloud package registers, so this lands together with cloud#4978.
  • Merge this PR first, without a release-visible effect; the list only annotates.
  • cloud#4978's pin move then picks it up, in the same pin bump that ships the registration.
  • If cloud#4978 is delayed, this PR waits in draft. It does not merge alone into a release.

Acceptance

  • The platform-tool-names pin tests and the i18n completeness check pass.
  • The lint rule no longer warns on get_record_context.
  • cloud#4978's PR names this PR's merge sha in its pin move.

Out of scope

Blocked-by: #37140. It lands with objectstack-ai/cloud#4978.
Parent: #36996. Reader: the spec and i18n lane.
Dedupe: PLATFORM_TOOLS_BY_PACKAGE get_record_context 1 (#37140, which adds the MCP door name only) · get_record_context i18n label 1 (the seat post, no card).

Activity

  1. added
    priority:p2
    area:ai
    on Nov 25, 2026
  2. added theissue type on Nov 25, 2026
  3. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    Contributor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: first touch 2026-11-25T03:34Z

  4. added
    pm:blocked
    on Nov 25, 2026
  5. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

    Claim: PM loop · 2026-11-25T03:42Z
    Session: session_01JQwxbZeHNsF3RWcWpj7rGj
    Thread session: the topic row 9 card thread opened by the coordinator; it names itself in its first report.
    Account: os-warren
    Branch: the card thread's own branch, named at its first push.
    Seat: repo:objectstack#1
    Area: area:ai, topic #36996 row 9 (this seat keeps rows 5, 6 and 9 by the maintainer's routing recorded on #36996).
    Dispatch: the coordinator released the thread for row 9. Development starts now as a draft PR. This card's objectstack half lands together with cloud#4978, because the cloud package's registered tool set must equal its PLATFORM_TOOLS_BY_PACKAGE group. Neither is armed until #37173 (get_record_context) has merged and the cloud pin is past both it and this card's PR.
    File surface: packages/spec/src/system/constants/platform-tool-names.ts (one group entry) and the chatbot.tool label in each of the 11 locales.
    L2: packages/spec is touched, so a CONTRACT_REVIEW_TIER review is owed at the PR head.

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

Metadata

Metadata

Assignees

Labels

area:aipm:dispatchedpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions