Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

fix(i18n): the organisation is "Organization" and the running instance is "Environment" — retire "workspace" from the console (objectui#12851) - #12865

Merged
objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-12851-organization-environment-nouns
Oct 17, 2026
Merged

objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-12851-organization-environment-nouns

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #12851
Clause-②: yes

What changed

The console used one noun, 「工作区」 / "workspace", for two different things. Per the maintainer's ruling on objectstack-ai/cloud#2939 (letter A, comment 6229029648): the organisation members and billing belong to is now 「组织」 / "Organization", the running instance is 「环境」 / "Environment", and 「工作区」 retires.

  • Keys stay; values change. No workspace.* key, component or file name moved (WorkspaceSwitcher, CreateWorkspaceDialog keep their names), so @object-ui/i18n's key set is unchanged.
  • The cloud home's button reads 「打开」 / "Open" (cloud#2768 Q2, comment 6118501670), ⛔ not 「打开生产环境」 (objectui#11659 ruling 1). Its two hints each say in one line what an environment is, built on the card's sentence.
  • All ten shipped packs, not four: see Deviations.
  • Stored organisation names such as "NAME's Workspace" are not touched (ruling item 5). No default name for a new organisation is composed from a locale string anywhere in objectui (searched for the "'s Workspace" shape and every workspace.default reader), so there is nothing whose output changes.

Strings changed: the organisation (21 keys)

key zh before zh after en before en after ja after es after
workspace.label 工作区 组织 Workspaces Organizations 組織 Organizaciones
workspace.default 我的工作区 我的组织 My Workspace My Organization マイ組織 Mi organización
workspace.switch 切换工作区 切换组织 Switch workspace Switch organization 組織を切り替え Cambiar organización
workspace.createTitle 创建工作区 创建组织 Create a workspace Create an organization 組織の作成 Crear una organización
workspace.createDescription 工作区是团队协作的共享空间。 组织是团队协作的共享空间。 A workspace is a shared space for your team to collaborate. An organization is a shared space for your team to collaborate. 組織はチームで協力するための共有スペースです。 Una organización es un lugar compartido para que tu equipo colabore.
workspace.createButton 创建工作区 创建组织 Create workspace Create organization 組織を作成 Crear organización
workspace.nameLabel 工作区名称 组织名称 Workspace name Organization name 組織名 Nombre de la organización
workspace.settings 工作区设置 组织设置 Workspace settings Organization settings 組織設定 Configuración de la organización
workspace.createFailed 创建工作区失败 创建组织失败 Failed to create workspace Failed to create organization 組織の作成に失敗しました No se pudo crear la organización
organizations.mine 我的工作区 我的组织 My Workspaces My Organizations マイ組織 Mis organizaciones
organizations.create 创建工作区 创建组织 Create workspace Create organization 組織を作成 Crear organización
organizations.title 工作区 组织 Workspaces Organizations 組織 Organizaciones
organizations.heading 您的工作区 您的组织 Your Workspaces Your Organizations あなたの組織 Tus organizaciones
organizations.subtitle 选择一个工作区以继续,或新建一个。 选择一个组织以继续,或新建一个。 Select a workspace to continue, or create a new one. Select an organization to continue, or create a new one. 続行する組織を選択するか、新しい組織を作成してください。 Selecciona una organización para continuar o crea una nueva.
organizations.searchPlaceholder 搜索工作区 搜索组织 Search for a workspace Search for an organization 組織を検索 Buscar una organización
organizations.new 新建工作区 新建组织 New workspace New organization 新しい組織 Nueva organización
organizations.current 当前工作区 当前组织 Current workspace Current organization 現在の組織 Organización actual
organizations.emptyTitle 尚无工作区 尚无组织 No workspaces yet No organizations yet まだ組織がありません Aún no hay organizaciones
organizations.emptyDescription 创建您的第一个工作区以开始使用。 创建您的第一个组织以开始使用。 Create your first workspace to get started. Create your first organization to get started. 最初の組織を作成して開始してください。 Crea tu primera organización para empezar.
organizations.noMatches 没有匹配的工作区。 没有匹配的组织。 No workspaces match your search. No organizations match your search. 検索条件に一致する組織がありません。 Ninguna organización coincide con tu búsqueda.
marketplace.install.noPermission 你没有权限在任何环境中安装应用。仅组织所有者和管理员可以安装 — 请联系你的工作区管理员。 你没有权限在任何环境中安装应用。仅组织所有者和管理员可以安装 — 请联系你的组织管理员。 You do not have permission to install apps in any environment. Only organization owners and admins can install — ask your workspace admin. You do not have permission to install apps in any environment. Only organization owners and admins can install — ask your organization admin. どの環境にもアプリをインストールする権限がありません。組織のオーナーと管理者のみインストールできます。組織の管理者にお問い合わせください。 No tiene permiso para instalar aplicaciones en un entorno. Solo los propietarios y administradores de la organización pueden instalar; pida ayuda al administrador de su organización.

Strings changed: the environment (14 keys)

Read inside an environment, or about one: Setup's subtitle and its Workspace settings category (the manifest category that holds Company, Branding and Localization, which are per-environment settings), the timezone prompt, the tenant sign-in hint, the build refusal and home loading/empty states, the system-settings quick action, the cloud home's hints and button, and the cloud home's timezone line (the timezone is seeded on the environment).

key zh before zh after en before en after ja after es after
console.settingsHub.subtitle 配置工作区、集成与功能开关。 配置环境、集成与功能开关。 Configure your workspace, integrations, and feature flags. Configure your environment, integrations, and feature flags. 環境、連携、機能フラグを設定します。 Configure su entorno, las integraciones y los indicadores de funciones.
console.settingsHub.categories.Workspace 工作区 环境 Workspace Environment 環境 Entorno
console.workspaceTimezonePrompt.title 设置工作区时区 设置环境时区 Set the workspace timezone Set the environment timezone 環境のタイムゾーンを設定 Configure la zona horaria del entorno
console.workspaceTimezonePrompt.description 此工作区仍在使用平台默认时区 {{current}}。工作区时区决定公式中“今天”的含义、报表如何按日期分组,以及日期和时间如何显示,对工作区内所有人生效。下方已填入你的浏览器时区。 此环境仍在使用平台默认时区 {{current}}。环境时区决定公式中“今天”的含义、报表如何按日期分组,以及日期和时间如何显示,对环境内所有人生效。下方已填入你的浏览器时区。 This workspace still uses the platform default timezone, {{current}}. The workspace timezone decides what "today" means in formulas, how reports group dates and how dates and times are shown, for everyone in the workspace. Your browser timezone is filled in below. This environment still uses the platform default timezone, {{current}}. The environment timezone decides what "today" means in formulas, how reports group dates and how dates and times are shown, for everyone in the environment. Your browser timezone is filled in below. この環境は、まだプラットフォームの既定のタイムゾーン({{current}})を使用しています。環境のタイムゾーンは、数式での「今日」の意味、レポートの日付ごとのグループ化、日付と時刻の表示方法を決め、環境の全員に適用されます。下にブラウザーのタイムゾーンを入力しています。 Este entorno aún usa la zona horaria predeterminada de la plataforma, {{current}}. La zona horaria del entorno determina qué significa «hoy» en las fórmulas, cómo agrupan los informes por fecha y cómo se muestran las fechas y horas, para todos en el entorno. Abajo se indica la zona horaria de su navegador.
console.workspaceTimezonePrompt.saved 工作区时区已设置为 {{zone}} 环境时区已设置为 {{zone}} Workspace timezone set to {{zone}} Environment timezone set to {{zone}} 環境のタイムゾーンを {{zone}} に設定しました Zona horaria del entorno configurada en {{zone}}
auth.shell.tenantHostHint 您正在登录此工作区 您正在登录此环境 You are signing in to this workspace You are signing in to this environment この環境にサインインしています Está iniciando sesión en este entorno
home.build.noCapability 此工作区不提供构建应用功能 — 它需要「管理元数据」权限,而你的账号没有该权限。 此环境不提供构建应用功能 — 它需要「管理元数据」权限,而你的账号没有该权限。 Building apps isn't available in this workspace — it requires the “Manage Metadata” permission, which your account doesn't have. Building apps isn't available in this environment — it requires the “Manage Metadata” permission, which your account doesn't have. この環境ではアプリの作成はできません — 「メタデータ管理」権限が必要ですが、お使いのアカウントにはありません。 La creación de aplicaciones no está disponible en este entorno: requiere el permiso «Gestionar metadatos», que su cuenta no tiene.
home.loading 正在加载工作区… 正在加载环境… Loading workspace… Loading environment… 環境を読み込み中… Cargando entorno…
home.noAppsDescription 工作区正在准备中——管理员共享给你的应用会显示在这里。 环境正在准备中——管理员共享给你的应用会显示在这里。 Your workspace is being set up — apps your admin shares with you will show up here. Your environment is being set up — apps your admin shares with you will show up here. 環境を準備中です — 管理者が共有したアプリがここに表示されます。 Su entorno se está preparando — las aplicaciones que su administrador comparta aparecerán aquí.
home.quickActions.systemSettingsDesc 配置您的工作区 配置您的环境 Configure your workspace Configure your environment 環境を設定 Configura tu entorno
cloudOnboarding.hintCreate 创建你的第一个环境——一个独立的工作区,有自己的网址、数据库和套餐。应用的搭建在里面进行。 环境是运行你的应用的独立实例,有自己的网址、数据库和套餐。 Spin up your first environment — a private workspace with its own URL, database, and plan. Building happens inside it. An environment is a private instance that runs your apps, with its own URL, database, and plan. 環境は、アプリを実行する専用のインスタンスで、独自の URL・データベース・プランを持ちます。 Un entorno es una instancia privada que ejecuta sus aplicaciones, con su propia URL, base de datos y plan.
cloudOnboarding.hintReady 你的工作区已就绪。进入工作区来搭建和运行应用——这些都在工作区里进行。 你的环境已就绪——它是运行你的应用的独立实例,有自己的网址、数据库和套餐。 Your workspace is ready. Open it to build and run your apps — that all happens inside the workspace. Your environment is ready — a private instance that runs your apps, with its own URL, database, and plan. 準備が整った環境は、アプリを実行する専用のインスタンスで、独自の URL・データベース・プランを持ちます。 Su entorno está listo: una instancia privada que ejecuta sus aplicaciones, con su propia URL, base de datos y plan.
cloudOnboarding.openWorkspace 进入工作区 打开 Open workspace Open 開く Abrir
cloudWorkspaceTimezoneNotice.seeded 工作区时区在创建时已按你的浏览器设为 {{zone}},可在「设置 → 本地化」中修改。 环境时区在创建时已按你的浏览器设为 {{zone}},可在「设置 → 本地化」中修改。 The workspace timezone was set to {{zone}} from your browser when the workspace was created. You can change it in Settings → Localization. The environment timezone was set to {{zone}} from your browser when the environment was created. You can change it in Settings → Localization. 環境のタイムゾーンは、作成時にブラウザーに合わせて {{zone}} に設定されました。「設定 → ローカリゼーション」で変更できます。 La zona horaria del entorno se configuró en {{zone}} a partir de su navegador al crearlo. Puede cambiarla en Configuración → Localización.

Plus one string in the metadata-admin designer table (packages/app-shell/src/views/metadata-admin/i18n.ts, en and zh only, as that table has): engine.packages.noCapability "manage packages in this workspace" / 「在此工作区管理」 now says "environment" / 「环境」.

Strings kept, with the reason

key zh en why it stays
console.ai.workspaceTitle AI 工作区 AI Workspace Names the assistant's full-page work area (its subtitle: "Ask, inspect, and resume conversations"), a UI surface; it means neither the organisation nor an environment.
engine.inspector.appNav.mode.default (designer table) 默认视图(工作台) Default view (workspace) Means an object's own default view in the app-nav inspector; zh already reads 工作台, not 工作区. Neither noun.

Code comments and identifiers that say "workspace" are not user-facing and were left alone, except comments that quote a label this PR changes ("Open workspace" in CloudOnboardingNext.tsx, "My Workspaces" in AppHeader.tsx).

Consumers touched, and why

The call-site gate (pnpm check:i18n-keys) requires every literal inline defaultValue to equal the en value it falls back for, so each changed key's inline default changes with it. No consumer held a hard-coded literal outside those defaults.

  • WorkspaceSwitcher.tsx, AppHeader.tsx, OrganizationsPage.tsx, CreateWorkspaceDialog.tsx: inline defaults only (claimed files).
  • CloudOnboardingNext.tsx: the doc comment that quoted "Open workspace" (claimed file).
  • HomeLayout.tsx, HomePage.tsx, QuickActions.tsx (app-shell) and apps/console/src/pages/auth/AuthLayout.tsx: inline defaults only. Not in the claim; see Deviations.
  • CurrentOrganizationIndicator.tsx, OrgBadge.tsx, console LoginPage.tsx / RegisterPage.tsx: untouched; nothing in them needed it.

Deviations

  1. Ten packs, not four. objectui ships ten locale packs and pnpm check:i18n-drift fails when an en value changes and any of the other nine does not follow (merge-base comparison, no carve-out but a waiver ledger). So ar, de, fr, ko, pt and ru follow too, with each pack's organisation and environment nouns (de Organisation / Umgebung, fr organisation / environnement, ko 조직 / 환경, pt organização / ambiente, ru организация / окружение, ar مؤسسة / بيئة). The waiver ledger was not used: it would have left six languages naming the organisation "workspace".
  2. Four consumer files outside the claimed list (HomeLayout.tsx, HomePage.tsx, QuickActions.tsx, AuthLayout.tsx) changed their inline defaultValue literals only, because pnpm check:i18n-keys refuses a stale default. AuthLayout.tsx is the console's sign-in shell, not LoginPage.tsx / RegisterPage.tsx.
  3. marketplace.install.noPermission carried "ask your workspace admin" in en and zh only; it now asks for the organisation admin, and the eight packs that had no such clause gained it, so the drift gate is satisfied by a faithful translation rather than a waiver.
  4. The designer table's engine.packages.noCapability (two lines) is the same defect in a second string table.

Tests

Existing tests that asserted the old strings, changed with them:

  • packages/i18n/src/__tests__/organizations-picker-vocabulary-5215.test.ts: objectui#5215 settled the picker on "workspace"; the one-noun-per-pack invariant now runs the other way and covers all ten packs and the workspace.* organisation keys too.
  • packages/i18n/src/__tests__/organization-namespace-3546.test.tsx: its namespace-separation probe read organizations.title as "Workspaces".
  • CloudOnboardingNext.test.tsx, CloudWorkspaceTimezoneNotice.test.tsx, AppHeader.myOrganizations.test.tsx (a test name), apps/console/.../WorkspaceTimezonePrompt.test.tsx.

New pins, each rendering the real packs in zh-CN with an en control:

  • WorkspaceSwitcher.organizationNoun-12851.test.tsx: 创建组织 / "Create organization".
  • AppHeader.organizationNoun-12851.test.tsx: the avatar menu's 我的组织 and 创建组织 / "My Organizations".
  • OrganizationsPage.organizationNoun-12851.test.tsx: heading 您的组织 / "Your Organizations".
  • CloudOnboardingNext.test.tsx: button 打开 / "Open" and both hints.

Ablation, once per new pin (zh value put back to the old noun through ablation-replace.mjs, mutation proved on disk by anchor count and blob hash, restored, git diff HEAD empty after every leg): switcher red, avatar menu red, organisations heading red, cloud button red (2 tests), cloud hint red, pack pin (ja organizations.mine) red (2 tests).

Evidence at 034b96b (local, foreground, under the shared verify lock):

  • pnpm exec vitest run packages/app-shell/: 1537 files passed, 1 skipped; 14509 tests passed (at aae54b4; the only later change is views/metadata-admin/i18n.ts, after which pnpm exec vitest run packages/app-shell/src/views/metadata-admin/ passed 542 files / 6119 tests).
  • pnpm exec vitest run packages/i18n/: 83 files, 1325 tests passed (at aae54b4, unchanged since).
  • pnpm exec vitest run packages/i18n/ apps/console/ at 7e6943d: 305 of 306 files passed; the one failure was the 3546 probe, fixed in aae54b4 and re-run green. Console files unchanged since.
  • turbo run build type-check for @object-ui/i18n, @object-ui/app-shell, @object-ui/console and their dependency closure: 39 of 39 tasks successful.
  • eslint on every changed file: 0 errors.
  • pnpm check:i18n-keys, pnpm check:i18n-drift (35 en values changed, 315 pack values followed, 0 waived), pnpm check:i18n-designer-parity, pnpm check:i18n-dead-keys, pnpm check:new-line-citations, node scripts/check-changeset-presence.mjs, node scripts/check-changeset-no-major.mjs: all exit 0.

Screenshots (zh-CN, light)

Console on a local hotcrm objectstack dev --fresh backend with two organisations (multi-org on), before on main 024d446 and after on this branch. The cloud home widget only renders on the control plane, so it is shown in a temporary dev-server harness page (not committed) with a stubbed entitlements answer, in both states.

The screenshots live on the evidence branch claude/issue-12851-evidence only.

Session: https://claude.ai/code/session_01QMLNukjEsw4QGWZS8oNsX2


Generated by Claude Code

🤖 Generated with Claude Code

https://claude.ai/code/session_01QMLNukjEsw4QGWZS8oNsX2

…s "Environment"

The console used one noun ("workspace" / 工作区) for two things: the
organisation members and billing belong to, and the environment an app
runs in. Every such value is rewritten by meaning in all ten packs; keys
stay. The cloud home's open button reads "Open", and its hints say what
an environment is. Inline defaultValues follow the en values.

Claude-Session: https://claude.ai/code/session_01QMLNukjEsw4QGWZS8oNsX2
Co-authored-by: Claude <noreply@anthropic.com>
…her, avatar menu, organisations page and cloud home

The objectui#5215 one-noun-per-pack pin turns around with the ruling: every
organisation value in all ten packs carries the organisation noun and none
carries the retired workspace noun. New zh-CN render pins with an en control
for the switcher, the avatar menu, the organisations page heading and the
cloud home's button and hint. Tests that asserted the old strings follow.

Claude-Session: https://claude.ai/code/session_01QMLNukjEsw4QGWZS8oNsX2
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

changeset-claim-re-read

⚠️ 1 pending changeset(s) describe a file this change touches

Their bodies publish verbatim into the CHANGELOG at the next release, so this is a request to re-read them against your diff — addressed here because you are the one seat that can answer it without re-deriving anything.

⛔ Nothing here blocks, and nothing here is a verdict on your change. This gate exits 0, is not a required context, and judges name resolution, never meaning: it asked whether a pending body names a file you touched. "Is this sentence still true?" is the one question it will not answer, and the one you are being asked to answer.

.changeset/11659-console-record-ux.md

  • names HomePage.tsx → packages/app-shell/src/console/home/HomePage.tsx — edited by this change

    The backup-password reminder no longer appears in the user's first session. 「建议设置一个备用密码」 showed on the environment home right after a new user built their first app: the reminder was gated on a home-visit count (quiet on the first home mount, shown on the second), and coming back to home after building is the second mount inside the first sitting. It now stays quiet for 12 hours after the first home visit on the device, so it first shows on a later day's visit. The first-visit record (os:recovery-pw-first-seen) now holds a timestamp; a device that holds the old '1' flag starts the 12 hours over rather than reading it as long ago. When storage is unavailable it stays quiet. RecoveryPasswordReminder moves out of HomePage.tsx into its own module; it is not exported from the package entry, and its other conditions (dismissed, SSO-enforced, has a local password) are unchanged.

Read the paragraph, not the line: both false halves of the objectui#8617 claim sat in one paragraph, and correcting either alone would have left it asserting the same wrong thing.

If a claim did go false, correct the body. That is precedented and prose-only, frontmatter untouched; check-changeset-overwrite.mjs will report the correction as its own case 2 ("correcting a declaration on purpose … legitimate"), which is the intended shape — one gate asks for the read, the other records the write.

Not covered, stated so nobody reads this as more: a born-false claim that spells no line address at all (objectui#9495 coordinated one by ORDINAL — "a grep finds that member first" — and deciding that means reading what the sentence means), a claim spelled as a symbol or a package rather than a backticked file name, and a file named ambiguously.

Compared the checked-out tree with 34354a4b6 (merge-base with origin/main): 29 file(s) changed outside .changeset/, read against 684 pending declaration(s) that publish a body (707 pending in total). · run

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

席位核对 — ACCEPT · objectui#12851 · head 034b96b · 2026-10-17T07:14Z

Seat domain:ui#4, session session_01SJn1GEkrbbBQkhGC26wEDw. Checked against GitHub and the diff, not against the report (relayed on the card). The seat opened this PR from the dev's drafts (degraded channel). The body is the dev's draft verbatim; the title adds the card number. The seat's TIER_DEFAULT contract review follows this record.

Checklist

  • Form:

  • Rulings, as bound (the maintainer's objectstack-ai/cloud#2939 letter A):

    • The organisation is 「组织」 / Organization / 組織 / Organización: 21 keys (workspace.*, organizations.*, and marketplace.install.noPermission's "ask your workspace admin").
    • The running instance is 「环境」 / Environment: 14 keys. Setup's subtitle and its Workspace category label, the timezone prompt, the tenant sign-in hint, the build refusal, the home loading and empty states, the system-settings quick action, and the cloud home's hints and timezone line.
    • The cloud home's button reads 「打开」 / Open, ⛔ not 「打开生产环境」. Both hints say in one line what an environment is.
    • Keys stay; values change. No @object-ui/i18n key and no component or file name moved. In en.ts the only added lines that still say "workspace" are the two unchanged key names (Workspace: and openWorkspace:).
    • Two strings kept, each with a reason in the PR: 「AI 工作区」 (the assistant's work area), and the designer's appNav.mode.default (an object's default view, already 工作台 in zh).
    • Stored names untouched; no new organisation's default name is composed from a locale string.
    • Item 5's repo-wide allow-list test is out, per triage. Pins for the changed strings are in.
  • Mechanism assumptions: Implement visual designer for Object UI schemas #1 held, though the list missed marketplace.install.noPermission; it is fixed here. Add automated testing infrastructure and CI/CD workflows #2 held. Add public roadmap, VitePress documentation site, and GitHub Pages deployment #3 and Add default props to all components to prevent collapse in designer #4 were falsified, both good results:

    • consumers carry inline defaultValue literals that check:i18n-keys holds to en, and four more consumers read changed keys;
    • check:i18n-drift holds VALUES across all ten packs, so a changed en value must be followed in every pack.
  • Screenshots, read by the seat (zh-CN, light; never-merged claude/issue-12851-evidence at 5522349; before on main 024d446, after on this branch):

    • the switcher reads 切换组织 / 创建组织;
    • the avatar menu and the organisations page read 我的组织 / 您的组织;
    • the cloud home reads 打开 and 管理环境, with 「你的环境已就绪——它是运行你的应用的独立实例,有自己的网址、数据库和套餐。」;
    • the home page.

    Sent to the maintainer at 2026-10-17T07:14Z.

  • Tests:

    • New zh-CN pins with an en CONTROL: the switcher, the avatar menu, the organisations heading, the cloud home's button and hints.
    • The objectui#5215 pack pin is inverted to the ruling across all ten packs. Six existing tests that asserted the old strings changed with them, each named in the PR.
    • One ablation per new pin, each red and each restored.
    • app-shell in full: 14509 tests passed, and metadata-admin/ again after the last commit. @object-ui/i18n: 1325 tests passed.
    • turbo run build type-check for i18n, app-shell and console: 39 of 39 tasks passed.
    • check:i18n-keys, check:i18n-drift (35 changed, 315 followed, 0 waived), check:i18n-designer-parity, check:i18n-dead-keys, changeset presence and no-major: all exit 0.
  • Changesets: @object-ui/i18n, @object-ui/app-shell and @object-ui/console, a patch each; user-facing prose.

  • CI: running at this record. Landing waits for green and for the contract review below.

Rulings

  1. workspace.default as the home assistant's aria-label ("Open My Organization assistant"): A, as built. workspace.* is the organisation by the ruling. If the maintainer finds that label wrong, it gets its own key on a follow-up card.

  2. The surface supplement: A. The claim named four packs. Accepted into the surface:

    • the six other packs (ar, de, fr, ko, pt, ru);
    • the four consumers whose inline defaults check:i18n-keys forces (HomeLayout.tsx, HomePage.tsx, QuickActions.tsx, the console's AuthLayout.tsx);
    • the designer table's engine.packages.noCapability.

    All are the same defect class and mechanical. No other claim holds those files, and a drift waiver would have shipped the double meaning in six languages.

  3. hintReady's wording: A, as shipped. It keeps the ready signal and still defines an environment in one line.

  4. The two out-of-scope notes stay notes:

Unblocked once this lands: objectui#12859 (the activity feed's refused-read copy) writes the same packs and waits for this PR.

Implemented-by: cloud session session_01QMLNukjEsw4QGWZS8oNsX2, branch claude/issue-12851-organization-environment-nouns


Generated by Claude Code

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 76 chunks) 3137.8 KB 3744.1 KB
Main entry chunk (gzip) 78.6 KB 350 KB
Entry file index-nrAJg2ZL.js —
Status PASS —

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 21.42KB 7.85KB
app-shell (runtime-config.js) 23.60KB 8.19KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.11KB 3.87KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 45.59KB 12.03KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 20.67KB 6.12KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.74KB 3.94KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.62KB 0.83KB
auth (authStyles.js) 5.27KB 1.86KB
auth (createAuthClient.js) 42.84KB 11.66KB
auth (createAuthenticatedFetch.js) 8.54KB 3.46KB
auth (index.js) 3.63KB 1.64KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 27.26KB 8.03KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.28KB 2.60KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (commentAuthorship.js) 1.39KB 0.78KB
collaboration (index.js) 1.93KB 0.85KB
collaboration (useCollaborationTranslation.js) 6.50KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 606.28KB 146.84KB
core (index.js) 10.18KB 4.04KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 248.83KB 69.44KB
fields (index.js) 291.36KB 74.46KB
i18n (LocalizationContext.js) 2.92KB 1.42KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 2.59KB 1.22KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.52KB 2.39KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.35KB 12.88KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 36.87KB 9.88KB
i18n (useSafeTranslation.js) 7.14KB 2.92KB
layout (index.js) 41.33KB 11.96KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 6.62KB 2.45KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 15.35KB 5.51KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.82KB 2.38KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 16.04KB 3.92KB
plugin-calendar (index.js) 54.94KB 16.05KB
plugin-charts (index.js) 84.97KB 23.36KB
plugin-chatbot (index.js) 210.60KB 49.94KB
plugin-dashboard (index.js) 146.23KB 39.59KB
plugin-designer (index.js) 233.95KB 50.08KB
plugin-detail (index.js) 263.79KB 69.75KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 180.22KB 46.59KB
plugin-gantt (index.js) 178.36KB 45.08KB
plugin-grid (index.js) 271.96KB 75.43KB
plugin-kanban (index.js) 62.17KB 19.22KB
plugin-list (index.js) 138.78KB 35.68KB
plugin-map (index.js) 27.07KB 8.96KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 46.66KB 13.13KB
plugin-timeline (index.js) 39.21KB 11.85KB
plugin-tree (index.js) 15.07KB 5.33KB
plugin-view (index.js) 94.68KB 24.36KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 12.07KB 3.68KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 120.23KB 39.46KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.50KB 2.06KB
react (schema-input.js) 4.31KB 2.07KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.50KB 1.99KB
sdui-parser (codegen.js) 9.45KB 3.76KB
sdui-parser (dashboard-widget-options.js) 3.07KB 1.30KB
sdui-parser (index.js) 7.30KB 3.12KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.81KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.29KB 0.24KB
sdui-parser (validate.js) 23.87KB 7.83KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 4.12KB 1.61KB
types (authoring-nodes.js) 0.20KB 0.19KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (cloud.js) 0.20KB 0.18KB
types (complex.js) 4.44KB 2.07KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (dashboard-widget-layout.js) 2.06KB 0.96KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 1.13KB 0.65KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 5.78KB 2.70KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 5.00KB 2.39KB
types (navigation.js) 0.20KB 0.18KB
types (node-slots.js) 7.18KB 2.34KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 2.52KB 1.31KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-approval-decision.js) 0.20KB 0.20KB
types (record-components.js) 0.20KB 0.19KB
types (record-panels.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 4.99KB 1.96KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.93KB 7.26KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.48KB 3.50KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 034b96bb2105d072d171b8b82a8f99c1da0f145c
Local-runs: none

Face: the Clause-②: yes declaration of the claim 6229949012 on objectui#12851: @object-ui/i18n's shipped strings change in its locale packs, and keys could have been renamed with their consumers. The PR's file list carries no packages/spec/src/** path and no governed path.

Inputs read:

  • the card, its triage note and the claim;
  • the diff at the head above;
  • the three changesets;
  • the PR body's string tables.

Nothing was built or run locally.

① Derived judgments

  • @object-ui/i18n's key set: unchanged. 35 values change in each of the ten packs, and no key is added, removed or renamed. The only added en.ts lines that still read "workspace" are the unchanged key names Workspace: (the settings category) and openWorkspace:. check:i18n-keys and check:i18n-drift agree: 35 changed, 315 followed, 0 waived. No key moves.

  • The values are published text a host may show. The changes follow a maintainer ruling (objectstack-ai/cloud#2939 letter A):

    • the organisation is 「组织」 / Organization;
    • the instance is 「环境」 / Environment;
    • 「工作区」 retires.

    A host that pins its own copy over these keys is unaffected; one that reads them gets the ruled nouns. Expected and declared in the changesets.

  • Consumers: the app-shell and console files change only inline defaultValue literals and one doc comment. No component, prop, export or data-testid changes. No published member moves.

  • The settings category label (console.settingsHub.categories.Workspace → 「环境」 / Environment) relabels a backend category whose value stays Workspace. The value is service-settings: the Setup settings pages say 「工作区名称」 and 「此工作区」 for the organisation or environment — use the ruled nouns (ruling cloud#2939 A) objectstack#24142's to change, if ever; the label maps it and nothing else.

  • Kept strings: two keep their word, each with its reason in the PR, so nothing silently means two things.

② Semver level

Three patch changesets: @object-ui/i18n, @object-ui/app-shell and @object-ui/console, in pre mode on tag next. Translated values change; no key, export or prop is added or removed. Consistent with the repo's treatment of copy changes as patch.

③ Boundary flags

  • None that needs the maintainer's ruling: the nouns are the maintainer's own ruling.
  • To know: workspace.default («我的组织» / "My Organization») is also read as the home assistant's aria-label. It follows the ruling. A dedicated key would be a follow-up card if the label reads wrong.

Implemented-by: session_01QMLNukjEsw4QGWZS8oNsX2
Reviewed-by: session_01SJn1GEkrbbBQkhGC26wEDw

VERDICT: PASS


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Landing · head 034b96b · 2026-10-17T07:24Z

  • Head since the ACCEPT: unchanged, 034b96b. The ACCEPT 6231095803 and the TIER_DEFAULT contract review 6231100790 (PASS) were both written at this head.
  • Checks on 034b96b: 36 runs, 33 green and 3 expected skips, none red. That includes Repo Gates (the i18n checks among them), Build & E2E, all test shards, Type Check, Lint, Changeset Bump Policy and Bundle Analysis at 3,137.8 KB against the 3,744.1 KB ceiling.
  • The changeset-claim re-read (6231066523) named .changeset/11659-console-record-ux.md, which cites HomePage.tsx. This PR changes only inline defaultValue literals in that file. The changeset's claim, that RecoveryPasswordReminder moved out of HomePage.tsx into its own module, stays true. No body needs a correction.
  • Merge state: clean against main 34354a4. fix(app-shell): keep the dataset seed's count measure on the first base-object pick (objectui#12848) #12864 (objectui#12848), ahead in the queue, edits another row of metadata-admin/i18n.ts; the two merge cleanly together.
  • Commit messages: all four commits carry only the model-free trailer pair, so the squash adds no model name to main.
  • Action: mark it ready for review and enable auto-merge through the merge queue. Fixes #12851 closes the card on merge. objectui#12859 (the activity feed's refused-read copy, the same packs) can be dispatched once this lands.

Generated by Claude Code

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants