Commit d10f526
fix(sdui): the curated contract lists record:line_items, the tag that actually resolves (#3006)
PUBLIC_BLOCKS carried `line_items` — the bare tag. @object-ui/plugin-form
registers the block as `record:line_items` with `skipFallback: true`, which
exists precisely so the bare name is NOT claimed, so that key never existed and
the curated entry could never resolve. Its four siblings in the list are all
`record:`-prefixed and plugin-form's own comment says "Register
record:line_items"; the bare spelling was a slip.
The effect was a block that has shipped all along — a full renderer, a label,
five declared inputs — being absent from the public contract, from the JSX type
surface, from the generated manifest, and from every kind:'react' page's scope.
It read as an unimplemented aspirational entry, which is how it was recorded
when #2979 added the contract-coverage guard.
With the tag corrected the contract has no gaps left: all 36 curated tags
resolve in the console, record:line_items among them with its full inputs. The
guard's known-unimplemented list is now empty and stays asserted, so the next
entry that cannot resolve surfaces instead of being explained away.
Claude-Session: https://claude.ai/code/session_01N4mrr1ihhwnfEHFSWmGoMp
Co-authored-by: Claude <noreply@anthropic.com>1 parent bb563e9 commit d10f526
3 files changed
Lines changed: 42 additions & 7 deletions
File tree
- .changeset
- apps/console/src/__tests__
- packages/core/src/registry
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
79 | 86 | | |
80 | | - | |
| 87 | + | |
81 | 88 | | |
82 | 89 | | |
83 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| |||
0 commit comments