Commit dcb10a5
fix(spec): COMPONENT_NODE_VISIBILITY_GUIDANCE prescription no longer claims a hoisted properties visibility key is evaluated by nothing (#11390)
`COMPONENT_NODE_VISIBILITY_GUIDANCE`'s prescription — the user-facing text
emitted when a visibility key (`visible`/`visibleWhen`/…) is authored inside
`properties` instead of on the component node — said the hoisted value is
"evaluated by nothing" and "silently does not gate". That was true when it
was written and is false since objectui#5505 (`c86185eb5`, merged
2026-08-21): SchemaRenderer's node-level `visibleWhen` evaluator now binds
`record`, so the hoisted value IS evaluated by the node-level gate; the two
gates evaluate the same value and compose as an idempotent AND.
The move-it-up advice stays — it now rests on the ADR-0089 canonical-spelling
/ layer-discipline reason (beside `type` and `id`), not on the props-level
form being inert.
Message text only: no schema shape change, no accept/reject verdict change.
Claude-Session: https://claude.ai/code/session_01T9cDbY2NBiVJWYx3BpWfH2
Co-authored-by: Claude <noreply@anthropic.com>1 parent 365e334 commit dcb10a5
2 files changed
Lines changed: 34 additions & 3 deletions
File tree
- .changeset
- packages/spec/src/ui
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
279 | | - | |
280 | | - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
281 | 283 | | |
282 | 284 | | |
283 | 285 | | |
| |||
0 commit comments