Commit d261cef
docs(spec): state the measured dependsOn spelling facts in the option-description docblock (#15055)
* docs(spec): state the measured dependsOn spelling facts in the option-description docblock
The option-description docblock and the two prose sites in its pin file
said the canonical spelling `depends_on` already exists at the field
level. Measured against the schema it does not: `FieldSchema` declares
the camelCase `dependsOn` and refuses `depends_on`, and neither spelling
is declared on the option shape. Rewrite the three sites to state only
what is measured, and leave the option-face question with objectui#6153
rather than substituting a new justification for the conclusion.
Comment text only — no schema member moves.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0174WZTU6XcFcS7g2kykC53i
* docs(spec): align the option-shape comments with the 2026-09-02 cascade-key ruling
The maintainer amended the inherited reading on 2026-09-02: the contract's
field-level cascade key is the camelCase `dependsOn`, objectui mirrors that
spelling on its own metadata type, and objectui's snake_case twin retires on
its own card. Re-word the three prose sites to that: the option shape declares
`description` and no cascade key of its own (the pin file asserts the refusal),
and the cascade key is `FieldSchema`'s `dependsOn`.
`field.zod.ts` now carries no snake_case occurrence at all; the test file keeps
one, naming the spelling `FieldSchema` refuses with a rename hint. No `expect()`
changes, no schema member changes.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0174WZTU6XcFcS7g2kykC53i
* docs(permissions): re-anchor the system-context census citation after the docblock reflow
`check-system-context-census.mjs --fix` rewrote the one rotted line anchor
(`field.zod.ts:1537` to `:1540`): the option-description docblock above the
`readonly` declaration changed height, so the page cited a line the census no
longer calls a read site while the ledger row it excuses went unused. Pure line
rot, repaired by the fixer, not by hand.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0174WZTU6XcFcS7g2kykC53i
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 1c7adc7 commit d261cef
3 files changed
Lines changed: 17 additions & 10 deletions
File tree
- content/docs/permissions
- packages/spec/src/data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
200 | 202 | | |
201 | 203 | | |
202 | 204 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
207 | 211 | | |
208 | 212 | | |
209 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
283 | | - | |
284 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
285 | 288 | | |
286 | 289 | | |
287 | 290 | | |
| |||
0 commit comments