Repository navigation
Commit 4437c50
docs(skills): the objectstack-ui kanban section names the rule that judges a board's group field (#38430)
<!-- claude-projects-attribution: {"github_login":"os-project-manager"}
-->
_Requested by **Leehom** · [project
thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XAqkG8y9atnquyRXBY4zVGV)_
Fixes #38153
Clause-②: no
Metadata-protocol: none
## 维护者速读
- 用户无感:只改对外发布的技能包里教 AI 做看板的一处文字,把“分组字段要用选项字段”的口头提示换成指向已上线的那条检查和它给的首选改法。
- 属于「发布时拦下保存成功却用不了的元数据」这组检查的技能包收尾:检查上线后,技能包里口头教的同一个坑让位给检查本身。
- 只是一句教 AI 的话,写错最多让 AI 学到一句不准的说法,可以直接撤回这次修改。
- 无
## What changes
One published skill page, `skills/objectstack-ui/rules/list-views.md`,
in its kanban section. `skills/objectstack-ui/SKILL.md` is not changed
(measured below: it teaches none of the six traps).
- The kanban example no longer carries the comment "a select field"
beside `groupByField`.
- A two-line note under the example takes its place: "Group by a
single-valued `select`, boolean or lookup: a text, number or date field
or a multi-valued one warns
`list-view-kanban-group-field-uncategorical`." The first half follows
the rule's own hint in
`packages/lint/src/validate-list-view-field-refs.ts`
(`checkKanbanGroupField`); the fields that warn are named in the rule
explanation's terms. The hint's second remedy, a grid grouping, is not
taught: the engine refuses that grouping for a multi-value,
structured-JSON or formula field (contract review S1, record 7248601916;
follow-up #38433).
**Each of the six rule ids of PR #38107, measured against both files at
`f42bcc18`:**
| Rule id | `rules/list-views.md` | `SKILL.md` |
|:--|:--|:--|
| `list-view-filter-field-virtual` (error) | not taught, no change.
Filtering (lines 94-119) and the quick-filter rules (lines 140-154) name
no formula field. The two `formula` mentions (lines 184 and 202) are the
search axis, already named by `searchable-field-unsearchable`. | not
taught, no change |
| `list-view-kanban-group-field-uncategorical` | taught as prose at line
267 (the example comment "a select field"): changed | not taught as this
trap, no change. Line 89 describes the kind ("a board by status"); lines
99-100 are another trap (a board over a field added in the same change
opens empty), which none of the six rules judges. |
| `dashboard-without-widgets` | not taught, no change | not taught, no
change |
| `app-navigation-empty` | not taught, no change | not taught, no
change. App Navigation (lines 103-108) says one app per package and that
hiding is not gating. |
| `object-unreachable-from-navigation` | not taught, no change | not
taught, no change |
| `object-without-view` | not taught, no change | not taught, no change
|
None of the six ids appeared anywhere under `skills/` before this change
(`grep -rn` over the tree, zero hits; control:
`searchable-field-unsearchable` hits).
**Paid for in the same file (token ratchet; no ceiling row moves).**
| Cut | Bytes | Where it still lives |
|:--|--:|:--|
| the comment "a select field" and its padding | 33 | replaced by the
note |
| alignment padding before the two "optional, default true" comments of
the kanban example | 28 | the comments stay |
| the sentence "`summary`, `showFieldLabels` and `hideEmptyFields` are
optional." and the line break it left | 67 | the example marks the two
card keys "optional, default true"; the note still says "Omit `summary`
to keep the older `summarizeField`'s sum" |
| alignment padding before the comment "open, OR urgent" in the
Filtering example | 33 | the comment stays |
161 bytes cut, 162 added.
Skill size readings, base `f42bcc18`, head `6395a44f`:
| | lines before | lines after | bytes before | bytes after | tokens
before | tokens after |
|:--|--:|--:|--:|--:|--:|--:|
| `skills/objectstack-ui/rules/list-views.md` | 412 | 414 | 18038 |
18039 | 4510 | 4510 (ceiling 4510) |
| `skills/objectstack-ui/SKILL.md` (untouched) | 164 | 164 | 8937 | 8937
| 2228 | 2228 (ceiling 2228) |
| every published `SKILL.md`, summed | 4386 | 4386 | | | | |
| whole shipped bundle | | | | | 304822 | 304822 |
Net over `skills/**`: 8 lines added, 6 removed.
## Why
PR #38107 made `os validate`, `os lint`, `os build` and the publish door
warn on a board grouped by a field with no fixed lanes. Card #35143's
Scope says: "When a family lands, the matching trap leaves the published
skills where it is taught as prose." The kanban example taught it as a
three-word comment, and incompletely: a boolean or a lookup draws fixed
lanes too. The page now names the rule, its first fix and the fields
that warn.
## Tests
Prose and comments only: no unit test changes, no ablation, no eval case
edited and no eval round run.
Local gates, run on head `6395a44f` (the final commit, clean tree) after
`turbo run build` over the workspace (verify lock: `VERDICT command-exit
0`):
```text
✓ dispatch-gates --ran: 48 derived famil(ies) accounted for — 48 run, 0 NOT-MEASURED (a DERIVED zero — all 48 recorded an exit code and none of them is 3).
```
<details><summary>verdict lines of the gates that read the
page</summary>
```text
✓ check-skills-token-ratchet: skills/objectstack-ui/rules/list-views.md is 4510 tokens (ceiling 4510; headroom 0).
✓ check-skills-token-ratchet: 61 authored bundle file(s) within their ceilings; 11 generator-owned file(s) and 42 eval fixture(s) measured, not ratcheted.
✓ check-skill-served-sections: 24 served section(s), each heading exactly once in its file (6 json, 2 json+ts, 16 neutral); 10 JSON fence(s) parse and pass their spec validators.
✓ check-skill-links: 281 relative link(s) in 76 published skill file(s) resolve; 149 fragment(s) name a real heading under GitHub's slug rule.
check-nul-bytes: OK (scanned 28762 text file(s) -- 28762 tracked, 0 untracked-not-ignored; skipped 101 binary; no raw ASCII control bytes).
```
Outside the derived list, run on `85c42af4` because the kanban block is
a checked example (the block is unchanged since): `pnpm --filter
@objectstack/spec run check:skill-examples` under the verify lock,
`VERDICT command-exit 0`, "352 prose examples type-check across 3
surface(s)".
`node scripts/pm/overlap-check.mjs` before each push: `VERDICT clean
exit 0`.
</details>
Everything else is CI's run: the check-runs on this pull request are the
record.
## Acceptance notes
- **Premise, re-read on `main` at `f42bcc18`:** it holds for one id of
the six. The six ids are live in `packages/lint/src` and none was named
in `skills/`. Only the board's group field was taught as prose, and only
in `list-views.md`.
- **No other file of this skill teaches one of the six traps as prose.**
`rules/navigation.md` was read in full; `rules/dashboards.md`,
`rules/pages.md`, `rules/record-page.md` and `rules/actions.md` were
searched by keyword (empty dashboard, navigation reach, list view,
board, formula filter). `rules/dashboards.md` lines 106-108 say a
`formula` is refused as a dataset dimension or `groupBy`: that is the
dataset contract, not a list view filter.
- **Noted, not filed:** `skills/objectstack-formula/SKILL.md` lines
430-435 say a `where` on a `formula` field answers `400 INVALID_FIELD`.
That is the engine's refusal for every query; the new list-view rule
covers one producer of such a query, so the sentence stays true and is
left alone.
- **`radio`:** the rule also passes a `radio` field
(`KANBAN_CATEGORICAL_TYPES`), though its hint names `select` only. The
note follows the hint for what to group by and names only the fields
that do warn, so it does not claim a `radio` field warns.
- **Budget:** two lines net on one file; `SKILL.md` unchanged at 8,937
bytes.
- `skills/**` is a governed path: this pull request stays a draft, and
its contract review is the seat's to arrange.
## Verification
Read first: the note under the kanban example in
`skills/objectstack-ui/rules/list-views.md`. The risk hunk is the
removed "optional" sentence in the note below it.
Two-minute check: `node scripts/check-skills-token-ratchet.mjs` prints
`skills/objectstack-ui/rules/list-views.md` at 4510 / 4510.
## Human Minimum
- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
- [x] 2. Every name I added uses the casing for its kind.
- [ ] 3. No formatter ran; `pnpm lint` is the CI-owned repo scan, not
run locally.
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request.
- [x] 5. A change that publishes carries a changeset, and both
declaration lines are filled in here and in the changeset.
- [x] 6. `packages/spec` not touched.
- [x] 7. No hand edits to `content/docs/references/`,
`packages/*/CHANGELOG.md` or `content/docs/releases/`.
- [x] 8. Title, body and comments are in English.
- [x] The *Before Submitting* list in CONTRIBUTING.md is done.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01FEkQ5nvFivDeQyYgTFkZhi)_
<!-- signed: repo:objectstack#5 · os-project-manager ·
session_01FEkQ5nvFivDeQyYgTFkZhi -->
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 0c1b2ff commit 4437c50
2 files changed
Lines changed: 18 additions & 6 deletions
File tree
- .changeset
- skills/objectstack-ui/rules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
271 | | - | |
| 270 | + | |
| 271 | + | |
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
279 | 282 | | |
280 | 283 | | |
281 | 284 | | |
282 | 285 | | |
283 | 286 | | |
284 | | - | |
285 | | - | |
| 287 | + | |
286 | 288 | | |
287 | 289 | | |
288 | 290 | | |
| |||
0 commit comments