Description
epic:#26676#1 · zhuangjianguo · session_cdb7a717def74e719988f089fbaa18ff
Filed by the record-page epic seat, part of epic #26676. The seat walked the console on main c064d3a246, with examples/app-crm as the backend, at 1440 / 1100 / 375 px, light and dark. An independent review pass then checked each finding against the code. The maintainer ruled on the reviewed list and said 「按这 6 张清单在 epic #26676 下立卡,裁决原话引在卡上。」 and 「还有刚才立的卡可以交给ui车道处理吗?」 (2026-11-02). So this card goes to the domain:ui lane queue. Priority and area:* are left to triage. Code readings below are on main 3b920f6dd0.
Ruling
The maintainer, on the contact title showing only "Ada": 「联系人标题只显示 “Ada”,不处理,这种就是元数据的bug」 (2026-11-02). The platform stays as it is, with no lint and no inference. The fix is the app's metadata.
Why this app
examples/app-crm is the accepted preview surface under #26676 ruling B. Every acceptance screenshot of the record page is taken on it, so its metadata errors show up as platform defects in reviews.
Items (each read on main)
-
Contact title.
src/objects/contact.object.tsdeclares nonameField. Itsfull_nameformula has noreturnType, soisTitleEligible(packages/spec/src/data/display-name.ts, around line 125) rejects it, and the derived title falls back tofirst_name. The title, lookups and pickers then show "Ada". Fix: declarenameField: 'full_name'and give the formulareturnType: 'text'. -
pluralLabels end in 「列表」. In
src/translations/crm.translation.ts(lines 104, 115, 126, 157, 186): 客户列表, 联系人列表, 商机列表, 线索列表, 活动列表. These become tab and panel names such as 「商机列表 4」. Use the plain noun: 客户, 联系人, 商机, 线索, 活动. -
English under zh-CN.
- Navigation: Leads, Accounts, Contacts, Opportunities, Activities.
- Fields:
crm_opportunityexpected_revenue, days_to_close, line_total and account; the lead list's Account and Assigned To. - Option values: stage options such as Prospecting, Qualification and Closed Won.
- Dashboard titles and descriptions.
Fill the zh-CN bundle so the zh preview has no English business text.
-
Declared highlightFields. Default record page: no derived highlight strip (declared highlightFields only); the stage field leaves the body when the path draws it; the owner appears once, under one word #28868 removes the derived strip. Declare a strip on account, contact, opportunity, lead and activity so the preview keeps one.
-
Lead "Assigned To" shows raw emails.
src/objects/lead.object.ts:76declaresassigned_to: Field.text, and the seed fills it with email addresses. Make it a lookup to the user object and seed user references. -
Seed ownership.
src/data/index.ts:109: the activity "Discovery Call — Bletchley Systems" is linked to Acme Corp / Ada. Link it to a Bletchley record, or rename it to match Acme. -
Dashboard copy.
src/dashboards/pipeline.dashboard.ts:129reads "Pie/donut/funnel ignorecompareTo.", and the trend chart's description mentions compareTo. These are developer notes on a user-facing face. Rewrite them in business words, and translate them.
Not in scope
- No platform change, lint or gate, per the ruling.
- The platform's own label and i18n issues are filed separately.
Acceptance
- The zh-CN preview of app-crm shows no English business text in navigation, list columns, record fields, options or dashboards.
- The tab names have no 「列表」.
- The contact title is the full name.
- The lead list shows user names under Assigned To.
pnpm --filter @objectstack/example-crmbuild and tests pass.- Screenshots of the account page, the contact page and the lead list are linked from the PR.
Activity
objectstack-fleet commentedon Nov 2, 2026
domain:ui#4 · zhuangjianguo · session_01QsR2jR7ZFkpqmm4U8S1f9y
Claim: PM loop round 8 · 2026-11-02T02:17Z
Session:
session_01QsR2jRrzBxwrREVnKhpyXn(card thread, os-dev); dispatched by seat sessionsession_01QsR2jR7ZFkpqmm4U8S1f9yAccount:
zhuangjianguoBranch:
claude/project-thread-w26whq(platform-assigned to the card thread; it can push only this branch)Worktree:
objectstack-issue-28870Domain:
domain:uiSeat:
domain:ui#4File surface:
examples/app-crm/**(objects, translations, seed data, dashboards, its tests), plus a changeset if the package publishes (stop on breach; explain in the report)Container & model: M,
mode:thread,model: default tier (no path-derived mandate),effort: defaultClause-②: no
Metadata-protocol: none
Responsibility:
the accepted preview app shows a first-name-only contact title, English business text under zh-CN, 「…列表」 tab names, raw emails under Assigned To and developer notes on a dashboard, which reviews read as platform defects | #26676 ruling B makes app-crm the preview surface; the maintainer ruled the title a metadata bug, not a platform one | every reviewer of the record-page previewThread-read: none
Premise: holds (at
origin/main45efba2a,contact.object.tsdeclares nonameField,crm.translation.tscarries five 「…列表」 pluralLabels, and no app-crm object declareshighlightFields)Serial constraints cleared: #28868 (this seat, round 8) removes the derived strip on the platform side; the two share no file
Generated by Claude Code
objectstack-fleet commentedon Nov 2, 2026
triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U
Path: none
Triage: p3 ·
domain:ui· 2026-11-02T02:59Z⛔ Not a claim.
examples/app-crm(translations, labels, seed and dashboard text). No product behaviour changes, so p3, in step with the other prose and metadata hygiene cards. The epic seat's pm state is unchanged.Generated by Claude Code
objectstack-fleet commentedon Nov 2, 2026
domain:ui#4 · zhuangjianguo · session_01QsR2jRrzBxwrREVnKhpyXn
os-dev-report
{ "issue": 28870, "status": "done", "branch": "claude/project-thread-w26whq", "pr": "https://github.com/objectstack-ai/objectstack/pull/28886", "head": "bdf244e4", "session": "session_01QsR2jRrzBxwrREVnKhpyXn", "premise_still_valid": true, "summary": "Items 1-7 done in examples/app-crm only: contact nameField full_name with returnType text; zh-CN pluralLabels are plain nouns; zh-CN bundle covers navigation by id, every field, every option, line items, the convert action, dashboard + widgets, the dataset, object descriptions, validation messages and the welcome page (os lint --i18n-strict 101 -> 0); highlightFields on account/contact/opportunity/lead/activity; lead assigned_to is Field.user and left unset in the seed (seat ruling B); the mislinked activity is renamed Discovery Call — Acme Platform Renewal; dashboard copy rewritten in business words. Bounded in-place fix: lead is_closed formula declares returnType boolean (zh page showed raw 'false').", "highlight_picks": { "crm_account": ["industry", "annual_revenue", "website"], "crm_contact": ["account", "email"], "crm_opportunity": ["account", "stage", "amount", "close_date", "probability"], "crm_lead": ["company", "status", "source", "lead_score", "assigned_to"], "crm_activity": ["type", "status", "due_date", "contact", "account"] }, "files_changed": ["examples/app-crm/src/dashboards/pipeline.dashboard.ts", "examples/app-crm/src/data/index.ts", "examples/app-crm/src/objects/account.object.ts", "examples/app-crm/src/objects/activity.object.ts", "examples/app-crm/src/objects/contact.object.ts", "examples/app-crm/src/objects/lead.object.ts", "examples/app-crm/src/objects/opportunity.object.ts", "examples/app-crm/src/translations/crm.translation.ts"], "line_budget": "216 added, 26 deleted, 8 files (under 3000: not Tier H)", "tests": "head bdf244e4 (origin/main merged): example-crm typecheck exit 0; example-crm vitest 7 files / 48 tests passed (lock VERDICT command-exit 0); os lint --i18n-strict exit 0, 0 i18n errors, 4 field-no-consumers warnings (base had 9); os validate exit 0; fresh pnpm dev:crm boot seeds 28 rows, no unresolved reference. No ablation: no tested behaviour changed (metadata/translation only).", "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at bdf244e4: 34 derived, 34 run, every exit 0; --ran reconciliation 34 accounted, 0 NOT-MEASURED. PR-body gates via GITHUB_EVENT_PATH: check-closing-keyword-parity 0, check-changeset-no-major --base origin/main 0, check-adr-0087-registration 0, check-empty-changeset 0, check-partof-closing-keyword 0; check-sdui-manifest 0. check:i18n-coverage reports app-crm improved 101 -> 0 (baseline not written down: scripts/ is outside the file surface). CI check-runs: in_progress at report time.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "deviations": [ "Item 5: no seeded user references. No sys_user row exists at seed time (dev admin minted at kernel:ready after AppPlugin.start seeds); seeding sys_user rows would close the first-visitor bootstrap sign-up under invite_only. Seat ruled B: Field.user, seed leaves it unset. Lead-list screenshot taken after assigning three leads in the UI edit form.", "In-place fix outside items 1-7: crm_lead.is_closed returnType boolean (same class as item 1, same file surface, same gates).", "zh-CN assigned_to label is 分配给, since the platform owner_id reads 负责人 on the same page.", "No changeset: example-crm is private; PR opened with skip-changeset." ], "screenshots": "/mnt/project-files/issue-28870/: zh-account-page.png, zh-contact-page.png, zh-lead-list.png (acceptance three), plus zh-lead-page, zh-opportunity-page, zh-activity-page, zh-dashboard, zh-contact-page-375, zh-account-list, zh-contact-list. Not attached to GitHub: the seat links them.", "mcp_calls": "8 — reads only: issue_read x3 (get, get_comments x2), issue_read get_labels x1 (404 on a PR number), pull_request_read get x1, get_session x1, ToolSearch loads x2 not counted; no MCP write", "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + labels leg, run 41380965047) and this os-dev-report comment via post-stamped; plus git push (not a REST write)", "open_questions": [], "out_of_scope_findings": ["carrier: seat · noted, not filed — scripts/i18n-coverage-baseline.json still records 101 for examples/app-crm (now 0); `node scripts/check-i18n-coverage.mjs --update` writes it down"] }objectstack-fleet commentedon Nov 2, 2026
domain:ui#4 · zhuangjianguo · session_01QsR2jR7ZFkpqmm4U8S1f9y
Claim amended · 2026-11-02T03:06Z · file surface widened by one line of one file; it adds to the File surface line of this seat's round 8 claim. Branch, session and declaration lines are unchanged (
Clause-②: no,Metadata-protocol: none).File surface (added):
scripts/i18n-coverage-baseline.json, theexamples/app-crm/objectstack.config.tsentry only, written bynode scripts/check-i18n-coverage.mjs --update. The ratchet is one-sided: a decrease passes, and the old count of 101 stays app-crm's ceiling until it is written down. This card takes app-crm's untranslated count from 101 to 0, so the PR writes the ceiling down to 0 and a regression cannot creep back under it.Generated by Claude Code
objectstack-fleet commentedon Nov 2, 2026
domain:ui#4 · zhuangjianguo · session_01QsR2jR7ZFkpqmm4U8S1f9y
ACCEPT · 2026-11-02T03:50Z · PR #28886 at
707dbd57, record 6568596254. Ordinary queue landing follows.Generated by Claude Code
objectstack-fleet commentedon Nov 2, 2026
domain:ui#4 · zhuangjianguo · session_01QsR2jR7ZFkpqmm4U8S1f9y
Landed · 2026-11-02T04:23Z · PR #28886 merged through the merge queue as
9a9823d9. Record: ACCEPT 6568596254 at707dbd57.9a9823d9~1)origin/main)nameField: 'full_name'inexamples/app-crm/src/objects/contact.object.tssrc/translations/crm.translation.tshighlightFields:declarations acrosssrc/objects/assigned_to: Field.userinsrc/objects/lead.object.tsscripts/i18n-coverage-baseline.jsonThe card closed through
Fixes.pm:dispatchedcomes off with this note. Accepted as recorded: ruling B forassigned_to, which is left unset in the seed. #28868 (PR #28907) lands the platform side that makes these declared strips the only strips.Generated by Claude Code