Repository navigation
Description
repo:objectstack@hotlong · hotlong · session_2d709547c1624199b93584a53fbaaca2
Context
New-company walkthrough, installing and customizing HotCRM 7.1.0 (showcase dev server, latest main, console in 简体中文). Each item below was hit while doing a concrete task. Grouped because each is small.
What worked, for the record:
- Adding a
__cfield (设备台数 →shebei_taishu__c) from Studio. - Hiding a record-page tab in design mode.
- Renaming a menu item in design mode.
All three survived a reinstall of the package.
Studio on an installed package
-
The read-only banner contradicts the editing.
- Every Studio page for HotCRM shows 「只读软件包 — 请切换或新建可写软件包后再编辑」, on the package switcher and in the item header.
- Yet 添加字段, field label edits and the header 保存 all work, and save into
app.objectstack.hotcrm.custom(the panel even says 「保存到 HotCRM 的定制」). - A first-time admin reads the banner and stops. On a customizable item, the banner should say edits are saved as this environment's customization, not tell the admin to switch packages.
-
The app item says 「可定制」 and 「已锁定,不可编辑」 at once.
- Studio → 应用 →
crm_enterprisecarries a 可定制 badge, but the page says 「该元数据已锁定,不可编辑」 and every property input is read-only. - The actual way to customize the app's menu is console design mode (切换器 → 设计布局). This page should link there.
- Studio → 应用 →
-
Source-language labels in a zh-CN Studio. Studio shows the package's English source text where the console shows Chinese:
- the object header (
Opportunity) - picklist names and option labels (
Lead Source,Web,Referral, …) - picklist descriptions in the 选项列表 list
- the field inspector's 显示名 (
Lead Source) and 分组 (Classification)
Showing the source is defensible in an editor. But the translated label should be visible next to it, as the field inspector's hint already does, rather than the zh-CN admin seeing a different product from their users.
- the object header (
Reinstall
- The 重新安装 dialog says nothing about existing customizations. It lists what the package adds and modifies (see Marketplace install confirm warns that a fresh install will modify existing objects that do not exist in the environment #39437 for its false "modifies existing objects" list). It does not say whether this environment's
.customchanges are kept. They were kept, but an admin has to reinstall to find out. - The page offers 重新安装 as the primary action on an installed, current version. With nothing to upgrade, a prominent 重新安装 invites an unnecessary reinstall. Something like 「已是最新版本」 with reinstall under a secondary menu would fit better.
Grant to Everyone
- The one-click grant names the machine position. The toast reads 「已授予 everyone」 rather than the position's label (所有已登录用户 / Everyone). The grant itself has no confirmation step, even though it gives every signed-in user the package's permission set (撤销 is offered afterwards).
Acceptance
Each numbered item is either fixed or split into its own issue with a decision recorded here.
Activity
objectstack-fleet commentedon Dec 4, 2026
triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Feature · p2 · pm:queue · size M, touched 2026-12-04T02:18Z. Rationale: the filer's area and grade stand. Small issues in customizing an installed package: Studio says "read-only" while it saves edits, English source labels appear in a zh-CN Studio, and the reinstall wording is unclear. Issue type set to Feature.
Grade: area:ux · Feature · p2 · customers customizing an installed package · read (new-company walkthrough, HotCRM 7.1.0 install).
objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibyrf8y7cWLVu7DMgBN
2026-12-04T09:45Z · zone
ot-ux2read this card for a claim and queues it (not claimed).check-handover.mjs --inflighton the Studio files the items touch meets in-flight claims:ui/packages/app-shell/src/views/studio-design/DataPillar.tsxandui/packages/i18n/src/namespaces/studio/under #39470 (claim 7403966804) and #39471 (claim 7403980726),namespaces/studio/under #39422 (claim 7405392687), all this seat's zoneot-build; items 4–6 (reinstall dialog, reinstall as primary action, grant toast) sit inui/packages/app-shell/src/console/marketplace/MarketplacePackagePage.tsx, held by #39469 (claim 7406794230, this zone). The zone claims after #39470/#39471/#39469 land.Known for the next claimant: item 1's banner key is
engine.studio.pkg.readonlyHint(read bymetadata-admin/PageShell.tsx,ResourceEditPage.tsx,PermissionMatrixEditor.tsx,studio-design/DataPillar.tsx,AutomationsPillar.tsx), and the pair-save hint already exists asengine.list.createInPairHint; item 2's lock text isengine.edit.lockNoOverlayinResourceEditPage.tsx. Item 6's missing confirmation step is a product call if it adds a dialog.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibyrf8y7cWLVu7DMgBN
Claim: PM loop round 1 · 2026-12-04T12:12Z · blockers on this zone's queue note 7407800109 have cleared (#39470, #39471, #39422 and #39469 closed)
Session:
session_01L9qibyrf8y7cWLVu7DMgBNAccount:
os-teslaArea: ot-ux2
Branch:
claude/issue-39472-wip(the card thread names its platform branch in its first report; the zone then posts aClaim:restatement on it)Worktree:
objectstack-issue-39472Domain:
domain:uiSeat:
repo:objectstack@os-teslaFile surface:
ui/packages/app-shell/src/console/marketplace/MarketplacePackagePage.tsx,ui/packages/app-shell/src/console/marketplace/installPreview.ts,ui/packages/i18n/src/namespaces/marketplace/(reason: the reinstall strings in every locale) — items 4 and 5: the reinstall dialog says whether this environment's .custom changes are kept, and an installed, current version reads 「已是最新版本」 with reinstall as a secondary action;ui/packages/app-shell/src/views/studio-design/StudioPackageSwitcher.tsx,ui/packages/app-shell/src/views/studio-design/StudioPackageOverviewPage.tsx,ui/packages/app-shell/src/views/metadata-admin/PageShell.tsx,ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.tsx,ui/packages/app-shell/src/views/metadata-admin/i18n.ts— items 1 and 2: the read-only banner says edits are saved as this environment's customization, and a customizable app item links to console design mode;ui/packages/app-shell/src/views/studio-design/DataPillar.tsx— item 3: the translated label beside the source text in a zh-CN Studio;ui/packages/i18n/src/namespaces/studio/(reason: the Studio strings in every locale; SERIAL behind #39413, claim 7409634184 of ot-data, which holds this directory: edited only after #39413's PR merges and main is merged in, so items 4 and 5 go first); one changeset. Stop on breach; explain in the report.Container & model:
M (five small admin-UI items, ui only),mode:thread,model: default (dispatch-gates --tier: "no path-derived mandate"),effort: high(the thread dispatches one os-dev subagent with opus + high explicit, as the seat ruled for this zone)Clause-②: no (ui text, labels and links; no served or spec change)
Metadata-protocol: none
Responsibility:
n/a — Feature cardThread-read: 7398808043
Premise: holds. Read on
origin/main:engine.studio.pkg.readonlyHint「只读软件包 — 请切换或新建可写软件包后再编辑。」 andengine.edit.lockNoOverlay「该元数据已锁定,不可编辑。」 are innamespaces/studio/zh.ts. The dev re-measures each item red before code. Item 4's false "modifies existing objects" list is #39437, which is closed.Pre-claim lane:
domain:uiby file; stays in this seat.Pre-claim deps: none.
Prior rulings read: none specific to this card.
Serial constraints cleared:
check-handover.mjs --inflighton the app-shell and marketplace files found no readable in-flight surface on them.namespaces/studio/is serial behind report authoring from scratch: an own object is unreachable until a dataset exists, pickers default to free text, and members show API names #39413, as noted above. os-bill's paused p3 fold (Studio and console: remove the form-view leftovers after the protocol-19 form switch (checklist) #39003 / Sidebar nav row memo: state what a target resolver may keep, and check the icon and colour resolvers for the same stale-first-render race #38859 / app-shell: dead references to the retired package-less Studio scope — emptyListHint has no setter, and two DraftChangesPanel comments describe it #38785) names studioen.ts/zh.ts. A held p3 never holds a p2 back, so the fold rebases after this lands.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibyrf8y7cWLVu7DMgBN
2026-12-04T12:15Z · zone
ot-ux2· Claim 7411131430 restated as aClaim:on the card thread's platform branch (check:closing-target-claimreads only theBranch:line of aClaim:comment). Plan: PR 1 covers items 4+5 asPart of #39472; PR 2 covers items 1-3 withFixes #39472, after #39413 (PR #39665) merges.Claim: PM loop round 1
Session:
session_01L9qibyrf8y7cWLVu7DMgBNThread session:
session_01L9qibxosgSdp6NdXgqGSzDAccount:
os-teslaArea: ot-ux2
Branch:
claude/project-thread-4sfvbrWorktree:
objectstack-issue-39472Domain:
domain:uiSeat:
repo:objectstack@os-teslaFile surface:
ui/packages/app-shell/src/console/marketplace/MarketplacePackagePage.tsx,ui/packages/app-shell/src/console/marketplace/installPreview.ts,ui/packages/i18n/src/namespaces/marketplace/(reason: the reinstall strings in every locale) — items 4 and 5: the reinstall dialog says whether this environment's .custom changes are kept, and an installed, current version reads 「已是最新版本」 with reinstall as a secondary action;ui/packages/app-shell/src/views/studio-design/StudioPackageSwitcher.tsx,ui/packages/app-shell/src/views/studio-design/StudioPackageOverviewPage.tsx,ui/packages/app-shell/src/views/metadata-admin/PageShell.tsx,ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.tsx,ui/packages/app-shell/src/views/metadata-admin/i18n.ts— items 1 and 2: the read-only banner says edits are saved as this environment's customization, and a customizable app item links to console design mode;ui/packages/app-shell/src/views/studio-design/DataPillar.tsx— item 3: the translated label beside the source text in a zh-CN Studio;ui/packages/i18n/src/namespaces/studio/(reason: the Studio strings in every locale; SERIAL behind #39413, claim 7409634184 of ot-data, which holds this directory: edited only after #39413's PR merges and main is merged in, so items 4 and 5 go first); one changeset. Stop on breach; explain in the report.Container & model:
M (five small admin-UI items, ui only),mode:thread,model: default (dispatch-gates --tier: "no path-derived mandate"),effort: high(the thread dispatches one os-dev subagent with opus + high explicit, as the seat ruled for this zone)Clause-②: no (ui text, labels and links; no served or spec change)
Metadata-protocol: none
Responsibility:
n/a — Feature cardThread-read: 7398808043
Premise: holds. Read on
origin/main:engine.studio.pkg.readonlyHint「只读软件包 — 请切换或新建可写软件包后再编辑。」 andengine.edit.lockNoOverlay「该元数据已锁定,不可编辑。」 are innamespaces/studio/zh.ts. The dev re-measures each item red before code. Item 4's false "modifies existing objects" list is #39437, which is closed.Pre-claim lane:
domain:uiby file; stays in this seat.Pre-claim deps: none.
Prior rulings read: none specific to this card.
Serial constraints cleared:
check-handover.mjs --inflighton the app-shell and marketplace files found no readable in-flight surface on them.namespaces/studio/is serial behind report authoring from scratch: an own object is unreachable until a dataset exists, pickers default to free text, and members show API names #39413, as noted above. os-bill's paused p3 fold (Studio and console: remove the form-view leftovers after the protocol-19 form switch (checklist) #39003 / Sidebar nav row memo: state what a target resolver may keep, and check the icon and colour resolvers for the same stale-first-render race #38859 / app-shell: dead references to the retired package-less Studio scope — emptyListHint has no setter, and two DraftChangesPanel comments describe it #38785) names studioen.ts/zh.ts. A held p3 never holds a p2 back, so the fold rebases after this lands.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibxosgSdp6NdXgqGSzD
os-dev-report
{ "issue": 39472, "status": "done", "branch": "claude/project-thread-4sfvbr", "pr": "https://github.com/objectstack-ai/objectstack/pull/39683", "head": "9cdb4bf75d218968812377e8bf1f81e62d985cf4", "session": "session_01L9qibxosgSdp6NdXgqGSzD", "served_model_effort": "opus (Claude Opus 5.5) at effort high, as dispatched; served tier not independently readable from inside the subagent", "premise_still_valid": true, "summary": "PR 1 of 2 for #39472 (items 4 and 5 only, Part of #39472). Item 5: a loaded local install at the catalog's latest version (or higher precedence) now shows an 'Up to date' / 已是最新版本 status in place of the primary button, and Reinstall is the first item of the existing More install options menu; older-version and not-loaded installs keep Reinstall as the button, the hosted path is untouched. Item 4: the confirm in front of an install over an existing one says this environment's customizations are kept (reinstall replaces only the package's own metadata; the customization package's changes stay); first installs and unmanaged copies say nothing. Re-measured on this tree with a scratch dogfood probe (not committed): base install 1.0.0, ensure the .custom pair, publish an object extension (region__c field + relabel) and a declared dashboard override into it, reinstall 1.0.0 and install 1.0.1 over it; after both, the served object, served dashboard and pair export still carry every customization. Two new keys in all 11 marketplace locales (zh-Hant regenerated). Worktree /home/user/objectstack-issue-39472 kept for items 1-3. Card assignee not written.", "tests": "RED on main (origin/main a92f1ed9 + test edit only): pnpm --dir ui exec vitest run packages/app-shell/src/console/marketplace/__tests__/MarketplacePackagePage.installPreview-30325.test.tsx -> 'Tests 3 failed | 22 passed (25)' (the up-to-date test and both 'kept' tests; the 4 CONTROLs passed). GREEN at 9cdb4bf7: whole marketplace folder 'Test Files 66 passed, Tests 668 passed' plus 2 stale-helper reds in sampleDataNotice-30323 fixed in the same PR, then those two files 'Test Files 2 passed (2) Tests 47 passed (47)' (os-verify-lock VERDICT command-exit 0). Ablations via scripts/ablation-replace.mjs on the committed fix (ui tests import the page from src, no dist leg): A header swap back to primaryControl -> 1 failed | 24 passed (up-to-date test); B keep paragraph gated off -> 2 failed | 23 passed (both kept tests); C unmanaged gate dropped -> 1 failed | 24 passed (unmanaged CONTROL); each restored blob == HEAD 8d084afce6bb, git diff HEAD empty. Probe: dogfood scratch test 'Test Files 1 passed (1) Tests 3 passed (3)' with log lines '[probe-39472] reinstall 1.0.0: ... region__c ... title=Title (customized) dash=Pulse (customized)' and the same for 'update 1.0.1'. i18n: pnpm --filter @object-ui/i18n type-check && test -> 'Test Files 110 passed, Tests 1874 passed | 13 skipped', exit 0. app-shell: pnpm --filter @object-ui/app-shell type-check (tsc --noEmit + tsconfig.test.json) exit 0 after building its upstream closure.", "gates": "Local at 9cdb4bf7: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 40 families; all 40 run, every one exit 0 captured before any pipe (incl. pnpm --dir ui exec vitest run scripts/ -> 172 files passed, check:nul-bytes OK, check:cross-package-test-inputs OK, check:type-check-coverage/debt OK, check-sdui-manifest OK, check-empty-changeset OK, adr-0087 OK). --ran reconciliation: '40 derived famil(ies) accounted for - 40 run, 0 NOT-MEASURED (a DERIVED zero)'. Also pnpm --dir ui run check:new-line-citations -> '0 new citation(s)', exit 0; eslint --no-inline-config on the changed .ts/.tsx exit 0. NOT-MEASURED pnpm --dir ui exec vitest run packages/app-shell/ :: whole app-shell package exceeded the foreground cap (timeout 560s, exit 124); its marketplace folder (67 files) was measured, the rest is CI Test UI. PR check-runs on 9cdb4bf7 read once right after opening: 24 total, 17 in_progress, 7 skipped, 0 concluded; CI convergence is the PM's.", "line_budget": "15 files, +183 / -10 (193 changed lines; well under 3,000). Page +47/-6, tests +103/-4, i18n +22, changeset +11.", "files_changed": [ ".changeset/39472-reinstall-up-to-date.md", "ui/packages/app-shell/src/console/marketplace/MarketplacePackagePage.tsx", "ui/packages/app-shell/src/console/marketplace/__tests__/MarketplacePackagePage.installPreview-30325.test.tsx", "ui/packages/app-shell/src/console/marketplace/__tests__/MarketplacePackagePage.sampleDataNotice-30323.test.tsx", "ui/packages/i18n/src/namespaces/marketplace/{ar,de,en,es,fr,ja,ko,pt-BR,ru,zh-Hans,zh-Hant}.ts" ], "deviations": [ "installPreview.ts (on the file surface) was not edited: no change was needed there.", "The first red-on-main vitest run was not wrapped in os-verify-lock (single file, 25 tests); every later build/test went through the lock.", "origin/main moved to a802b234 after the branch point; none of the touched files changed there and git merge-tree is clean, so main was not merged before opening the PR (head stays the gated 9cdb4bf7).", "The first push was refused by the pre-push check:commit-card-trailers (a 'Part of' line in the commit message); the unpublished commit was reworded with --amend and pushed. No force-push.", "The measurement probe lived under packages/qa/dogfood/test only while it ran; it was moved out to scratch and never committed (outside the file surface).", "MarketplacePackagePage.tsx is over 1,000 lines; the change edits three existing render branches in place (no new operation or sub-flow), so nothing moved to a sibling module." ], "mcp_calls": "0 (no GitHub MCP calls)", "api_writes": "2 relay writes: pr_create (fleet-write dispatch fw-20261204T131903Z-c0bdc1, POST /repos/objectstack-ai/objectstack/pulls + its issue-assignees leg, read back identical 7894 bytes, assignee os-tesla) and this os-dev-report comment via post-stamped.mjs (POST /repos/objectstack-ai/objectstack/issues/39472/comments). Plus 2 git pushes (one refused by the local pre-push hook before any network write).", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: a (user-visible misleading copy) · reach: the marketplace package page with a local install-local entry older than the catalog's latest (the fixture INSTALLED_OLDER 3.2.0 vs latest 4.0.1 in walledCatalogPackageRefusal-7611.test.tsx drives it): the primary button reads 重新安装/Reinstall and its confirm is titled 'Reinstall NAME?', while the click installs the catalog's latest version over the older one, i.e. an update · evidence: MarketplacePackagePage primaryAction labels every localInstall 'marketplace.action.reinstall' regardless of version; the hosted path has an Update label for the same state · dedupe words: marketplace reinstall label update older version, install-local upgrade button wording, 重新安装 更新 旧版本", "carrier: none · noted, not filed: the measurement covered managed reinstall and managed update only; an unmanaged copy over an existing install was not measured, so its confirm says nothing about customizations" ] }objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibyrf8y7cWLVu7DMgBN
Release: ot-ux2 · 2026-12-04T14:15Z · seat wind-down (maintainer 14:11Z: finish current work, merge, then stop). Seat ruling 14:12Z: release the unstarted part.
Resume-from: none (items 1–3 have no code yet)
Part of) merged as 44cf0fc.MarketplacePackagePage.tsx,installPreview.tsand themarketplacenamespace from claim 7411131430 / 7411194731. ot-ux's Marketplace install: a 简体中文 console on an organization with no language gets English sample data, the confirm never names the language, and the three sample counts disagree #39681 UI half was waiting on them.pm:queue; assignee cleared.objectstack-fleet commentedon Dec 6, 2026
repo:objectstack@os-steve · os-steve · session_01ADHkmPC9UyxNHfB2SRvzsr
Claim: PM loop round 1 · 2026-12-06T16:07Z · zone ost-T (maintainer: 「开专区接手 area:ux p1 p2」「每个区并发都是5」, 2026-12-06T15:55–15:57Z, this account's fleet project) · items 1–3 (items 4+5 landed in PR #39683; release 7414092756)
Session:
session_01ADHkmPC9UyxNHfB2SRvzsrAccount:
os-steveArea: ost-T
Branch:
claude/issue-39472-studio-installed-pkg-copyWorktree:
objectstack-issue-39472Domain:
domain:uiSeat:
repo:objectstack@os-steveFile surface:
ui/packages/app-shell/src/views/studio-design/StudioPackageSwitcher.tsx,ui/packages/app-shell/src/views/studio-design/StudioPackageOverviewPage.tsx,ui/packages/app-shell/src/views/metadata-admin/PageShell.tsx,ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.tsx,ui/packages/app-shell/src/views/metadata-admin/i18n.ts— items 1 and 2;ui/packages/app-shell/src/views/studio-design/DataPillar.tsx— item 3 (SERIAL behind #39743's PR);ui/packages/i18n/src/namespaces/studio/en.ts,ui/packages/i18n/src/namespaces/studio/zh.ts(SERIAL behind #39837's PR), new test files named for this card, one changeset. Stop on breach; explain in the report.Container & model:
M (three small Studio admin-UI items, ui only),mode:subagent,model: default (dispatch-gates --tier at b9be2514: "no path-derived mandate"),effort: high (M card)Clause-②: yes
Metadata-protocol: none
Responsibility: n/a — not a defect card (Feature, walkthrough polish)
Thread-read: 7414092756
Premise: holds —
engine.studio.pkg.readonlyHintstill reads 「只读软件包 — 请切换或新建可写软件包后再编辑。」 (studio/zh.ts:3349on b9be251);engine.edit.lockNoOverlaystill 「该元数据已锁定,不可编辑。」 (studio/zh.ts:1207). Clause-②yesbecause items 1–3 are expected to add keys to the published Studio namespace pack; the dev re-declares from the diff.Pre-claim lane:
domain:ui(pathsui/packages/app-shell/**,ui/packages/i18n/**), zone ost-T leaseui/**per claimPre-claim deps: #39413's PR #39665 merged (release 7414092756); no
Blocked-by:in the bodyPrior rulings read: release 7414092756 and queue note 7407800109 (keys named);
check-prior-rulings.mjsno ruling on items 1–3. Item 6 (grant toast label and confirmation) is not in this claim: a confirm dialog is a product call (7407800109). The PR saysPart of #39472; the zone splits item 6 into its own card before the card closes.Serial constraints cleared:
check-handover.mjs --inflightclear (8 held claims read). In-zone serial:DataPillar.tsxafter #39743's PR, Studio namespaceen.ts/zh.tsafter #39837's PR; items 1–2 code goes first, then main is merged in.Carry: L1-c's nit on #39683 ("installing over it") and the 重新安装 label for older installs (release 7414092756) — only if inside this surface, else noted in the report.
objectstack-fleet commentedon Dec 6, 2026
repo:objectstack@os-steve · os-steve · session_01ADHkmPC9UyxNHfB2SRvzsr
os-dev-report
{ "issue": 39472, "status": "needs_decision", "branch": "claude/issue-39472-studio-installed-pkg-copy", "pr": "https://github.com/objectstack-ai/objectstack/pull/39961", "head": "f53d136b54031ef97eba7ab367d1373d420ddc57", "session": "session_01ADHkmPC9UyxNHfB2SRvzsr", "premise_still_valid": true, "summary": "Draft PR #39961 (Part of #39472) delivers items 1 and 2 and the part of item 3 that the console's client resolver already covers. Item 1: on a read-only package Studio customizes (listed, not kernel, customization door open to the caller), the switcher lock, the Overview access chip and Pending line, and the Data pillar's object-header chip (when the object's extension is writable) say changes are saved as this environment's customization (new key engine.studio.pkg.customizableHint); kernel packages and walled callers keep engine.studio.pkg.readonlyHint; Overview's greyed revert on such a package with no pair says nothing to revert. Item 2: under Studio's area an app of a read-only package shows a banner and an 'Open in design mode' link (new module metadata-admin/AppDesignModeLink.tsx) that opens the app with designModeSelectArrival type app and ?studio= back to the page, in place of the read-only package banner; no link on a phone, for an unserved app, or behind a walled door. Item 3 (partial): the Data pillar object header shows the translated object label beside the source label, and the field inspector shows the translated group label under the Group select (new module studio-design/translatedLabel.tsx, useObjectLabel with empty fallback). Picklist names, option labels and descriptions are NOT done: they need a picklist resolver in @object-ui/i18n (outside the claimed surface: stopped on breach), and picklist descriptions have no translation key in the spec at all. Card assignee not written.", "tests": "Red on base (b9be2514 source restored via git restore --source, branch tests kept), under os-verify-lock: pnpm exec vitest run --maxWorkers=2 on StudioTopLeft-37456, StudioPackageOverview-37454, ResourceEditPage.appDesignMode-39472, ObjectFieldInspector.labelTranslation-11782, DataPillar.translatedLabel-39472 -> 'Test Files 5 failed (5) Tests 16 failed | 77 passed (93)' (VERDICT command-exit 1): every positive pin red, every CONTROL green. Green on branch -> 'Test Files 5 passed (5) Tests 93 passed (93)' (VERDICT command-exit 0); inspector harness rerun at f53d136b after its collection-time import -> 'Tests 10 passed (10)'. Neighbours StudioDesignSurface.readOnlyChipFold-12707, metadataAreaHost.gates-28561, ResourceEditPage.inspectorReadOnlyReason-29079, ResourceEditPage.lockBanner green. pnpm --filter @object-ui/app-shell type-check exit 0; pnpm --filter @object-ui/i18n type-check exit 0 (each exit captured separately). No ablation beyond the red-on-base run (it reverts every source edit at once; the CONTROLs pin each gate condition).", "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at 23c97925 derived 40 families; all 40 run, every exit captured before any pipe = 0, except check:test-source-alias exit 1 on the inspector harness (missing collection-time import of @objectstack/lint), fixed in f53d136b and rerun exit 0. Ratchet families rerun on f53d136b: check:type-check-coverage 0, check:type-check-debt 0, check:test-source-alias 0, check:nul-bytes 0, check:cross-package-test-inputs 0. --ran reconciliation: '40 derived famil(ies) accounted for - 40 run, 0 NOT-MEASURED (a DERIVED zero - all 40 recorded an exit code and none of them is 3)'. pnpm --dir ui exec vitest run scripts/ -> 'Test Files 172 passed | 2 skipped (174)'. pnpm --dir ui run check:new-line-citations -> '0 new citation(s)', exit 0. eslint --no-inline-config on changed ui files: 3 errors, all react-hooks 'Cannot create components during render' in ResourceEditPage.tsx and the same 3 on the base file; none in new code. PR check-runs on f53d136b read once after opening: 24 total, 17 in_progress, 7 skipped, 0 concluded; CI convergence is the PM's.", "line_budget": "15 files, +718 / -20 vs the origin/main merge base (738 changed lines; well under 3,000): source +247/-9 (5 edited files, 2 new modules), tests +444/-11 (2 new files, 3 existing harnesses), i18n +11, changeset +16.", "files_changed": [ ".changeset/39472-studio-installed-pkg-copy.md", "ui/packages/app-shell/src/views/metadata-admin/AppDesignModeLink.tsx", "ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.tsx", "ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.appDesignMode-39472.test.tsx", "ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector.tsx", "ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector.labelTranslation-11782.test.tsx", "ui/packages/app-shell/src/views/studio-design/DataPillar.tsx", "ui/packages/app-shell/src/views/studio-design/DataPillar.translatedLabel-39472.test.tsx", "ui/packages/app-shell/src/views/studio-design/StudioPackageOverviewPage.tsx", "ui/packages/app-shell/src/views/studio-design/StudioPackageOverview-37454.test.tsx", "ui/packages/app-shell/src/views/studio-design/StudioPackageSwitcher.tsx", "ui/packages/app-shell/src/views/studio-design/StudioTopLeft-37456.test.tsx", "ui/packages/app-shell/src/views/studio-design/translatedLabel.tsx", "ui/packages/i18n/src/namespaces/studio/en.ts", "ui/packages/i18n/src/namespaces/studio/zh.ts" ], "deviations": [ "Declared surface additions: metadata-admin/AppDesignModeLink.tsx and studio-design/translatedLabel.tsx (new modules: ResourceEditPage.tsx and DataPillar.tsx are over 1,000 lines, so new concerns go to sibling modules); metadata-admin/inspectors/ObjectFieldInspector.tsx (item 3 group hint: one import, one call); existing harnesses StudioTopLeft-37456, StudioPackageOverview-37454 and ObjectFieldInspector.labelTranslation-11782 (AGENTS.md: a new pin for a component with a shared harness goes into it as a top-level describe; their readonly-reason pins on a customizable package were made false by item 1 and are updated).", "PageShell.tsx and metadata-admin/i18n.ts (claimed) were not edited: PageShell's badge shows readonlyHint only for a type Studio does not customize (a true read-only), and i18n.ts needed nothing.", "Clause-② declared 'yes (widening)' rather than the claim's bare 'yes': re-declared from the diff (four new keys in the published studio namespace, nothing removed), matching precedent changesets for new i18n keys.", "Item 3 stopped short of picklists (names, option labels, descriptions): needs @object-ui/i18n useObjectLabel.ts (outside the claim) or a translated second read; see open_questions.", "The derived gate loop was moved to the background by the harness when it passed the foreground cap; it was polled in the foreground to completion and every exit read from its results file.", "origin/main merged once (ef68c6e6) before the PR; no conflict, none of the touched files moved. Siblings #39743 and #39837 had not merged; shared files are named in the PR body." ], "mcp_calls": "0 (no GitHub MCP calls)", "api_writes": "2 relay/stamped writes: pr_create (fleet-write dispatch fw-20261206T171938Z-9b56a6, POST /repos/objectstack-ai/objectstack/pulls + its issue-assignees leg, read back identical 8549 bytes, assignee os-steve, no labels) and this os-dev-report comment via post-stamped.mjs (POST /repos/objectstack-ai/objectstack/issues/39472/comments). Plus git pushes of the branch (probe + 6 pushes).", "classifier_refusals": [], "open_questions": [ { "question": "Item 3, picklists: how should Studio show the translation beside a picklist's name and option labels (and what about picklist descriptions, which have no translation key)?", "options": [ "A: add picklistLabel / picklistOptionLabel readers to @object-ui/i18n useObjectLabel (namespace probe gains 'picklists'), then a minimal call in PicklistPreview.tsx; a follow-up card in this zone, widening the surface to ui/packages/i18n/src/useObjectLabel.ts and previews/PicklistPreview.tsx. Small (one resolver pair + tests), published API widening in @object-ui/i18n.", "B: PicklistPreview reads the item a second time through the translated /meta read (translatePicklist on the server) and diffs it against the source; no i18n package change, but one more request per picklist page and the list page's rows would need it per row.", "C: leave picklists showing source text and close item 3 as partial; picklist descriptions in any case need a spec decision (TranslationData.picklists has no description key) before anything can show them." ], "recommendation": "A for names and option labels, because it reuses the one client resolver the console reads (no second dialect, no extra request) and matches how the object and group labels were done here; descriptions go to a spec decision card (C's half) since no translation contract exists." } ], "security_findings": "withheld", "out_of_scope_findings": [ "carrier: none · noted, not filed: AutomationsPillar.tsx (flow header) and PermissionMatrixEditor.tsx still say 'switch to or create a writable package' on a read-only package; same copy class as item 1, outside this claim's file surface.", "carrier: none · noted, not filed: the release comment's carry items (L1-c's 'installing over it' nit and the 重新安装 label for older installs) live in MarketplacePackagePage.tsx and the marketplace namespace, outside this claim's surface; not done.", "carrier: objectstack seat · noted: L2 routing — with Clause-② yes, the lane seat's own TIER_DEFAULT review is owed on #39961; not requested by the dev." ] }objectstack-fleet commentedon Dec 6, 2026
repo:objectstack@os-steve · os-steve · session_01ADHkmPC9UyxNHfB2SRvzsr
Waiting · 2026-12-06T18:37Z · item 3 (picklists) of this card. The at-tier decision analysis is done (from dev report 7461548770's open question). Its record waits on tier evidence: #39975 (the container keeps no transcript to prove the served tier), since 2026-12-06T18:37Z. Routed to
l2-review@os-steve, which posts it at tier. Draft PR #39961 (items 1–2 and the object/group half of item 3) lands asPart of #39472without waiting. The card stayspm:dispatched.objectstack-fleet commentedon Dec 6, 2026
repo:objectstack@os-steve · os-steve · session_01ADHkmPC9UyxNHfB2SRvzsr
Route update · 2026-12-06T18:41Z · item 3 (picklists): the at-tier record now goes through
repo:cloud@hotlong(seat knock 7462705932 on mailbox #37457, Request: contract-review, per triage's route 7462520817), in place ofl2-review@os-stevenamed in the waiting note above. It still waits on tier evidence (#39975). The card stayspm:dispatched; #39961 lands asPart of #39472.objectstack-fleet commentedon Dec 6, 2026
repo:cloud@hotlong · hotlong · session_01Q4EjjQzFqHGjUAXt8kBQhV
Decision analysis · #39472 item 3 (picklists) · answers the open question of dev report 7461548770 · requested by seat knock 7462705932 (mailbox #37457)
维护者速读
Analysis
Served-tier: CONTRACT_REVIEW_TIER
Analysed-by: session_01Q4EjjQzFqHGjUAXt8kBQhV
Read at
origin/main54f3450 (2026-12-06), draft PR #39961 at head f53d136 (open, draft, mergeable_state clean). Read-only analysis; nothing was run in a browser.Background
Issue #39472 item 3: in a zh-CN Studio, an installed package's picklist page shows
Lead Source,Web,Referral, and the picklist list shows English descriptions, while the console shows readers Chinese. The card states the wanted behaviour itself: "the translated label should be visible next to it, as the field inspector's hint already does". PR #39961 did that for the object header and the field group through the console's client resolver, and stopped at picklists because the resolver has no picklist reader and its file was outside the claim.One-sentence problem
A non-English admin opening a shared option list in the app builder sees the package's source-language name and options with no sign of what their users see, and the list's description has no translated form anywhere.
Governing text
packages/spec/src/system/translation.zod.ts:1323-1343(docblock + schema):picklists.<name>.labelandpicklists.<name>.options.<value>; the node is astrictObjectwith those two keys only, sopicklists.<name>.descriptionis refused today.packages/spec/src/data/picklist.zod.ts:83-84:labelanddescription("What the list enumerates, for authors choosing one") are declared display strings;packages/spec/liveness/picklist.jsongrades bothlive.ui/packages/i18n/src/useObjectLabel.ts:421-449(docblock ofobjectPluralLabel): a client reader is "the client half oftranslateObject", and a client that shows something the server would not is "a second dialect".ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector.tsx:2351-2377(LabelTranslationHint, objectui#11782): the hint reads "that SAME resolver, never from a second lookup", with an empty fallback..claude/skills/pm-dispatch/SKILL.md:219-227(escalation), in particular :223: a new key or export name with a precedent (same word, same concept) is named by the seat and lands under a veto window.references/triage-duties.md:95-104(human floor, risk and effort criteria).git grep -n -i picklist origin/main -- 'docs/adr/*.md'→ ADR-0084 only placespicklistunder 高级; no ADR rules on how Studio shows translations.Protocol statement
Metadata-protocol: none. Option A widens a published UI package API (Clause-②: yes (widening)).Metadata-protocol: added,Clause-②: yes (widening). Under SKILL.md:241 that is its own card and never an option of this one.Premises (each with its re-check)
picklistsis a recognised group and is copied through onto theappnamespace. Re-check:git show origin/main:ui/packages/i18n/src/utils/spec-translations.ts | sed -n 86,130p;andsed -n 246,257pof the same file.useObjectLabelhas no picklist reader, and its namespace probe does not look forpicklists. Re-check:git show origin/main:ui/packages/i18n/src/useObjectLabel.ts | grep -n -i picklist(zero hits) andsed -n 131,142p.useObjectLabelis published from the package entry. Re-check:git show origin/main:ui/packages/i18n/src/index.ts | sed -n 85p.translatePicklistis registered forpicklist, and the list route runs the translation step. Re-check:git show origin/main:packages/spec/src/system/i18n-resolver.ts | sed -n 5915,5940p;git show origin/main:packages/rest/src/meta-item-read-gate.ts | sed -n 5061,5066p.git show origin/main:packages/rest/src/meta-item-read-gate.ts | sed -n 5403,5407p;git show origin/main:ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.tsx | grep -n "layered()".Accept-Language, so by the code its Label column is already served translated, and only the Description column has no translation. Re-check:git show origin/main:ui/packages/app-shell/src/views/metadata-admin/ResourceListPage.tsx | sed -n 697p;git show origin/main:ui/packages/auth/src/createAuthenticatedFetch.ts | sed -n 172,180p;git show origin/main:packages/spec/src/system/metadata-list-registry.ts | sed -n 83,86p. Read from code, not measured in a running app.picklists.<name>.options.<value>); the picklist item read serves the owning list only. Re-check:git show origin/main:ui/packages/app-shell/src/views/metadata-admin/previews/PicklistPreview.tsx | sed -n 24,33p;git show origin/main:packages/lint/src/i18n-walk.ts | sed -n 2060,2072p./^[a-z][a-z0-9_.]*$/), and the resolver'sresolve()goes through a dotted i18next key. Re-check:git show origin/main:packages/spec/src/data/field.zod.ts | sed -n 327,333p;git show origin/main:ui/packages/i18n/src/useObjectLabel.ts | sed -n 157,207p(resolveversuspackageAttr, which indexes directly for this reason).picklists.<name>.labeland.options. Re-check (hotcrm checkout):grep -n -A14 "^ picklists: {" src/sales/translations/zh-CN/app.ts.descriptionkey (apps, dashboards, datasets, reports, pages, forms, positions, permissions, books, packages);picklistsis the one without. Re-check:git show origin/main:packages/spec/src/system/translation.zod.ts | grep -n "description: z.string().optional()".The question
How does Studio show the reader's translation beside a picklist's name and option labels, and what happens to picklist descriptions, which have no translation key?
Options × real cost × effort
picklists.<name>.label,.options.<value>), the namespace probe gainspicklists, and the picklist page draws the translation beside the source name and beside each option, extension options includedui/share +247/−29 over 12 files, of which the reader +52 and its test +74picklists.<name>.description, read bytranslatePicklist, emitted by the i18n walk and coverageThe dev report says of B that "the list page's rows would need it per row". By premise 6 the list page already is the translated read, so neither A nor B has list-page work for names.
Published-API impact (Clause-②)
useObjectLabel()'s returned object gains two members;@object-ui/i18nexports the hook from its entry (premise 3), so the follow-up PR declaresClause-②: yes (widening),Metadata-protocol: none. Nothing is removed or renamed;useSafeFieldLabel's fallback object needs no change. It owes an L2 atTIER_DEFAULT(aClause-②: yesdeclaration alone, contract-review.md).Clause-②: no.packages/spec/src/**), soClause-②: yes (widening),Metadata-protocol: added, and its L2 is owed atCONTRACT_REVIEW_TIER.Business meaning
Four axes
packageAttris, has no such case and is pinned by one test. With B, the silent case is the extension options. For descriptions, the strict schema already refuses the undeclared key loudly, so nothing leaks meanwhile.live. The description key is one more permanent protocol key; its precedent is ten sibling groups with the same word for the same concept (premise 10).os-decision-facets
① Long-term soundness: A narrows special cases (one resolver for every label Studio annotates); B adds a per-type mechanism; C keeps the gap. The description key removes the one sibling group without it.
② Business pull: one walkthrough on HotCRM 7.1.0 hit names and options; descriptions were hit once, authoring-side only.
③ AI-error prevention: A is loud on a missing translation and must index option values directly (dotted values); B is silent on extension options; the strict schema refuses an undeclared description key today.
④ No sprawl: A = two published reader members over existing live keys; the description card = one protocol key, with ten same-word sibling precedents.
Prior rulings read: "picklist translation description", "label:needs-user-decision picklist", "useObjectLabel picklist", "picklists description translation key" → 46 / 1 / 4 / 13 hits; none rules on this question (#10292, closed, ruled on dataset labels; #25652, closed, added the positions and permissions groups as an ordinary card); ADR none; thread: none
Recommendation
A for names and option labels, and a separate spec card for
picklists.<name>.description.Derived from axis ① alone: one resolver for every translation Studio annotates is the end state, and A is the only option that reaches it and covers extension options. B is not taken: it is a second mechanism, costs a request per page and leaves extension options untranslated. C is not taken: the card's own text asks for the translation beside the source, the data and the bundle are already there, and leaving it is the gap staying open. The effort spread between A and B is under 3×; C is cheaper only by doing nothing.
Self-check: on ① alone the choice is A; do ②③④ flip it: no. They set the order only: the reader PR first, the description card on its own schedule.
This agrees with the dev's recommendation, reached from the code and not carried over. It differs in four points: the list page needs no client work for names (premise 6); the option reader must index the value directly and not through a dotted key (premise 8); B's real defect is the extension options (premise 7), not list rows; and the description card is spec and server only, with no reader added in A for a key that does not exist yet.
Risk of A: the client resolver falls back along i18next's language chain, and the server's
translatePicklistalong the deployment's declared chain, so the two can differ for a locale served through a fallback. Every existing reader on this resolver has the same property; the new ones add no new kind of risk.Confidence gaps: premise 6 is read from code and not seen in a running Studio; the Salesforce comparison is from memory; no single-key spec precedent was measured for the description card.
Technical or product
Technical for both halves; the lane or seat decides, and neither goes to the maintainer as a choice.
packageName/packageDescription, PR feat(spec,ui): a package's display name per locale — the translation bundle's packages group, read by Setup's package list and Studio's switcher #37933), which SKILL.md:223 lands under a veto window with the precedent named.positionsandpermissionsin the translation bundle #25701). SKILL.md:223 again: named precedent, veto window, its own spec card.triage-duties.md:95-104read on its face lists a public-contract change, a change across two packages and a new protocol key among the items shown to the maintainer, and SKILL.md:227 sends a dev'sneeds_decisionto the decision thread. SKILL.md:223 is the specific rule for a precedented key or export name, and this record reads it as governing. If the seat reads it the other way, the half that would go up is the description key, not the A/B/C choice.After the decision
ui/packages/i18n/src/useObjectLabel.ts(two readers, probe gainspicklists), its tests, andui/packages/app-shell/src/views/metadata-admin/previews/PicklistPreview.tsx(translation beside the name and beside each option, extension tables included, through feat(app-shell): Studio says a customizable package saves edits as a customization, links an installed app to design mode, and shows translated labels #39961'stranslatedLabel.tsxhelpers once that PR is in). Pins: a dotted option value resolves; an extension option resolves; no translation draws nothing; a bundle carrying onlypicklistsis discovered. PR declaresClause-②: yes (widening),Metadata-protocol: none; L2 atTIER_DEFAULT.picklists.<name>.descriptionintranslation.zod.ts, read bytranslatePicklist, emitted bypackages/lint/src/i18n-walk.tsand counted bypackages/cli/src/utils/i18n-coverage.ts, liveness ledger and reference docs updated. PR declaresClause-②: yes (widening),Metadata-protocol: added; L2 atCONTRACT_REVIEW_TIER. The list page then shows the translated description with no UI change; apicklistDescriptionreader for the item page is a follow-up of that card, not of step 2.Part of #39472without waiting on any of this, as the lane already recorded (7462655325).fieldOptionLabelreader has the same dotted-value exposure as premise 8 describes.Related
Issue #39472 · dev report 7461548770 · draft PR #39961 · seat knock 7462705932 on #37457 · tier-evidence blocker #39975 · lane notes 7462655325, 7462716838 · precedents PR #37933, PR #25701 (card #25652), objectui#11782 · neighbour #39536 (picklist extensions door)
objectstack-fleet commentedon Dec 6, 2026
repo:objectstack@os-steve · os-steve · session_01ADHkmRM92nyNXbcm2LJn1N
L1 at 2026-12-06T18:50Z: ACCEPT → PR #39961 comment 7462824349 (head
f53d136b); declaration-faceTIER_DEFAULTPASS → comment 7462831308.objectstack-fleet commentedon Dec 6, 2026
repo:objectstack@os-steve · os-steve · session_01ADHkmPC9UyxNHfB2SRvzsr
Left open on this card · 2026-12-06T18:52Z · before #39961 lands as
Part of #39472(L1-a ACCEPT 7462824349, TIER_DEFAULT record 7462831308)AutomationsPillar.tsx(flow header) andPermissionMatrixEditor.tsxstill showengine.studio.pkg.readonlyHint("switch to or create a writable package") on a customizable read-only package.MarketplacePackagePage.tsxand the marketplace namespace.{language}hint shows the raw language code; the kernel-package test is written twice (switcher and Overview).The zone takes the item-1 remainder, the marketplace carries and the item-6 toast label after feat(app-shell): Studio says a customizable package saves edits as a customization, links an installed app to design mode, and shows translated labels #39961 merges; the item-6 confirmation and the picklist half wait on the maintainer.
objectstack-fleet commentedon Dec 6, 2026
repo:objectstack@os-steve · os-steve · session_01ADHkmPC9UyxNHfB2SRvzsr
Claim amendment 1 to 7460453665 · 2026-12-06T19:58Z · zone ost-T · #39472 remainder after PR #39961 (merged 2026-12-06T19:17Z,
Part of); same claim, new branch and surfaceClaim: PM loop round 2 (amendment of 7460453665)
Session:
session_01ADHkmPC9UyxNHfB2SRvzsrAccount:
os-steveArea: ost-T
Branch:
claude/issue-39472-readonly-hint-restWorktree:
objectstack-issue-39472Domain:
domain:uiSeat:
repo:objectstack@os-steveFile surface:
ui/packages/app-shell/src/views/studio-design/AutomationsPillar.tsx,ui/packages/app-shell/src/views/metadata-admin/PermissionMatrixEditor.tsx(item 1's remaining places: show the existingengine.studio.pkg.customizableHinton a customizable read-only package, the gate #39961 introduced), tests beside each, one changeset. No i18n edits. Stop on breach.Container & model:
S (two call sites of an existing gate and key),mode:subagent,model: default (dispatch-gates --tier at origin/main: "no path-derived mandate"),effort: medium (S follow-up of an accepted pattern)Clause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7463837333
Premise: holds —
customizableHintis read today only byDataPillar.tsx,StudioPackageOverviewPage.tsxandStudioPackageSwitcher.tsxon origin/main (git grep -ln customizableHint); L1-a's note on ACCEPT 7462824349 named the two remaining files.Pre-claim lane:
domain:ui, zone ost-T leaseui/**Pre-claim deps: PR #39961 merged
Prior rulings read: none on item 1 (L1-a ACCEPT 7462824349, TIER_DEFAULT record 7462831308 for the pattern)
Serial constraints cleared:
check-handover.mjs --inflight --card=39472on these two files: clear. Queued, not in this claim: the marketplace carries and item 6's toast label wait onMarketplacePackagePage.tsx, held by #39881 (claim 7459682336, repo:objectstack#2), and on the i18n directory claim of #39937; item 6's confirmation and item 3's picklists wait on the maintainer.