Skip to content

docs(skills): objectstack-ui teaches the board's lane statistic and card settings - #37063

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-36422-board-settings-skill
Nov 24, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-36422-board-settings-skill

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Fixes #36422

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用 AI 助手搭看板的应用作者,拿到的看板配置会带上每条泳道底部的统计(计数、合计、平均、最小、最大),以及卡片上「是否显示字段名」「是否隐藏空字段」两个开关;此前助手只会写旧的求和写法。
  • 为什么做:这是「看板视图有了自己的设置」这项工作的收尾,技能文档此前没有教这些新设置。
  • 出错会怎样:助手会照着错的说明去写看板配置;本次只改文字,可以直接撤回。
  • 要你做什么:无。

What changes

skills/objectstack-ui/rules/list-views.md, section "Configuring Kanban Views":

  • The board example writes kanban.summary ({ type: 'sum', field: 'estimate_hours' }) in place of summarizeField, and sets showFieldLabels and hideEmptyFields, each with its default (true) in the trailing comment.
  • One note under the example: the six summary.type values (none, count, sum, avg, min, max); the four aggregates take a field and are computed by the query over every record of the lane, not only the loaded cards; the known gap the spec names (lanes over a lookup field, or a view with grouping: sum covers one fetched page and the other three show nothing); summary takes precedence over the older sum-only summarizeField.
  • summarizeField is still an accepted key (KanbanConfigSchema in packages/spec/src/ui/view.zod.ts declares it, no tombstone, no conversion), so it is named once as the older spelling and no longer taught as the way to write a lane statistic. No other file under skills/ mentions it (git grep summarizeField -- skills at this head: one hit, the new note).

Every sentence was written from the spec's describe text and JSDoc for KanbanLaneSummarySchema, summary, showFieldLabels and hideEmptyFields at main a68b475.

Paid for in the same file

The file had 4 bytes of token headroom, so the new teaching is paid by cutting restatement in list-views.md itself. No ratchet row moves.

Cut Restates
search example comment "No searchableFields ..." the "key omitted" row of the table below it
search example comment "This list only ..." the searchableFields line under it
"The full dropdown / tabs / toggle range applies only to page lists ..." "tabs is page-only" in the same bullet
"the whole search box, for every user and every term: no result at all" its own heading, "One bad entry 400s EVERY search on that list"
"errors, not warnings" "fails the build" in the same sentence
comment "no search box" the sentence introducing the example
"one lane per option" on groupByField the lanes note under the example
"the default list and every other view untouched" "a NEW listViews entry that coexists with the views the object has"
gantt comments "task bar start" / "task bar end" the key names startDateField / endDateField

Skills size readings

