Skip to content

Commit f368b7e

Browse files
docs(skills): a list view edits in place by default; a read-only list declares editInline: false (#22605, skill half) (#22630)
Fixes #22605 Clause-②: no The skill half of #22605, one paragraph in `skills/objectstack-ui/rules/list-views.md` ("Configuring a List View", after the column-features table): inline editing is on by default under the permission gate, and a list whose records are read-only by nature — a log, an audit trail, a history, a report roll-up — declares `userActions: { editInline: false }`. The spec half (the default flip, the ledgers, the generated references and the changeset) is PR 1 on `claude/issue-22605-edit-inline-default-on`, which lands through the queue; this PR touches `skills/**` and is Tier H, so it waits for the maintainer's APPROVED review. ## The ruling Maintainer, 2026-10-10, verbatim: 「乙 v18 把 spec 默认翻成 true,editInline: false 变成关法。」 The paragraph teaches the author the one key that matters under the new default — the opt-out — and names the lists that want it. No other `skills/**` file moves; the file is hand-written (the only generated lifts inside `skills/**` are `references/_index.md` and `references/react-blocks.md`), so there is no generator to run. ## Two readings (the published-skills ratchet) - The file, `rules/list-views.md`: 300 → 305 lines; 3068 → 3136 tokens (`ceil(bytes / 4)`: 12269 → 12543 bytes) against a ceiling of 3141, headroom 5. Paid from existing headroom; nothing re-wrapped, nothing deleted. - The package: the sum of every `skills/*/SKILL.md` is 4410 → 4410 lines (no `SKILL.md` moves). `node scripts/check-skills-token-ratchet.mjs`: `✓ 54 authored bundle file(s) within their ceilings; 10 generator-owned file(s) measured, not ratcheted`, with `skills/objectstack-ui/rules/list-views.md is 3136 tokens (ceiling 3141; headroom 5)`. ## Gates (local, at `e6f3eb158a`, after merging `origin/main` `83b8b80728`) Derived with `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` (no paths): 23 families. Reconciled with `--ran`: 23 derived, 23 run, 0 NOT-MEASURED, 0 UNRUN, every one exit 0 — `check:doc-formula-expressions` after building `@objectstack/formula` and `lint`. `node scripts/pm/check-governed-merges.mjs --test skills/objectstack-ui/rules/list-views.md` answers governed, Tier H (`skills/**`, the published skills catalog); the file is not in a generated lift, so no `--test` recompute applies. The skill line ratchet (`scripts/pm/check-skill-line-ratchet.mjs`) prices `.claude/**` only and does not cover the published catalog; the token ratchet above is the one that applies. eslint does not cover `.md` (its population is `**/*.{ts,tsx,mts,cts,js,jsx,mjs,cjs}`; the file reports "ignored because no matching configuration"). The three PR-context guards run once this PR has a number; their readings go in the report comment on the card. ## Changeset None: `skills/**` ships in no package's `files[]`, so this diff releases nothing. The changeset gate's own prescription for that case is the `skip-changeset` label, which this seat does not write under this dispatch; the report names it for the seat. ## 维护者速读(草稿) ### 改了什么 objectstack-ui 技能的「Configuring a List View」一节加一段:列表默认可以在表格里直接改单元格(前提是用户对该对象有更新权限);天然只读的列表——日志、审计、历史、报表汇总——写 `userActions: { editInline: false }` 关掉。只动这一个文件,只加这一段,不改任何示例代码块。 ### 为什么改 您 2026-10-10 的裁决把 v18 的 spec 默认值翻成了 true,`editInline: false` 成了关法。AI 和开发者写列表视图时读的是这份技能;技能不提这个键,他们既不知道默认已经可编辑,也不知道只读列表该怎么写。PR 1 改规范和参考页,这段把同一件事告诉写元数据的人。 ### 风险与代价(含回滚) 风险很低:纯文档,不影响运行时;技能包字数红线 3141 token,改后 3136,余量 5。代价是这个文件的余量基本用完,下次再加内容要先删内容。回滚就是撤销这一段(`git revert`),不牵连任何代码。注意 `skills/**` 是 Tier H,需要您的 APPROVED review 才能合并;本 PR 不发版,需要 `skip-changeset` 标签。 ### 席位意见 (留空) ### 你要做的 1. 读这一段(5 行),确认措辞符合裁决意图。 2. 确认后在本 PR 上点 Approve;席位随后入队合并。 3. 若希望这段写在别的位置(例如 `defineView` 容器小节之后),直接在 review 里说,席位改。 --- _Generated by [Claude Code](https://claude.ai/code/session_01KNKBCRDJCu5tGy3TEbvtrF)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent d25b187 commit f368b7e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎skills/objectstack-ui/rules/list-views.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ columns: [
9191
| `link` | Make this the primary navigation link |
9292
| `summary` | Footer aggregation: `count`, `sum`, `avg`, `min`, `max`, etc. |
9393

94+
**Inline editing is on by default**, under the permission gate: a user who may
95+
`update` the object edits a cell in place. A list whose records are read-only
96+
by nature — a log, an audit trail, a history, a report roll-up — declares
97+
`userActions: { editInline: false }`.
98+
9499
### Filtering
95100

96101
```typescript

0 commit comments

Comments
 (0)