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
Units of measure R1: show a quantity with its unit label #35490
Units of measure, release R1 (ADR-0158 U7). Parent: #35339. The ADR is the governing text: ADR-0158 (merged PR #35370, 35bd360). Filed on seat 5's word, 2026-11-19.
What to build
R1 member "display of the value with its unit", mirroring ADR-0144's per-row display. A standard code gets the platform's per-locale label (2A). An org code gets its one label. A deleted org unit shows the code without a label (L1).
OI6, second half: what a unit's display default does with a stored value that has more places, given that "never exceed the field's scale" can act only at render.
Waits on the unitConfig and membership card and on the standard-unit decimals setting (#35498).
Done when
A record-mode and a fixed-mode quantity render with their unit label in grid, form and detail. A deleted org unit renders as the bare code. Decimals follow OI10's answer and L4 (the field's scale is the ceiling). ADR-0158 is amended.
Carried from PR #35581's contract review (nit N3) · 2026-11-20T04:04Z
Area: d7-D. From seat 5's split notice 7016816929 (review 7016785755): external members have no sys_unit read grant, so they cannot see organization unit labels. This card states what an external member sees for an org-unit quantity (the bare code, as for a retired unit, or a grant change) and pins it.
Carried from PR #37389 (#35498) L1 and contract review (7180149059, 7180135740) · 2026-11-26T01:48Z · area o5-D
When #35498 lands, the standard-code decimals live in sys_standard_unit_setting (no reader ships with it). This card's reader owes three things:
Select the row by organization. Under group posture a member can read several rows per code (one per organization they belong to), and under single rows carry no organization stamp; the reader picks the row for the record's organization, not the first row returned.
The L4 clamp: display uses min(unit decimals, the field's scale); nothing rounds at write (ADR-0158 L4).
Triage: lands in area:data · domain:ui · priority:p2 · pm:queue; rationale: units of measure R1 shows a quantity with its unit label. Its blockers #35489 and #35498 are closed (#35498 via PR #37389).
Triage: unblocked. pm:blocked → pm:queue. Route: area:data p2, to seat 7 or seat 5 zone o5-D (which landed #35498), and the claim stamp decides.
Claim: area o5-D round 3 · 2026-11-26T03:45Z · area:data p2 (area order 「开一个专区 ,接 data 的 p1 p2」, 2026-11-25T23:33Z). Unblocked by triage 7181887534 (route o5-D or seat 7, claim stamp decides); triage notice to seat 5 mailbox #37294 comment 7181902754.
Area: o5-D
Session: session_01Utp6CbdHk3orAeensH6EzS
Thread session: session_01Utp6CXM7nqtiQ3M9JqGAqL
Account: os-bill
Branch: claude/project-thread-yzpuwp (restarted from origin/main; its PR #37389 merged)
Worktree: the card thread's own checkout
Domain: domain:ui
Seat: repo:objectstack#5
File surface: the quantity display mirroring ADR-0144's per-row currency display: ui/packages/fields/** (the quantity renderer and its label/decimals resolution), the grid, form and detail wiring that already carries currency display (ui/packages/plugin-grid/src/**, ui/packages/plugin-form/src/**, ui/packages/plugin-detail/src/**), ui/packages/types/src/** if a type moves, ui/packages/core/src/** for a shared reader of sys_unit / sys_standard_unit_setting; packages/spec/scripts/lib/platform-catalog.ts (the sys_standard_unit_setting row, per note 7180167601 item 3); tests named for the card; root .changeset/. ⛔ docs/adr/** (ADR-0158 amendment rides weekly card #37245 as a row), ⛔ skills/**, ⛔ packages/objectql/**, ⛔ packages/platform-objects/** (objects as shipped). Stop on breach and report.
Container & model: L, mode:thread, model: default (dispatch-gates --tier: "no path-derived mandate"), effort: high
Clause-②: no
Metadata-protocol: none (display of keys already shipped: unitConfig, sys_unit, sys_standard_unit_setting; the thread re-states from its diff)
Responsibility: n/a — not a defect card (Feature, R1 member of ADR-0158 U7)
Thread-read: 7181887534
Premise: holds — blockers #35489 and #35498 closed (PR #37389 merged a0b01fab62); ADR-0158 OI8 and OI10 ruled A on #35339; L4 settled in the ADR (display default only, field scale the ceiling, nothing rounds at write). OI6's second half is re-read in the ADR's 2026-11-20 amendment before code (dispatch §2 A1).
Pre-claim lane: ui/** → domain:ui, as triage labelled it.
Pre-claim deps: none open. Hot files: #36806's card thread (this area) edits ui/packages/** form/grid/detail inline-edit surfaces; overlap-check before each push.
Serial constraints cleared: #35498 (merged); #36806 in flight, overlap-checked per push.
Scope: the card's Done-when, plus note 7180167601 (row selection by organization, L4 clamp, platform-catalog row) and comment 7030066814 (what an external member sees: the bare code, pinned). Fixes #35490.
Claim: area o5-D round 3 (re-stated) · 2026-11-26T07:50Z · the claim above unchanged, its Branch: line re-spelled for the PR-body guard's parser.
Area: o5-D
Session: session_01Utp6CbdHk3orAeensH6EzS
Thread session: session_01Utp6CXM7nqtiQ3M9JqGAqL
Account: os-bill
Branch: claude/project-thread-yzpuwp
Domain: domain:ui
Seat: repo:objectstack#5
Container & model: L, mode:thread, model: default (dispatch-gates --tier: "no path-derived mandate"), effort: high
Scope: as claimed, amended by the surface amendments on this card; PR #37449 also carries child #37471 (Fixes #37471).
Close-out · area o5-D · 2026-11-26T09:08Z
Delivered by PR #37449 (merged, f71d488d6f): a quantity shows its unit label in grid, list, detail and form, rounded at render only (ruling A on OI6: half away from zero at min(unit places, field scale); stored, totals, exports, API and MCP exact); standard unit English base names STANDARD_UNIT_NAMES in spec plus server-side messages.standardUnit<CODE> in 10 locales (ruling 「spec 基准名 + 服务端翻译」); org-scoped sys_standard_unit_setting row read; bare code for a retired or unreadable unit; unitConfig declared on FormField (Metadata-protocol: added); and the form-face unit picker (#37471, closed by the same PR). L1 ACCEPT 7186657457, contract review PASS 7186636273 (CONTRACT_REVIEW_TIER).
Remaining: ADR-0158 amendment row on #37245 (7187445064, carries the write-time over-precision follow-up item with its owner); #37431 (platform-catalog row, skills); #37472 (review follow-ups N4/N5/N7–N10). pm:dispatched removed in this stroke; the card closed as completed by the merge.
Activity
objectstack-fleet commentedon Nov 20, 2026
repo:objectstack#7 · os-tesla · session_01L9qibvMi1U7R2kBd3JbTPu
Carried from PR #35581's contract review (nit N3) · 2026-11-20T04:04Z
Area: d7-D. From seat 5's split notice 7016816929 (review 7016785755): external members have no
sys_unitread grant, so they cannot see organization unit labels. This card states what an external member sees for an org-unit quantity (the bare code, as for a retired unit, or a grant change) and pins it.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Carried from PR #37389 (#35498) L1 and contract review (7180149059, 7180135740) · 2026-11-26T01:48Z · area o5-D
When #35498 lands, the standard-code decimals live in
sys_standard_unit_setting(no reader ships with it). This card's reader owes three things:groupposture a member can read several rows per code (one per organization they belong to), and undersinglerows carry no organization stamp; the reader picks the row for the record's organization, not the first row returned.scale); nothing rounds at write (ADR-0158 L4).packages/spec/scripts/lib/platform-catalog.ts: add thesys_standard_unit_settingrow, or record why it stays out.Order of lookup (from Units of measure R1: an organization setting for how many decimal places each standard unit displays #35498's design): standard code → its
sys_standard_unit_settingrow; organization code →sys_unit.decimal_places; otherwise none.objectstack-fleet commentedon Nov 26, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: lands in area:data · domain:ui · priority:p2 ·
pm:queue; rationale: units of measure R1 shows a quantity with its unit label. Its blockers #35489 and #35498 are closed (#35498 via PR #37389).Triage: unblocked.
pm:blocked→pm:queue. Route: area:data p2, to seat 7 or seat 5 zone o5-D (which landed #35498), and the claim stamp decides.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim: area o5-D round 3 · 2026-11-26T03:45Z · area:data p2 (area order 「开一个专区 ,接 data 的 p1 p2」, 2026-11-25T23:33Z). Unblocked by triage 7181887534 (route o5-D or seat 7, claim stamp decides); triage notice to seat 5 mailbox #37294 comment 7181902754.
Area: o5-D
Session:
session_01Utp6CbdHk3orAeensH6EzSThread session:
session_01Utp6CXM7nqtiQ3M9JqGAqLAccount:
os-billBranch:
claude/project-thread-yzpuwp(restarted fromorigin/main; its PR #37389 merged)Worktree: the card thread's own checkout
Domain:
domain:uiSeat:
repo:objectstack#5File surface: the quantity display mirroring ADR-0144's per-row currency display:
ui/packages/fields/**(the quantity renderer and its label/decimals resolution), the grid, form and detail wiring that already carries currency display (ui/packages/plugin-grid/src/**,ui/packages/plugin-form/src/**,ui/packages/plugin-detail/src/**),ui/packages/types/src/**if a type moves,ui/packages/core/src/**for a shared reader ofsys_unit/sys_standard_unit_setting;packages/spec/scripts/lib/platform-catalog.ts(thesys_standard_unit_settingrow, per note 7180167601 item 3); tests named for the card; root.changeset/. ⛔docs/adr/**(ADR-0158 amendment rides weekly card #37245 as a row), ⛔skills/**, ⛔packages/objectql/**, ⛔packages/platform-objects/**(objects as shipped). Stop on breach and report.Container & model:
L,mode:thread,model: default(dispatch-gates --tier: "no path-derived mandate"),effort: highClause-②: no
Metadata-protocol: none (display of keys already shipped:
unitConfig,sys_unit,sys_standard_unit_setting; the thread re-states from its diff)Responsibility: n/a — not a defect card (Feature, R1 member of ADR-0158 U7)
Thread-read: 7181887534
Premise: holds — blockers #35489 and #35498 closed (PR #37389 merged
a0b01fab62); ADR-0158 OI8 and OI10 ruled A on #35339; L4 settled in the ADR (display default only, fieldscalethe ceiling, nothing rounds at write). OI6's second half is re-read in the ADR's 2026-11-20 amendment before code (dispatch §2 A1).Pre-claim lane:
ui/**→domain:ui, as triage labelled it.Pre-claim deps: none open. Hot files: #36806's card thread (this area) edits
ui/packages/**form/grid/detail inline-edit surfaces; overlap-check before each push.Serial constraints cleared: #35498 (merged); #36806 in flight, overlap-checked per push.
Scope: the card's Done-when, plus note 7180167601 (row selection by organization, L4 clamp, platform-catalog row) and comment 7030066814 (what an external member sees: the bare code, pinned).
Fixes #35490.5 remaining items
feat(units): serve standard unit names, round quantities at render (#…
chore(spec): regenerate api-surface after merging main (#35490)
chore(spec): record the two new standard-unit exports in export-origi…
test(components): load react-runtime at collection in the quantity fo…
fix(units): escape NBSPs in quantity tests, keep the docs example off…
feat(types): declare unitConfig on the form field face (#35490)
fix(units): name the served key in the spec jsdoc, declare the form-f…
feat(fields): the unit picker for a unit code field (#35490, #37471)
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim: area o5-D round 3 (re-stated) · 2026-11-26T07:50Z · the claim above unchanged, its
Branch:line re-spelled for the PR-body guard's parser.Area: o5-D
Session:
session_01Utp6CbdHk3orAeensH6EzSThread session:
session_01Utp6CXM7nqtiQ3M9JqGAqLAccount:
os-billBranch:
claude/project-thread-yzpuwpDomain:
domain:uiSeat:
repo:objectstack#5Container & model:
L,mode:thread,model: default(dispatch-gates --tier: "no path-derived mandate"),effort: highScope: as claimed, amended by the surface amendments on this card; PR #37449 also carries child #37471 (
Fixes #37471).chore(changeset): grade @objectstack/spec minor for the new standard-…
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Close-out · area o5-D · 2026-11-26T09:08Z
Delivered by PR #37449 (merged,
f71d488d6f): a quantity shows its unit label in grid, list, detail and form, rounded at render only (ruling A on OI6: half away from zero atmin(unit places, field scale); stored, totals, exports, API and MCP exact); standard unit English base namesSTANDARD_UNIT_NAMESin spec plus server-sidemessages.standardUnit<CODE>in 10 locales (ruling 「spec 基准名 + 服务端翻译」); org-scopedsys_standard_unit_settingrow read; bare code for a retired or unreadable unit;unitConfigdeclared onFormField(Metadata-protocol: added); and the form-face unit picker (#37471, closed by the same PR). L1 ACCEPT 7186657457, contract review PASS 7186636273 (CONTRACT_REVIEW_TIER).Remaining: ADR-0158 amendment row on #37245 (7187445064, carries the write-time over-precision follow-up item with its owner); #37431 (platform-catalog row, skills); #37472 (review follow-ups N4/N5/N7–N10).
pm:dispatchedremoved in this stroke; the card closed as completed by the merge.