before (a68b475) after (7d7ca6d)
rules/list-views.md lines 409 411
rules/list-views.md bytes / tokens 17788 / 4447 17775 / 4444 (ceiling 4448)
all SKILL.md files, lines 4942 4942 (none touched)
bundle total, tokens 295195 (the measured after, plus this file's 3) 295192 (measured)

Net lines in skills/**: +2 (17 added, 15 removed), against a budget of +12.

Tests

Head 7d7ca6d. Text only: no tested behaviour changes, so no ablation.

  • pnpm --filter @objectstack/spec run check:skill-examples (spec and the client-react closure built first, under the verify lock): exit 0, "350 prose examples type-check across 3 surface(s)". This is the gate that type-checks the board example against ListView.
  • node scripts/check-skills-token-ratchet.mjs: exit 0, "skills/objectstack-ui/rules/list-views.md is 4444 tokens (ceiling 4448; headroom 4)".

Acceptance notes

  • Card acceptance: the board example uses all three keys the board gained (summary, showFieldLabels, hideEmptyFields); the scope addition's three statistics (avg, min, max) are named with what they cover.
  • No eval case was added. No case in evals/views-apps-actions-pages.json exercises these keys, and a case was drafted, but scripts/pm/overlap-check.mjs answered exit 1 against open PR docs(skills): objectstack-ui teaches the object's actionLayout #37043, which appends to the same file. The case was dropped so this branch does not queue behind that pull (overlap-check at this head: VERDICT clean exit 0). A case for the lane statistic can follow once that pull lands.
  • The example sets showFieldLabels: false and hideEmptyFields: false, the non-default values, so the keys are visible in the example; the comments carry the defaults.

Verification

First files to read: skills/objectstack-ui/rules/list-views.md (the hunk at "Configuring Kanban Views" is the teaching; every other hunk is a cut).

Two-minute check: open the spec describe text for summary, showFieldLabels and hideEmptyFields in packages/spec/src/ui/view.zod.ts beside the new note. Expected: every clause of the note has a source sentence there.

Local gate subset (derived by dispatch-gates.mjs --commands, 48 families): 43 exit 0; 5 exit 3, PREREQUISITE NOT MET because the full workspace is not built here (check:doc-formula-expressions, check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content). Those five are NOT MEASURED locally and left to CI; none reads a skills file's prose.


Generated by Claude Code

…ard settings

The kanban example writes kanban.summary, showFieldLabels and hideEmptyFields;
one note names the six lane statistics and what the aggregates cover.
Restating comments in the same file pay for the bytes.

Claude-Session: https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 24, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review brief — PR #37063 @ 7d7ca6db2425ef185280bf98952ac758a0ce1f37 (card #36422)

You review at CONTRACT_REVIEW_TIER. Render ONE ## Contract review record on this head — its shape is
node scripts/pm/record-recognisers.mjs --template — with a PASS or FAIL verdict, and post it as ONE comment
on the PR or its card.

Inputs — these and nothing else:
· card #36422: its body and EVERY comment (rulings and earlier records included)
· PR #37063: its body, its file list, and the net diff against main at 7d7ca6db2425ef185280bf98952ac758a0ce1f37
· the check-runs on 7d7ca6db2425ef185280bf98952ac758a0ce1f37: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

Scope — the paths reviewFace returns as hits on this PR's file list: skills/objectstack-ui/rules/list-views.md;
plus every file IN THIS DIFF that directly implements or enforces them — the gate that enforces a rule, the code
a jsdoc or schema line describes, the validator a skill teaches — reviewed for agreement with the contract.
Widen it freely, ⛔ never below hits; the record's Scope: line names the implementing files apart from hits.
The rest of the diff (tests, unrelated modules, lockfiles, generated output, changesets) is the lane seat's
ACCEPT at TIER_DEFAULT, exactly as a standalone PR of those files.
④ judges the hits files and those implementing files ONLY:
lockfiles, generated output, changesets and prose elsewhere in the PR are not reviewed;
code outside the diff is READ to judge them, never reviewed.

Security — if a hits path is under skills/** or ui/skills/** and the change teaches security, auth or permission
behaviour the path name doesn't show, the record says so and the seat adopting the record adds the security label.
The record says so on its Security-touching: line, and the arm lands on no alone: write no ONLY when no changed
hunk teaches permission, sharing, credential, token, authentication or other security behaviour, else yes.

Rule change — if a hits path is under .claude/**: the PR body declares Rule-change: and you verify it against the diff.
Write Rule-change-verified: none ONLY when no changed hunk alters what an agent may do without the maintainer
(merge, bypass a check, change repository settings), what gets done and in what order (grading, dispatch, scope), or
what must go to him (decisions, maintainer actions); process steps, scripts, wording, slimming and file moves are not rule
changes. Write ruled ONLY when every such hunk copies the ruling the PR body quotes on its Ruling-ref: line — check the
copy against the quoted words, do not re-rule it. Otherwise yes: the pull request then waits for the maintainer.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is /tmp/claude-0/-home-user-objectstack/177ababb-cccd-573a-a846-cda17d8e5bbd/scratchpad/pr-37063/ alone; nothing there you did not write this round is read.

Judge, in the record's own sections:
① Derived judgments — every accept-set and public-surface change the diff implies, each named right or wrong.
② Semver level — the changeset (or skip-changeset) matches what the diff publishes, and the Clause-②: line.
③ Boundary flags — every dev flag and every open_questions entry answered, or escalated.
On every face, SQL push-down: a new id materialisation or in-app join where SQL could push down is a
finding unless a reason is given (AGENTS.md, Prime Directive 5: SQL first).
④ Design judgment — for EVERY hits file: does the change hold against the code it cites and the
scenario it is accepted against? A skill file against the card's eval prompt and the spec it teaches
on main; a schema file against the ruling or ADR it implements and its first consumer; an ADR
against its first consumer and its execution plan. For EVERY implementing file in the diff: does the
code agree with the contract, sentence by sentence? Read the cited code in the live tree, and try to
break the design.
Grade each finding must-fix, should-fix or nit — a nit has no effect on correctness or the contract.
A must-fix is a FAIL; a must-fix or should-fix earns a delta review of its fix; nits alone end the round.
Spell a must-fix or should-fix with its id and grade, S1 (should-fix) — …, and a clean round as
No must-fix, no should-fix.: the queue guard reads a graded finding as OPEN on this head and
refuses the record; the delta record names those it closes by id alone, S1: closed.
A nit is fixed only on the prose faces, or left as an accepted deviation or a follow-up card: a fix
anywhere else moves the head, and this record no longer covers it.
⛔ Judge the tree, never the PR body's account of it.
Sign Implemented-by: with the dev's branch and Reviewed-by: with your session id — the value is the FIRST
thing after each colon.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 7d7ca6db2425ef185280bf98952ac758a0ce1f37
Local-runs: none
Scope: skills/objectstack-ui/rules/list-views.md + none
Security-touching: no
Rule-change-verified: none

PR #37063 (card #36422), one commit on main a68b475bbc. Read: the card body and its five comments, the PR body, the file list, the net diff, the 44 check-runs on the head, and packages/spec/src/ui/view.zod.ts on main. Nothing built, run or re-run.

① Derived judgments

  • Accept set: unchanged, right. The diff is one skill file and one changeset; no schema, lint or renderer path moves. Metadata-protocol: none is right: nothing a metadata author can write changes.
  • The example's keys are accepted on main, right. KanbanConfigSchema declares summary (view.zod.ts:2513, KanbanLaneSummarySchema, optional), showFieldLabels (2528) and hideEmptyFields (2537), both z.boolean().optional(). { type: 'sum', field: 'estimate_hours' } is the sum arm of the discriminated union (2407-2413). The block is os:check; Type Check · consumer gates (runs check:skill-examples) is success on the head.
  • summarizeField is still accepted, right. view.zod.ts:2499 is a plain z.string().optional(), no retiredKey tombstone, no conversion. The skill stops teaching it and does not call it refused or removed, so nothing narrows and no narrowing arm is owed.
  • Published surface that moves: @objectstack/skills text only, right. rules/list-views.md 17788 → 17775 bytes, 4447 → 4444 tokens under the row's ceiling of 4448; no ratchet row moves. Type Check · source gates (token ratchet, skill links) and Lint · docs & code guards (identifier liveness) are success.
  • Other summarizeField teaching in the skills: none, right. On main the one hit under skills/ and ui/skills/ is the example line this diff replaces (card to-do 2 has nothing else to align).
  • Check-runs on the head: 44, of which 28 success, 16 skipped, none failed, cancelled, neutral or pending. Skipped, all expected for a skills-prose diff: the path-filtered UI and docs jobs (Build & E2E UI, Lint UI, Type Check UI, Build UI Deps, Plan Test UI shards, UI Published Artifacts, Build Docs, Temporal Conformance (live PG + MySQL), Dogfood Verify CLI, and the two unexpanded matrix parents for Test UI and the Dogfood Regression Gate), the two opt-in jobs (Packed-tarball smoke, 18.x upgrade harness), the merge-group jobs (Queue verdict, Borrowed queue verdict) and the Schedule gate. Check Changeset, Governed Surface Queue Guard, PR-body guards, every Lint · and Type Check · job, Build Core and Test Core are success.

② Semver level

'@objectstack/skills': patch matches what the diff publishes: skill wording in a released package (packages/skills/package.json), protocol kind none, so patch is the level and skip-changeset would have been wrong. The Clause-② declaration reads no with no arm on both carriers (PR body and changeset body), and that is right: no accept set widens or narrows. Check Changeset is success.

Not graded (changesets are outside ④): the changeset says the example "sets showFieldLabels and hideEmptyFields with their defaults (both true)". The example writes both as false; the comments carry the default. The sentence ships in the changelog and can be read the other way.

③ Boundary flags

  • Dev deviation, no eval case (drafted, dropped on overlap with open PR docs(skills): objectstack-ui teaches the object's actionLayout #37043): accepted for this head. The card's acceptance asks for the example and for no contradiction with the spec, not for a case. Escalated to the seat: the report names the owed case with carrier: none, and Fixes #36422 closes the only card that carries the two Skills-docs: follow-up owed lines (feat(kanban): the board's own view settings, lane header create and menu, and a lane statistic #36411, feat(kanban): a lane's sum, avg, min and max cover every record of the lane, computed in the query #36857). The "evals exercise it" half of that debt needs a card of its own, blocked by docs(skills): objectstack-ui teaches the object's actionLayout #37043, before ACCEPT. N1 and N2 below can ride on it.
  • Dev deviation, local gates run at the pre-amend commit, five families not measured locally: answered by the head's check-runs, all success or an expected skip.
  • Dev deviation, amend before the first content push, no force push: no effect on the reviewed head (one commit, parent a68b475bbc).
  • Dev deviation, PR body layout (seat signature line before the closing line): PR-body guards is success; no contract effect.
  • Dev deviations, commit trailers and draft state with no label: the seat's lane. The PR is still a draft.
  • open_questions: empty. security_findings: none, and none found here.
  • Security read, hunk by hunk. No hunk adds or alters a statement about permission, sharing, credentials, tokens or authentication. The new note leaves out the spec's two permission clauses (aggregates run "under the reader's permissions"; "a field the reader may not read shows no figure") and so teaches no permission behaviour. The closest call is the toolbar-search hunk: it shortens the sentence about the $searchFields ingress gate, a control ADR-0061 files under D5 Security. The words that stay are byte-for-byte main's; the words that go ("the whole search box, for every user and every term: no result at all") describe how far a bad entry breaks search, which the heading and the table still say. The diff teaches nothing new or different about that gate. The seat can overrule this one call if it reads "changed hunk" as any hunk whose surviving line mentions the gate.
  • SQL push-down: no code in the diff. The note teaches that the four aggregates are computed by the query, which agrees with SQL first.

④ Design judgment

No must-fix, no should-fix.

(a) The nine cuts. Each removed passage is still said in the file at the head; no rule an author needs is gone.

# Removed Still said at the head Holds
1 search example comment "No searchableFields → the toolbar searches everything the object allows" table row "key omitted: scans the object's full allowed set" (line 200) yes
2 comment "This list only: search the reference number and the subject line" "narrows that set for this one list" (160) and the searchableFields line itself (174) yes
3 "The full dropdown / tabs / toggle range applies only to page lists / interfaceConfig.userFilters" "tabs is page-only" in the same bullet (148); the range is still listed at 125-130 yes, see N3
4 "the whole search box, for every user and every term: no result at all" heading "One bad entry 400s EVERY search on that list" (192) and the two 400 INVALID_FIELD rows yes
5 "errors, not warnings" "Both diagnostics are errors: os validate fails the build" (205) yes
6 comment "no search box" "To remove the search box, toggle the affordance instead" (207) yes
7 "one lane per option" on groupByField lanes note "Omit it to draw every option in its own order" (281); "one empty lane per option" (303) yes
8 "the default list and every other view untouched" "a NEW listViews entry that coexists with the views the object has" and "Never satisfy an add by retyping list (or an existing named view)" (292-296) yes
9 gantt comments "task bar start" / "task bar end" the key names, the "required" sentence (319-320), "bar label" on titleField yes

Cut 7 also removes a comment that was untrue of its own example, which sets lanes and so does not draw one lane per option.

(b) The board example and note against KanbanConfigSchema on main. Every clause has a source sentence, and none contradicts the describe text.

  • summary: { type: 'sum', field: 'estimate_hours' }, "each lane's foot statistic": describe text "The statistic each lane shows at its foot" (2514). Right.
  • showFieldLabels, "default true: cards name each field": "Omit for true (names shown); false shows the values alone" (2529). Right.
  • hideEmptyFields, "default true: cards drop an empty field": "Omit for true (left out); false keeps the field with an empty value" (2538). Right.
  • The six values none, count, sum, avg, min, max: the six arms of KanbanLaneSummarySchema (2394-2435), field required on the last four. Right, and it covers the card's scope addition (feat(kanban): a lane's sum, avg, min and max cover every record of the lane, computed in the query #36857).
  • "computed by the query over every record of the lane, not only the loaded cards": "each computed by the query" (2516) and the schema note "never added up over the cards a lane has loaded" (2383-2385). Right.
  • "Known gap: over a lookup field or in a grouped view, sum covers one fetched page and the other three show nothing": "in a list view, lanes over a lookup field or a view with grouping ... sum totals the records handed in, one page, unmarked, and the other three show nothing" (2518-2520). Right in substance, see N2.
  • "summary overrides the older sum-only summarizeField": "Takes precedence over summarizeField" (2521); summarizeField describes itself as "Field to sum" (2499). Right.

Tried to break it: the example type-checks against ListView (consumer gate green); the column-level summary: 'min' comment "plain enum value, not an object" (line 66) is scoped to a column and does not collide with kanban.summary; the eval case that expects "beside the untouched default list" is still taught after cut 8; the page key that cut 3 drops is taught in rules/navigation.md (132-153).

  • N1 (nit): nothing in the new lines says the three keys are optional. The old comment on summarizeField opened with "optional"; the new summary comment does not, and the note never says that omitting summary shows no statistic (spec: "Omit to keep summarizeField's sum, or no statistic without it"). The two booleans are written with the non-default false, so an agent that copies the example ships cards without field names and with empty rows unasked. The comments do carry "default true", and the example already wrote optional, non-default lanes. Card to-do 1 asks for the defaults of all three; the acceptance line does not. Left as is on this head; carry it on the eval follow-up.
  • N2 (nit): "Known gap: over a lookup field" has no subject. It follows "sum / avg / min / max of a field", so it can be read as the summary's own field being a lookup. The spec says "lanes over a lookup field". The file's own idiom ("A board over a field added in the same change") supports the intended reading. "lanes over a lookup field" is 6 bytes against 17 bytes of headroom. Left as is on this head; carry it on the eval follow-up.
  • N3 (nit): cut 3 removes this file's only mention of interfaceConfig.userFilters, the place "page-only" points at. The rule stays in the bullet and the key is taught in rules/navigation.md. The removed sentence was also loose: ObjectUserFiltersSchema on main accepts the deprecated toggle on an object view (view.zod.ts:5913), so only tabs was ever page-only. Accepted as is.

Nits only; the head is not moved.

Implemented-by: claude/issue-36422-board-settings-skill
Reviewed-by: session_01QSeKYo86w1wqy2z2fMrryr

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

席位核对 — ACCEPT · L1 · head 7d7ca6db2425ef185280bf98952ac758a0ce1f37 · 2026-11-24T18:23Z

Zone a4-A, card #36422. Read from the PR's diff and check-runs, not from the dev report.

  1. Shape. 2 files: skills/objectstack-ui/rules/list-views.md (the board example writes kanban.summary, showFieldLabels, hideEmptyFields; one note on the six lane statistics, the spec's known gap and summary over summarizeField; nine same-file restatement cuts pay for it), one @objectstack/skills patch changeset. No ceiling moved (4447 → 4444 of 4448). Net +2 lines under skills/** against a budget of +12.
  2. Premise, measured. At a68b475bbc the example taught summarizeField only; feat(kanban): the board's own view settings, lane header create and menu, and a lane statistic #36411 and feat(kanban): a lane's sum, avg, min and max cover every record of the lane, computed in the query #36857 are merged. summarizeField is still a plain optional key (no tombstone), so the skill stops teaching it without calling it refused. Every clause of the example and note checked against KanbanConfigSchema in packages/spec/src/ui/view.zod.ts by the contract review.
  3. Gates. Check-runs on this head: 44, 28 success, 16 expected skips (path-filtered UI/docs, opt-in, merge-group, schedule), none failed or pending. check:skill-examples (the os:check example) green in Type Check · consumer gates.
  4. Contract review. PASS 7140561770 at this head (brief 7140539603), Security-touching: no — the one close call (the toolbar-search hunk shortens main's sentence about the $searchFields ingress gate) teaches nothing new about the gate; the seat zone keeps no. Nits N1–N3 accepted.
  5. Out of scope → filed. The owed eval case (dropped by the dev on overlap with PR docs(skills): objectstack-ui teaches the object's actionLayout #37043) and nits N1/N2: filed skills/objectstack-ui: an eval case for the kanban lane statistic and card settings (owed by #36411 and #36857) #37074 (Blocked-by: #37043), so Fixes #36422 does not close the last carrier of the feat(kanban): the board's own view settings, lane header create and menu, and a lane statistic #36411 / feat(kanban): a lane's sum, avg, min and max cover every record of the lane, computed in the query #36857 eval debt.
  6. Landing. Tier S on the low-risk skills arm with this record; the zone lands it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Landing · head 7d7ca6db2425ef185280bf98952ac758a0ce1f37 · 2026-11-24T18:24Z

Reading Result
check-governed-merges.mjs --pr 37063 Tier S — low-risk skills arm; contract review PASS on this head (7140561770, Security-touching: no)
landing-k.mjs --pr 37063 OK — K = 7 < 15 (origin/main 414f998), no locale pack, no shared budget book moved

State: L1 ACCEPT 7140586925 on this head; every check-run green or expected skip. Ready and auto-merge in this stroke. On MERGED, Fixes #36422 closes the card; the eval remainder is #37074.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

skills: objectstack-ui list-views does not teach the new board settings (summary, showFieldLabels, hideEmptyFields)

2 participants