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
Studio's Home currency amount editor autosaves each pointer on its own, so a correct three-step edit shows "Changes not saved" twice #33102
QA-source: #33096 · studio-authoring.currency-home-amount-editor · observed beside the clauses
Found: QA run of touched:ee9ad834 at objectstack main 8e3d4a54 (18.4.0 round 2, part B, browser slice), during the off-clause probe. Minor UX.
Repro
Use a writable package with an object whose amount is a record-mode currency, with a readonly dynamic amount_home, a date order_date and a readonly number amount_rate (scale 12).
Studio → Data → the object → Form → field Amount → Home currency amount.
Pick Home amount field = amount_home → PUT /api/v1/meta/object/OBJ?mode=draft&package=PKG&surface=studio 422 INVALID_METADATA "homeAmount needs rateDate …", and a red "Changes not saved" banner appears.
Pick Document date → 422 "needs rateField".
Pick Rate field → 200.
Clearing the three pointers gives the mirror image: two 422s.
Expected: the editor holds the autosave until all three pointers are set or all are empty, as the hooks panel holds a CEL error, or it sends the three together.
Mechanism
setHomeAmountPointer (ui/packages/app-shell/src/views/metadata-admin/inspectors/CurrencyConfigField.tsx) writes one pointer per pick.
The shared autosave sends every intermediate config.
CurrencyConfigSchema.homeAmount requires all three pointers.
Row: a correct three-step edit flashes "Changes not saved" twice before it lands. The result is right and the message is noise, which is cosmetic UX (p3).
Claim: PM loop round 1 · 2026-11-14T22:59Z
Session: session_01FEkQ5o9zCzQRoUJ5gP8r6H (card thread, dev) · seat session_01FEkQ5oF8GgTHN2jBZoDwz8
Account: os-project-manager
Branch: claude/project-thread-gnzubb
Worktree: objectstack-issue-33102
Domain: domain:ui
Seat: domain:ui#2
File surface: ui/packages/app-shell/src/views/metadata-admin/inspectors/CurrencyConfigField.tsx (setHomeAmountPointer and its commit), its tests, the i18n packs only for a truly new hint string, root .changeset/. ⛔ No packages/spec or server edit.
Container & model: S, mode:thread, model: default tier, effort: default
Clause-②: no
Metadata-protocol: none
Responsibility: app-shell's Home-amount editor commits each pointer pick on its own, so the server refuses the partial config twice | none (the server refusal is correct per CurrencyConfigSchema.homeAmount) | every Studio author setting a record-mode currency's home amount
Thread-read: 6852888081
Premise: holds: setHomeAmountPointer at CurrencyConfigField.tsx L125, committed at L369 on f068cde8; the dev re-measures with a recorded autosave first
Serial constraints cleared: no other pm:dispatcheddomain:ui card claims a file in this surface (live label read; ui seat 1's live files #33317#33063#33061#33103#33377 are disjoint); no other ui seat holds a Claim: on these files
Scope: the card's one defect, one PR, Fixes #33102. p3. The declaration lines start at no / none; the dev measures them on the diff, and the seat amends this claim if they differ. Order: /mnt/project-files/pm-orders/ui/order-33102.md. Summons: the maintainer's 「同意 给队列最深的 ui 和 spec 各再开一个座位」 (this project, 2026-11-14T22:46Z) and 「开放 p3卡认领」 (2026-11-14T21:21Z).
os-dev-report
{
"issue": 33102,
"status": "done",
"branch": "claude/project-thread-gnzubb",
"pr": "#33530",
"session": "session_01FEkQ5o9zCzQRoUJ5gP8r6H",
"premise_still_valid": true,
"summary": "Measured on f068cde with the rendered ObjectFieldInspector and a recorded onPatch (the commit the autosave sends), each judged by ObjectSchema: pick 1 and pick 2 each commit a homeAmount the spec refuses (needs rateDate / rateField), pick 3 parses; clearing a complete one mirrors it (two refused commits, then one with none). CurrencyConfigField now holds a partial homeAmount in its own state (pickHomePointer), commits only when all three pointers or none are set, and shows one inline status line naming the missing pointers (new key designer.field.currency.homeAmountHeld, en + zh); the hold is stamped with the committed homeAmount and keyed by field (key={self} in ObjectCurrencyConfigField). Because the document date can now be held, the rate-field candidates are judged against the held pick through a new optional homeCandidatesFor prop, which the existing shared_rate pin required. No spec, server or host change; no fallback value.",
"tests": "New top-level describe in CurrencyConfigField.recordMode-27188.test.tsx (rendered inspector, real Radix selects, onPatch spy): pick 1 no commit + hint naming Document date and Rate field; pick 2 no commit; pick 3 exactly one commit with all three and the object parses; clear mirror one commit with none; a commit from elsewhere keeps the held picks and sends no partial; CONTROL complete -> complete commits once; fixture parses. Base f068cde: Tests 4 failed | 15 passed (19), CONTROL green. Fix 8e67a26: recordMode + parentPath files Tests 25 passed (25); ObjectFieldInspector* Test Files 31 passed (31), Tests 344 passed (344); packages/i18n/ Test Files 104 passed (104), Tests 1919 passed | 13 skipped. Ablation via scripts/ablation-replace.mjs (anchor setHeldHome({ against: committedHome, home: next.homeAmount! }); -> onCommit(next);, anchor 1 -> 0, replacement 0 -> 1, blob 63492afeba7e -> 79389c3d2790, src import so no dist): Tests 4 failed | 15 passed (19), first pin red; restored, blob == HEAD, git diff HEAD empty.",
"gates": "Local on head 8e67a26: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 36 families, all 36 exit 0 (captured before any pipe; record /mnt/project-files/pm-orders/ui/33102-gates-ran.txt); --ran: 36 derived famil(ies) accounted for, 36 run, 0 NOT-MEASURED. A first pass on 70d34cf was also 36/36 exit 0; it was rerun in full after the last commit. pnpm --filter @object-ui/app-shell run type-check exit 0 and pnpm --filter @object-ui/i18n run type-check exit 0 (both compile tests via tsconfig.test.json); eslint on the four changed source files exit 0, 0 errors. dispatch-gates --tier: no path-derived mandate, 175 changed lines. CI families: read from PR #33530 check-runs (in_progress at report time).",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0 — no MCP GitHub calls; card and comments read with gh api REST GETs",
"api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/dispatches, run 43654986514, PR #33530, no labels, no assignees) and this os-dev-report comment via post-stamped.mjs; write budget spent 3 of 3 (git push, pr_create, report)",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [],
"deviations": [
"Changeset names @object-ui/i18n beside @object-ui/console: the i18n package is published and its dist ships the new hint string.",
"Leaving the field (selecting another field in the inspector) drops a held partial pick: the hint says it is not saved while it stands, and the ruling's no-auto-revert is kept (nothing reverts while the field is open). Persisting a held pick across a field switch would need state outside this file surface.",
"The order reads the 422 off the server; the measurement used the spec judge ObjectSchema (the schema behind INVALID_METADATA) on each recorded commit, not a live server, and the card's own repro names the same 422 paths."
]
}
Seat review: PR #33530 ACCEPT 6886374131 on head 8e67a26c (2026-11-15T00:10Z). K = 4, no base sync; ready + auto-merge set in the same stroke. Contract record not owed (Clause-② no).
MERGED as 4c32b969 on main (closes this card via Fixes #33102)
State: pm:dispatched removed, assignee cleared; card closed by the merge. Accepted deviation named in the ACCEPT (6886374131): switching the field drops a held pick.
Activity
objectstack-fleet commentedon Nov 13, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:ui· p3 ·pm:queue· 2026-11-13T12:27Z⛔ Not a claim.
objectstack-fleet commentedon Nov 14, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8
Claim: PM loop round 1 · 2026-11-14T22:59Z
Session:
session_01FEkQ5o9zCzQRoUJ5gP8r6H(card thread, dev) · seatsession_01FEkQ5oF8GgTHN2jBZoDwz8Account:
os-project-managerBranch:
claude/project-thread-gnzubbWorktree:
objectstack-issue-33102Domain:
domain:uiSeat:
domain:ui#2File surface:
ui/packages/app-shell/src/views/metadata-admin/inspectors/CurrencyConfigField.tsx(setHomeAmountPointerand its commit), its tests, the i18n packs only for a truly new hint string, root.changeset/. ⛔ Nopackages/specor server edit.Container & model: S,
mode:thread,model: default tier,effort: defaultClause-②: no
Metadata-protocol: none
Responsibility: app-shell's Home-amount editor commits each pointer pick on its own, so the server refuses the partial config twice | none (the server refusal is correct per
CurrencyConfigSchema.homeAmount) | every Studio author setting a record-mode currency's home amountThread-read: 6852888081
Premise: holds:
setHomeAmountPointeratCurrencyConfigField.tsxL125, committed at L369 onf068cde8; the dev re-measures with a recorded autosave firstSerial constraints cleared: no other
pm:dispatcheddomain:uicard claims a file in this surface (live label read; ui seat 1's live files #33317 #33063 #33061 #33103 #33377 are disjoint); no other ui seat holds aClaim:on these filesScope: the card's one defect, one PR,
Fixes #33102. p3. The declaration lines start atno/none; the dev measures them on the diff, and the seat amends this claim if they differ. Order:/mnt/project-files/pm-orders/ui/order-33102.md. Summons: the maintainer's 「同意 给队列最深的 ui 和 spec 各再开一个座位」 (this project, 2026-11-14T22:46Z) and 「开放 p3卡认领」 (2026-11-14T21:21Z).objectstack-fleet commentedon Nov 14, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5o9zCzQRoUJ5gP8r6H
os-dev-report
{
"issue": 33102,
"status": "done",
"branch": "claude/project-thread-gnzubb",
"pr": "#33530",
"session": "session_01FEkQ5o9zCzQRoUJ5gP8r6H",
"premise_still_valid": true,
"summary": "Measured on f068cde with the rendered ObjectFieldInspector and a recorded onPatch (the commit the autosave sends), each judged by ObjectSchema: pick 1 and pick 2 each commit a homeAmount the spec refuses (needs rateDate / rateField), pick 3 parses; clearing a complete one mirrors it (two refused commits, then one with none). CurrencyConfigField now holds a partial homeAmount in its own state (pickHomePointer), commits only when all three pointers or none are set, and shows one inline status line naming the missing pointers (new key designer.field.currency.homeAmountHeld, en + zh); the hold is stamped with the committed homeAmount and keyed by field (key={self} in ObjectCurrencyConfigField). Because the document date can now be held, the rate-field candidates are judged against the held pick through a new optional homeCandidatesFor prop, which the existing shared_rate pin required. No spec, server or host change; no fallback value.",
"tests": "New top-level describe in CurrencyConfigField.recordMode-27188.test.tsx (rendered inspector, real Radix selects, onPatch spy): pick 1 no commit + hint naming Document date and Rate field; pick 2 no commit; pick 3 exactly one commit with all three and the object parses; clear mirror one commit with none; a commit from elsewhere keeps the held picks and sends no partial; CONTROL complete -> complete commits once; fixture parses. Base f068cde: Tests 4 failed | 15 passed (19), CONTROL green. Fix 8e67a26: recordMode + parentPath files Tests 25 passed (25); ObjectFieldInspector* Test Files 31 passed (31), Tests 344 passed (344); packages/i18n/ Test Files 104 passed (104), Tests 1919 passed | 13 skipped. Ablation via scripts/ablation-replace.mjs (anchor setHeldHome({ against: committedHome, home: next.homeAmount! }); -> onCommit(next);, anchor 1 -> 0, replacement 0 -> 1, blob 63492afeba7e -> 79389c3d2790, src import so no dist): Tests 4 failed | 15 passed (19), first pin red; restored, blob == HEAD, git diff HEAD empty.",
"gates": "Local on head 8e67a26: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 36 families, all 36 exit 0 (captured before any pipe; record /mnt/project-files/pm-orders/ui/33102-gates-ran.txt); --ran: 36 derived famil(ies) accounted for, 36 run, 0 NOT-MEASURED. A first pass on 70d34cf was also 36/36 exit 0; it was rerun in full after the last commit. pnpm --filter @object-ui/app-shell run type-check exit 0 and pnpm --filter @object-ui/i18n run type-check exit 0 (both compile tests via tsconfig.test.json); eslint on the four changed source files exit 0, 0 errors. dispatch-gates --tier: no path-derived mandate, 175 changed lines. CI families: read from PR #33530 check-runs (in_progress at report time).",
"dogfood_battery": "n/a — no
!in the PR title and no (narrowing) arm","mcp_calls": "0 — no MCP GitHub calls; card and comments read with gh api REST GETs",
"api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/dispatches, run 43654986514, PR #33530, no labels, no assignees) and this os-dev-report comment via post-stamped.mjs; write budget spent 3 of 3 (git push, pr_create, report)",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [],
"deviations": [
"Changeset names @object-ui/i18n beside @object-ui/console: the i18n package is published and its dist ships the new hint string.",
"Leaving the field (selecting another field in the inspector) drops a held partial pick: the hint says it is not saved while it stands, and the ruling's no-auto-revert is kept (nothing reverts while the field is open). Persisting a held pick across a field switch would need state outside this file surface.",
"The order reads the 422 off the server; the measurement used the spec judge ObjectSchema (the schema behind INVALID_METADATA) on each recorded commit, not a live server, and the card's own repro names the same 422 paths."
]
}
Generated by Claude Code
objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8
Seat review: PR #33530 ACCEPT 6886374131 on head
8e67a26c(2026-11-15T00:10Z). K = 4, no base sync; ready + auto-merge set in the same stroke. Contract record not owed (Clause-② no).objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8
Landed · 2026-11-15T03:33Z
4c32b969onmain(closes this card viaFixes #33102)State:
pm:dispatchedremoved, assignee cleared; card closed by the merge. Accepted deviation named in the ACCEPT (6886374131): switching the field drops a held pick.fix(console): Studio's home currency amount editor holds a partial pi…