You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Related-list phone card: let an object say which fields fill the card subtitle (with labels or a format) and an optional title prefix, without changing the wide table #37891
Filing gate ③ (maintainer-directed) · Source: maintainer — Irene chose to file this platform card on the hotcrm project thread's decision card (2026-11-27T09:00Z), approving the order-line card design in hotcrm#2828. · Type: Feature · Grade: left to objectstack triage.
Need
HotCRM wants an order line's phone card to read:
title: "1. Implementation Services", with the line number as a small prefix;
subtitle: "Qty 1 × Unit Price ¥2,000.00 · Discount 10%", where the discount part appears only when there is one;
amount: the line total, bottom right (see the companion defect card).
What 18.6.0 allows (measured on HotCRM 08a7451e, 390 px)
The card subtitle is the first two non-title, non-amount cells of the related list's table column order, joined with " · ", unlabelled (ObjectGrid.tsxsubtitleColumns = bodyColumns.filter(…).slice(0, 2)). Today an order line reads "2 · 2", meaning line number · quantity.
There is no card-layout setting for a related list: no card fields, amount field, subtitle format or title prefix. So the card cannot change without reordering the wide table, which the maintainer requires to stay unchanged.
An app-side text formula "summary" field is not a fix. It adds a table column, carries one language while apps ship several locale packs, and cannot follow the tenant currency.
Ask
A declarative card layout for a related list or object, for example in the object's relatedListColumns sibling or the list view, naming:
the subtitle fields, rendered with their field labels or by a small format template that uses localized labels and currency formatting, with empty parts dropped;
an optional title prefix field.
The wide table keeps its own columns. The spec contract and a generic renderer change belong to the platform; HotCRM would only declare the layout.
Who benefits: every app with line items or child lists on phones; the reader can check quantity × price = amount at a glance.
Dedupe: searched card subtitle related list, related list card labels, phone card layout (open and closed), 0 open hits. #28484 (closed) defined the one-line subtitle. #37008 (closed) added labels in the gallery path only.
Triage: lands in area:ux · domain:ui · Feature · p2 · pm:queue · size M; rationale: maintainer-directed (filed on the HotCRM project thread's decision card). An object should be able to say which fields fill a related-list phone card's subtitle, with labels or a format, and add an optional title prefix. Today the card takes the first two cells. Companion of #37890. p2 stands. Recorded 2026-11-27T09:13Z.
Decision anchor · 2026-11-28T06:13Z · drafted by the #37891 card thread from its pre-claim report (/mnt/project-files/card-37891/pre-claim-report-7605e0c9.md), posted by the seat. The card moves to needs-user-decision; no claim until it is ruled.
① Long-term soundness: A shrinks special cases (the phone card joins the one cross-surface importance role ADR-0085 already rules on); B grows them (a fourth ruled exception to ADR-0085 §2, a card-only key on relatedLists entries, and two card rules from then on: related-list cards vs every other phone list).
② Real business pull: today HotCRM order lines (crm_sales_order_line, hotcrm#2828, mock-up approved by the maintainer on the HotCRM thread 2026-11-27) and, by its own card, quote line items; every app with line items on phones reads the same unlabelled pair.
③ AI-error resistance: A adds no key, so there is nothing new to misspell; a wrong highlightFields order shows the wrong fields loudly on the card, never a silent no-op. B is a strict object (unknown keys refused) with field-name refs checked at validate, also loud, but it is one more place an AI author must remember to write.
On a phone (below 768 px) a list or related list draws each record as a card: a title (the object's nameField), one subtitle line, and an amount line with the status chip. Since #28484 the subtitle is the first two shown columns that are not the title, the status or the amount, joined with " · ", unlabelled. Since #37890 (PR #38100, merged) the amount is the first shown column that draws as money, a formula returning currency included. Both are read off the table's column order. A related list's columns are the child FK's relatedListColumns or the parent's relatedLists[].columns, and the same set draws the wide table, so the card cannot change without changing the table.
HotCRM order lines (hotcrm main 9b3a9ba) declare relatedListColumns: ['line_number','product_title','quantity','unit_price','discount','total_price'] and highlightFields: ['crm_product','quantity','unit_price','total_price']. The maintainer-approved mock-up (hotcrm#2828) wants a small line-number prefix on the title, a labelled subtitle "Qty 1 × Unit Price ¥2,000.00 · Discount 10%" (discount only when there is one) and the line total bottom right, with the wide table unchanged.
Governing text
ADR-0085 §1 (Accepted 2026-07-16): an object declares presentation intent only as object-level semantic roles consumed by every surface. highlightFields answers "which fields matter most, in priority order ([0] wins where only one fits)", with consumers listed as default list/grid columns, previews, the detail strip and "future: kanban card fields — Salesforce compact-layout semantics". The spec describe (packages/spec/src/data/object.zod.ts:4824) already says it "drives … cards".
ADR-0085 §2 admission test: a new presentation key must (1) carry business intent a machine cannot infer and (2) bind across surfaces; "if the honest name for the key contains a page name, it fails". A related-list card layout key names a surface and fails (2).
Three ruled exceptions stand, each from the maintainer's own words: relatedLists as the tab list (2026-11-20), actionLayout (2026-11-23, ruling 7101013317), pinOverview + fieldTabs (2026-11-27, records 7209632085 / 7209608089). A card key would be the fourth.
Protocol declaration
A: no spec change. Clause-②: no, Metadata-protocol: none. It changes what an existing role drives on one renderer (a behaviour change the seat should judge as such); the spec describe line of highlightFields may gain the word "phone card" (prose only).
B: Clause-②: yes, Metadata-protocol: added (a new optional key on RelatedListEntryObjectSchema, or beside the FK's relatedListColumns), plus an ADR-0085 dated note. Tier H (ADR path: mandated claude-fable-5-2 / xhigh, dispatch-gates.mjs --tier measured on 7605e0c).
Premise (re-check on main)
Measured on objectstack origin/main 7605e0c, vitest at 390 px, HotCRM order-line fields verbatim, CNY (probe: /mnt/project-files/card-37891/probe-37891.test.tsx, readings beside it):
Columns
highlightFields
Subtitle
Amount
HotCRM relatedListColumns
as shipped
1 · 2
CN¥6,000.00 (unit price; total is 10,800.00)
total_price moved before quantity
none
1 · 2
CN¥10,800.00
HotCRM relatedListColumns
total_price, quantity, unit_price, discount
1 · 2
CN¥6,000.00
Re-check: pnpm --dir ui exec vitest run --maxWorkers=2 packages/plugin-grid/src/__tests__/probe-37891.test.tsx after copying the probe in and building @object-ui/plugin-grid^.... So #37890 alone does not fix the HotCRM amount (the unit price is the first money column), the card ignores highlightFields today, and only a table reorder moves anything.
Concrete question
Where does a phone card get its subtitle fields and its amount from, so an object can make its card readable without reordering its wide table: from the object's existing importance role (A), or from a new card-only declaration on the related list (B)? And is the line-number title prefix part of this card?
Options
Option
What is built
What the customer sees
Effort
A — cards follow highlightFields
When the object declares highlightFields, the phone card takes its amount = the first money field in that list, and its subtitle = the next fields in that order (skipping title, status, the title formula's reads), at most 3 parts, empty values dropped; number, currency and percent parts carry their localized field label; the grid fetch asks for those fields as it already asks for the name field. No declaration: today's column-order rule. Title prefix: not built.
HotCRM changes one line (highlightFields: ['total_price','quantity','unit_price','discount']); the order-line card reads "Quantity 2 · Sales Price ¥6,000.00 · Discount % 10.00%" with ¥10,800.00 bottom right; the table is unchanged. Every other phone list of an object that declares highlightFields also changes (counts below). No "×" joiner; a 0% discount still shows (0 is a value, not empty).
ui lane · 1 PR (plugin-grid card renderer + tests + patch changeset), est. 150–300 lines · precedent #38100 (#37890) +130/−5 · default tier · plus one HotCRM PR re-ordering highlightFields on its objects after the release
B — card key on the related list (fourth ADR-0085 exception)
A strict optional card on a relatedLists entry (or a FK sibling of relatedListColumns): subtitle fields, amount field, title-prefix field, refs checked at validate; renderer reads it on related lists only; ADR-0085 note; Studio form row, 11 locale packs, liveness row.
Only lists that declare it change. HotCRM gets the line-number prefix and exact fields; other phone lists stay as they are; the order-line card still cannot use "×" unless a format is added too.
ui + spec · 2 PRs (spec/form/lint/ADR, then renderer), size L · no landed precedent; nearest are fieldTabs#37802 and pinOverview#37792, both in flight · Tier H, fable/xhigh on the ADR PR
C — format template string (the card's "small format template")
A per-list template such as "{quantity} × {unit_price}".
Exactly the mock-up text, per locale.
Not costed: free text the author must write per locale pack, wrong placeholders fail at runtime; not recommended.
Measured blast radius of A (rough, static: objects and grid views loaded with tsx, card simulated for each shown list surface; script and log in /mnt/project-files/card-37891/measure/, objectstack 7605e0c, hotcrm 9b3a9ba). A "surface" is one list view with columns, one related list with columns, or the derived default list of an object with no grid view.
Corpus
Objects with highlightFields
Card surfaces
Change under A (3 parts)
Change if capped at 2 parts
Amount changes
platform-objects
62 of 65
64
28 (all only gain a third part on the derived default list)
0
0
examples
11 of 33
20
15
6
0
HotCRM
38 of 38
138 (77 list views, 55 related lists, 6 default)
134
96
22
Total
222
177
102
22
So almost all of A's visible change lands on HotCRM, whose highlightFields order differs from its list views' column order on nearly every object; platform objects only gain a third subtitle part. Under A, 63 surfaces carry at least one labelled part (10 platform, 6 examples, 47 HotCRM); 3 of those (1 platform, 2 examples) change only by gaining labels, which brings A's visible change to 180 of 222. A variant that keeps the list's own columns and only ranks them by highlightFields was measured too: HotCRM 121 of 138 still change, so it buys little and is not offered.
Business meaning
A: the object says once which of its fields matter most, and every screen, the phone card included, shows those first, the way a CRM's compact layout drives its mobile cards. Like rewriting a product's spec sheet once rather than per catalogue page.
B: each related list gets its own little phone layout, set separately from the rest of the app. Like a printed insert that only one catalogue page carries.
C: a sentence with blanks to fill in, written once per language.
Four axes (business stance)
① Long-term: in two years the platform should draw a record's compact face (phone card, kanban card, hover card, picker) from a few object roles: what it is called, which fields matter most, what its money figure is. That is ADR-0085's own end state and its named reference, the CRM compact layout. A walks toward it; B adds a surface-only layer that later has to be reconciled with the kanban and hover cards.
② Pull: one approved HotCRM mock-up today (order lines; quote lines for consistency). The pull is real but narrow, and A satisfies it apart from the "×" joiner and the line-number prefix.
③ AI-error: with A, an AI author who orders highlightFields badly sees the wrong fields on the card, loudly; there is no key to get silently wrong. With B the key is strict and checked, also loud, but an AI must learn a second place where card fields live, and the two can disagree.
④ No sprawl: A adds no key; B adds a permanent one with its form, locale and liveness obligations.
Recommendation
A. Reason, from ① alone: the platform has already ruled that "which fields matter most" is declared once on the object and drives every surface, and the phone card is exactly such a surface; B would be a fourth exception for a need the existing role covers.
Not chosen: B, because it adds a per-surface layout layer ADR-0085 rejects, for a need A covers apart from the prefix and the joiner. C, because free-text templates per locale are the shape AI authors break silently.
Line-number prefix: under A it is not built unless the maintainer asks. If wanted, HotCRM can make the order line's nameField a formula ("1. Implementation Services"), which the card already draws as a title and whose parts the subtitle already skips, but the record page heading changes the same way. Under B it is part of the key.
Self-check: only ① chooses A; do ②③④ flip it: no. ② (HotCRM's 134 changed surfaces) only orders the rollout: the HotCRM re-order lands with the release that ships A.
Confidence gaps: the blast-radius count is a static simulation (views read from exported objects, status by name, masking and per-view type overrides ignored), so treat it as ±10%; whether each changed HotCRM card is better or worse was not judged one by one; the CRM compact-layout reference is ADR-0085's, not re-verified for mobile related lists. Effort ratio B:A is about 3× or more (2 L PRs at Tier H vs 1 ~150–300-line PR).
If B: the seat files the ADR-0085 dated note + spec/form/lint PR as Tier H (fable/xhigh), then the renderer PR; HotCRM declares the card on the order line and quote line after the release pin.
Either way: the line-number prefix follows the maintainer's word on it; nothing changes on desktop tables.
Maintainer ruling · 2026-11-28T06:25Z · on the anchor 7235198146. Tesla chose option A at 2026-11-28T06:25Z on the seat-thread decision card 「手机卡片(如订单明细)显示哪些字段、哪个当金额,按哪种方式定?」, label 「A 按对象的「最重要字段」」.
Ruled: A — phone cards follow the object's highlightFields. No new key. The line-number title prefix is not built (the card said: not under A unless he asks; he did not). The HotCRM re-order of highlightFields follows in its own card after this card's PR, per the anchor's 裁后执行.
The grid fetch asks for those fields as it already asks for the name field. Masked fields stay masked.
The patch changeset says that phone cards of objects declaring highlightFields change (the anchor measured 180 of 222 card surfaces, most on HotCRM). The highlightFields describe line may gain "phone card" (prose only, patch).
File surface:
ui/packages/plugin-grid/src/ObjectGrid.tsx (buildMobileCardRenderer and the fetch field list), its tests at 390 px (HotCRM order-line fixture, a no-highlightFields control, a masked-field control), one .changeset/*.md (@object-ui/plugin-grid patch). Optional: packages/spec/src/data/object.zod.ts describe line, with its own @objectstack/spec patch changeset.
Stop on breach and explain in the report.
Container & model: S, mode:thread, model: claude-opus-5-5 (default tier — dispatch-gates.mjs --tier: "no path-derived mandate"), effort: high, reason: a ruling implementation with design judgment ⇒ default tier, high
Writes: the PR only through the relay pr_create; comments, labels and bodies only through the relay write tools; report both numbers.
Clause-②: no
Metadata-protocol: none
Responsibility: on a phone, an order line's card reads "Quantity 2 · Sales Price ¥6,000.00 · Discount 10%" with the line total bottom right, once the object orders its highlightFields; the wide table is unchanged.
Thread-read: 7235312203
Premise: holds, measured on origin/main 7605e0c (probe at 390 px: subtitle 1 · 2, amount CN¥6,000.00 = unit price; the card ignores highlightFields)
Serial constraints cleared: overlap-check clean; #38169 and #37924 touch ObjectGrid.tsx and merge textually; re-run before the first push
Claim amendment (file surface), for claim 7235321485. The card's rows reach the phone card through three fetches, each of which already collects the name field on its own line, so "the grid fetch asks for those fields" covers all three:
ui/packages/plugin-grid/src/objectGridRowLoad.ts (getSelectFields): the grid's own fetch.
Added: ui/packages/plugin-list/src/ListView.tsx, the harvest beside objectui#13116's addSpeculative(declaredNameField): list-page rows.
Added: ui/packages/plugin-detail/src/RelatedList.tsx, the $select name-field arm (~2002): related-list tab rows, handed to the grid as data: { provider: 'value' }.
Each adds one line collecting highlightFields through its existing FLS / declared-field gate, with one top-level describe in its existing fetch test file. Changesets add @object-ui/plugin-list and @object-ui/plugin-detail patch. Without the two, highlightFields not shown as a column read empty on list pages and related lists and drop off the card, so the ruled card would apply on one path of three. Clause-② no and Metadata-protocol none are unchanged.
{
"issue": 37891,
"status": "done",
"branch": "claude/project-thread-0tu6wm",
"pr": "https://github.com/objectstack-ai/objectstack/pull/38214",
"session": "session_01L9qibwy7XB37e8e1P6jRJ3",
"premise_still_valid": true,
"summary": "Built as ruled (A, record 7235312203) and claimed (7235321485 + the seat's 06:31Z surface amendment). When the object declares highlightFields, ObjectGrid's phone card takes its amount from the first of them that draws as money (#37890's drawsAsMoney) and its subtitle from the next three, in order, skipping the status field and the title formula's reads, empty values dropped (0 kept), each number/currency/percent part (formula/summary by value type) under its field label; a highlighted field no column shows is drawn through the synthesized column draft (extracted from objectGridGenerateColumns as synthesizeFieldColumn, same body) and fetched beside the name field by the grid's getSelectFields, ListView's harvest and RelatedList's selectFields, through their existing gates. No highlightFields: the column-order card is unchanged. No line-number prefix, no joiner. One patch changeset for plugin-grid, plugin-list, plugin-detail.",
"tests": "New top-level describes: plugin-grid phoneCardAmount-34615.test.tsx (7 cases, HotCRM order-line fixture at 390 px: amount CN¥10,800.00 not the unit price; subtitle 'Quantity 2 · Sales Price CN¥6,000.00 · Discount % 10.00%'; text part bare; empty part dropped; unshown highlighted field drawn and in $select; CONTROL no highlightFields keeps '1 · 2' + unit price + no labels; CONTROL password field first is neither amount nor part, value never printed), plugin-list ListView.harness.test.tsx (2), plugin-detail RelatedList.selectFls-10186.test.tsx (3). The three files: Tests 168 passed (168). Full suites plugin-grid + plugin-list + plugin-detail at 5f2eee00 (head 512ad745 only edits test docblocks): Test Files 933 passed | 1 skipped (934), Tests 8897 passed | 18 skipped (8915), lock VERDICT command-exit 0. type-check plugin-grid, plugin-list, plugin-detail: exit 0 each. Ablation: the five source files restored from base 4f7aa88a tree-only (marker objectstack#37891 count 0 on disk in each), the three files run: Tests 9 failed | 159 passed (168); red = the six grid cases with highlightFields (the masked control too, on its amount half, which I had predicted green), both RelatedList projection cases (the FLS one too, predicted green: the base sends no highlighted field at all), the ListView projection case; green = the three no-highlightFields controls. Restored with git checkout HEAD: markers back (2/1/1/1/1), git diff HEAD empty, each blob equals its HEAD blob. Docblock directions corrected to the measured ones.",
"gates": "dispatch-gates --commands at 512ad745: 39 derived; all 39 run, all exit 0 (two first hit my 240 s per-gate timeout, exit 124, and were re-run to exit 0: pnpm check:query-options-erasure, pnpm --dir ui exec vitest run scripts/ = 172 files passed); --ran: '39 derived famil(ies) accounted for — 39 run, 0 NOT-MEASURED'. overlap-check before each push: VERDICT clean exit 0 (#38169, #37924 share files, merge cleanly). PR check-runs at 512ad745 (pr-state): 42 success, 13 expected skip, 0 failed, 0 pending; among them Lint & Repo Gates, TypeScript Type Check, Test Core, Lint UI, Type Check UI, Test UI (16/16 shards + aggregate), Build & E2E UI, Live E2E UI, Dogfood Regression Gate success; Build Core, Test Core shards, Dogfood shards, Build Docs skipped by path selector. mergeable_state clean.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "9 — GitHub MCP reads only: issue_read x5 (37891 get/comments, 38084, 37890 comments, hotcrm 2828 get/comments), pull_request_read x4 (38169 get, 38100 files, 38214 check runs); no write tool",
"api_writes": "3 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + assignees leg; read-back 7655 bytes sent, 7655 stored); relay issue_patch on the PR body (gates section brought to head 512ad745, trailer-signed; read-back 8149 sent, 8149 stored, identical); this os-dev-report comment on #37891 via post-stamped. git push is not a REST write. No separate final-head comment: the body's Gates section carries the final-head readings.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: hotcrm (seat) · the HotCRM highlightFields re-order (order line ['total_price','quantity','unit_price','discount'], quote line, review of the other 36 objects) per the anchor's 裁后执行; noted, not filed by me",
"carrier: none · noted in Acceptance notes: the related list's non-enlarged mobile object-gallery path is untouched (#37008 owns its labels)"
],
"deviations": [
"Worktree local branch claude/project-thread-0tu6wm-wt pushed to the thread's branch claude/project-thread-0tu6wm (the main checkout holds that branch name).",
"dev-worktree.sh pinned base 7605e0c9 at the pre-claim; the branch was fast-forwarded to origin/main 4f7aa88a before the first edit, and every reading names 4f7aa88a as base.",
"objectGridGenerateColumns.tsx is outside the claim's named files: the synthesized per-field draft was extracted there (no behaviour change for columns; the full plugin-grid suite is green) so the card can draw an unshown highlighted field with the grid's own renderer and FLS."
]
}
Activity
objectstack-fleet commentedon Nov 27, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Feature · p2 · pm:queue · size M; rationale: maintainer-directed (filed on the HotCRM project thread's decision card). An object should be able to say which fields fill a related-list phone card's subtitle, with labels or a format, and add an optional title prefix. Today the card takes the first two cells. Companion of #37890. p2 stands. Recorded 2026-11-27T09:13Z.
objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Decision anchor · 2026-11-28T06:13Z · drafted by the #37891 card thread from its pre-claim report (
/mnt/project-files/card-37891/pre-claim-report-7605e0c9.md), posted by the seat. The card moves toneeds-user-decision; no claim until it is ruled.维护者速读
os-decision-facets
Prior rulings read: highlightfields,card subtitle,phone card,relatedlistcolumns,surface hint → 1 hits; ADR-0085 §1/§2 (+ notes 2026-10-28, 2026-11-20, 2026-11-23, 2026-11-27); thread: Related-list phone card: let an object say which fields fill the card subtitle (with labels or a format) and an optional title prefix, without changing the wide table #37891 1 comment (triage, no ruling); repo: objectstack-ai/objectstack
Background
On a phone (below 768 px) a list or related list draws each record as a card: a title (the object's nameField), one subtitle line, and an amount line with the status chip. Since #28484 the subtitle is the first two shown columns that are not the title, the status or the amount, joined with " · ", unlabelled. Since #37890 (PR #38100, merged) the amount is the first shown column that draws as money, a formula returning currency included. Both are read off the table's column order. A related list's columns are the child FK's
relatedListColumnsor the parent'srelatedLists[].columns, and the same set draws the wide table, so the card cannot change without changing the table.HotCRM order lines (hotcrm main 9b3a9ba) declare
relatedListColumns: ['line_number','product_title','quantity','unit_price','discount','total_price']andhighlightFields: ['crm_product','quantity','unit_price','total_price']. The maintainer-approved mock-up (hotcrm#2828) wants a small line-number prefix on the title, a labelled subtitle "Qty 1 × Unit Price ¥2,000.00 · Discount 10%" (discount only when there is one) and the line total bottom right, with the wide table unchanged.Governing text
highlightFieldsanswers "which fields matter most, in priority order ([0] wins where only one fits)", with consumers listed as default list/grid columns, previews, the detail strip and "future: kanban card fields — Salesforce compact-layout semantics". The spec describe (packages/spec/src/data/object.zod.ts:4824) already says it "drives … cards".relatedListsas the tab list (2026-11-20),actionLayout(2026-11-23, ruling 7101013317),pinOverview+fieldTabs(2026-11-27, records 7209632085 / 7209608089). A card key would be the fourth.Protocol declaration
Clause-②: no,Metadata-protocol: none. It changes what an existing role drives on one renderer (a behaviour change the seat should judge as such); the spec describe line ofhighlightFieldsmay gain the word "phone card" (prose only).Clause-②: yes,Metadata-protocol: added(a new optional key onRelatedListEntryObjectSchema, or beside the FK'srelatedListColumns), plus an ADR-0085 dated note. Tier H (ADR path: mandated claude-fable-5-2 / xhigh,dispatch-gates.mjs --tiermeasured on 7605e0c).Premise (re-check on main)
Measured on objectstack origin/main 7605e0c, vitest at 390 px, HotCRM order-line fields verbatim, CNY (probe: /mnt/project-files/card-37891/probe-37891.test.tsx, readings beside it):
1 · 21 · 21 · 2Re-check:
pnpm --dir ui exec vitest run --maxWorkers=2 packages/plugin-grid/src/__tests__/probe-37891.test.tsxafter copying the probe in and building@object-ui/plugin-grid^.... So #37890 alone does not fix the HotCRM amount (the unit price is the first money column), the card ignoreshighlightFieldstoday, and only a table reorder moves anything.Concrete question
Where does a phone card get its subtitle fields and its amount from, so an object can make its card readable without reordering its wide table: from the object's existing importance role (A), or from a new card-only declaration on the related list (B)? And is the line-number title prefix part of this card?
Options
highlightFieldshighlightFields, the phone card takes its amount = the first money field in that list, and its subtitle = the next fields in that order (skipping title, status, the title formula's reads), at most 3 parts, empty values dropped; number, currency and percent parts carry their localized field label; the grid fetch asks for those fields as it already asks for the name field. No declaration: today's column-order rule. Title prefix: not built.highlightFields: ['total_price','quantity','unit_price','discount']); the order-line card reads "Quantity 2 · Sales Price ¥6,000.00 · Discount % 10.00%" with ¥10,800.00 bottom right; the table is unchanged. Every other phone list of an object that declareshighlightFieldsalso changes (counts below). No "×" joiner; a 0% discount still shows (0 is a value, not empty).highlightFieldson its objects after the releasecardon arelatedListsentry (or a FK sibling ofrelatedListColumns): subtitle fields, amount field, title-prefix field, refs checked at validate; renderer reads it on related lists only; ADR-0085 note; Studio form row, 11 locale packs, liveness row.fieldTabs#37802 andpinOverview#37792, both in flight · Tier H, fable/xhigh on the ADR PRMeasured blast radius of A (rough, static: objects and grid views loaded with tsx, card simulated for each shown list surface; script and log in /mnt/project-files/card-37891/measure/, objectstack 7605e0c, hotcrm 9b3a9ba). A "surface" is one list view with columns, one related list with columns, or the derived default list of an object with no grid view.
So almost all of A's visible change lands on HotCRM, whose
highlightFieldsorder differs from its list views' column order on nearly every object; platform objects only gain a third subtitle part. Under A, 63 surfaces carry at least one labelled part (10 platform, 6 examples, 47 HotCRM); 3 of those (1 platform, 2 examples) change only by gaining labels, which brings A's visible change to 180 of 222. A variant that keeps the list's own columns and only ranks them byhighlightFieldswas measured too: HotCRM 121 of 138 still change, so it buys little and is not offered.Business meaning
Four axes (business stance)
highlightFieldsbadly sees the wrong fields on the card, loudly; there is no key to get silently wrong. With B the key is strict and checked, also loud, but an AI must learn a second place where card fields live, and the two can disagree.Recommendation
A. Reason, from ① alone: the platform has already ruled that "which fields matter most" is declared once on the object and drives every surface, and the phone card is exactly such a surface; B would be a fourth exception for a need the existing role covers.
Not chosen: B, because it adds a per-surface layout layer ADR-0085 rejects, for a need A covers apart from the prefix and the joiner. C, because free-text templates per locale are the shape AI authors break silently.
Line-number prefix: under A it is not built unless the maintainer asks. If wanted, HotCRM can make the order line's nameField a formula ("1. Implementation Services"), which the card already draws as a title and whose parts the subtitle already skips, but the record page heading changes the same way. Under B it is part of the key.
Self-check: only ① chooses A; do ②③④ flip it: no. ② (HotCRM's 134 changed surfaces) only orders the rollout: the HotCRM re-order lands with the release that ships A.
Confidence gaps: the blast-radius count is a static simulation (views read from exported objects, status by name, masking and per-view type overrides ignored), so treat it as ±10%; whether each changed HotCRM card is better or worse was not judged one by one; the CRM compact-layout reference is ADR-0085's, not re-verified for mobile related lists. Effort ratio B:A is about 3× or more (2 L PRs at Tier H vs 1 ~150–300-line PR).
After the ruling
Clause-②: no,Metadata-protocol: none, default tier, effort high,mode:threadin this card thread). One PR: plugin-grid card renderer readshighlightFieldsfor the amount and subtitle (at most 3 parts, labels on number/currency/percent parts, empty dropped), the grid fetch adds those fields, tests at 390 px (HotCRM order-line fixture + a no-highlightFields control + a masked-field control), patch changeset whose note says phone cards of objects withhighlightFieldschange. Then a HotCRM card (Blocked-by Related-list phone card: let an object say which fields fill the card subtitle (with labels or a format) and an optional title prefix, without changing the wide table #37891, restart at the release pin) re-ordershighlightFieldson the order line and quote line, and reviews the other 36 objects' order so their phone cards stay sensible. hotcrm#2828's restart line is updated by its seat: the order line needs only thehighlightFieldschange.Related
fieldTabs), 记录页布局开关:对象新键 pinOverview,控制概览在宽屏整页是否钉到左栏 #37792 (pinOverview).objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Maintainer ruling · 2026-11-28T06:25Z · on the anchor 7235198146. Tesla chose option A at 2026-11-28T06:25Z on the seat-thread decision card 「手机卡片(如订单明细)显示哪些字段、哪个当金额,按哪种方式定?」, label 「A 按对象的「最重要字段」」.
Ruled: A — phone cards follow the object's
highlightFields. No new key. The line-number title prefix is not built (the card said: not under A unless he asks; he did not). The HotCRM re-order ofhighlightFieldsfollows in its own card after this card's PR, per the anchor's 裁后执行.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Claim: PM loop round 1
Session:
session_01L9qibyUSf2nKJWW6qBemSUThread session:
session_01L9qibwy7XB37e8e1P6jRJ3Account:
os-teslaBranch:
claude/project-thread-0tu6wmWorktree:
objectstack-issue-37891Domain:
uiArea:
o3-ux(area:ux p2, a seat card thread)Seat:
repo:objectstack#3Seat rulings: the maintainer's ruling above (A). Built as the anchor's 裁后执行 "If A" says:
highlightFields, the phone card's amount = the first field in that list that draws as money (Phone grid card: the amount slot ignores a formula column returning currency, so an order line's card shows its unit price instead of its total #37890'sdrawsAsMoney); the subtitle = the following fields in that order, skipping title, status and the title formula's reads, at most 3 parts, empty values dropped (0 is a value); number, currency and percent parts carry their localized field label. No declaration: today's column-order rule. No line-number prefix, no "×" joiner.highlightFieldschange (the anchor measured 180 of 222 card surfaces, most on HotCRM). ThehighlightFieldsdescribe line may gain "phone card" (prose only, patch).File surface:
ui/packages/plugin-grid/src/ObjectGrid.tsx(buildMobileCardRendererand the fetch field list), its tests at 390 px (HotCRM order-line fixture, a no-highlightFields control, a masked-field control), one.changeset/*.md(@object-ui/plugin-gridpatch). Optional:packages/spec/src/data/object.zod.tsdescribe line, with its own@objectstack/specpatch changeset.Stop on breach and explain in the report.
Container & model:
S,mode:thread,model: claude-opus-5-5 (default tier — dispatch-gates.mjs --tier: "no path-derived mandate"),effort: high, reason: a ruling implementation with design judgment ⇒ default tier, highWrites: the PR only through the relay
pr_create; comments, labels and bodies only through the relay write tools; report both numbers.Clause-②: no
Metadata-protocol: none
Responsibility: on a phone, an order line's card reads "Quantity 2 · Sales Price ¥6,000.00 · Discount 10%" with the line total bottom right, once the object orders its
highlightFields; the wide table is unchanged.Thread-read: 7235312203
Premise: holds, measured on origin/main 7605e0c (probe at 390 px: subtitle
1 · 2, amount CN¥6,000.00 = unit price; the card ignoreshighlightFields)Serial constraints cleared:
overlap-check clean; #38169 and #37924 touch ObjectGrid.tsx and merge textually; re-run before the first pushobjectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Claim amendment (file surface), for claim 7235321485. The card's rows reach the phone card through three fetches, each of which already collects the name field on its own line, so "the grid fetch asks for those fields" covers all three:
ui/packages/plugin-grid/src/objectGridRowLoad.ts(getSelectFields): the grid's own fetch.ui/packages/plugin-list/src/ListView.tsx, the harvest beside objectui#13116'saddSpeculative(declaredNameField): list-page rows.ui/packages/plugin-detail/src/RelatedList.tsx, the$selectname-field arm (~2002): related-list tab rows, handed to the grid asdata: { provider: 'value' }.Each adds one line collecting
highlightFieldsthrough its existing FLS / declared-field gate, with one top-level describe in its existing fetch test file. Changesets add@object-ui/plugin-listand@object-ui/plugin-detailpatch. Without the two,highlightFieldsnot shown as a column read empty on list pages and related lists and drop off the card, so the ruled card would apply on one path of three. Clause-② no and Metadata-protocol none are unchanged.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibwy7XB37e8e1P6jRJ3
os-dev-report
{ "issue": 37891, "status": "done", "branch": "claude/project-thread-0tu6wm", "pr": "https://github.com/objectstack-ai/objectstack/pull/38214", "session": "session_01L9qibwy7XB37e8e1P6jRJ3", "premise_still_valid": true, "summary": "Built as ruled (A, record 7235312203) and claimed (7235321485 + the seat's 06:31Z surface amendment). When the object declares highlightFields, ObjectGrid's phone card takes its amount from the first of them that draws as money (#37890's drawsAsMoney) and its subtitle from the next three, in order, skipping the status field and the title formula's reads, empty values dropped (0 kept), each number/currency/percent part (formula/summary by value type) under its field label; a highlighted field no column shows is drawn through the synthesized column draft (extracted from objectGridGenerateColumns as synthesizeFieldColumn, same body) and fetched beside the name field by the grid's getSelectFields, ListView's harvest and RelatedList's selectFields, through their existing gates. No highlightFields: the column-order card is unchanged. No line-number prefix, no joiner. One patch changeset for plugin-grid, plugin-list, plugin-detail.", "tests": "New top-level describes: plugin-grid phoneCardAmount-34615.test.tsx (7 cases, HotCRM order-line fixture at 390 px: amount CN¥10,800.00 not the unit price; subtitle 'Quantity 2 · Sales Price CN¥6,000.00 · Discount % 10.00%'; text part bare; empty part dropped; unshown highlighted field drawn and in $select; CONTROL no highlightFields keeps '1 · 2' + unit price + no labels; CONTROL password field first is neither amount nor part, value never printed), plugin-list ListView.harness.test.tsx (2), plugin-detail RelatedList.selectFls-10186.test.tsx (3). The three files: Tests 168 passed (168). Full suites plugin-grid + plugin-list + plugin-detail at 5f2eee00 (head 512ad745 only edits test docblocks): Test Files 933 passed | 1 skipped (934), Tests 8897 passed | 18 skipped (8915), lock VERDICT command-exit 0. type-check plugin-grid, plugin-list, plugin-detail: exit 0 each. Ablation: the five source files restored from base 4f7aa88a tree-only (marker objectstack#37891 count 0 on disk in each), the three files run: Tests 9 failed | 159 passed (168); red = the six grid cases with highlightFields (the masked control too, on its amount half, which I had predicted green), both RelatedList projection cases (the FLS one too, predicted green: the base sends no highlighted field at all), the ListView projection case; green = the three no-highlightFields controls. Restored with git checkout HEAD: markers back (2/1/1/1/1), git diff HEAD empty, each blob equals its HEAD blob. Docblock directions corrected to the measured ones.", "gates": "dispatch-gates --commands at 512ad745: 39 derived; all 39 run, all exit 0 (two first hit my 240 s per-gate timeout, exit 124, and were re-run to exit 0: pnpm check:query-options-erasure, pnpm --dir ui exec vitest run scripts/ = 172 files passed); --ran: '39 derived famil(ies) accounted for — 39 run, 0 NOT-MEASURED'. overlap-check before each push: VERDICT clean exit 0 (#38169, #37924 share files, merge cleanly). PR check-runs at 512ad745 (pr-state): 42 success, 13 expected skip, 0 failed, 0 pending; among them Lint & Repo Gates, TypeScript Type Check, Test Core, Lint UI, Type Check UI, Test UI (16/16 shards + aggregate), Build & E2E UI, Live E2E UI, Dogfood Regression Gate success; Build Core, Test Core shards, Dogfood shards, Build Docs skipped by path selector. mergeable_state clean.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "9 — GitHub MCP reads only: issue_read x5 (37891 get/comments, 38084, 37890 comments, hotcrm 2828 get/comments), pull_request_read x4 (38169 get, 38100 files, 38214 check runs); no write tool", "api_writes": "3 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + assignees leg; read-back 7655 bytes sent, 7655 stored); relay issue_patch on the PR body (gates section brought to head 512ad745, trailer-signed; read-back 8149 sent, 8149 stored, identical); this os-dev-report comment on #37891 via post-stamped. git push is not a REST write. No separate final-head comment: the body's Gates section carries the final-head readings.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: hotcrm (seat) · the HotCRM highlightFields re-order (order line ['total_price','quantity','unit_price','discount'], quote line, review of the other 36 objects) per the anchor's 裁后执行; noted, not filed by me", "carrier: none · noted in Acceptance notes: the related list's non-enlarged mobile object-gallery path is untouched (#37008 owns its labels)" ], "deviations": [ "Worktree local branch claude/project-thread-0tu6wm-wt pushed to the thread's branch claude/project-thread-0tu6wm (the main checkout holds that branch name).", "dev-worktree.sh pinned base 7605e0c9 at the pre-claim; the branch was fast-forwarded to origin/main 4f7aa88a before the first edit, and every reading names 4f7aa88a as base.", "objectGridGenerateColumns.tsx is outside the claim's named files: the synthesized per-field draft was extracted there (no behaviour change for columns; the full plugin-grid suite is green) so the card can draw an unshown highlighted field with the grid's own renderer and FLS." ] }