Commit a6e0010
`ApiEndpoint.target` became optional in #10338 (landed as #11290): it is
required at publish only for `type: 'flow'` and is UNREAD for
`type: 'object_operation'`, which is addressed by `objectParams.object` /
`.operation`. Nothing checks a `target` written beside them against
`objectParams.object`, so the `leadFeed` example was teaching a dead string —
the exact AI-authoring trap #10338 removed. The in-tree examples and the
protocol/getting-started docs were swept in #11290; the published skill was
out of that card's file surface.
The example now omits the key. No explanatory note was added: the published
skills token ratchet had zero headroom on this file (ceiling 6348, file 6348),
and the card made that note conditional on budget. The gate-description lines
(~212-214) already state the per-type rule ("an `object_operation` needs both
`objectParams` halves; a `flow` needs a `target`") and stay unchanged.
Lower the file's ratchet ceiling 6348 -> 6342 to lock in the saving, per the
ratchet's own documented discipline ("a ceiling may be LOWERED by any PR that
shrinks its file ... always legitimate and encouraged").
Claude-Session: https://claude.ai/code/session_5213b871-5164-5bc3-8874-28b336bbcd40
Co-authored-by: Claude <noreply@anthropic.com>
1 parent f6e182d commit a6e0010
2 files changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
182 | 181 | | |
183 | 182 | | |
184 | 183 | | |
| |||
0 commit comments