|
2 | 2 | "description": "Shrink-only ledger of every PUBLISHED JSON Schema that is STILL WIDER than the Zod type it was generated from, because a rule written as `.refine()` reaches the runtime and not the file (#18670). `z.toJSONSchema()` has no arm for a `custom` check: a plain record, the same record with a `.refine()`, and the same record with an ABORTING `.refine()` all project byte-identically (measured on zod 4.4.3, the version packages/spec resolves). So a document one of these files ACCEPTS can still be refused at parse time, and an author -- or an AI -- validating against packages/spec/json-schema/** finds out a release later. Each `sites` path is a position under that schema at which a refinement is dropped; the same paths are written onto the artifact itself as `x-dropped-refinements`. Item 2 closed the first patterns: a refinement DECLARED through the closed list in src/shared/refinement-projection.ts is emitted into the published file, reads `projected` rather than `dropped`, and its row LEAVES this ledger in the same PR -- which is why the ledger shrinks and never grows on a repair. Every refinement outside that closed list stays here, and adding an arm to the list is a public-contract decision, not a refactor. Hand-edited on purpose and with no `gen:` script: a generator would let a new gap be admitted by running a command instead of by a decision, which is the silence this ledger exists to end. Adding, removing or moving a site fails packages/spec/scripts/build-schemas.ts until the line moves with it, and the failure prints the corrected entry in full. ⛔ Do not delete or weaken a refinement to shorten this file -- the runtime rule is correct; it is the projection that is silent, and the remedy is to teach the closed list a NAMED pattern, never to drop the rule.", |
3 | 3 | "measured": { |
4 | 4 | "zod": "4.4.3", |
5 | | - "publishedSchemasWithDroppedRefinements": 228, |
6 | | - "droppedRefinementSites": 731, |
| 5 | + "publishedSchemasWithDroppedRefinements": 232, |
| 6 | + "droppedRefinementSites": 752, |
7 | 7 | "refinementSitesThatDidProject": 369, |
8 | 8 | "refinementSitesWithNoJsonFormToCompare": 0 |
9 | 9 | }, |
|
63 | 63 | "sites": [ |
64 | 64 | "manifest.actions.element.in", |
65 | 65 | "manifest.actions.element.in.ai.outputSchema", |
| 66 | + "manifest.actions.element.in.onSuccess", |
66 | 67 | "manifest.actions.element.in.params.element.in", |
67 | 68 | "manifest.agents.element.memory", |
68 | 69 | "manifest.agents.element.structuredOutput.schema", |
69 | 70 | "manifest.analyticsCubes.element.measures.valueType", |
70 | 71 | "manifest.connectors.element.out", |
71 | 72 | "manifest.dashboards.element.globalFilters.element", |
| 73 | + "manifest.dashboards.element.header.actions.element", |
72 | 74 | "manifest.dashboards.element.widgets.element", |
73 | 75 | "manifest.dashboards.element.widgets.element.filter", |
74 | 76 | "manifest.datasets.element", |
|
177 | 179 | "data.options[0].manifest.navigationContributions.element.items.element.lazy.options[0]", |
178 | 180 | "data.options[1].manifest.actions.element.in", |
179 | 181 | "data.options[1].manifest.actions.element.in.ai.outputSchema", |
| 182 | + "data.options[1].manifest.actions.element.in.onSuccess", |
180 | 183 | "data.options[1].manifest.actions.element.in.params.element.in", |
181 | 184 | "data.options[1].manifest.agents.element.memory", |
182 | 185 | "data.options[1].manifest.agents.element.structuredOutput.schema", |
183 | 186 | "data.options[1].manifest.analyticsCubes.element.measures.valueType", |
184 | 187 | "data.options[1].manifest.connectors.element.out", |
185 | 188 | "data.options[1].manifest.dashboards.element.globalFilters.element", |
| 189 | + "data.options[1].manifest.dashboards.element.header.actions.element", |
186 | 190 | "data.options[1].manifest.dashboards.element.widgets.element", |
187 | 191 | "data.options[1].manifest.dashboards.element.widgets.element.filter", |
188 | 192 | "data.options[1].manifest.datasets.element", |
|
281 | 285 | "options[0].manifest.navigationContributions.element.items.element.lazy.options[0]", |
282 | 286 | "options[1].manifest.actions.element.in", |
283 | 287 | "options[1].manifest.actions.element.in.ai.outputSchema", |
| 288 | + "options[1].manifest.actions.element.in.onSuccess", |
284 | 289 | "options[1].manifest.actions.element.in.params.element.in", |
285 | 290 | "options[1].manifest.agents.element.memory", |
286 | 291 | "options[1].manifest.agents.element.structuredOutput.schema", |
287 | 292 | "options[1].manifest.analyticsCubes.element.measures.valueType", |
288 | 293 | "options[1].manifest.connectors.element.out", |
289 | 294 | "options[1].manifest.dashboards.element.globalFilters.element", |
| 295 | + "options[1].manifest.dashboards.element.header.actions.element", |
290 | 296 | "options[1].manifest.dashboards.element.widgets.element", |
291 | 297 | "options[1].manifest.dashboards.element.widgets.element.filter", |
292 | 298 | "options[1].manifest.datasets.element", |
|
340 | 346 | "data.packages.element.options[0].manifest.navigationContributions.element.items.element.lazy.options[0]", |
341 | 347 | "data.packages.element.options[1].manifest.actions.element.in", |
342 | 348 | "data.packages.element.options[1].manifest.actions.element.in.ai.outputSchema", |
| 349 | + "data.packages.element.options[1].manifest.actions.element.in.onSuccess", |
343 | 350 | "data.packages.element.options[1].manifest.actions.element.in.params.element.in", |
344 | 351 | "data.packages.element.options[1].manifest.agents.element.memory", |
345 | 352 | "data.packages.element.options[1].manifest.agents.element.structuredOutput.schema", |
346 | 353 | "data.packages.element.options[1].manifest.analyticsCubes.element.measures.valueType", |
347 | 354 | "data.packages.element.options[1].manifest.connectors.element.out", |
348 | 355 | "data.packages.element.options[1].manifest.dashboards.element.globalFilters.element", |
| 356 | + "data.packages.element.options[1].manifest.dashboards.element.header.actions.element", |
349 | 357 | "data.packages.element.options[1].manifest.dashboards.element.widgets.element", |
350 | 358 | "data.packages.element.options[1].manifest.dashboards.element.widgets.element.filter", |
351 | 359 | "data.packages.element.options[1].manifest.datasets.element", |
|
397 | 405 | "sites": [ |
398 | 406 | "data.actions.element.in", |
399 | 407 | "data.actions.element.in.ai.outputSchema", |
| 408 | + "data.actions.element.in.onSuccess", |
400 | 409 | "data.actions.element.in.params.element.in" |
401 | 410 | ] |
402 | 411 | }, |
|
405 | 414 | "data", |
406 | 415 | "data.actions.element.in", |
407 | 416 | "data.actions.element.in.ai.outputSchema", |
| 417 | + "data.actions.element.in.onSuccess", |
408 | 418 | "data.actions.element.in.params.element.in", |
409 | 419 | "data.fieldGroups", |
410 | 420 | "data.fields.out.valueType", |
|
841 | 851 | "", |
842 | 852 | "actions.element.in", |
843 | 853 | "actions.element.in.ai.outputSchema", |
| 854 | + "actions.element.in.onSuccess", |
844 | 855 | "actions.element.in.params.element.in", |
845 | 856 | "fieldGroups", |
846 | 857 | "fields.out.valueType", |
|
1021 | 1032 | "", |
1022 | 1033 | "actions.element.in", |
1023 | 1034 | "actions.element.in.ai.outputSchema", |
| 1035 | + "actions.element.in.onSuccess", |
1024 | 1036 | "actions.element.in.params.element.in" |
1025 | 1037 | ] |
1026 | 1038 | }, |
|
1120 | 1132 | "operations.element.options[3].object", |
1121 | 1133 | "operations.element.options[3].object.actions.element.in", |
1122 | 1134 | "operations.element.options[3].object.actions.element.in.ai.outputSchema", |
| 1135 | + "operations.element.options[3].object.actions.element.in.onSuccess", |
1123 | 1136 | "operations.element.options[3].object.actions.element.in.params.element.in", |
1124 | 1137 | "operations.element.options[3].object.fieldGroups", |
1125 | 1138 | "operations.element.options[3].object.fields.out.valueType", |
|
1139 | 1152 | "object", |
1140 | 1153 | "object.actions.element.in", |
1141 | 1154 | "object.actions.element.in.ai.outputSchema", |
| 1155 | + "object.actions.element.in.onSuccess", |
1142 | 1156 | "object.actions.element.in.params.element.in", |
1143 | 1157 | "object.fieldGroups", |
1144 | 1158 | "object.fields.out.valueType", |
|
1184 | 1198 | "options[3].object", |
1185 | 1199 | "options[3].object.actions.element.in", |
1186 | 1200 | "options[3].object.actions.element.in.ai.outputSchema", |
| 1201 | + "options[3].object.actions.element.in.onSuccess", |
1187 | 1202 | "options[3].object.actions.element.in.params.element.in", |
1188 | 1203 | "options[3].object.fieldGroups", |
1189 | 1204 | "options[3].object.fields.out.valueType", |
|
1282 | 1297 | "sites": [ |
1283 | 1298 | "in", |
1284 | 1299 | "in.ai.outputSchema", |
| 1300 | + "in.onSuccess", |
1285 | 1301 | "in.params.element.in" |
1286 | 1302 | ] |
1287 | 1303 | }, |
|
1290 | 1306 | "outputSchema" |
1291 | 1307 | ] |
1292 | 1308 | }, |
| 1309 | + "ui/ActionButtonProps": { |
| 1310 | + "sites": [ |
| 1311 | + "" |
| 1312 | + ] |
| 1313 | + }, |
1293 | 1314 | "ui/ActionGroupProps": { |
1294 | 1315 | "sites": [ |
1295 | 1316 | "actions.element" |
1296 | 1317 | ] |
1297 | 1318 | }, |
| 1319 | + "ui/ActionIconProps": { |
| 1320 | + "sites": [ |
| 1321 | + "" |
| 1322 | + ] |
| 1323 | + }, |
1298 | 1324 | "ui/ActionMenuProps": { |
1299 | 1325 | "sites": [ |
1300 | 1326 | "actions.element" |
|
1323 | 1349 | "ui/Dashboard": { |
1324 | 1350 | "sites": [ |
1325 | 1351 | "globalFilters.element", |
| 1352 | + "header.actions.element", |
1326 | 1353 | "widgets.element", |
1327 | 1354 | "widgets.element.filter", |
1328 | 1355 | "widgets.element.filter.lazy" |
1329 | 1356 | ] |
1330 | 1357 | }, |
| 1358 | + "ui/DashboardHeader": { |
| 1359 | + "sites": [ |
| 1360 | + "actions.element" |
| 1361 | + ] |
| 1362 | + }, |
| 1363 | + "ui/DashboardHeaderAction": { |
| 1364 | + "sites": [ |
| 1365 | + "" |
| 1366 | + ] |
| 1367 | + }, |
1331 | 1368 | "ui/DashboardWidget": { |
1332 | 1369 | "sites": [ |
1333 | 1370 | "", |
|
0 commit comments