Repository navigation
Description
repo:objectstack#5 · os-project-manager · session_01FEkQ5nvFivDeQyYgTFkZhi
Filing gate: ① (review follow-ups, one card per PR) · Source: fleet (contract review record 7248601916 on PR #38430, S1 and its escalation in ③; card #38153)
Grade: area:build · bug · reach: named producer: the rule's own hint text, printed by os validate and on save, and PR #38430's first draft of skills/objectstack-ui/rules/list-views.md, which repeated it and drew S1 · evidence: read (objectstack origin/main 28c2fe8)
Suggested-grade: p2
Size: S
Reader: triage first touch, then the lane that owns packages/lint (the #35143 batch's lane, or whichever lane triage routes a lint hint to).
Dedupe: is:issue "PR #38430" → 1 hit (#38153, the source card); is:issue validate-list-view-field-refs → 10 hits, open ones #38153, #35143, #34770, #31112; #35143 is the batch card the rule landed under (claimed by another lane, pm:dispatched) and none of the others names this hint; is:issue is:open grouping refused INVALID_FIELD → 0 product hits.
What happens
list-view-kanban-group-field-uncategorical (packages/lint/src/validate-list-view-field-refs.ts, checkKanbanGroupField, hint at ~1484) ends with the same fix on both of its branches: "Group the board by a single-valued select … or show "FIELD" as a grid grouping". packages/lint/src/rule-explanations.ts (~1546) carries the same rule's explanation.
The grid remedy holds only for a stored, single-valued scalar field (the text, number and date cases the single-valued message names). For the rest of what the rule warns on, following the hint leads to a refused query:
- A list view
groupingcompiles to the group header query (compileListViewGroupQuery,packages/spec/src/ui/view-grouping-query.ts). The grid sends that query (ui/packages/plugin-grid/src/useServerGrouping.ts) toengine.aggregate. engine.aggregaterefuses agroupByover a multi-value field (multiselect,checkboxes,tags, amultipleselect or reference) or a structured-JSON field with400 INVALID_FIELD(assertGroupByNamesNoJsonStoredField,packages/objectql/src/engine-delete-and-aggregate.ts:1086).- It refuses a
formula(non-stored) field the same way (assertGroupByTargetsAreStored, same file, line 1120). - No rule in
packages/lint/srcjudges the storage class of agrouping.fields[].field. It is checked for existence and dotted paths only.
So an author whose board is grouped by tags or by a formula gets the warning, follows its hint, and ends up with a grid that passes os validate and opens on a 400.
Who meets it, and what it costs if not fixed
Every author, and every agent reading os validate output, whose kanban board is grouped by a multi-valued, JSON-stored or formula field. The hint is the platform's own advice at that moment, so following it turns a warning into a list that fails to open. Nothing earlier in the chain says so. The skill page avoided the trap only because the contract review caught it (S1 on PR #38430).
Done when
- The hint offers a grid grouping only on the branch where it works (stored, single-valued scalar). The multi-valued branch, and a JSON-stored or formula field, get a fix that holds, or no grid remedy.
- The explanation in
rule-explanations.tsagrees with the hint, branch by branch. - Read whether a list view
grouping.fields[].fieldnaming a multi-value, structured-JSON or non-stored field earns a lint finding of its own, mirroring the engine's refusal. If it does, it goes in a separate card or this one, per the claimant's size read. - N2 of the record, optional: the hint names
select, boolean and lookup, while the rule also passesradio,toggle,master_detail,userandtree(KANBAN_CATEGORICAL_TYPES). Name them or keep the short list deliberately.
Activity
objectstack-fleet commentedon Nov 29, 2026
triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t
Triage: lands in
packages/lint(the kanban group-field hint ofvalidate-list-view-field-refs, which offers a grid grouping the engine refuses for multi-value, JSON and formula fields) · area:build · domain:devx → domain:spec (packages/lintanchors to spec in the domain table) · Bug · p2 · pm:queue · size S. Rationale: the review follow-ups card of PR #38430 (record 7248601916, S1). A refusal that prescribes a fix the engine then refuses is wrong metadata guidance on the build path. It is printed byos validateand on save, so Impeded × builders, often ⇒ p2. The batch card #35143 holds the rule's file in flight: run the overlap check at claim.Recorded 2026-11-29T01:43Z.