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
view config: normalizeFieldType does not know radio, multiselect or checkboxes, so a Studio "单选" field cannot group a kanban #39349
In Studio, adding a field with the 单选 type stores it as type: 'radio' (four options). In the console, Add view → Kanban, the 分组字段 dropdown then lists only the user/lookup fields (创建人, 更新人, 负责人, 处理人) and defaults to 创建人. The object's two radio fields (状态, 紧急程度) are missing, although a status field is the usual kanban lane.
Server truth for the object (GET /api/v1/meta/object/<name>): jinji_chengdu radio 4 options, zhuangtai radio 4 options.
Cause
ui/packages/plugin-view/src/config/view-config-utils.ts (around line 132 on main 23e859a):
The spec field types radio, multiselect and checkboxes (packages/spec/src/data/field.zod.ts) are absent, so they normalize to 'text'. The kanban group-field filter in CreateViewDialog.tsx (f.type === 'select' || f.type === 'boolean') then drops them. User/lookup fields being offered is intended (#36643); radio fields being dropped is not.
Other callers of normalizeFieldType (filter operators, etc.) probably treat these fields as text too. Check each call site.
Expected
radio normalizes to 'select'. Which bucket multiselect / checkboxes belong in should follow what the kanban engine accepts (#38433 already narrows the multi-value case). A Studio-created 单选 field shows up as a kanban lane choice and is preferred over 创建人 as the default.
Triage: lands in area:build · domain:ui · Bug · p2 · pm:queue · size S, touched 2026-12-03T15:13Z. Rationale: area:records is not a North Star area. A Studio 单选 field is stored as radio, and normalizeFieldType does not know it (nor multiselect or checkboxes), so a status field cannot be chosen to group a kanban. The view builder gives a wrong result: area:build ③ (Studio builds views).
Grade: area:build · Bug · p2 · builders adding kanban views over Studio-made choice fields · measured (console Add view → Kanban).
Claim: PM loop round 1 · 2026-12-03T22:48Z
Session: session_016WV4d1cnRvyiAqrarmDhZV
Account: os-elon-musk
Area: em-admin
Branch: claude/issue-39349-radio-normalize
Worktree: objectstack-issue-39349
Domain: domain:ui
Seat: repo:objectstack@os-elon-musk
File surface: ui/packages/plugin-view/src/config/view-config-utils.ts, ui/packages/app-shell/src/views/CreateViewDialog.tsx (kanban group-field filter and default only), the other normalizeFieldType call sites in ui/packages/plugin-view/src/** only if a measured wrong bucket is found there (name each in the report), a new test file named for this card. Stop on any other breach and explain in the report.
Container & model: S, mode:subagent, model: default (dispatch-gates --tier at 301a3784: "no path-derived mandate"; the multiselect/checkboxes bucket is a judgement against the kanban engine), effort: medium (S card)
Clause-②: no
Metadata-protocol: none
Responsibility: platform view-builder code in this repo; no existing path maps radio / multiselect / checkboxes (spec types in packages/spec/src/data/field.zod.ts) to a choice bucket; every builder adding a kanban over a Studio-made 单选 field reaches it.
Thread-read: 7382772853
Premise: holds — at origin/main 301a378view-config-utils.ts:132 lists select, picklist, single_select, multi_select, enum, status, lookup, master_detail, user and no radio, multiselect or checkboxes.
Pre-claim lane: ui/** ⇒ domain:ui (file ownership only).
Pre-claim deps: none named by the card.
Prior rulings read: check-prior-rulings.mjs --card 39349 at 301a378: card thread 0 rulings of 1 comment; corpus hits generic, none on these files. The card cites #36643 (user/lookup fields offered on purpose) and #38433 (multi-value narrowing): both kept as constraints.
Serial constraints cleared: check-handover.mjs --inflight → NO OVERLAP READ; no open PR touches these files. Fold with #39405 / #39350 answered no: different files and different defect shape (#39405 is a condition value cell, #39350 the layout canvas widget).
Claim amendment: 2026-12-03T23:47Z · amends claim 7394738571 · Area: em-admin
Folds: the picker half of #39418 (p1, sharing-rule condition value for a radio field is free text), on the seat's routing ruling to this zone (seat repo:objectstack@os-elon-musk, 2026-12-03T23:46Z): same normalizeFieldType defect in ui/packages/plugin-view/src/config/view-config-utils.ts. The save-time half of #39418 is split by zone em-p1 into its own card, Blocked-by: this card's PR. This card is treated as p1 from now on.
File surface: one sharing-rule form pin test, a new test file named for #39418 beside the sharing-rule condition builder the dev locates (no other new source file; if the sharing-rule form does not go through normalizeFieldType, the dev reports it instead of widening).
The PR carries Refs #39418 (item 1, picker half), not Fixes.
{
"issue": 39349,
"status": "done",
"branch": "claude/issue-39349-wip",
"pr": "https://github.com/objectstack-ai/objectstack/pull/39442",
"session": "session_016WV4d1cnRvyiAqrarmDhZV",
"premise_still_valid": true,
"summary": "normalizeFieldType (ui/packages/plugin-view/src/config/view-config-utils.ts) now maps the spec choice types radio, multiselect and checkboxes to select, and deriveFieldOptions carries a declared multiple: true. The kanban group-by pick in CreateViewDialog.tsx offers select/boolean fields that are not multi-valued by the spec's isMultiValueField (the verdict os validate's list-view-kanban-group-field-uncategorical warns on), so a Studio radio field is offered while multiselect, checkboxes and multiple lookups are not; single user/lookup fields stay offered (#36643). The kanban default is taken first among option-bearing fields, so a radio field beats a user field listed before it. Call sites measured: normalizeFieldType is called only by deriveFieldOptions, which only CreateViewDialog consumes; FilterBuilder picks operators from the raw type, so no filter-operator choice changes. Folded #39418 picker half: NOT covered, the sharing-rule form (FilterConditionField -> FilterBuilder) does not go through normalizeFieldType; its option picker is gated by FILTER_SELECT_LIKE_TYPES ['select','status'] in ui/packages/types/src/filter-field-types.ts, which lacks radio; not widened, no #39418 test added. Branch: per PM correction the PR head is claude/issue-39349-wip; the earlier pushed branch claude/issue-39349-radio-normalize (same commits up to 3b1ae2f9) still exists on the remote, for a person to delete.",
"tests": "cd ui && vitest run packages/app-shell/src/views/CreateViewDialog packages/plugin-view/src/config/ : Test Files 12 passed (12), Tests 196 passed (196). New file CreateViewDialog.radioKanban-39349.test.tsx, 6 tests. Ablation on disk, new file re-run each time, tree restored clean: select bucket without radio/multiselect/checkboxes -> 5 failed | 1 passed; preferFirst removed from the kanban pick -> 1 failed (default test); multi-value verdict replaced by true -> 1 failed (offer-list test). type-check plugin-view + app-shell: exit 0, 0 error TS (after building the app-shell dependency closure). pnpm --dir ui exec vitest run scripts/: 172 files passed, 2 skipped; 5161 tests passed. Head 3b1ae2f9.",
"gates": "dispatch-gates --commands derived 38 families; 37 exit 0, captured before any pipe; pnpm check:query-options-erasure exit 124 = NOT MEASURED, reason: local 300 s timeout on a shared box, CI runs it. dispatch-gates --ran: 38 of 38 accounted for. The first 27 ran at 5d2c3027, the 11 changeset families at 3b1ae2f9 (that commit adds only the changeset). CI check-runs on PR 39442: NOT MEASURED, reason: not read at report time; CI convergence is the seat's.",
"mcp_calls": "0",
"api_writes": "2 relay writes: pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/39442/assignees os-elon-musk, run 47233509253, read-back identical), os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/39349/comments via post-stamped.mjs). git push x3: claude/issue-39349-radio-normalize (probe + 2 commits, before the branch correction), claude/issue-39349-wip (one push).",
"classifier_refusals": [],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"class: a · reach: public door, Setup -> sharing rules -> new rule on a radio field draws a free-text value input (the #39418 report, measured by its author) · evidence: FilterConditionField.deriveFilterFields passes the raw type; filter-builder isOptionDrivenValueControl requires the type in FILTER_SELECT_LIKE_TYPES = ['select','status'] (ui/packages/types/src/filter-field-types.ts:64) or the lookup list; radio, multiselect single-pick are absent · carrier: #39418 (item 1, picker half) · dedupe words: FILTER_SELECT_LIKE_TYPES radio, sharing rule radio picker, FilterConditionField option picker",
"class: a · reach: none measured (read only) · evidence: spec type toggle is absent from normalizeFieldType, so it falls to text and is not offered as a kanban lane · carrier: none · noted, not filed",
"class: none · evidence: multi_select (non-spec compatibility spelling, already in the select bucket) is not seen by isMultiValueField, so it stays offered as a kanban lane as before · carrier: none · noted in PR Acceptance notes"
],
"deviations": "Harness attribution trailer named a model; the push hook refused it and the commit was amended to the model-free pair before any publish. Gate batches were moved to background by the harness (not by request); one was stopped and re-run in the foreground, the other completed. PM branch correction conflicts with os-dev.md (no PR from a ...-wip backup branch); followed the PM's project-rule correction since this branch is the card's PR branch, not a backup beside an open PR.",
"files_changed": [
"ui/packages/plugin-view/src/config/view-config-utils.ts",
"ui/packages/app-shell/src/views/CreateViewDialog.tsx",
"ui/packages/app-shell/src/views/CreateViewDialog.radioKanban-39349.test.tsx",
".changeset/39349-radio-kanban-group-field.md"
],
"line_budget": "+173 / -3 across 4 files, under the 3000 human-merge line"
}
Claim amendment: 2026-12-04T00:10Z · amends claim 7394738571 (and amendment 7396002100) · Area: em-admin
Branch: claude/issue-39349-wip (project rule: cloud sessions push only claude/issue-N-wip; the earlier claude/issue-39349-radio-normalize sits on origin for a person to delete).
File surface: ui/packages/types/src/filter-field-types.ts (the select-like bucket), the sharing-rule pin test named for #39418, added. The dev measured (report on #39349) that the sharing-rule form goes FilterConditionField → FilterBuilder and never calls normalizeFieldType; its option picker appears only for FILTER_SELECT_LIKE_TYPES = ['select','status'] (filter-field-types.ts:64 at origin/main), which lacks radio. The folded p1 half of #39418 needs this file; patch round on PR #39442.
Clause-②: owed a reading — the dev measures whether the widened tuple reaches the package's built entry declarations (a published type union); yes if it does, and the PR body says so.
Serial constraints cleared: check-handover.mjs --inflight --card=39349 on this file → NO OVERLAP READ (the two unread surfaces are domain:skills fleet cards).
Claim: PM loop round 1 · 2026-12-04T00:15Z · re-posted: supersedes claim 7394738571 for the branch name only (project rule: cloud sessions push only claude/issue-N-wip); every claim amendment on this card still stands
Session: session_016WV4d1cnRvyiAqrarmDhZV
Account: os-elon-musk
Area: em-admin
Branch: claude/issue-39349-wip
Worktree: objectstack-issue-39349
Domain: domain:ui
Seat: repo:objectstack@os-elon-musk
File surface: ui/packages/plugin-view/src/config/view-config-utils.ts, ui/packages/app-shell/src/views/CreateViewDialog.tsx (kanban group-field filter and default only), the other normalizeFieldType call sites in ui/packages/plugin-view/src/** only if a measured wrong bucket is found there (name each in the report), a new test file named for this card. Stop on any other breach and explain in the report.
Container & model: S, mode:subagent, model: default (dispatch-gates --tier at 301a3784: "no path-derived mandate"; the multiselect/checkboxes bucket is a judgement against the kanban engine), effort: medium (S card)
Clause-②: no
Metadata-protocol: none
Responsibility: platform view-builder code in this repo; no existing path maps radio / multiselect / checkboxes (spec types in packages/spec/src/data/field.zod.ts) to a choice bucket; every builder adding a kanban over a Studio-made 单选 field reaches it.
Thread-read: 7396472012
Premise: holds — at origin/main 301a378view-config-utils.ts:132 lists select, picklist, single_select, multi_select, enum, status, lookup, master_detail, user and no radio, multiselect or checkboxes.
Pre-claim lane: ui/** ⇒ domain:ui (file ownership only).
Pre-claim deps: none named by the card.
Prior rulings read: check-prior-rulings.mjs --card 39349 at 301a378: card thread 0 rulings of 1 comment; corpus hits generic, none on these files. The card cites #36643 (user/lookup fields offered on purpose) and #38433 (multi-value narrowing): both kept as constraints.
Serial constraints cleared: check-handover.mjs --inflight → NO OVERLAP READ; no open PR touches these files. Fold with #39405 / #39350 answered no: different files and different defect shape (#39405 is a condition value cell, #39350 the layout canvas widget).
{
"issue": 39349,
"status": "done",
"branch": "claude/issue-39349-wip",
"pr": "https://github.com/objectstack-ai/objectstack/pull/39442",
"session": "session_016WV4d1cnRvyiAqrarmDhZV",
"premise_still_valid": true,
"summary": "Patch round on PR 39442, head c530f155 (PR check-runs: 45 success, 15 skipped, 0 failed). radio joins FILTER_SELECT_LIKE_TYPES (ui/packages/types/src/filter-field-types.ts), so the sharing-rule condition (FilterConditionField -> FilterBuilder) on a radio field draws an option picker: labels shown, option value stored. multiselect/checkboxes are NOT added: the server refuses $eq/$in/$nin on their JSON-array column (JSON_COLUMN_INCOMPATIBLE_OPERATORS, packages/core/src/utils/json-column-operator-refusal.ts), and the builder already gives them contains/not_contains over their options. Bucket consumers checked: filter-builder (select operators + option Select for radio), flow-edge-condition-rows (radio -> kind select), plugin-list conditionModel (option family), FilterFieldSchema/FilterFieldType (accept radio), schema-catalog mirror (drawn by the select branch); all their suites green. Clause-②: the widened tuple reaches the published declarations (built dist/filter-field-types.d.ts declares readonly [select, radio, status]; dist/index.d.ts re-exports it), so the changeset now reads Clause-②: yes (widening) and adds @object-ui/types: patch. The PR body still says Clause-②: no: the seat has to apply the prepared body (path in deviations). Earlier red on 3b1ae2f9: Test UI and Lint & Repo Gates were cancellation, not test failures (every shard and lint lane concluded cancelled at 00:14 when e9766c27 superseded the head). PR-body guards failed because the governing Claim: named the old branch; it went green on c530f155 after the claim was re-posted (7396569734).",
"tests": "Head c530f155. From ui/: vitest over the new pin + every bucket consumer -> Test Files 55 passed (55), Tests 1119 passed (1119). New FilterConditionField.radioPicker-39418.test.tsx run alone, verbose: 2 passed. Ablation: radio removed from the bucket -> both tests red (2 failed); file restored, git status clean. Type-check: @object-ui/types and @object-ui/fields exit 0; plugin-view and app-shell exit 0 on the first round.",
"gates": "dispatch-gates --commands on c530f155: the same 38 families. 36 exited 0 locally (exit captured before any pipe); check:type-check-debt exited 0 when re-run with a longer bound; check:query-options-erasure NOT MEASURED locally (timeout 124), CI 'Lint · scoped · query-options erasure' success; ui scripts vitest not re-run locally, CI Lint UI/Test UI success. PR check-runs on c530f155: 45 success, 15 skipped, 0 failure (incl. PR-body guards, Test UI 1..16/16, Lint & Repo Gates, Type Check UI, Check Changeset, Test Core).",
"mcp_calls": "0",
"api_writes": "Round 1: 2 relay writes (pr_create run 47233509253; os-dev-report comment run 47233729834). Patch round: 1 relay write (this os-dev-report comment on issue 39349). 1 relay rerun attempt REFUSED before dispatch, nothing sent: rerun-failed.mjs --run 47234479605 refused by its fence `workflow` because pr-body-guards.yml is not on the relay's re-run list. git push to claude/issue-39349-wip: e9766c27, c530f155.",
"classifier_refusals": [],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"class: a · reach: none measured (read only) · evidence: the spec type toggle is missing from normalizeFieldType, so it falls to text and is not offered as a kanban lane · carrier: none · noted, not filed",
"carrier: none · noted in PR Acceptance notes: multi_select (a non-spec compatibility spelling) is not caught by isMultiValueField and is still offered as a kanban lane",
"carrier: none · noted: the zod/complex.zod.ts header prose still lists FILTER_SELECT_LIKE_TYPES as select, status (prose only, outside the file surface)"
],
"deviations": "(1) The relay refused to re-run PR-body guards (workflow fence), so nothing was sent; the c530f155 push re-ran the guard and it passed. (2) PR body not PATCHed (seat-owned): the updated body with Clause-②: yes (widening), the #39418 section and the c530f155 readings is at /tmp/claude-0/-home-user/4b853e96-6b59-53b9-9b35-a5c363d03936/scratchpad/issue-39349/pr-body-v2.md. (3) The container restart killed a foreground wait; the worktree was found clean at e9766c27 and work resumed. (4) Round 1: the model-named trailer was amended before publish; following the PM branch correction conflicts with the os-dev rule against opening a PR from a -wip branch. (5) The old branch claude/issue-39349-radio-normalize is still on origin for a person to delete.",
"files_changed": [
"ui/packages/plugin-view/src/config/view-config-utils.ts",
"ui/packages/app-shell/src/views/CreateViewDialog.tsx",
"ui/packages/app-shell/src/views/CreateViewDialog.radioKanban-39349.test.tsx",
"ui/packages/types/src/filter-field-types.ts",
"ui/packages/fields/src/widgets/__tests__/FilterConditionField.radioPicker-39418.test.tsx",
".changeset/39349-radio-kanban-group-field.md"
],
"line_budget": "+307 / -5 across 6 files, under the 3000-line human-merge threshold"
}
{
"issue": 39349,
"status": "done",
"branch": "claude/issue-39349-wip",
"pr": "https://github.com/objectstack-ai/objectstack/pull/39442",
"session": "session_016WV4d1cnRvyiAqrarmDhZV",
"premise_still_valid": true,
"summary": "L2 delta S2 on PR 39442, head d9dc3155. I aligned the changeset with precedent 9ab75ee (#27631), which widened the same FILTER_FIELD_TYPES enum and declared '@object-ui/types': minor with Metadata-protocol: added. This changeset now reads '@object-ui/types': minor, Clause-②: yes (widening), Metadata-protocol: added (plugin-view and app-shell stay patch). check-changeset-no-major.mjs reads the kind from the PR body. Measured locally with --event: the new lines give exit 0, and the old body's `none` beside a minor gives exit 1. The seat updated the body (lines Clause-②: yes (widening) / Metadata-protocol: added), and Check Changeset 144755223070 is success on d9dc3155. S1 and N1 were not touched, as instructed.",
"tests": "Head c530f155. From ui/: vitest over the new pin + every bucket consumer -> Test Files 55 passed (55), Tests 1119 passed (1119). New FilterConditionField.radioPicker-39418.test.tsx run alone, verbose: 2 passed. Ablation: radio removed from the bucket -> both tests red (2 failed); file restored, git status clean. Type-check: @object-ui/types and @object-ui/fields exit 0; plugin-view and app-shell exit 0 on the first round.",
"gates": "Local on d9dc3155: check-changeset-no-major --event with the new body lines exit 0; with the old `none` line exit 1 (expected); check-changeset-fixed exit 0; check-empty-changeset exit 0. The commit touches only the changeset file; all other families were measured on c530f155. PR check-runs on d9dc3155: 47 success, 19 skipped. The latest Check Changeset (144755223070) is success. The earlier Check Changeset runs 144753215623 (failure, before the body edit) and 144754230992 (cancelled) are superseded.",
"mcp_calls": "0",
"api_writes": "Round 1: 2 relay writes (pr_create run 47233509253; os-dev-report comment run 47233729834). Patch round: 1 relay write (this os-dev-report comment on issue 39349). 1 relay rerun attempt REFUSED before dispatch, nothing sent: rerun-failed.mjs --run 47234479605 refused by its fence `workflow` because pr-body-guards.yml is not on the relay's re-run list. git push to claude/issue-39349-wip: e9766c27, c530f155. S2 round: git push d9dc3155; 1 os-dev-report comment via post-stamped (this one); 1 SendMessage to the coordinator with the two body lines.",
"classifier_refusals": [],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"class: a · reach: none measured (read only) · evidence: the spec type toggle is missing from normalizeFieldType, so it falls to text and is not offered as a kanban lane · carrier: none · noted, not filed",
"carrier: none · noted in PR Acceptance notes: multi_select (a non-spec compatibility spelling) is not caught by isMultiValueField and is still offered as a kanban lane",
"carrier: none · noted: the zod/complex.zod.ts header prose still lists FILTER_SELECT_LIKE_TYPES as select, status (prose only, outside the file surface)"
],
"deviations": "(1) The relay refused to re-run PR-body guards (workflow fence), so nothing was sent; the c530f155 push re-ran the guard and it passed. (2) PR body not PATCHed (seat-owned): the updated body with Clause-②: yes (widening), the #39418 section and the c530f155 readings is at /tmp/claude-0/-home-user/4b853e96-6b59-53b9-9b35-a5c363d03936/scratchpad/issue-39349/pr-body-v2.md. (3) The container restart killed a foreground wait; the worktree was found clean at e9766c27 and work resumed. (4) Round 1: the model-named trailer was amended before publish; following the PM branch correction conflicts with the os-dev rule against opening a PR from a -wip branch. (5) The old branch claude/issue-39349-radio-normalize is still on origin for a person to delete.",
"files_changed": [
"ui/packages/plugin-view/src/config/view-config-utils.ts",
"ui/packages/app-shell/src/views/CreateViewDialog.tsx",
"ui/packages/app-shell/src/views/CreateViewDialog.radioKanban-39349.test.tsx",
"ui/packages/types/src/filter-field-types.ts",
"ui/packages/fields/src/widgets/__tests__/FilterConditionField.radioPicker-39418.test.tsx",
".changeset/39349-radio-kanban-group-field.md"
],
"line_budget": "+307 / -5 across 6 files vs the merge base (the S2 commit changes 3 changeset lines)"
}
Delivered · 2026-12-04T02:43Z · zone em-admin
PR #39442 merged (merge commit 05e97de19b), closing this card via Fixes #39349, with the #39418 picker half (radio in FILTER_SELECT_LIKE_TYPES); L1 ACCEPT → PR #39442 comment 7398078028, contract review PASS → 7398796071. Follow-up S1 is #39480. pm:dispatched removed in this stroke. The pre-rule branch claude/issue-39349-radio-normalize is left on origin for a person to delete.
Activity
objectstack-fleet commentedon Dec 3, 2026
triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:build · domain:ui · Bug · p2 · pm:queue · size S, touched 2026-12-03T15:13Z. Rationale:
area:recordsis not a North Star area. A Studio 单选 field is stored asradio, andnormalizeFieldTypedoes not know it (nor multiselect or checkboxes), so a status field cannot be chosen to group a kanban. The view builder gives a wrong result: area:build ③ (Studio builds views).Grade: area:build · Bug · p2 · builders adding kanban views over Studio-made choice fields · measured (console Add view → Kanban).
objectstack-fleet commentedon Dec 3, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Claim: PM loop round 1 · 2026-12-03T22:48Z
Session:
session_016WV4d1cnRvyiAqrarmDhZVAccount:
os-elon-muskArea: em-admin
Branch:
claude/issue-39349-radio-normalizeWorktree:
objectstack-issue-39349Domain:
domain:uiSeat:
repo:objectstack@os-elon-muskFile surface:
ui/packages/plugin-view/src/config/view-config-utils.ts,ui/packages/app-shell/src/views/CreateViewDialog.tsx(kanban group-field filter and default only), the othernormalizeFieldTypecall sites inui/packages/plugin-view/src/**only if a measured wrong bucket is found there (name each in the report), a new test file named for this card. Stop on any other breach and explain in the report.Container & model:
S,mode:subagent,model: default (dispatch-gates --tier at 301a3784: "no path-derived mandate"; the multiselect/checkboxes bucket is a judgement against the kanban engine),effort: medium (S card)Clause-②: no
Metadata-protocol: none
Responsibility: platform view-builder code in this repo; no existing path maps
radio/multiselect/checkboxes(spec types inpackages/spec/src/data/field.zod.ts) to a choice bucket; every builder adding a kanban over a Studio-made 单选 field reaches it.Thread-read: 7382772853
Premise: holds — at origin/main 301a378
view-config-utils.ts:132listsselect, picklist, single_select, multi_select, enum, status, lookup, master_detail, userand noradio,multiselectorcheckboxes.Pre-claim lane:
ui/**⇒domain:ui(file ownership only).Pre-claim deps: none named by the card.
Prior rulings read:
check-prior-rulings.mjs --card 39349at 301a378: card thread 0 rulings of 1 comment; corpus hits generic, none on these files. The card cites #36643 (user/lookup fields offered on purpose) and #38433 (multi-value narrowing): both kept as constraints.Serial constraints cleared:
check-handover.mjs --inflight→ NO OVERLAP READ; no open PR touches these files. Fold with #39405 / #39350 answered no: different files and different defect shape (#39405 is a condition value cell, #39350 the layout canvas widget).objectstack-fleet commentedon Dec 3, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Claim amendment: 2026-12-03T23:47Z · amends claim 7394738571 · Area: em-admin
Folds: the picker half of #39418 (p1, sharing-rule condition value for a radio field is free text), on the seat's routing ruling to this zone (seat repo:objectstack@os-elon-musk, 2026-12-03T23:46Z): same
normalizeFieldTypedefect inui/packages/plugin-view/src/config/view-config-utils.ts. The save-time half of #39418 is split by zone em-p1 into its own card,Blocked-by:this card's PR. This card is treated as p1 from now on.File surface: one sharing-rule form pin test, a new test file named for #39418 beside the sharing-rule condition builder the dev locates (no other new source file; if the sharing-rule form does not go through
normalizeFieldType, the dev reports it instead of widening).The PR carries
Refs #39418 (item 1, picker half), notFixes.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
os-dev-report
{ "issue": 39349, "status": "done", "branch": "claude/issue-39349-wip", "pr": "https://github.com/objectstack-ai/objectstack/pull/39442", "session": "session_016WV4d1cnRvyiAqrarmDhZV", "premise_still_valid": true, "summary": "normalizeFieldType (ui/packages/plugin-view/src/config/view-config-utils.ts) now maps the spec choice types radio, multiselect and checkboxes to select, and deriveFieldOptions carries a declared multiple: true. The kanban group-by pick in CreateViewDialog.tsx offers select/boolean fields that are not multi-valued by the spec's isMultiValueField (the verdict os validate's list-view-kanban-group-field-uncategorical warns on), so a Studio radio field is offered while multiselect, checkboxes and multiple lookups are not; single user/lookup fields stay offered (#36643). The kanban default is taken first among option-bearing fields, so a radio field beats a user field listed before it. Call sites measured: normalizeFieldType is called only by deriveFieldOptions, which only CreateViewDialog consumes; FilterBuilder picks operators from the raw type, so no filter-operator choice changes. Folded #39418 picker half: NOT covered, the sharing-rule form (FilterConditionField -> FilterBuilder) does not go through normalizeFieldType; its option picker is gated by FILTER_SELECT_LIKE_TYPES ['select','status'] in ui/packages/types/src/filter-field-types.ts, which lacks radio; not widened, no #39418 test added. Branch: per PM correction the PR head is claude/issue-39349-wip; the earlier pushed branch claude/issue-39349-radio-normalize (same commits up to 3b1ae2f9) still exists on the remote, for a person to delete.", "tests": "cd ui && vitest run packages/app-shell/src/views/CreateViewDialog packages/plugin-view/src/config/ : Test Files 12 passed (12), Tests 196 passed (196). New file CreateViewDialog.radioKanban-39349.test.tsx, 6 tests. Ablation on disk, new file re-run each time, tree restored clean: select bucket without radio/multiselect/checkboxes -> 5 failed | 1 passed; preferFirst removed from the kanban pick -> 1 failed (default test); multi-value verdict replaced by true -> 1 failed (offer-list test). type-check plugin-view + app-shell: exit 0, 0 error TS (after building the app-shell dependency closure). pnpm --dir ui exec vitest run scripts/: 172 files passed, 2 skipped; 5161 tests passed. Head 3b1ae2f9.", "gates": "dispatch-gates --commands derived 38 families; 37 exit 0, captured before any pipe; pnpm check:query-options-erasure exit 124 = NOT MEASURED, reason: local 300 s timeout on a shared box, CI runs it. dispatch-gates --ran: 38 of 38 accounted for. The first 27 ran at 5d2c3027, the 11 changeset families at 3b1ae2f9 (that commit adds only the changeset). CI check-runs on PR 39442: NOT MEASURED, reason: not read at report time; CI convergence is the seat's.", "mcp_calls": "0", "api_writes": "2 relay writes: pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/39442/assignees os-elon-musk, run 47233509253, read-back identical), os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/39349/comments via post-stamped.mjs). git push x3: claude/issue-39349-radio-normalize (probe + 2 commits, before the branch correction), claude/issue-39349-wip (one push).", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: a · reach: public door, Setup -> sharing rules -> new rule on a radio field draws a free-text value input (the #39418 report, measured by its author) · evidence: FilterConditionField.deriveFilterFields passes the raw type; filter-builder isOptionDrivenValueControl requires the type in FILTER_SELECT_LIKE_TYPES = ['select','status'] (ui/packages/types/src/filter-field-types.ts:64) or the lookup list; radio, multiselect single-pick are absent · carrier: #39418 (item 1, picker half) · dedupe words: FILTER_SELECT_LIKE_TYPES radio, sharing rule radio picker, FilterConditionField option picker", "class: a · reach: none measured (read only) · evidence: spec type toggle is absent from normalizeFieldType, so it falls to text and is not offered as a kanban lane · carrier: none · noted, not filed", "class: none · evidence: multi_select (non-spec compatibility spelling, already in the select bucket) is not seen by isMultiValueField, so it stays offered as a kanban lane as before · carrier: none · noted in PR Acceptance notes" ], "deviations": "Harness attribution trailer named a model; the push hook refused it and the commit was amended to the model-free pair before any publish. Gate batches were moved to background by the harness (not by request); one was stopped and re-run in the foreground, the other completed. PM branch correction conflicts with os-dev.md (no PR from a ...-wip backup branch); followed the PM's project-rule correction since this branch is the card's PR branch, not a backup beside an open PR.", "files_changed": [ "ui/packages/plugin-view/src/config/view-config-utils.ts", "ui/packages/app-shell/src/views/CreateViewDialog.tsx", "ui/packages/app-shell/src/views/CreateViewDialog.radioKanban-39349.test.tsx", ".changeset/39349-radio-kanban-group-field.md" ], "line_budget": "+173 / -3 across 4 files, under the 3000 human-merge line" }objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Claim amendment: 2026-12-04T00:10Z · amends claim 7394738571 (and amendment 7396002100) · Area: em-admin
Branch:
claude/issue-39349-wip(project rule: cloud sessions push onlyclaude/issue-N-wip; the earlierclaude/issue-39349-radio-normalizesits on origin for a person to delete).File surface:
ui/packages/types/src/filter-field-types.ts(the select-like bucket), the sharing-rule pin test named for #39418, added. The dev measured (report on #39349) that the sharing-rule form goesFilterConditionField→FilterBuilderand never callsnormalizeFieldType; its option picker appears only forFILTER_SELECT_LIKE_TYPES = ['select','status'](filter-field-types.ts:64at origin/main), which lacksradio. The folded p1 half of #39418 needs this file; patch round on PR #39442.Clause-②: owed a reading — the dev measures whether the widened tuple reaches the package's built entry declarations (a published type union);
yesif it does, and the PR body says so.Serial constraints cleared:
check-handover.mjs --inflight --card=39349on this file → NO OVERLAP READ (the two unread surfaces aredomain:skillsfleet cards).objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Claim: PM loop round 1 · 2026-12-04T00:15Z · re-posted: supersedes claim 7394738571 for the branch name only (project rule: cloud sessions push only
claude/issue-N-wip); every claim amendment on this card still standsSession:
session_016WV4d1cnRvyiAqrarmDhZVAccount:
os-elon-muskArea: em-admin
Branch:
claude/issue-39349-wipWorktree:
objectstack-issue-39349Domain:
domain:uiSeat:
repo:objectstack@os-elon-muskFile surface:
ui/packages/plugin-view/src/config/view-config-utils.ts,ui/packages/app-shell/src/views/CreateViewDialog.tsx(kanban group-field filter and default only), the othernormalizeFieldTypecall sites inui/packages/plugin-view/src/**only if a measured wrong bucket is found there (name each in the report), a new test file named for this card. Stop on any other breach and explain in the report.Container & model:
S,mode:subagent,model: default (dispatch-gates --tier at 301a3784: "no path-derived mandate"; the multiselect/checkboxes bucket is a judgement against the kanban engine),effort: medium (S card)Clause-②: no
Metadata-protocol: none
Responsibility: platform view-builder code in this repo; no existing path maps
radio/multiselect/checkboxes(spec types inpackages/spec/src/data/field.zod.ts) to a choice bucket; every builder adding a kanban over a Studio-made 单选 field reaches it.Thread-read: 7396472012
Premise: holds — at origin/main 301a378
view-config-utils.ts:132listsselect, picklist, single_select, multi_select, enum, status, lookup, master_detail, userand noradio,multiselectorcheckboxes.Pre-claim lane:
ui/**⇒domain:ui(file ownership only).Pre-claim deps: none named by the card.
Prior rulings read:
check-prior-rulings.mjs --card 39349at 301a378: card thread 0 rulings of 1 comment; corpus hits generic, none on these files. The card cites #36643 (user/lookup fields offered on purpose) and #38433 (multi-value narrowing): both kept as constraints.Serial constraints cleared:
check-handover.mjs --inflight→ NO OVERLAP READ; no open PR touches these files. Fold with #39405 / #39350 answered no: different files and different defect shape (#39405 is a condition value cell, #39350 the layout canvas widget).objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
os-dev-report
{ "issue": 39349, "status": "done", "branch": "claude/issue-39349-wip", "pr": "https://github.com/objectstack-ai/objectstack/pull/39442", "session": "session_016WV4d1cnRvyiAqrarmDhZV", "premise_still_valid": true, "summary": "Patch round on PR 39442, head c530f155 (PR check-runs: 45 success, 15 skipped, 0 failed). radio joins FILTER_SELECT_LIKE_TYPES (ui/packages/types/src/filter-field-types.ts), so the sharing-rule condition (FilterConditionField -> FilterBuilder) on a radio field draws an option picker: labels shown, option value stored. multiselect/checkboxes are NOT added: the server refuses $eq/$in/$nin on their JSON-array column (JSON_COLUMN_INCOMPATIBLE_OPERATORS, packages/core/src/utils/json-column-operator-refusal.ts), and the builder already gives them contains/not_contains over their options. Bucket consumers checked: filter-builder (select operators + option Select for radio), flow-edge-condition-rows (radio -> kind select), plugin-list conditionModel (option family), FilterFieldSchema/FilterFieldType (accept radio), schema-catalog mirror (drawn by the select branch); all their suites green. Clause-②: the widened tuple reaches the published declarations (built dist/filter-field-types.d.ts declares readonly [select, radio, status]; dist/index.d.ts re-exports it), so the changeset now reads Clause-②: yes (widening) and adds @object-ui/types: patch. The PR body still says Clause-②: no: the seat has to apply the prepared body (path in deviations). Earlier red on 3b1ae2f9: Test UI and Lint & Repo Gates were cancellation, not test failures (every shard and lint lane concluded cancelled at 00:14 when e9766c27 superseded the head). PR-body guards failed because the governing Claim: named the old branch; it went green on c530f155 after the claim was re-posted (7396569734).", "tests": "Head c530f155. From ui/: vitest over the new pin + every bucket consumer -> Test Files 55 passed (55), Tests 1119 passed (1119). New FilterConditionField.radioPicker-39418.test.tsx run alone, verbose: 2 passed. Ablation: radio removed from the bucket -> both tests red (2 failed); file restored, git status clean. Type-check: @object-ui/types and @object-ui/fields exit 0; plugin-view and app-shell exit 0 on the first round.", "gates": "dispatch-gates --commands on c530f155: the same 38 families. 36 exited 0 locally (exit captured before any pipe); check:type-check-debt exited 0 when re-run with a longer bound; check:query-options-erasure NOT MEASURED locally (timeout 124), CI 'Lint · scoped · query-options erasure' success; ui scripts vitest not re-run locally, CI Lint UI/Test UI success. PR check-runs on c530f155: 45 success, 15 skipped, 0 failure (incl. PR-body guards, Test UI 1..16/16, Lint & Repo Gates, Type Check UI, Check Changeset, Test Core).", "mcp_calls": "0", "api_writes": "Round 1: 2 relay writes (pr_create run 47233509253; os-dev-report comment run 47233729834). Patch round: 1 relay write (this os-dev-report comment on issue 39349). 1 relay rerun attempt REFUSED before dispatch, nothing sent: rerun-failed.mjs --run 47234479605 refused by its fence `workflow` because pr-body-guards.yml is not on the relay's re-run list. git push to claude/issue-39349-wip: e9766c27, c530f155.", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: a · reach: none measured (read only) · evidence: the spec type toggle is missing from normalizeFieldType, so it falls to text and is not offered as a kanban lane · carrier: none · noted, not filed", "carrier: none · noted in PR Acceptance notes: multi_select (a non-spec compatibility spelling) is not caught by isMultiValueField and is still offered as a kanban lane", "carrier: none · noted: the zod/complex.zod.ts header prose still lists FILTER_SELECT_LIKE_TYPES as select, status (prose only, outside the file surface)" ], "deviations": "(1) The relay refused to re-run PR-body guards (workflow fence), so nothing was sent; the c530f155 push re-ran the guard and it passed. (2) PR body not PATCHed (seat-owned): the updated body with Clause-②: yes (widening), the #39418 section and the c530f155 readings is at /tmp/claude-0/-home-user/4b853e96-6b59-53b9-9b35-a5c363d03936/scratchpad/issue-39349/pr-body-v2.md. (3) The container restart killed a foreground wait; the worktree was found clean at e9766c27 and work resumed. (4) Round 1: the model-named trailer was amended before publish; following the PM branch correction conflicts with the os-dev rule against opening a PR from a -wip branch. (5) The old branch claude/issue-39349-radio-normalize is still on origin for a person to delete.", "files_changed": [ "ui/packages/plugin-view/src/config/view-config-utils.ts", "ui/packages/app-shell/src/views/CreateViewDialog.tsx", "ui/packages/app-shell/src/views/CreateViewDialog.radioKanban-39349.test.tsx", "ui/packages/types/src/filter-field-types.ts", "ui/packages/fields/src/widgets/__tests__/FilterConditionField.radioPicker-39418.test.tsx", ".changeset/39349-radio-kanban-group-field.md" ], "line_budget": "+307 / -5 across 6 files, under the 3000-line human-merge threshold" }objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
os-dev-report
{ "issue": 39349, "status": "done", "branch": "claude/issue-39349-wip", "pr": "https://github.com/objectstack-ai/objectstack/pull/39442", "session": "session_016WV4d1cnRvyiAqrarmDhZV", "premise_still_valid": true, "summary": "L2 delta S2 on PR 39442, head d9dc3155. I aligned the changeset with precedent 9ab75ee (#27631), which widened the same FILTER_FIELD_TYPES enum and declared '@object-ui/types': minor with Metadata-protocol: added. This changeset now reads '@object-ui/types': minor, Clause-②: yes (widening), Metadata-protocol: added (plugin-view and app-shell stay patch). check-changeset-no-major.mjs reads the kind from the PR body. Measured locally with --event: the new lines give exit 0, and the old body's `none` beside a minor gives exit 1. The seat updated the body (lines Clause-②: yes (widening) / Metadata-protocol: added), and Check Changeset 144755223070 is success on d9dc3155. S1 and N1 were not touched, as instructed.", "tests": "Head c530f155. From ui/: vitest over the new pin + every bucket consumer -> Test Files 55 passed (55), Tests 1119 passed (1119). New FilterConditionField.radioPicker-39418.test.tsx run alone, verbose: 2 passed. Ablation: radio removed from the bucket -> both tests red (2 failed); file restored, git status clean. Type-check: @object-ui/types and @object-ui/fields exit 0; plugin-view and app-shell exit 0 on the first round.", "gates": "Local on d9dc3155: check-changeset-no-major --event with the new body lines exit 0; with the old `none` line exit 1 (expected); check-changeset-fixed exit 0; check-empty-changeset exit 0. The commit touches only the changeset file; all other families were measured on c530f155. PR check-runs on d9dc3155: 47 success, 19 skipped. The latest Check Changeset (144755223070) is success. The earlier Check Changeset runs 144753215623 (failure, before the body edit) and 144754230992 (cancelled) are superseded.", "mcp_calls": "0", "api_writes": "Round 1: 2 relay writes (pr_create run 47233509253; os-dev-report comment run 47233729834). Patch round: 1 relay write (this os-dev-report comment on issue 39349). 1 relay rerun attempt REFUSED before dispatch, nothing sent: rerun-failed.mjs --run 47234479605 refused by its fence `workflow` because pr-body-guards.yml is not on the relay's re-run list. git push to claude/issue-39349-wip: e9766c27, c530f155. S2 round: git push d9dc3155; 1 os-dev-report comment via post-stamped (this one); 1 SendMessage to the coordinator with the two body lines.", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: a · reach: none measured (read only) · evidence: the spec type toggle is missing from normalizeFieldType, so it falls to text and is not offered as a kanban lane · carrier: none · noted, not filed", "carrier: none · noted in PR Acceptance notes: multi_select (a non-spec compatibility spelling) is not caught by isMultiValueField and is still offered as a kanban lane", "carrier: none · noted: the zod/complex.zod.ts header prose still lists FILTER_SELECT_LIKE_TYPES as select, status (prose only, outside the file surface)" ], "deviations": "(1) The relay refused to re-run PR-body guards (workflow fence), so nothing was sent; the c530f155 push re-ran the guard and it passed. (2) PR body not PATCHed (seat-owned): the updated body with Clause-②: yes (widening), the #39418 section and the c530f155 readings is at /tmp/claude-0/-home-user/4b853e96-6b59-53b9-9b35-a5c363d03936/scratchpad/issue-39349/pr-body-v2.md. (3) The container restart killed a foreground wait; the worktree was found clean at e9766c27 and work resumed. (4) Round 1: the model-named trailer was amended before publish; following the PM branch correction conflicts with the os-dev rule against opening a PR from a -wip branch. (5) The old branch claude/issue-39349-radio-normalize is still on origin for a person to delete.", "files_changed": [ "ui/packages/plugin-view/src/config/view-config-utils.ts", "ui/packages/app-shell/src/views/CreateViewDialog.tsx", "ui/packages/app-shell/src/views/CreateViewDialog.radioKanban-39349.test.tsx", "ui/packages/types/src/filter-field-types.ts", "ui/packages/fields/src/widgets/__tests__/FilterConditionField.radioPicker-39418.test.tsx", ".changeset/39349-radio-kanban-group-field.md" ], "line_budget": "+307 / -5 across 6 files vs the merge base (the S2 commit changes 3 changeset lines)" }objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Delivered · 2026-12-04T02:43Z · zone em-admin
PR #39442 merged (merge commit
05e97de19b), closing this card viaFixes #39349, with the #39418 picker half (radio inFILTER_SELECT_LIKE_TYPES); L1 ACCEPT → PR #39442 comment 7398078028, contract review PASS → 7398796071. Follow-up S1 is #39480.pm:dispatchedremoved in this stroke. The pre-rule branchclaude/issue-39349-radio-normalizeis left on origin for a person to delete.