Repository navigation
Commit a10345a
docs(skills): stop teaching a boolean inlineEdit on a master-detail relationship (#37170)
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr
Fixes #37042
Clause-②: no
Metadata-protocol: none
## 维护者速读
- 用户能看到什么变化:用户无感;读「数据建模」和「界面」技能的 AI 助手不再写已被拒收的 `inlineEdit:
true`,主从明细的录入方式只写 `'grid'` / `'form'`,或者不写(按明细的字段自动选)。
- 为什么做:PR #36802 已退役布尔写法(解析时拒收),技能文字还在教它;这张卡必须在带上 #36802
的那次发版之前合并,否则发出去的技能会教 AI 写出被拒收的元数据。
- 出错会怎样:只改说明文字和一条测评,撤回这一个合并即可。
- 要你做什么:无。Tier S(低风险 skills 档,契约审核 7149350343 判 `Security-touching:
no`),本区在 CI 全绿后落地。
## What changes
Opened by the seat on the maintainer's authorization in seat
repo:objectstack#4's session (「#37093:开 PR 放行。你应该使用 pm-dispatch
技能审核和落地pr,该放行的都放行」; 「#37042:放行」); the developer's own `pr_create` in
zone a4-A's session was refused by a permission check. Branch
`claude/issue-37042-skills-inline-edit-boolean` @ `bc01139be8`,
implemented by zone a4-A's dispatch.
- `skills/objectstack-data/rules/relationships.md`, "Inline-edit form
factor": the `inlineEdit: true // auto (default)` line is removed; the
smart default is described as what an omitted key gets, noting that a
boolean is refused.
- `skills/objectstack-data/evals/objects-fields-relationships.json` case
25: the expected answer no longer offers `true`.
- `skills/objectstack-ui/rules/list-views.md`, Master-Detail Forms: the
pointer to that section no longer lists `true` beside `'grid'` and
`'form'` (added in the fix round for contract-review finding M1).
- One `@objectstack/skills` patch changeset naming both skills.
Since PR #36802 merged, the spec parse refuses `true` / `false` on a
relationship field's `inlineEdit`; only `'grid'` and `'form'` are
accepted, and an omitted key picks the form factor from the child's
shape. Release-coupled: this lands before the release that ships #36802.
Token readings: `relationships.md` 4199 → 4192 (ceiling 4203);
`list-views.md` 4444 → 4442 (ceiling 4448); no ceiling moved, the
ratchet script is not in the diff. Merges cleanly with the open PR
#36158. A sweep of every `inlineEdit` under `skills/**` finds no other
relationship-field boolean; `objectstack-ui/references/react-blocks.md`
line 76 is the view-level key, untouched.
## Review history
- Contract review 7149242271 at `1787e54e67`: FAIL on M1 (the
`list-views.md` pointer still listed `true`).
- Fix round at `bc01139be8`; delta review 7149350343: PASS, `M1:
closed`, `Security-touching: no`.
## Tests
No package source changes. The contract review and L1 read the gate
check-runs on this head.
---
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent d763ee7 commit a10345a
4 files changed
Lines changed: 13 additions & 4 deletions
File tree
- .changeset
- skills
- objectstack-data
- evals
- rules
- 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 | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
439 | | - | |
| 439 | + | |
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | 288 | | |
290 | 289 | | |
291 | 290 | | |
292 | 291 | | |
293 | | - | |
| 292 | + | |
294 | 293 | | |
295 | 294 | | |
296 | 295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
| 390 | + | |
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
| |||
0 commit comments