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
Cross-currency pick follow-ups: no note on a re-pick over a filled cell, an unbounded opening wait, record forms outside the gate, and a code-plus-amount pick #36412
Follow-up from #36249 (PR #36351, a lookup pick stops copying a price across currencies). Found by the L2 record 7077947187 on PR #36351 (S2, S3, S4), all graded non-blocking and carried here. Filed by the seat. Parent: #36249.
What happens
A re-pick over a filled cell says nothing (S2). The withheld note shows only while the target is empty. On a re-pick over a filled cell (a same-named copy, or overwrite: true), the old product's price stays under the new product with no note, while the describes say the pick "says why".
The opening fill can wait for ever (S3).followedParentPending in LookupField.tsx never clears if the parent read fails, the source has no findOne, or no parent object is stamped. Then no pair fills on opening (description included) and nothing is said. Before fix(fields): a pick leaves an amount in another currency empty and says why #36351 the opening fill ran.
A record form outside gateFormFields still copies across currencies (S4). It carries no target stamp, so the rule does not reach it. The dev noted this and did not file it.
A pick that fills a code field and its amount together withholds the amount (S5 of L2 7081121014). A target's currency is read on the line or record as it stood before the pick. Repro, places and done-when: comment 7081194132.
To do
Say why on a re-pick over a filled cell too, or narrow the describes to "an empty target".
Bound the pending wait: clear it when the parent read settles, fails or cannot run, and fill what does not depend on currency.
Stamp the target on every record-form host, or list the hosts that keep the old behaviour in the describe.
Judge an amount against the line or record with this pick's own writes to the code field applied (gridAutofillCurrency in GridFieldWidget.tsx, currencyFor in LookupField.tsx).
Triage: area, pm:blocked and p2 stand as filed; rationale: area:ux · Bug · follow-ups of the cross-currency pick (#36249): no note on a re-pick over a filled cell, an unbounded opening wait, and a record-side gap. Graded non-blocking on the parent PR · size S.
Item 4, added from the #36351 delta L2 (S5, comment 7081121014), at the seat's request. A target's currency is read on the line or record as it stood before the pick, so a pick that fills a code field and its amount together withholds the amount.
Repro: a product has a currency_code field and a unit_price in record mode over it, and the line is shaped the same way. On a fresh line, the grid's same-named copy writes currency_code, then judges unit_price against a line that holds no code yet. The price is withheld, and the note says no currency is chosen, right beside the code the same pick just wrote. Before fix(fields): a pick leaves an amount in another currency empty and says why #36351 both values copied.
Where: gridAutofillCurrency in ui/packages/fields/src/widgets/grid-field/GridFieldWidget.tsx gets the row before the patch. currencyFor in ui/packages/fields/src/widgets/LookupField.tsx reads the record being edited the same way for declared pairs.
Done when: an amount is judged against the line or record with this pick's own writes to the code field applied, pinned through the grid and through ObjectForm.
changed the title [-]Cross-currency pick follow-ups: no note on a re-pick over a filled cell, an unbounded opening wait, and record forms outside the gate[/-][+]Cross-currency pick follow-ups: no note on a re-pick over a filled cell, an unbounded opening wait, record forms outside the gate, and a code-plus-amount pick[/+]on Nov 22, 2026
One more item for this card, from PR #36351's delta review on head 9ac9c94 (S7 closed). This is not a defect of #36351: a pick is judged once, at the pick. If a price is copied under USD and the record's code is then changed to EUR in the same edit, the copied price stays. A withheld note also keeps the code it was judged under. This holds on all three hosts, and for a hand-typed price too. When this card bounds the currency rules, decide whether a code change re-judges the filled amounts or shows a note. Also N9: the record-page editor now re-renders on every keystroke in any record field. That is correct and not measured, so measure it if a slowdown shows.
Addendum for this card's follow-up set (found by the #36321 card thread, PR #36578, measured on its head b37d813a5): on a New Invoice whose header currency is still entirely unset, a product picked on a line leaves Unit Price empty with the "no currency is chosen here yet" note. This is the safe direction (no foreign amount is copied into the home currency), and PR #36578 restores the case where the header shows a currency (the picker's trigger now carries its code). Folded here rather than filed alone, as one more "pick before the gate can tell the currency" case; the seat holding this card decides whether it belongs in scope.
Unblock · 2026-11-23T12:24Z: this card's only Blocked-by:, #36351, closed at 2026-11-22T22:55Z (merged or completed). The pm:blocked label was stale, so the card goes back to pm:queue. The grade is unchanged. Whoever picks it up re-reads the premise on a base that contains #36351.
Release · 2026-11-24T09:32Z · area ux-B: items 1–4 are done in PR #36918, which merged at 2026-11-24T09:32Z (merge commit 4f19091997f67617cfdf48b5f7051e7bf86725de, L1 ACCEPT 7127057550). The card stays open for the ruling item and goes back to pm:queue. The ux-B claim (7124961299) ends here because the ruling item is p2, and the maintainer's priority ruling (2026-11-24T08:53Z, relayed by the seat) puts ux capacity on the Studio epic #36890 and on area:ux p1 cards.
⚠️ Maintainer question first: ask this before building
Ruling 7118795825 (「保留金额并提示」) does not settle one visible case. Suppose a pick's amount was withheld because the currencies differed, and the target is still empty. Then, in the same edit, the record's currency changes to the picked amount's own currency. What should the refreshed withheld note show?
A. Drop the note. The cell stays empty.
B. Keep the note, naming the picked amount and saying the record is now in that currency.
C. Fill the empty cell.
The #36918 dev and ux-B both recommend B. It keeps the picked price visible without writing a value the ruling did not order. C goes against the spirit of rule 1.
What remains: the ruling item, verbatim scope from 7118795825
A currency change in the same edit never changes or clears a filled amount.
A withheld value now records held (what its target held at the pick), and withheldStillStands keeps the note while the target still holds that value.
judgePickWrites judges one pick's writes together. amountCurrencyOf(…, writes) applies the pick's own code write.
useFollowedParentRead reports none / pending / read / unread. An unread parent withholds with reason targetCurrencyUnread.
L1 nit N1 is open for whoever comes next: the "no parent object" and "answered no row" arms of unread have no pin of their own.
Item 3 was closed by measurement. Every record-form host already stamps (listed in the recordFormStamp.ts header). The standalone form node in @object-ui/components is the one gap, and it went to triage as its own card (mailbox pm:mailbox — triage#1 · os-warren #36743, comment 7127028135).
Size
Items 1–4 came to 714 lines. Under the per-card 3,000-line rule, this card's PRs together must stay under 3,000, or each of its PRs is Tier H.
No local branch is held. #36918's branch is merged.
Ruled: B · 2026-11-25T09:16Z · by the maintainer, in seat repo:objectstack#4's session. Verbatim: 「#37257 B、#37230 A、#37236 B、#36412 B」.
This answers the open question under ruling 7118795825 (「保留金额并提示」, item 3). It concerns a withheld cross-currency pick whose note is already shown, when in the same edit the record's currency changes to the pick's own currency.
The note now says the record is in that currency and the pick can be re-picked to fill it. For example: "the record is now USD; pick again to fill USD 100".
A hand-typed amount still gets no note.
With items 1–4 landed by #36918, this is the last open item on the card. It is ready for dispatch and goes to zone a4-C.
Claim: PM loop round 1 · the ruling item (7118795825) plus its branch B (7158109013); items 1–4 landed in PR #36918
Session: session_01QSeKYnagJvGbCtNg2PhvgW
Account: os-justin
Branch: claude/issue-36412-currency-change-notes
Worktree: objectstack-issue-36412
Domain: domain:ui
Seat: repo:objectstack#4
Area: a4-C (named for this zone by the seat)
Epic: none
File surface: ui/packages/fields/src/widgets/LookupField.tsx and ui/packages/fields/src/widgets/grid-field/GridFieldWidget.tsx (the cross-currency note family: the pick-copied amount note, the withheld note's refresh on a same-edit currency change, branch B), the fields helpers they call (GridField.ts, planDeclaredLookupAutofill and the withheld/held helpers), the record-form hosts in ui/packages/plugin-form/src/** only where the record's current currency must reach the note, the console/fields i18n packs for any new note string (all locale packs, key parity), their tests, .changeset/*. Stop on breach; explain in the report.
Container & model: M, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: high
Clause-②: yes (widening)
Metadata-protocol: none
Responsibility: platform UI code in objectstack (a same-edit currency change leaves pick-copied amounts unexplained, and a withheld note does not follow the record's new currency) | none | users editing quotes, orders and invoices whose lines copy prices from products in another currency
Thread-read: 7158109013
Premise: holds. Measured on origin/main: no note names the currency an amount was copied under, and nothing re-reads a shown withheld note when the record's currency changes. withheldStillStands (LookupField.tsx:2464, GridFieldWidget.tsx:1738) keeps a withheld note only while the target holds its value, as #36918 left it (release 7127574237). The ruling item 7118795825's four points are not built; the dev re-measures point 1 (no same-edit change or clear of a filled amount) before code. Size budget: #36918 used 714 lines, and this card's PRs must total under 3,000.
Serial constraints cleared: open-PR search for LookupField / GridFieldWidget finds #37264 (fill-in dialog option visibleWhen; fields package). overlap-check before the first push decides, and a textual conflict with #37264 or any sister PR is stop-and-report.
Pre-claim lane: domain:ui; every path is under ui/**.
Pre-claim deps: Blocked-by: #36351, closed; the maintainer's question on branch B is answered (7158109013).
Prior rulings read:
the maintainer's ruling 7118795825 (「保留金额并提示」: filled amounts are never changed or cleared by a same-edit currency change; a pick-copied amount gets a note naming its copied-under and current currency; a withheld note refreshes; a hand-typed amount gets none);
7158109013, branch B (the withheld note stays, the cell stays empty, and the note says the record is now in that currency and the user can re-pick);
{
"issue": 36412,
"status": "done",
"branch": "claude/issue-36412-currency-change-notes",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37284",
"head": "4821485324",
"session": "session_01QSeKYnagJvGbCtNg2PhvgW",
"premise_still_valid": true,
"summary": "Built ruling 7118795825 (「保留金额并提示」) and branch B 7158109013 on the grid (GridFieldWidget) and the record form (LookupField with declared pairs). Point 1 was measured on main's source before any code: a same-edit currency change already changes and clears no amount. This PR adds no write and pins point 1 on both hosts. judgePickWrites now records every amount it copies as CopiedAutofill, with `under` (the target's code at the write). Each host keeps these beside the withheld values and judges both against the record's currency as it is when drawn. A copied amount the target still holds gets 'X was copied as $100.00, but the record is now in EUR' (copiedAutofillNow). A shown withheld note is judged again by crossCurrencyRefusal (withheldAutofillNow). When the record turns to the picked amount's own currency, the note takes the reason nowSameCurrency, stays, and says to pick again; the cell stays empty. A hand-typed amount, or one typed over a copied amount, gets no note. Two new lookup.* sentences in all 11 packs plus FIELD_DEFAULTS. One changeset, fields and i18n patch.",
"tests": "At 482148532 under os-verify-lock: vitest packages/fields/ packages/plugin-form/ packages/i18n/ gives Test Files 686 passed, 1 skipped (687), Tests 9840 passed, 21 skipped (9861), VERDICT command-exit 0. type-check of fields, plugin-form and i18n exit 0 after the closure build; both pin files are in tsconfig.test.json (--listFiles 1 hit each). New pins: ObjectForm 4 tests and GridField 5 tests ('-t ruling': 9 passed). Point 1 measured on main: the 5 src files were restored to 057cedfa9b6 in the tree only, giving 7 failed, 2 passed. Both hand-typed pins passed. The copied pins failed only on the note line after their amount assertion (ObjectForm:745, GridField:641). Restored with git checkout HEAD; git diff HEAD empty. Ablations (ablation-replace, src alias, each restored to HEAD blob 18535d11faef): no refresh ('if (!now) return item;' becomes 'return item;'): 5 failed, 4 passed. No copied note: 3 failed, 6 passed. Typed-over still noted (sameValue check removed): 3 failed, 6 passed. Point 1 has no implementing line to ablate.",
"gates": "dispatch-gates --commands at 482148532: 41 derived, 41 run, all exit 0. ui vitest scripts/ ran under the lock: Test Files 172 passed, 2 skipped; Tests 5130 passed, 2 skipped. --ran with exit codes: 41 derived, 41 run, 0 NOT-MEASURED, 0 UNRUN, exit 0. ui check:i18n-keys, check:i18n-drift, check:i18n-dead-keys and check:new-line-citations: exit 0 (0 new citations). overlap-check VERDICT clean exit 0 before each push and after fetch against origin/main 622f3985fe plus 5 sharing PR heads; --pr=37264 merges cleanly. PR check-runs at 4821485324 when this report was written: 17 in_progress, 5 skipped, 0 failing. CI verdict in_progress.",
"dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm (Clause-②: no)",
"line_budget": "538 changed lines (+502/-36, 19 files); with #36918's 714 the card totals 1252, under 3000",
"mcp_calls": "0",
"api_writes": "2 REST writes plus git pushes. (1) relay pr_create via POST /repos/objectstack-ai/objectstack/dispatches, executed as POST /repos/objectstack-ai/objectstack/pulls and POST /repos/objectstack-ai/objectstack/issues/37284/assignees. (2) this os-dev-report comment, POST /repos/objectstack-ai/objectstack/issues/36412/comments. git push x3 (the empty branch probe, wip, changeset).",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none. Branch B over a filled target: a declared pair without overwrite does not replace an earlier value on a pick again of the same record (the spec's overwrite rule), so 'pick again' holds there only after the cell is cleared. The ruling's empty-cell case is what is pinned. Noted in Acceptance notes, not filed.",
"carrier: none. A copied amount whose record currency becomes unset or unreadable gets no note (no current code to name). Noted in Acceptance notes."
],
"deviations": "Clause-② measured no: no packages/spec, no metadata. The published @object-ui/fields surface gains exports, widens WithheldAutofill.reason, and adds a required LookupAutofillPlan.copied; git grep finds LookupAutofillPlan only inside ui/packages/fields (6 hits, 2 files). Pins and ablations ran at wip 10c8d81902, whose implementation files are byte-identical to head (the head commit adds the changeset only).",
"Dev-effort": "high",
"Rounds": 1
}
{
"issue": 36412,
"status": "done",
"branch": "claude/issue-36412-currency-change-notes",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37284",
"head": "a602513471",
"session": "session_01QSeKYnagJvGbCtNg2PhvgW",
"premise_still_valid": true,
"summary": "Rework round for the seat's Clause-② finding, route (a). LookupAutofillPlan.copied is now optional (copied?: CopiedAutofill[]). judgePickWrites leaves it out when a pick copied no amount under a judged currency, and every in-package reader treats absent as none: LookupField's two noteWithheld calls, GridFieldWidget's pick and planLookupAutofill's pass-through. A new pin asserts a plan with no copied amount carries no `copied` key. The declaration is now Clause-②: yes (widening), in both the changeset and the PR body. The widening names the new exports withheldAutofillNow, copiedAutofillNow, copiedAutofillMessage and the type CopiedAutofill, the optional LookupAutofillPlan.copied, and the reason nowSameCurrency added to the WithheldAutofill.reason union. Metadata-protocol: none stands. Route (b) is not taken: nothing needs copied to be required. Behaviour is unchanged from round 1.",
"tests": "At a602513471 under os-verify-lock: vitest packages/fields/ packages/plugin-form/ packages/i18n/ gives Test Files 686 passed, 1 skipped (687), Tests 9840 passed, 21 skipped (9861), VERDICT command-exit 0. type-check of fields, plugin-form and i18n exit 0 after rebuilding the dependency closure in the recreated worktree. Ablations of the reworked lines (ablation-replace, src alias, each restored to HEAD blob e96dadd3fbba): with copied always present, 1 failed, 8 passed (the absent-means-none pin); with no copied note, 3 failed, 6 passed (both hosts plus the pure pin). The round 1 refresh and typed-over ablations touch lines this round did not change, so they were not re-run.",
"gates": "dispatch-gates --commands at a602513471: the same 41 as round 1, all exit 0, including ui vitest scripts/ (172 files passed, 2 skipped; 5130 tests passed). --ran with exit codes: 41 derived, 41 run, 0 NOT-MEASURED, 0 UNRUN, exit 0. check-adr-0087-registration and check-changeset-no-major pass on the yes (widening) changeset. overlap-check after fetch: origin/main dfdebfadd5 plus 4 sharing PR heads clean, VERDICT clean exit 0, which gated the one push (4821485324..a602513471). --pr=37264: merges cleanly. PR check-runs at a602513471 when this report was written: 20 in_progress, 5 success, 15 skipped, 0 failing. CI verdict: in_progress.",
"dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm (Clause-②: yes (widening))",
"line_budget": "547 changed lines (+511/-36, 19 files); with #36918's 714 the card totals 1261, under 3000",
"mcp_calls": "0",
"api_writes": "2 REST writes this round plus 1 git push. (1) PR body via post-stamped --body=37284, a relay PATCH /repos/objectstack-ai/objectstack/issues/37284. Read-back: 12688 bytes, identical; signature on the first line, 'Fixes #36412' on line 3. --ack-through was not needed: the PR has zero comments, and the tool's unread check said there was nothing to acknowledge. (2) this follow-up os-dev-report, POST /repos/objectstack-ai/objectstack/issues/36412/comments. git push x1.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none. Unchanged from round 1: branch B over a filled target with a non-overwrite declared pair, and a copied amount whose currency becomes unset. Both are in Acceptance notes and not filed."
],
"deviations": "The lock was not acquired three times (exit 99, NOT MEASURED) while a dogfood run in objectstack-issue-36855 (pid 20082) held it for about 39 minutes at about 6% CPU. It then exited, and the closure build ran. The coordinator ordered a single push, so the rework commit was held locally until all checks were done, instead of a WIP push before the long steps. The worktree was recreated from origin at 4821485324 and is left in place for the seat's read."
}
{
"issue": 36412,
"status": "done",
"branch": "claude/issue-36412-currency-change-notes",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37284",
"head": "315c0d8fef",
"session": "session_01QSeKYnagJvGbCtNg2PhvgW",
"premise_still_valid": true,
"summary": "Round 3 for L1 7164164510, fix (a) for S1. A withheld item carrying `held` now gets its own branch B sentence, lookup.autofillNowSameCurrencyHeld: 'Unit Price was not filled when it was picked and still holds its earlier value. The record is now in USD: clear Unit Price, then pick again to fill $100.00.' The key is in all 11 packs with en's placeholder counts, and in FIELD_DEFAULTS. The empty-cell branch B sentence is unchanged, and re-pick behaviour is unchanged. Pinned on both hosts: grid (header USD over a line holding 80, then EUR) and form (an overwrite:true pair over a typed 80 on a EUR quote, then USD). N4: the grid branch B pin now ends with a pick-again control that fills 100 and clears the note. N1: the stale 538 / 1,252 line is dropped. N2: 改回 is now 改成. N3 skipped as allowed. The changeset names the new sentence and key; Clause-②: yes (widening) stands.",
"tests": "Both pin files at dd0ebf7f96: Tests 71 passed (71). Ablation: the held arm in withheldAutofillMessage deleted via ablation-replace --delete, restored to HEAD blob 848e5fd1844c. Result: 2 failed, 9 passed. Exactly the two held pins fail; the non-held branch B pins on both hosts stay green. The three-package run at dd0ebf7f96 failed one test: all-locales-key-parity, 'placeholders match en'. zh-Hans named {{field}} 3 times against en's 2, and zh-Hant is generated from it. Fixed in 315c0d8fef. There, packages/i18n/ gives Test Files 111 passed, Tests 2028 passed, 13 skipped. Fields and plugin-form were green at dd0ebf7f96: 685 of 687 files passed, 1 skipped, and the only failure was that i18n test; only locale strings changed after. type-check of fields, plugin-form and i18n: exit 0 at 315c0d8fef.",
"gates": "dispatch-gates --commands at 315c0d8fef: the same 41, all exit 0, including ui vitest scripts/ (172 files passed, 2 skipped; 5130 tests). --ran: 41 derived, 41 run, 0 NOT-MEASURED, 0 UNRUN, exit 0. ui check:i18n-keys, check:i18n-drift, check:i18n-dead-keys and check:new-line-citations: exit 0 at dd0ebf7f96. overlap-check after fetch, against origin/main 9e6533bd48 and 3 sharing PR heads: VERDICT clean, exit 0. The push a602513471..315c0d8fef was gated on that verdict. PR check-runs at 315c0d8fef when written: 17 in_progress, 1 success, 7 skipped, and 1 cancelled ('PR-body guards', run 45638241145, most likely superseded by the body edit). CI verdict: in_progress.",
"dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm (Clause-②: yes (widening))",
"line_budget": "620 changed lines (+582/-38, 19 files). With #36918's 714, the card totals 1334, under 3000.",
"mcp_calls": "0",
"api_writes": "2 REST writes this round, plus 1 git push. (1) PR body via post-stamped --body=37284 --ack-through=7164164510, sent as relay PATCH /repos/objectstack-ai/objectstack/issues/37284. Read-back 14804 bytes, identical, signature on line 1. (2) This os-dev-report, POST /repos/objectstack-ai/objectstack/issues/36412/comments.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none. A copied amount whose record currency becomes unset gets no note. Unchanged; it is in the PR's Acceptance notes."
],
"deviations": "The closure build got exit 99 twice (lock not acquired, NOT MEASURED) behind a dogfood run (pid 30253) before it acquired the lock. The three-package suite was not re-run in full after the zh-Hans fix; only the i18n package was re-run, because the fix changed only locale strings."
}
Delivered (2026-11-25T17:06Z): PR #37284 merged (2026-11-25T16:57Z). This card was closed by its Fixes #36412.
Ruling 7118795825 「保留金额并提示」 and branch B 7158109013 are delivered on the line-item grid and the record form:
No amount is written or cleared when the currency changes.
A copied amount is noted under the currency it was copied in and the one the record has now.
A shown withheld note refreshes when the currency changes.
A hand-typed amount gets no note.
When the record turns to the picked price's currency, the note tells you to pick again; if the field still holds an earlier value, it tells you to clear it first (lookup.autofillNowSameCurrencyHeld).
Clause-②: yes (widening). One case is in the PR's Acceptance notes and is not filed: a copied amount whose record currency becomes unset gets no note. Nothing is left on this card; pm:dispatched removed.
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: area,
pm:blockedand p2 stand as filed; rationale: area:ux · Bug · follow-ups of the cross-currency pick (#36249): no note on a re-pick over a filled cell, an unbounded opening wait, and a record-side gap. Graded non-blocking on the parent PR · size S.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTM6Q7J3o7taPraVR2
Item 4, added from the #36351 delta L2 (S5, comment 7081121014), at the seat's request. A target's currency is read on the line or record as it stood before the pick, so a pick that fills a code field and its amount together withholds the amount.
currency_codefield and aunit_priceinrecordmode over it, and the line is shaped the same way. On a fresh line, the grid's same-named copy writescurrency_code, then judgesunit_priceagainst a line that holds no code yet. The price is withheld, and the note says no currency is chosen, right beside the code the same pick just wrote. Before fix(fields): a pick leaves an amount in another currency empty and says why #36351 both values copied.gridAutofillCurrencyinui/packages/fields/src/widgets/grid-field/GridFieldWidget.tsxgets the row before the patch.currencyForinui/packages/fields/src/widgets/LookupField.tsxreads the record being edited the same way for declared pairs.ObjectForm.[-]Cross-currency pick follow-ups: no note on a re-pick over a filled cell, an unbounded opening wait, and record forms outside the gate[/-][+]Cross-currency pick follow-ups: no note on a re-pick over a filled cell, an unbounded opening wait, record forms outside the gate, and a code-plus-amount pick[/+]objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
One more item for this card, from PR #36351's delta review on head 9ac9c94 (S7 closed). This is not a defect of #36351: a pick is judged once, at the pick. If a price is copied under USD and the record's code is then changed to EUR in the same edit, the copied price stays. A withheld note also keeps the code it was judged under. This holds on all three hosts, and for a hand-typed price too. When this card bounds the currency rules, decide whether a code change re-judges the filled amounts or shows a note. Also N9: the record-page editor now re-renders on every keystroke in any record field. That is correct and not measured, so measure it if a slowdown shows.
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Addendum for this card's follow-up set (found by the #36321 card thread, PR #36578, measured on its head
b37d813a5): on a New Invoice whose header currency is still entirely unset, a product picked on a line leaves Unit Price empty with the "no currency is chosen here yet" note. This is the safe direction (no foreign amount is copied into the home currency), and PR #36578 restores the case where the header shows a currency (the picker's trigger now carries its code). Folded here rather than filed alone, as one more "pick before the gate can tell the currency" case; the seat holding this card decides whether it belongs in scope.fix(fields): a pick leaves an amount in another currency empty and sa…
fix(nightly): green the showcase live tiers — the currency picker rea…
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Unblock · 2026-11-23T12:24Z: this card's only
Blocked-by:, #36351, closed at 2026-11-22T22:55Z (merged or completed). Thepm:blockedlabel was stale, so the card goes back topm:queue. The grade is unchanged. Whoever picks it up re-reads the premise on a base that contains #36351.7 remaining items
objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzhoBbwh8URjwQHde8v
Release · 2026-11-24T09:32Z · area ux-B: items 1–4 are done in PR #36918, which merged at 2026-11-24T09:32Z (merge commit
4f19091997f67617cfdf48b5f7051e7bf86725de, L1 ACCEPT 7127057550). The card stays open for the ruling item and goes back topm:queue. The ux-B claim (7124961299) ends here because the ruling item is p2, and the maintainer's priority ruling (2026-11-24T08:53Z, relayed by the seat) puts ux capacity on the Studio epic #36890 and on area:ux p1 cards.Ruling 7118795825 (「保留金额并提示」) does not settle one visible case. Suppose a pick's amount was withheld because the currencies differed, and the target is still empty. Then, in the same edit, the record's currency changes to the picked amount's own currency. What should the refreshed withheld note show?
The #36918 dev and ux-B both recommend B. It keeps the picked price visible without writing a value the ruling did not order. C goes against the spirit of rule 1.
What remains: the ruling item, verbatim scope from 7118795825
Scope is bounded by ADR-0144 D2.
What #36918 left in place for it
held(what its target held at the pick), andwithheldStillStandskeeps the note while the target still holds that value.judgePickWritesjudges one pick's writes together.amountCurrencyOf(…, writes)applies the pick's own code write.useFollowedParentReadreports none / pending / read / unread. An unread parent withholds with reasontargetCurrencyUnread.unreadhave no pin of their own.recordFormStamp.tsheader). The standaloneformnode in@object-ui/componentsis the one gap, and it went to triage as its own card (mailbox pm:mailbox — triage#1 · os-warren #36743, comment 7127028135).Size
Items 1–4 came to 714 lines. Under the per-card 3,000-line rule, this card's PRs together must stay under 3,000, or each of its PRs is Tier H.
No local branch is held. #36918's branch is merged.
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Ruled: B · 2026-11-25T09:16Z · by the maintainer, in seat repo:objectstack#4's session. Verbatim: 「#37257 B、#37230 A、#37236 B、#36412 B」.
This answers the open question under ruling 7118795825 (「保留金额并提示」, item 3). It concerns a withheld cross-currency pick whose note is already shown, when in the same edit the record's currency changes to the pick's own currency.
With items 1–4 landed by #36918, this is the last open item on the card. It is ready for dispatch and goes to zone a4-C.
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
Claim: PM loop round 1 · the ruling item (7118795825) plus its branch B (7158109013); items 1–4 landed in PR #36918
Session:
session_01QSeKYnagJvGbCtNg2PhvgWAccount:
os-justinBranch:
claude/issue-36412-currency-change-notesWorktree:
objectstack-issue-36412Domain:
domain:uiSeat:
repo:objectstack#4Area: a4-C (named for this zone by the seat)
Epic: none
File surface:
ui/packages/fields/src/widgets/LookupField.tsxandui/packages/fields/src/widgets/grid-field/GridFieldWidget.tsx(the cross-currency note family: the pick-copied amount note, the withheld note's refresh on a same-edit currency change, branch B), the fields helpers they call (GridField.ts,planDeclaredLookupAutofilland the withheld/held helpers), the record-form hosts inui/packages/plugin-form/src/**only where the record's current currency must reach the note, the console/fields i18n packs for any new note string (all locale packs, key parity), their tests,.changeset/*. Stop on breach; explain in the report.Container & model:
M,mode:subagent,model: default (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: yes (widening)
Metadata-protocol: none
Responsibility:
platform UI code in objectstack (a same-edit currency change leaves pick-copied amounts unexplained, and a withheld note does not follow the record's new currency) | none | users editing quotes, orders and invoices whose lines copy prices from products in another currencyThread-read: 7158109013
Premise: holds. Measured on
origin/main: no note names the currency an amount was copied under, and nothing re-reads a shown withheld note when the record's currency changes.withheldStillStands(LookupField.tsx:2464,GridFieldWidget.tsx:1738) keeps a withheld note only while the target holds its value, as #36918 left it (release 7127574237). The ruling item 7118795825's four points are not built; the dev re-measures point 1 (no same-edit change or clear of a filled amount) before code. Size budget: #36918 used 714 lines, and this card's PRs must total under 3,000.Serial constraints cleared:
open-PR search for LookupField / GridFieldWidget finds #37264 (fill-in dialog option visibleWhen; fields package). overlap-check before the first push decides, and a textual conflict with #37264 or any sister PR is stop-and-report.Pre-claim lane:
domain:ui; every path is underui/**.Pre-claim deps:
Blocked-by: #36351, closed; the maintainer's question on branch B is answered (7158109013).Prior rulings read:
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
os-dev-report
{ "issue": 36412, "status": "done", "branch": "claude/issue-36412-currency-change-notes", "pr": "https://github.com/objectstack-ai/objectstack/pull/37284", "head": "4821485324", "session": "session_01QSeKYnagJvGbCtNg2PhvgW", "premise_still_valid": true, "summary": "Built ruling 7118795825 (「保留金额并提示」) and branch B 7158109013 on the grid (GridFieldWidget) and the record form (LookupField with declared pairs). Point 1 was measured on main's source before any code: a same-edit currency change already changes and clears no amount. This PR adds no write and pins point 1 on both hosts. judgePickWrites now records every amount it copies as CopiedAutofill, with `under` (the target's code at the write). Each host keeps these beside the withheld values and judges both against the record's currency as it is when drawn. A copied amount the target still holds gets 'X was copied as $100.00, but the record is now in EUR' (copiedAutofillNow). A shown withheld note is judged again by crossCurrencyRefusal (withheldAutofillNow). When the record turns to the picked amount's own currency, the note takes the reason nowSameCurrency, stays, and says to pick again; the cell stays empty. A hand-typed amount, or one typed over a copied amount, gets no note. Two new lookup.* sentences in all 11 packs plus FIELD_DEFAULTS. One changeset, fields and i18n patch.", "tests": "At 482148532 under os-verify-lock: vitest packages/fields/ packages/plugin-form/ packages/i18n/ gives Test Files 686 passed, 1 skipped (687), Tests 9840 passed, 21 skipped (9861), VERDICT command-exit 0. type-check of fields, plugin-form and i18n exit 0 after the closure build; both pin files are in tsconfig.test.json (--listFiles 1 hit each). New pins: ObjectForm 4 tests and GridField 5 tests ('-t ruling': 9 passed). Point 1 measured on main: the 5 src files were restored to 057cedfa9b6 in the tree only, giving 7 failed, 2 passed. Both hand-typed pins passed. The copied pins failed only on the note line after their amount assertion (ObjectForm:745, GridField:641). Restored with git checkout HEAD; git diff HEAD empty. Ablations (ablation-replace, src alias, each restored to HEAD blob 18535d11faef): no refresh ('if (!now) return item;' becomes 'return item;'): 5 failed, 4 passed. No copied note: 3 failed, 6 passed. Typed-over still noted (sameValue check removed): 3 failed, 6 passed. Point 1 has no implementing line to ablate.", "gates": "dispatch-gates --commands at 482148532: 41 derived, 41 run, all exit 0. ui vitest scripts/ ran under the lock: Test Files 172 passed, 2 skipped; Tests 5130 passed, 2 skipped. --ran with exit codes: 41 derived, 41 run, 0 NOT-MEASURED, 0 UNRUN, exit 0. ui check:i18n-keys, check:i18n-drift, check:i18n-dead-keys and check:new-line-citations: exit 0 (0 new citations). overlap-check VERDICT clean exit 0 before each push and after fetch against origin/main 622f3985fe plus 5 sharing PR heads; --pr=37264 merges cleanly. PR check-runs at 4821485324 when this report was written: 17 in_progress, 5 skipped, 0 failing. CI verdict in_progress.", "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm (Clause-②: no)", "line_budget": "538 changed lines (+502/-36, 19 files); with #36918's 714 the card totals 1252, under 3000", "mcp_calls": "0", "api_writes": "2 REST writes plus git pushes. (1) relay pr_create via POST /repos/objectstack-ai/objectstack/dispatches, executed as POST /repos/objectstack-ai/objectstack/pulls and POST /repos/objectstack-ai/objectstack/issues/37284/assignees. (2) this os-dev-report comment, POST /repos/objectstack-ai/objectstack/issues/36412/comments. git push x3 (the empty branch probe, wip, changeset).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none. Branch B over a filled target: a declared pair without overwrite does not replace an earlier value on a pick again of the same record (the spec's overwrite rule), so 'pick again' holds there only after the cell is cleared. The ruling's empty-cell case is what is pinned. Noted in Acceptance notes, not filed.", "carrier: none. A copied amount whose record currency becomes unset or unreadable gets no note (no current code to name). Noted in Acceptance notes." ], "deviations": "Clause-② measured no: no packages/spec, no metadata. The published @object-ui/fields surface gains exports, widens WithheldAutofill.reason, and adds a required LookupAutofillPlan.copied; git grep finds LookupAutofillPlan only inside ui/packages/fields (6 hits, 2 files). Pins and ablations ran at wip 10c8d81902, whose implementation files are byte-identical to head (the head commit adds the changeset only).", "Dev-effort": "high", "Rounds": 1 }objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
os-dev-report
{ "issue": 36412, "status": "done", "branch": "claude/issue-36412-currency-change-notes", "pr": "https://github.com/objectstack-ai/objectstack/pull/37284", "head": "a602513471", "session": "session_01QSeKYnagJvGbCtNg2PhvgW", "premise_still_valid": true, "summary": "Rework round for the seat's Clause-② finding, route (a). LookupAutofillPlan.copied is now optional (copied?: CopiedAutofill[]). judgePickWrites leaves it out when a pick copied no amount under a judged currency, and every in-package reader treats absent as none: LookupField's two noteWithheld calls, GridFieldWidget's pick and planLookupAutofill's pass-through. A new pin asserts a plan with no copied amount carries no `copied` key. The declaration is now Clause-②: yes (widening), in both the changeset and the PR body. The widening names the new exports withheldAutofillNow, copiedAutofillNow, copiedAutofillMessage and the type CopiedAutofill, the optional LookupAutofillPlan.copied, and the reason nowSameCurrency added to the WithheldAutofill.reason union. Metadata-protocol: none stands. Route (b) is not taken: nothing needs copied to be required. Behaviour is unchanged from round 1.", "tests": "At a602513471 under os-verify-lock: vitest packages/fields/ packages/plugin-form/ packages/i18n/ gives Test Files 686 passed, 1 skipped (687), Tests 9840 passed, 21 skipped (9861), VERDICT command-exit 0. type-check of fields, plugin-form and i18n exit 0 after rebuilding the dependency closure in the recreated worktree. Ablations of the reworked lines (ablation-replace, src alias, each restored to HEAD blob e96dadd3fbba): with copied always present, 1 failed, 8 passed (the absent-means-none pin); with no copied note, 3 failed, 6 passed (both hosts plus the pure pin). The round 1 refresh and typed-over ablations touch lines this round did not change, so they were not re-run.", "gates": "dispatch-gates --commands at a602513471: the same 41 as round 1, all exit 0, including ui vitest scripts/ (172 files passed, 2 skipped; 5130 tests passed). --ran with exit codes: 41 derived, 41 run, 0 NOT-MEASURED, 0 UNRUN, exit 0. check-adr-0087-registration and check-changeset-no-major pass on the yes (widening) changeset. overlap-check after fetch: origin/main dfdebfadd5 plus 4 sharing PR heads clean, VERDICT clean exit 0, which gated the one push (4821485324..a602513471). --pr=37264: merges cleanly. PR check-runs at a602513471 when this report was written: 20 in_progress, 5 success, 15 skipped, 0 failing. CI verdict: in_progress.", "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm (Clause-②: yes (widening))", "line_budget": "547 changed lines (+511/-36, 19 files); with #36918's 714 the card totals 1261, under 3000", "mcp_calls": "0", "api_writes": "2 REST writes this round plus 1 git push. (1) PR body via post-stamped --body=37284, a relay PATCH /repos/objectstack-ai/objectstack/issues/37284. Read-back: 12688 bytes, identical; signature on the first line, 'Fixes #36412' on line 3. --ack-through was not needed: the PR has zero comments, and the tool's unread check said there was nothing to acknowledge. (2) this follow-up os-dev-report, POST /repos/objectstack-ai/objectstack/issues/36412/comments. git push x1.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none. Unchanged from round 1: branch B over a filled target with a non-overwrite declared pair, and a copied amount whose currency becomes unset. Both are in Acceptance notes and not filed." ], "deviations": "The lock was not acquired three times (exit 99, NOT MEASURED) while a dogfood run in objectstack-issue-36855 (pid 20082) held it for about 39 minutes at about 6% CPU. It then exited, and the closure build ran. The coordinator ordered a single push, so the rework commit was held locally until all checks were done, instead of a WIP push before the long steps. The worktree was recreated from origin at 4821485324 and is left in place for the seat's read." }objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
os-dev-report
{ "issue": 36412, "status": "done", "branch": "claude/issue-36412-currency-change-notes", "pr": "https://github.com/objectstack-ai/objectstack/pull/37284", "head": "315c0d8fef", "session": "session_01QSeKYnagJvGbCtNg2PhvgW", "premise_still_valid": true, "summary": "Round 3 for L1 7164164510, fix (a) for S1. A withheld item carrying `held` now gets its own branch B sentence, lookup.autofillNowSameCurrencyHeld: 'Unit Price was not filled when it was picked and still holds its earlier value. The record is now in USD: clear Unit Price, then pick again to fill $100.00.' The key is in all 11 packs with en's placeholder counts, and in FIELD_DEFAULTS. The empty-cell branch B sentence is unchanged, and re-pick behaviour is unchanged. Pinned on both hosts: grid (header USD over a line holding 80, then EUR) and form (an overwrite:true pair over a typed 80 on a EUR quote, then USD). N4: the grid branch B pin now ends with a pick-again control that fills 100 and clears the note. N1: the stale 538 / 1,252 line is dropped. N2: 改回 is now 改成. N3 skipped as allowed. The changeset names the new sentence and key; Clause-②: yes (widening) stands.", "tests": "Both pin files at dd0ebf7f96: Tests 71 passed (71). Ablation: the held arm in withheldAutofillMessage deleted via ablation-replace --delete, restored to HEAD blob 848e5fd1844c. Result: 2 failed, 9 passed. Exactly the two held pins fail; the non-held branch B pins on both hosts stay green. The three-package run at dd0ebf7f96 failed one test: all-locales-key-parity, 'placeholders match en'. zh-Hans named {{field}} 3 times against en's 2, and zh-Hant is generated from it. Fixed in 315c0d8fef. There, packages/i18n/ gives Test Files 111 passed, Tests 2028 passed, 13 skipped. Fields and plugin-form were green at dd0ebf7f96: 685 of 687 files passed, 1 skipped, and the only failure was that i18n test; only locale strings changed after. type-check of fields, plugin-form and i18n: exit 0 at 315c0d8fef.", "gates": "dispatch-gates --commands at 315c0d8fef: the same 41, all exit 0, including ui vitest scripts/ (172 files passed, 2 skipped; 5130 tests). --ran: 41 derived, 41 run, 0 NOT-MEASURED, 0 UNRUN, exit 0. ui check:i18n-keys, check:i18n-drift, check:i18n-dead-keys and check:new-line-citations: exit 0 at dd0ebf7f96. overlap-check after fetch, against origin/main 9e6533bd48 and 3 sharing PR heads: VERDICT clean, exit 0. The push a602513471..315c0d8fef was gated on that verdict. PR check-runs at 315c0d8fef when written: 17 in_progress, 1 success, 7 skipped, and 1 cancelled ('PR-body guards', run 45638241145, most likely superseded by the body edit). CI verdict: in_progress.", "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm (Clause-②: yes (widening))", "line_budget": "620 changed lines (+582/-38, 19 files). With #36918's 714, the card totals 1334, under 3000.", "mcp_calls": "0", "api_writes": "2 REST writes this round, plus 1 git push. (1) PR body via post-stamped --body=37284 --ack-through=7164164510, sent as relay PATCH /repos/objectstack-ai/objectstack/issues/37284. Read-back 14804 bytes, identical, signature on line 1. (2) This os-dev-report, POST /repos/objectstack-ai/objectstack/issues/36412/comments.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none. A copied amount whose record currency becomes unset gets no note. Unchanged; it is in the PR's Acceptance notes." ], "deviations": "The closure build got exit 99 twice (lock not acquired, NOT MEASURED) behind a dogfood run (pid 30253) before it acquired the lock. The three-package suite was not re-run in full after the zh-Hans fix; only the i18n package was re-run, because the fix changed only locale strings." }objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
Delivered (2026-11-25T17:06Z): PR #37284 merged (2026-11-25T16:57Z). This card was closed by its
Fixes #36412.Ruling 7118795825 「保留金额并提示」 and branch B 7158109013 are delivered on the line-item grid and the record form:
lookup.autofillNowSameCurrencyHeld).Clause-②: yes (widening). One case is in the PR's Acceptance notes and is not filed: a copied amount whose record currency becomes unset gets no note. Nothing is left on this card;pm:dispatchedremoved.