Commit 79cdfe9
docs(skills): master_detail deleteBehavior admits cascade/restrict only (#11869)
The published objectstack-data skill taught `deleteBehavior: 'set_null'` on a
`master_detail` field in four places. That was already wrong before #9689 — the
engine resolved every non-`restrict` value on this type to `cascade`, so the
declaration promised keep-the-children and delivered delete-the-children — and
since #9689 landed (PR #11406) it is a named parse-time rejection: an AI author
following the skill produced metadata that fails publish with a 422.
Teaches the per-type vocabulary instead: `master_detail` admits `cascade` /
`restrict`; `set_null` belongs on `lookup`, where children survive the parent.
Correction, not expansion — net line delta is exactly 0 in both files.
Claude-Session: https://claude.ai/code/session_01RMTpSRF5CjMmQBFfPtPCwJ
Co-authored-by: Claude <noreply@anthropic.com>1 parent 5997207 commit 79cdfe9
2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
| 154 | + | |
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
159 | | - | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
| 405 | + | |
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
| |||
0 commit comments