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 condition editors: hook, action, page-block and widget conditions list fields by machine name #34122
area:uxbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Filing gate: ③ an out-of-scope finding of the #33864 dev (os-dev report 6899087689 on PR #34088, carrier: seat), class a (reach read in code, not measured live).
Reader: domain:ui (ui/packages/app-shell/src/views/metadata-admin/inspectors/**, ConditionBuilder mounts). Grade suggestion: p3 (the same ux-conventions.labels-over-machine-names defect #33864 is p3 for).
Dedupe: is:issue is:open ConditionBuilder labelSubjects — none; #33864 turns it on for the flow Entry condition only.
Blocked-by: #33864
维护者速读
Studio 里编辑条件(Hook 条件、操作的显示/禁用条件、页面区块条件、小组件条件)时,字段下拉仍只显示机器名(如 status),而不是字段标签。#33864 已在流程「进入条件」和对象校验里改为「标签为主、机器名在旁」,其余几个编辑入口还没打开同一个开关。
ConditionBuilder (inspectors/ConditionBuilder.tsx:849) takes labelSubjects = false; with it on, a field reads by its label with its spelling as the hint (l.967–969).
It is off (default) in the mounts in HookDefaultInspector.tsx, ActionDefaultInspector.tsx, PageBlockInspector.tsx and metadata-admin/widgets.tsx.
Ask
Turn on labelSubjects at each remaining mount where the subject is a field of a known object, or say per mount why the spelling must stay primary; then decide whether the default should flip to true. Pin each mount (option found by its label-first accessible name, hint = spelling); ablate red. Existing tests that find options by spelling move with it (as #34088's forced edits did).
Claim: PM loop round 8 · 2026-11-15T22:43Z
Session: session_01ADHkmRcktQEQx7ViBAPoK5 (card thread, dev) · seat session_01ADHkmT2NE3iyG1o6TDg3sf
Account: os-steve
Branch: claude/project-thread-0ife7m
Worktree: objectstack-issue-34122
Domain: domain:ui
Seat: domain:ui#1
File surface: ui/packages/app-shell/src/views/metadata-admin/inspectors/** (the ConditionBuilder mounts in HookDefaultInspector.tsx, ActionDefaultInspector.tsx, PageBlockInspector.tsx, and ConditionBuilder.tsx only if its default flips), ui/packages/app-shell/src/views/metadata-admin/widgets.tsx, their tests, root .changeset/. packages/** read-only.
Container & model: M, mode:thread, model: default tier, effort: high
Clause-②: no (field labels shown first; no surface added); the dev reports if a default flip touches a published export
Metadata-protocol: none
Responsibility: Studio's hook, action, page-block and widget condition editors list fields by machine name | found by the #33864 dev (os-dev report 6899087689 on PR #34088) | every Studio author who writes a condition
Thread-read: none
Premise: the blocker #33864 is closed; PR #34088 (merged as e08aad7cae) turned labelSubjects on for the flow Entry condition
Serial constraints cleared: no other pm:dispatcheddomain:ui card and no open PR touches these inspector files or widgets.tsx (live read 2026-11-15T22:43Z)
Scope: labelSubjects on at each mount whose subject is a field of a known object, or a per-mount reason in the PR body; a stated decision on flipping the default; one pin per changed mount + CONTROL + ablation; forced test edits listed. Fixes #34122. Order: /mnt/project-files/ui-seat1/standard-order.md + 34122-delta.md. Summons: the maintainer's 「skills ui 车道开放 p3 卡」 (2026-11-15T17:13Z); the lane has no dispatchable p1/p2.
The maintainer paused p3 dispatch at 2026-11-15T22:50Z (「后续暂停 p3 卡的派发,还是只处理 p1 p2」). This claim was posted minutes earlier and no code was pushed under it, so the seat releases it: the card thread is told to stop, pm:dispatched → pm:queue, assignee cleared. The card's facts and the seat's order file stay valid for whoever picks it up when p3 reopens.
Correction to the release above: the dev had already pushed work under the claim before it stopped. No PR was opened and no report was filed.
Resume-from: claude/project-thread-0ife7m@4a009bde. That head does the following:
Flips the ConditionBuilderlabelSubjects default to true. A label equal to the field name reads as the spelling.
Adds pins for the action visible and disabled conditions, the hook, the record page block (mountScope harness), the generic ConditionWidget, and the default in subjectLabels-27521.
Adds a changeset, .changeset/34122-condition-subjects-label-first.md.
A narrow run (89 files) on that head left 7 tests red. Each is an existing pin that still finds options by bare spelling and owes a forced edit: ConditionBuilder.contextSubjects (1), nullGuard-27513 (1), subjectVocabulary (4), typedEmptyOps-11894 (1). The derived gates, the ablation and the wide run have not been done. If ConditionBuilder is exported from a published package, the default flip needs a contract-face reading when this resumes.
Ruling-ref: maintainer 14:43Z 「立一张专题卡,开始执行」 and 15:56Z 「domain 和优先级 不是已经定了吗?为什么现在不能改卡」 · regrade v3 under epic #35205
Grade: p2 (was p3) · area:ux · Bug · UX × not every user every time · 「Studio condition editors: hook, action, page-block and widget conditions list fields by machine name」; UX has no p3 (15:07Z 「和 cloud 对齐」)
Claim: area ux-1 round 1 · 2026-11-19T00:14Z
Session: session_01Utp6CbSphdunq2aJq7ktuY
Account: os-bill
Branch: claude/issue-34122-condition-label-first
Worktree: objectstack-issue-34122
Domain: domain:ui
Seat: repo:objectstack#5 · area ux-1 (lease:ux-1)
File surface: ui/packages/app-shell/src/views/metadata-admin/inspectors/** (ConditionBuilder.tsx and its mounts in HookDefaultInspector.tsx, ActionDefaultInspector.tsx, PageBlockInspector.tsx), ui/packages/app-shell/src/views/metadata-admin/widgets.tsx, their tests (incl. the forced edits), root .changeset/. packages/** read-only.
Container & model: M, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate), effort: high
Clause-②: no (@object-ui/app-shell is "private": true; flipping the labelSubjects default reaches no published export)
Metadata-protocol: none
Responsibility: the hook, action, page-block and widget ConditionBuilder mounts leave labelSubjects off, so fields list by machine name | PR #34088 turned it on for the flow Entry condition and object validations only | every Studio author who writes a condition
Thread-read: 6984819480
Premise: holds (blocker #33864 closed; PR #34088 merged e08aad7cae)
Pre-claim lane: ui/packages/app-shell/** → domain:ui, area ux-1 (lease table).
Pre-claim deps: Blocked-by: #33864 closed completed; PR #34088 merged.
Prior rulings read: check-prior-rulings → ADR hits are generic term matches (ADR-0024 §2, ADR-0146 D6, ADR-0148 D6 …), none rules on condition-subject labels; governing rule ux-conventions.labels-over-machine-names; thread: os-steve claim 6902613737 released 6902718315, resume note 6902750095; no conflict.
Serial constraints cleared: overlap-check on the resume head: clean against origin/main and 0 open PR heads (exit 0). Disjoint from #34094's surface.
Resume-from: claude/project-thread-0ife7m@4a009bde (copied to the claim branch above)
Scope: as the card's Ask; finish the 7 forced test edits named in 6902750095 (list each in the PR body), derived gates, ablation, wide run. Fixes #34122.
{
"issue": 34122,
"status": "done",
"branch": "claude/issue-34122-condition-label-first",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35296",
"session": "session_01Utp6CbSphdunq2aJq7ktuY",
"premise_still_valid": true,
"summary": "Resumed claude/issue-34122-condition-label-first@4a009bde (merged origin/main once at 359883a3a0). ConditionBuilder's labelSubjects defaults to true; the default flip is the stated decision: every ConditionBuilder mount in ui/ (action visible/disabled, hook condition, record page block, the generic ConditionWidget, plus flow entry and validations which already opted in) lists fields of a known object, so no mount keeps the spelling primary (per-mount table in the PR body). Finished the 7 forced pin edits (contextSubjects 1, nullGuard-27513 1, subjectVocabulary 4 via a spellingOf reader that also keeps two spelling-negative pins non-vacuous, typedEmptyOps-11894 1), fixed the resume head's 27521 default pin, which was vacuous (an undefined routed through the file's mount helper took the helper's default true), fixed two type-check reds the resume head carried (labelOf read twice → string|undefined; the new ConditionWidget pin's WidgetContext lacked conditionScope), and added module-top side-effect imports that check:test-source-alias asks of every edited test file. Diff 256 lines (+235/-21), 9 files, final head b6d441814b.",
"tests": "Targeted (cd ui && pnpm exec vitest run --maxWorkers=2 .../inspectors/ConditionBuilder .../ConditionWidget, under os-verify-lock): before forced edits @359883a3a0 'Test Files 4 failed | 13 passed (17) / Tests 7 failed | 171 passed (178)' (the 7 named); after @c31d3c85d1 '17 passed (17) / 178 passed (178)'. Wide run @b6d441814b: 'pnpm --filter @object-ui/app-shell run type-check && cd ui && pnpm exec vitest run --maxWorkers=2 packages/app-shell/' → 'Test Files 2330 passed | 1 skipped (2331) / Tests 21781 passed | 9 skipped (21790)', VERDICT command-exit 0 (two earlier wide attempts were red in type-check, fixed by e8de7f0896 and b6d441814b). Ablation @060a33c371 via scripts/ablation-replace.mjs (source resolved by relative import, no dist leg): (1) anchor 'labelSubjects = true, verdictPath }' → false, blob 40845f46e22b → ed604132839a, 8 files: 'Tests 9 failed | 100 passed (109)' (4 mount pins, widget pin, 27521 default pin, nullGuard/typedEmptyOps/COMPILES pickers), CONTROLs green; restored blob == HEAD, git diff HEAD empty. First run of (1) left the 27521 default pin green → found vacuous, fixed in 5ea462073c, re-ablated red. (2) anchor '(f.label && f.label !== f.name ? f.label : undefined)' → '(f.label)', blob → 0ba9b3f964d0: 'Tests 5 failed | 25 passed (30)' (4 mount pins whose CONTROL field arrives labelled with its name, 27521 name-only pin); restored, git diff HEAD empty.",
"gates": "Local derived set (dispatch-gates --commands @b6d441814b, 38 families): all exit 0, exit captured before any pipe, incl. check:test-source-alias (red on the first pass @5ea462073c, fixed in 060a33c371), check:nul-bytes, check:cross-package-test-inputs, check:type-check-coverage, check:type-check-debt (run via its own lock queue; exit read from its OK verdict line), 'pnpm --dir ui exec vitest run scripts/' (171 passed | 2 skipped files, under lock). --ran: 'Run reconciliation — 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN.' Also ui check:new-line-citations '0 new citation(s)'; overlap-check 'VERDICT clean exit 0' before each push. CI on PR #35296 @b6d441814b at report time: Lint/Type Check/Check Changeset/Check PR Size/Governed Surface Queue Guard/PR-body guards in_progress; skipped: Queue verdict, Borrowed queue verdict, Packed-tarball smoke, 18.x upgrade harness, Schedule gate. test:repo not run locally (CI's Test Core).",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST /issues/35296/assignees, one dispatch stroke, run 44447506007); os-dev-report comment on #34122 via post-stamped.mjs. Plus git push (not REST).",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — FlowNodeConfigField and ObjectValidationsPanel still pass labelSubjects explicitly, now restating the default (ObjectValidationsPanel is outside this card's surface); PR Acceptance notes."
]
}
Close-out · 2026-11-19T03:58Z: PR #35296 merged as 645d2bb379 (ACCEPT 6998618448, landing 6998949677); the card closed on merge. pm:dispatched removed.
Noted, not filed: FlowNodeConfigField and ObjectValidationsPanel still pass labelSubjects explicitly, which now only repeats the new default (PR Acceptance notes).
area:uxbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 15, 2026
domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf
Claim: PM loop round 8 · 2026-11-15T22:43Z
Session:
session_01ADHkmRcktQEQx7ViBAPoK5(card thread, dev) · seatsession_01ADHkmT2NE3iyG1o6TDg3sfAccount:
os-steveBranch:
claude/project-thread-0ife7mWorktree:
objectstack-issue-34122Domain:
domain:uiSeat:
domain:ui#1File surface:
ui/packages/app-shell/src/views/metadata-admin/inspectors/**(theConditionBuildermounts inHookDefaultInspector.tsx,ActionDefaultInspector.tsx,PageBlockInspector.tsx, andConditionBuilder.tsxonly if its default flips),ui/packages/app-shell/src/views/metadata-admin/widgets.tsx, their tests, root.changeset/.packages/**read-only.Container & model: M,
mode:thread,model: default tier,effort: highClause-②: no (field labels shown first; no surface added); the dev reports if a default flip touches a published export
Metadata-protocol: none
Responsibility: Studio's hook, action, page-block and widget condition editors list fields by machine name | found by the #33864 dev (os-dev report 6899087689 on PR #34088) | every Studio author who writes a condition
Thread-read: none
Premise: the blocker #33864 is closed; PR #34088 (merged as
e08aad7cae) turnedlabelSubjectson for the flow Entry conditionSerial constraints cleared: no other
pm:dispatcheddomain:uicard and no open PR touches these inspector files orwidgets.tsx(live read 2026-11-15T22:43Z)Scope:
labelSubjectson at each mount whose subject is a field of a known object, or a per-mount reason in the PR body; a stated decision on flipping the default; one pin per changed mount + CONTROL + ablation; forced test edits listed.Fixes #34122. Order:/mnt/project-files/ui-seat1/standard-order.md+34122-delta.md. Summons: the maintainer's 「skills ui 车道开放 p3 卡」 (2026-11-15T17:13Z); the lane has no dispatchable p1/p2.objectstack-fleet commentedon Nov 15, 2026
domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf
Claim released · 2026-11-15T22:51Z
The maintainer paused p3 dispatch at 2026-11-15T22:50Z (「后续暂停 p3 卡的派发,还是只处理 p1 p2」). This claim was posted minutes earlier and no code was pushed under it, so the seat releases it: the card thread is told to stop,
pm:dispatched→pm:queue, assignee cleared. The card's facts and the seat's order file stay valid for whoever picks it up when p3 reopens.objectstack-fleet commentedon Nov 15, 2026
domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf
Correction to the release above: the dev had already pushed work under the claim before it stopped. No PR was opened and no report was filed.
Resume-from:
claude/project-thread-0ife7m@4a009bde. That head does the following:ConditionBuilderlabelSubjectsdefault totrue. A label equal to the field name reads as the spelling.mountScopeharness), the genericConditionWidget, and the default insubjectLabels-27521..changeset/34122-condition-subjects-label-first.md.A narrow run (89 files) on that head left 7 tests red. Each is an existing pin that still finds options by bare spelling and owes a forced edit:
ConditionBuilder.contextSubjects(1),nullGuard-27513(1),subjectVocabulary(4),typedEmptyOps-11894(1). The derived gates, the ablation and the wide run have not been done. IfConditionBuilderis exported from a published package, the default flip needs a contract-face reading when this resumes.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY
Ruling-ref: maintainer 14:43Z 「立一张专题卡,开始执行」 and 15:56Z 「domain 和优先级 不是已经定了吗?为什么现在不能改卡」 · regrade v3 under epic #35205
Grade: p2 (was p3) · area:ux · Bug · UX × not every user every time · 「Studio condition editors: hook, action, page-block and widget conditions list fields by machine name」; UX has no p3 (15:07Z 「和 cloud 对齐」)
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY
Claim: area ux-1 round 1 · 2026-11-19T00:14Z
Session:
session_01Utp6CbSphdunq2aJq7ktuYAccount:
os-billBranch:
claude/issue-34122-condition-label-firstWorktree:
objectstack-issue-34122Domain:
domain:uiSeat:
repo:objectstack#5· areaux-1(lease:ux-1)File surface:
ui/packages/app-shell/src/views/metadata-admin/inspectors/**(ConditionBuilder.tsxand its mounts inHookDefaultInspector.tsx,ActionDefaultInspector.tsx,PageBlockInspector.tsx),ui/packages/app-shell/src/views/metadata-admin/widgets.tsx, their tests (incl. the forced edits), root.changeset/.packages/**read-only.Container & model: M,
mode:subagent,model: default tier(dispatch-gates--tier: no path-derived mandate),effort: highClause-②: no (
@object-ui/app-shellis"private": true; flipping thelabelSubjectsdefault reaches no published export)Metadata-protocol: none
Responsibility: the hook, action, page-block and widget
ConditionBuildermounts leavelabelSubjectsoff, so fields list by machine name | PR #34088 turned it on for the flow Entry condition and object validations only | every Studio author who writes a conditionThread-read: 6984819480
Premise: holds (blocker #33864 closed; PR #34088 merged
e08aad7cae)Pre-claim lane:
ui/packages/app-shell/**→domain:ui, area ux-1 (lease table).Pre-claim deps:
Blocked-by: #33864closed completed; PR #34088 merged.Prior rulings read: check-prior-rulings → ADR hits are generic term matches (ADR-0024 §2, ADR-0146 D6, ADR-0148 D6 …), none rules on condition-subject labels; governing rule
ux-conventions.labels-over-machine-names; thread: os-steve claim 6902613737 released 6902718315, resume note 6902750095; no conflict.Serial constraints cleared: overlap-check on the resume head: clean against
origin/mainand 0 open PR heads (exit 0). Disjoint from #34094's surface.Resume-from:
claude/project-thread-0ife7m@4a009bde(copied to the claim branch above)Scope: as the card's Ask; finish the 7 forced test edits named in 6902750095 (list each in the PR body), derived gates, ablation, wide run.
Fixes #34122.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY
os-dev-report
{ "issue": 34122, "status": "done", "branch": "claude/issue-34122-condition-label-first", "pr": "https://github.com/objectstack-ai/objectstack/pull/35296", "session": "session_01Utp6CbSphdunq2aJq7ktuY", "premise_still_valid": true, "summary": "Resumed claude/issue-34122-condition-label-first@4a009bde (merged origin/main once at 359883a3a0). ConditionBuilder's labelSubjects defaults to true; the default flip is the stated decision: every ConditionBuilder mount in ui/ (action visible/disabled, hook condition, record page block, the generic ConditionWidget, plus flow entry and validations which already opted in) lists fields of a known object, so no mount keeps the spelling primary (per-mount table in the PR body). Finished the 7 forced pin edits (contextSubjects 1, nullGuard-27513 1, subjectVocabulary 4 via a spellingOf reader that also keeps two spelling-negative pins non-vacuous, typedEmptyOps-11894 1), fixed the resume head's 27521 default pin, which was vacuous (an undefined routed through the file's mount helper took the helper's default true), fixed two type-check reds the resume head carried (labelOf read twice → string|undefined; the new ConditionWidget pin's WidgetContext lacked conditionScope), and added module-top side-effect imports that check:test-source-alias asks of every edited test file. Diff 256 lines (+235/-21), 9 files, final head b6d441814b.", "tests": "Targeted (cd ui && pnpm exec vitest run --maxWorkers=2 .../inspectors/ConditionBuilder .../ConditionWidget, under os-verify-lock): before forced edits @359883a3a0 'Test Files 4 failed | 13 passed (17) / Tests 7 failed | 171 passed (178)' (the 7 named); after @c31d3c85d1 '17 passed (17) / 178 passed (178)'. Wide run @b6d441814b: 'pnpm --filter @object-ui/app-shell run type-check && cd ui && pnpm exec vitest run --maxWorkers=2 packages/app-shell/' → 'Test Files 2330 passed | 1 skipped (2331) / Tests 21781 passed | 9 skipped (21790)', VERDICT command-exit 0 (two earlier wide attempts were red in type-check, fixed by e8de7f0896 and b6d441814b). Ablation @060a33c371 via scripts/ablation-replace.mjs (source resolved by relative import, no dist leg): (1) anchor 'labelSubjects = true, verdictPath }' → false, blob 40845f46e22b → ed604132839a, 8 files: 'Tests 9 failed | 100 passed (109)' (4 mount pins, widget pin, 27521 default pin, nullGuard/typedEmptyOps/COMPILES pickers), CONTROLs green; restored blob == HEAD, git diff HEAD empty. First run of (1) left the 27521 default pin green → found vacuous, fixed in 5ea462073c, re-ablated red. (2) anchor '(f.label && f.label !== f.name ? f.label : undefined)' → '(f.label)', blob → 0ba9b3f964d0: 'Tests 5 failed | 25 passed (30)' (4 mount pins whose CONTROL field arrives labelled with its name, 27521 name-only pin); restored, git diff HEAD empty.", "gates": "Local derived set (dispatch-gates --commands @b6d441814b, 38 families): all exit 0, exit captured before any pipe, incl. check:test-source-alias (red on the first pass @5ea462073c, fixed in 060a33c371), check:nul-bytes, check:cross-package-test-inputs, check:type-check-coverage, check:type-check-debt (run via its own lock queue; exit read from its OK verdict line), 'pnpm --dir ui exec vitest run scripts/' (171 passed | 2 skipped files, under lock). --ran: 'Run reconciliation — 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN.' Also ui check:new-line-citations '0 new citation(s)'; overlap-check 'VERDICT clean exit 0' before each push. CI on PR #35296 @b6d441814b at report time: Lint/Type Check/Check Changeset/Check PR Size/Governed Surface Queue Guard/PR-body guards in_progress; skipped: Queue verdict, Borrowed queue verdict, Packed-tarball smoke, 18.x upgrade harness, Schedule gate. test:repo not run locally (CI's Test Core).", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST /issues/35296/assignees, one dispatch stroke, run 44447506007); os-dev-report comment on #34122 via post-stamped.mjs. Plus git push (not REST).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — FlowNodeConfigField and ObjectValidationsPanel still pass labelSubjects explicitly, now restating the default (ObjectValidationsPanel is outside this card's surface); PR Acceptance notes." ] }objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY
Close-out · 2026-11-19T03:58Z: PR #35296 merged as
645d2bb379(ACCEPT 6998618448, landing 6998949677); the card closed on merge.pm:dispatchedremoved.FlowNodeConfigFieldandObjectValidationsPanelstill passlabelSubjectsexplicitly, which now only repeats the new default (PR Acceptance notes).