@adia-ai/a2ui-corpus 0.4.5 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (601) hide show
  1. package/CHANGELOG.md +86 -0
  2. package/README.md +81 -85
  3. package/catalog-a2ui_0_9.json +286 -9
  4. package/chunks/_index.json +50 -4
  5. package/chunks/agent-activity-feed.json +1 -1
  6. package/chunks/agent-canvas-shell.json +1 -1
  7. package/chunks/agent-reasoning-collapsed.json +1 -1
  8. package/chunks/auth-account-deleted-actions.json +1 -1
  9. package/chunks/auth-account-deleted.json +1 -1
  10. package/chunks/auth-card-content.json +1 -1
  11. package/chunks/auth-card-header.json +1 -1
  12. package/chunks/auth-email-entry.json +1 -1
  13. package/chunks/auth-email-verify-confirm.json +1 -1
  14. package/chunks/auth-email-verify.json +1 -1
  15. package/chunks/auth-forbidden-actions.json +1 -1
  16. package/chunks/auth-forbidden.json +1 -1
  17. package/chunks/auth-invite-actions.json +1 -1
  18. package/chunks/auth-invite-team-card.json +1 -1
  19. package/chunks/auth-link-expired-form.json +1 -1
  20. package/chunks/auth-link-expired.json +1 -1
  21. package/chunks/auth-locked-account.json +1 -1
  22. package/chunks/auth-locked-recovery-options.json +1 -1
  23. package/chunks/auth-mfa-enrollment-submit.json +1 -1
  24. package/chunks/auth-mfa-enrollment.json +1 -1
  25. package/chunks/auth-mfa-fallback-actions.json +1 -1
  26. package/chunks/auth-mfa-recovery.json +1 -1
  27. package/chunks/auth-new-password-form.json +1 -1
  28. package/chunks/auth-new-password.json +1 -1
  29. package/chunks/auth-oauth-fallback-actions.json +1 -1
  30. package/chunks/auth-oauth-interstitial.json +1 -1
  31. package/chunks/auth-password-challenge.json +1 -1
  32. package/chunks/auth-password-reset-form.json +1 -1
  33. package/chunks/auth-password-reset.json +1 -1
  34. package/chunks/auth-profile-form.json +1 -1
  35. package/chunks/auth-profile-setup.json +1 -1
  36. package/chunks/auth-reset-sent.json +1 -1
  37. package/chunks/auth-session-expired-actions.json +1 -1
  38. package/chunks/auth-session-expired.json +1 -1
  39. package/chunks/auth-signin-card-email.json +1 -1
  40. package/chunks/auth-signin-card-magic-link.json +1 -1
  41. package/chunks/auth-signin-card-mfa.json +1 -1
  42. package/chunks/auth-signin-card-otp.json +1 -1
  43. package/chunks/auth-signin-card-password.json +1 -1
  44. package/chunks/auth-signin-card-recovery.json +1 -1
  45. package/chunks/auth-signout-actions.json +1 -1
  46. package/chunks/auth-signout.json +1 -1
  47. package/chunks/auth-signup-email-entry.json +1 -1
  48. package/chunks/auth-signup-entry.json +1 -1
  49. package/chunks/auth-signup-social-auths.json +1 -1
  50. package/chunks/auth-signup-verify.json +1 -1
  51. package/chunks/auth-social-auths.json +1 -1
  52. package/chunks/auth-sso-providers.json +1 -1
  53. package/chunks/auth-sso-required.json +1 -1
  54. package/chunks/auth-team-invite.json +1 -1
  55. package/chunks/card-header-with-description.json +1 -1
  56. package/chunks/chat-page-shell.json +1 -1
  57. package/chunks/chat-streaming-surface.json +1 -1
  58. package/chunks/command-palette.json +1 -1
  59. package/chunks/commerce-pricing-tiers.json +1 -1
  60. package/chunks/conversion-funnel-6step.json +1 -1
  61. package/chunks/dashboard-acquisition-panel.json +1 -1
  62. package/chunks/dashboard-admin-page.json +1 -1
  63. package/chunks/dashboard-audience-kpis.json +1 -1
  64. package/chunks/dashboard-audience-panel.json +1 -1
  65. package/chunks/dashboard-behavior-panel.json +1 -1
  66. package/chunks/dashboard-chart-recent.json +1 -1
  67. package/chunks/dashboard-cohort-retention.json +1 -1
  68. package/chunks/dashboard-conversion-panel.json +1 -1
  69. package/chunks/dashboard-country-list.json +1 -1
  70. package/chunks/dashboard-filter-bar.json +1 -1
  71. package/chunks/dashboard-funnel.json +1 -1
  72. package/chunks/dashboard-kpi-grid.json +1 -1
  73. package/chunks/dashboard-notifications-feed.json +1 -1
  74. package/chunks/dashboard-notifications-panel.json +1 -1
  75. package/chunks/dashboard-overview-panel.json +1 -1
  76. package/chunks/dashboard-page-header.json +1 -1
  77. package/chunks/dashboard-pages-table.json +1 -1
  78. package/chunks/dashboard-quick-actions.json +1 -1
  79. package/chunks/dashboard-reports-panel.json +1 -1
  80. package/chunks/dashboard-reports-table.json +1 -1
  81. package/chunks/dashboard-spark-cards.json +1 -1
  82. package/chunks/dashboard-storage-card.json +1 -1
  83. package/chunks/dashboard-tabs.json +1 -1
  84. package/chunks/dashboard-team-actions-storage.json +1 -1
  85. package/chunks/dashboard-team-list.json +1 -1
  86. package/chunks/dashboard-traffic-channels.json +1 -1
  87. package/chunks/dashboard-transactions-table.json +1 -1
  88. package/chunks/destructive-confirm-modal.json +1 -1
  89. package/chunks/doc-editor-shell.json +1 -1
  90. package/chunks/drawer-2fa-key.json +1 -1
  91. package/chunks/drawer-2fa-sms.json +1 -1
  92. package/chunks/drawer-2fa-totp.json +1 -1
  93. package/chunks/drawer-cancel-sub.json +1 -1
  94. package/chunks/drawer-change-plan.json +1 -1
  95. package/chunks/drawer-custom-roles.json +1 -1
  96. package/chunks/drawer-data-start.json +1 -1
  97. package/chunks/drawer-delete-account.json +1 -1
  98. package/chunks/drawer-delete-workspace.json +1 -1
  99. package/chunks/drawer-discord.json +1 -1
  100. package/chunks/drawer-figma.json +1 -1
  101. package/chunks/drawer-first-dashboard.json +1 -1
  102. package/chunks/drawer-gcal.json +1 -1
  103. package/chunks/drawer-github.json +1 -1
  104. package/chunks/drawer-invite.json +1 -1
  105. package/chunks/drawer-payment-method.json +1 -1
  106. package/chunks/drawer-report.json +1 -1
  107. package/chunks/drawer-revoke-session.json +1 -1
  108. package/chunks/drawer-role.json +1 -1
  109. package/chunks/drawer-slack.json +1 -1
  110. package/chunks/drawer-smtp.json +1 -1
  111. package/chunks/drawer-source.json +1 -1
  112. package/chunks/drawer-transaction.json +1 -1
  113. package/chunks/editor-code-pane.json +1 -1
  114. package/chunks/editor-page-shell.json +1 -1
  115. package/chunks/editor-preview-pane.json +1 -1
  116. package/chunks/error-404-actions.json +1 -1
  117. package/chunks/error-404.json +1 -1
  118. package/chunks/error-500-actions.json +1 -1
  119. package/chunks/error-500.json +1 -1
  120. package/chunks/error-maintenance-actions.json +1 -1
  121. package/chunks/error-maintenance.json +1 -1
  122. package/chunks/error-page-shell.json +1 -1
  123. package/chunks/footer-primary-only.json +1 -1
  124. package/chunks/form-page-shell.json +1 -1
  125. package/chunks/gallery-page-shell.json +1 -1
  126. package/chunks/icon-text-row.json +1 -1
  127. package/chunks/image-tile.json +1 -1
  128. package/chunks/kanban-board-3col.json +1 -1
  129. package/chunks/kanban-page-shell.json +1 -1
  130. package/chunks/labeled-textarea.json +1 -1
  131. package/chunks/linked-record-row.json +1 -1
  132. package/chunks/marketing-hero-cta.json +1 -1
  133. package/chunks/marketing-page-shell.json +1 -1
  134. package/chunks/member-edit-drawer.json +1 -1
  135. package/chunks/metadata-description-list.json +1 -1
  136. package/chunks/onb-completion.json +1 -1
  137. package/chunks/onb-extension-install.json +1 -1
  138. package/chunks/onb-hero-welcome.json +1 -1
  139. package/chunks/onb-import-picker.json +1 -1
  140. package/chunks/onb-mobile-handoff.json +1 -1
  141. package/chunks/onb-notification-prefs.json +1 -1
  142. package/chunks/onb-persona-picker.json +1 -1
  143. package/chunks/onb-provider-tiles.json +1 -1
  144. package/chunks/onb-settings-review.json +1 -1
  145. package/chunks/onb-step-footer.json +1 -1
  146. package/chunks/onb-step-header.json +1 -1
  147. package/chunks/onb-step-progress.json +1 -1
  148. package/chunks/onb-step-shell.json +1 -1
  149. package/chunks/onb-story-pane.json +1 -1
  150. package/chunks/onb-tutorial-steps.json +1 -1
  151. package/chunks/playground-a2ui.json +1 -1
  152. package/chunks/playground-app-shell.json +1 -1
  153. package/chunks/playground-chat.json +1 -1
  154. package/chunks/playground-construct-canvas.json +1 -1
  155. package/chunks/playground-gen-ui.json +1 -1
  156. package/chunks/playground-render-preview.json +1 -1
  157. package/chunks/playground-streams-bridge.json +1 -1
  158. package/chunks/playground-table-toolbar.json +1 -1
  159. package/chunks/reg-address-form.json +1 -1
  160. package/chunks/reg-billing-card.json +1 -1
  161. package/chunks/reg-brand-scrape.json +1 -1
  162. package/chunks/reg-departments-toggle.json +1 -1
  163. package/chunks/reg-extended-profile.json +1 -1
  164. package/chunks/reg-final-done.json +1 -1
  165. package/chunks/reg-helpdesk-grid.json +1 -1
  166. package/chunks/reg-import-picker.json +1 -1
  167. package/chunks/reg-integrations-grid.json +1 -1
  168. package/chunks/reg-invite-form.json +1 -1
  169. package/chunks/reg-legal-entity.json +1 -1
  170. package/chunks/reg-org-chart-review.json +1 -1
  171. package/chunks/reg-profile-identity.json +1 -1
  172. package/chunks/reg-step-footer.json +1 -1
  173. package/chunks/reg-step-header.json +1 -1
  174. package/chunks/reg-step-progress.json +1 -1
  175. package/chunks/reg-step-shell.json +1 -1
  176. package/chunks/reg-story-pane.json +1 -1
  177. package/chunks/reg-success-summary.json +1 -1
  178. package/chunks/reg-team-size.json +1 -1
  179. package/chunks/reg-usecase-picker.json +1 -1
  180. package/chunks/reg-workspace-name.json +1 -1
  181. package/chunks/section-with-stack.json +1 -1
  182. package/chunks/settings-admin-page.json +989 -0
  183. package/chunks/settings-appearance.json +1 -1
  184. package/chunks/settings-billing-plan.json +1 -1
  185. package/chunks/settings-general-form.json +1 -1
  186. package/chunks/settings-integrations.json +1 -1
  187. package/chunks/settings-members-invite.json +1 -1
  188. package/chunks/settings-notifications.json +1 -1
  189. package/chunks/settings-page-shell.json +1 -1
  190. package/chunks/settings-profile-security.json +1 -1
  191. package/chunks/text-card.json +1 -1
  192. package/chunks/user-identity-row.json +1 -1
  193. package/chunks/user-profile-card.json +1 -1
  194. package/chunks/users-table-badge.json +1 -1
  195. package/package.json +3 -8
  196. package/compositions/_schema.json +0 -26
  197. package/compositions/agent/ai-streaming-response.json +0 -62
  198. package/compositions/agent/ai-streaming-response.yaml +0 -32
  199. package/compositions/agent/alert-banner.json +0 -58
  200. package/compositions/agent/alert-banner.yaml +0 -34
  201. package/compositions/agent/chat-interface.json +0 -135
  202. package/compositions/agent/chat-interface.yaml +0 -34
  203. package/compositions/agent/command-palette.json +0 -113
  204. package/compositions/agent/command-palette.yaml +0 -30
  205. package/compositions/agent/empty-state.json +0 -81
  206. package/compositions/agent/empty-state.yaml +0 -35
  207. package/compositions/agent/error-state-retry.json +0 -115
  208. package/compositions/agent/loading-skeleton.json +0 -83
  209. package/compositions/agent/loading-skeleton.yaml +0 -31
  210. package/compositions/agent/notification-preferences.json +0 -415
  211. package/compositions/agent/toast-stack.json +0 -52
  212. package/compositions/agent/toast-stack.yaml +0 -28
  213. package/compositions/data/activity-feed.json +0 -253
  214. package/compositions/data/activity-feed.yaml +0 -43
  215. package/compositions/data/audit-log-viewer.json +0 -516
  216. package/compositions/data/bookmark-list.json +0 -195
  217. package/compositions/data/bookmark-list.yaml +0 -41
  218. package/compositions/data/bulk-action-toolbar.json +0 -146
  219. package/compositions/data/changelog-feed.json +0 -357
  220. package/compositions/data/chart-dashboard.json +0 -111
  221. package/compositions/data/chart-dashboard.yaml +0 -34
  222. package/compositions/data/cohort-retention.json +0 -402
  223. package/compositions/data/column-manager.json +0 -585
  224. package/compositions/data/data-table-paginated.json +0 -107
  225. package/compositions/data/data-table-paginated.yaml +0 -36
  226. package/compositions/data/email-inbox-list.json +0 -255
  227. package/compositions/data/email-inbox-list.yaml +0 -41
  228. package/compositions/data/funnel-analytics.json +0 -432
  229. package/compositions/data/heatmap-calendar.json +0 -235
  230. package/compositions/data/invoice-table.json +0 -115
  231. package/compositions/data/invoice-table.yaml +0 -33
  232. package/compositions/data/kpi-overview.json +0 -198
  233. package/compositions/data/kpi-overview.yaml +0 -42
  234. package/compositions/data/notification-center.json +0 -243
  235. package/compositions/data/notification-center.yaml +0 -41
  236. package/compositions/data/object-inspector.json +0 -473
  237. package/compositions/data/product-specs-card.json +0 -73
  238. package/compositions/data/product-specs-card.yaml +0 -35
  239. package/compositions/data/progress-tracker.json +0 -161
  240. package/compositions/data/progress-tracker.yaml +0 -47
  241. package/compositions/data/review-card.json +0 -101
  242. package/compositions/data/review-card.yaml +0 -34
  243. package/compositions/data/saved-views-filter-bar.json +0 -247
  244. package/compositions/data/shopping-cart-summary.json +0 -180
  245. package/compositions/data/shopping-cart-summary.yaml +0 -43
  246. package/compositions/data/stat-card-dashboard.json +0 -231
  247. package/compositions/data/stat-card-dashboard.yaml +0 -44
  248. package/compositions/data/status-page.json +0 -413
  249. package/compositions/data/virtualized-table.json +0 -281
  250. package/compositions/data/weather-widget.json +0 -84
  251. package/compositions/data/weather-widget.yaml +0 -31
  252. package/compositions/forms/change-password-form.json +0 -154
  253. package/compositions/forms/change-password-form.yaml +0 -44
  254. package/compositions/forms/color-picker-panel.json +0 -95
  255. package/compositions/forms/color-picker-panel.yaml +0 -36
  256. package/compositions/forms/contact-form.json +0 -205
  257. package/compositions/forms/contact-form.yaml +0 -54
  258. package/compositions/forms/credit-card-payment-form.json +0 -168
  259. package/compositions/forms/credit-card-payment-form.yaml +0 -46
  260. package/compositions/forms/data-import-mapper.json +0 -315
  261. package/compositions/forms/data-import-wizard.json +0 -321
  262. package/compositions/forms/date-time-picker-form.json +0 -123
  263. package/compositions/forms/date-time-picker-form.yaml +0 -38
  264. package/compositions/forms/destructive-confirm.json +0 -265
  265. package/compositions/forms/feedback-form.json +0 -123
  266. package/compositions/forms/feedback-form.yaml +0 -41
  267. package/compositions/forms/file-upload-form.json +0 -104
  268. package/compositions/forms/file-upload-form.yaml +0 -37
  269. package/compositions/forms/login-form.json +0 -139
  270. package/compositions/forms/login-form.yaml +0 -43
  271. package/compositions/forms/multi-step-wizard.json +0 -144
  272. package/compositions/forms/multi-step-wizard.yaml +0 -37
  273. package/compositions/forms/newsletter-subscription-form.json +0 -108
  274. package/compositions/forms/newsletter-subscription-form.yaml +0 -40
  275. package/compositions/forms/otp-verification-form.json +0 -110
  276. package/compositions/forms/otp-verification-form.yaml +0 -42
  277. package/compositions/forms/password-reset-form.json +0 -108
  278. package/compositions/forms/password-reset-form.yaml +0 -40
  279. package/compositions/forms/permission-matrix.json +0 -189
  280. package/compositions/forms/profile-edit-form.json +0 -156
  281. package/compositions/forms/profile-edit-form.yaml +0 -46
  282. package/compositions/forms/radio-group-form.json +0 -131
  283. package/compositions/forms/radio-group-form.yaml +0 -39
  284. package/compositions/forms/search-filters.json +0 -122
  285. package/compositions/forms/search-filters.yaml +0 -41
  286. package/compositions/forms/settings-toggles-page.json +0 -223
  287. package/compositions/forms/settings-toggles-page.yaml +0 -43
  288. package/compositions/forms/signup-form.json +0 -164
  289. package/compositions/forms/signup-form.yaml +0 -48
  290. package/compositions/forms/slider-range-form.json +0 -72
  291. package/compositions/forms/slider-range-form.yaml +0 -34
  292. package/compositions/forms/tag-input-form.json +0 -96
  293. package/compositions/forms/tag-input-form.yaml +0 -31
  294. package/compositions/forms/team-members-rbac.json +0 -841
  295. package/compositions/layout/accordion-settings.json +0 -464
  296. package/compositions/layout/avatar-group-display.json +0 -20
  297. package/compositions/layout/avatar-group-display.yaml +0 -30
  298. package/compositions/layout/badge-variants-display.json +0 -128
  299. package/compositions/layout/badge-variants-display.yaml +0 -31
  300. package/compositions/layout/bento-overview.json +0 -406
  301. package/compositions/layout/calendar-month-view.json +0 -275
  302. package/compositions/layout/calendar-month-view.yaml +0 -29
  303. package/compositions/layout/code-block.json +0 -75
  304. package/compositions/layout/code-block.yaml +0 -30
  305. package/compositions/layout/comparison-table.json +0 -120
  306. package/compositions/layout/comparison-table.yaml +0 -32
  307. package/compositions/layout/divider-with-label.json +0 -49
  308. package/compositions/layout/divider-with-label.yaml +0 -29
  309. package/compositions/layout/drawer-panel.json +0 -115
  310. package/compositions/layout/drawer-panel.yaml +0 -34
  311. package/compositions/layout/embed-iframe.json +0 -69
  312. package/compositions/layout/embed-iframe.yaml +0 -31
  313. package/compositions/layout/faq-accordion.json +0 -92
  314. package/compositions/layout/faq-accordion.yaml +0 -32
  315. package/compositions/layout/feature-grid.json +0 -208
  316. package/compositions/layout/feature-grid.yaml +0 -42
  317. package/compositions/layout/footer-nav.json +0 -195
  318. package/compositions/layout/footer-nav.yaml +0 -35
  319. package/compositions/layout/hero-cta.json +0 -80
  320. package/compositions/layout/hero-cta.yaml +0 -35
  321. package/compositions/layout/image-gallery.json +0 -119
  322. package/compositions/layout/image-gallery.yaml +0 -43
  323. package/compositions/layout/image-with-caption.json +0 -61
  324. package/compositions/layout/image-with-caption.yaml +0 -29
  325. package/compositions/layout/kanban-board.json +0 -206
  326. package/compositions/layout/kanban-board.yaml +0 -37
  327. package/compositions/layout/keyboard-shortcuts.json +0 -152
  328. package/compositions/layout/keyboard-shortcuts.yaml +0 -42
  329. package/compositions/layout/markdown-editor-preview.json +0 -166
  330. package/compositions/layout/media-player.json +0 -94
  331. package/compositions/layout/media-player.yaml +0 -30
  332. package/compositions/layout/modal-form.json +0 -107
  333. package/compositions/layout/modal-form.yaml +0 -34
  334. package/compositions/layout/onboarding-checklist.json +0 -101
  335. package/compositions/layout/onboarding-checklist.yaml +0 -31
  336. package/compositions/layout/popover-tooltip.json +0 -83
  337. package/compositions/layout/popover-tooltip.yaml +0 -31
  338. package/compositions/layout/pricing-tiers.json +0 -240
  339. package/compositions/layout/pricing-tiers.yaml +0 -41
  340. package/compositions/layout/product-card.json +0 -108
  341. package/compositions/layout/product-card.yaml +0 -35
  342. package/compositions/layout/sidebar-layout.json +0 -165
  343. package/compositions/layout/sidebar-layout.yaml +0 -39
  344. package/compositions/layout/split-pane-layout.json +0 -20
  345. package/compositions/layout/split-pane-layout.yaml +0 -31
  346. package/compositions/layout/tabs-panel.json +0 -127
  347. package/compositions/layout/tabs-panel.yaml +0 -34
  348. package/compositions/layout/testimonial-grid.json +0 -265
  349. package/compositions/layout/testimonial-grid.yaml +0 -39
  350. package/compositions/layout/three-pane-shell.json +0 -531
  351. package/compositions/layout/toolbar-actions.json +0 -90
  352. package/compositions/layout/toolbar-actions.yaml +0 -29
  353. package/compositions/navigation/breadcrumb-nav.json +0 -18
  354. package/compositions/navigation/breadcrumb-nav.yaml +0 -29
  355. package/compositions/navigation/nav-menu-with-icons.json +0 -130
  356. package/compositions/navigation/nav-menu-with-icons.yaml +0 -39
  357. package/compositions/navigation/pagination-controls.json +0 -44
  358. package/compositions/navigation/pagination-controls.yaml +0 -34
  359. package/compositions/navigation/segmented-control-tabs.json +0 -17
  360. package/compositions/navigation/segmented-control-tabs.yaml +0 -29
  361. package/compositions/navigation/workspace-switcher.json +0 -303
  362. package/compositions/settings/api-keys.json +0 -602
  363. package/compositions/settings/feature-flags.json +0 -486
  364. package/compositions/settings/integrations-gallery.json +0 -927
  365. package/compositions/settings/session-device-mgmt.json +0 -629
  366. package/compositions/settings/usage-quota-meter.json +0 -256
  367. package/compositions/settings/webhooks.json +0 -446
  368. package/patterns/_components.json +0 -3320
  369. package/patterns/_index.json +0 -3322
  370. package/patterns/_schema.json +0 -206
  371. package/patterns/_taxonomy.json +0 -1970
  372. package/patterns/agent/_domain.json +0 -27
  373. package/patterns/agent/alert-banner.json +0 -41
  374. package/patterns/agent/alert-banner.yaml +0 -38
  375. package/patterns/agent/chat-interface.json +0 -205
  376. package/patterns/agent/chat-interface.yaml +0 -58
  377. package/patterns/agent/command-palette.json +0 -169
  378. package/patterns/agent/command-palette.yaml +0 -48
  379. package/patterns/agent/empty-state.json +0 -77
  380. package/patterns/agent/empty-state.yaml +0 -44
  381. package/patterns/agent/error-state.json +0 -67
  382. package/patterns/agent/error-state.yaml +0 -43
  383. package/patterns/agent/loading-skeleton.json +0 -95
  384. package/patterns/agent/loading-skeleton.yaml +0 -41
  385. package/patterns/agent/notifications.json +0 -87
  386. package/patterns/agent/notifications.yaml +0 -41
  387. package/patterns/agent/streaming-response.json +0 -58
  388. package/patterns/agent/streaming-response.yaml +0 -41
  389. package/patterns/agent/toast-notification.json +0 -67
  390. package/patterns/agent/toast-notification.yaml +0 -45
  391. package/patterns/data/_domain.json +0 -35
  392. package/patterns/data/admin-dashboard-with-charts.json +0 -751
  393. package/patterns/data/admin-dashboard-with-charts.yaml +0 -79
  394. package/patterns/data/api-key-table.json +0 -131
  395. package/patterns/data/api-key-table.yaml +0 -43
  396. package/patterns/data/bookmark-list-categories.json +0 -552
  397. package/patterns/data/bookmark-list-categories.yaml +0 -53
  398. package/patterns/data/bookmark-list.json +0 -163
  399. package/patterns/data/bookmark-list.yaml +0 -47
  400. package/patterns/data/chart-card-with-trend-footer.json +0 -102
  401. package/patterns/data/chart-card-with-trend-footer.yaml +0 -56
  402. package/patterns/data/chart-dashboard.json +0 -335
  403. package/patterns/data/chart-dashboard.yaml +0 -48
  404. package/patterns/data/chart-grid-with-kpis.json +0 -314
  405. package/patterns/data/chart-grid-with-kpis.yaml +0 -63
  406. package/patterns/data/chart-with-filter-pills.json +0 -127
  407. package/patterns/data/chart-with-filter-pills.yaml +0 -76
  408. package/patterns/data/dashboard.json +0 -153
  409. package/patterns/data/dashboard.yaml +0 -45
  410. package/patterns/data/data-table-view.json +0 -145
  411. package/patterns/data/data-table-view.yaml +0 -61
  412. package/patterns/data/email-inbox.json +0 -272
  413. package/patterns/data/email-inbox.yaml +0 -48
  414. package/patterns/data/event-calendar-details.json +0 -332
  415. package/patterns/data/event-calendar-details.yaml +0 -57
  416. package/patterns/data/inventory-table.json +0 -119
  417. package/patterns/data/inventory-table.yaml +0 -42
  418. package/patterns/data/leaderboard.json +0 -131
  419. package/patterns/data/leaderboard.yaml +0 -41
  420. package/patterns/data/metrics.json +0 -163
  421. package/patterns/data/metrics.yaml +0 -40
  422. package/patterns/data/notification-center.json +0 -296
  423. package/patterns/data/notification-center.yaml +0 -56
  424. package/patterns/data/onboarding-checklist.json +0 -89
  425. package/patterns/data/onboarding-checklist.yaml +0 -43
  426. package/patterns/data/order-tracking.json +0 -167
  427. package/patterns/data/order-tracking.yaml +0 -48
  428. package/patterns/data/pagination-nav.json +0 -48
  429. package/patterns/data/pagination-nav.yaml +0 -42
  430. package/patterns/data/progress-dashboard.json +0 -183
  431. package/patterns/data/progress-dashboard.yaml +0 -50
  432. package/patterns/data/progress-tracker.json +0 -116
  433. package/patterns/data/progress-tracker.yaml +0 -44
  434. package/patterns/data/restaurant-menu.json +0 -453
  435. package/patterns/data/restaurant-menu.yaml +0 -58
  436. package/patterns/data/stat-cards.json +0 -144
  437. package/patterns/data/stat-cards.yaml +0 -42
  438. package/patterns/data/stat-with-sparkline.json +0 -67
  439. package/patterns/data/stat-with-sparkline.yaml +0 -51
  440. package/patterns/data/team-activity.json +0 -170
  441. package/patterns/data/team-activity.yaml +0 -46
  442. package/patterns/forms/_domain.json +0 -32
  443. package/patterns/forms/auth-signup.json +0 -213
  444. package/patterns/forms/auth-signup.yaml +0 -55
  445. package/patterns/forms/bleed-design-settings.json +0 -193
  446. package/patterns/forms/bleed-design-settings.yaml +0 -57
  447. package/patterns/forms/color-picker-demo.json +0 -52
  448. package/patterns/forms/color-picker-demo.yaml +0 -43
  449. package/patterns/forms/color-picker-panel.json +0 -48
  450. package/patterns/forms/color-picker-panel.yaml +0 -38
  451. package/patterns/forms/color-theme-builder.json +0 -198
  452. package/patterns/forms/color-theme-builder.yaml +0 -55
  453. package/patterns/forms/create-form.json +0 -191
  454. package/patterns/forms/create-form.yaml +0 -55
  455. package/patterns/forms/credit-card-payment.json +0 -282
  456. package/patterns/forms/credit-card-payment.yaml +0 -61
  457. package/patterns/forms/data-import.json +0 -110
  458. package/patterns/forms/data-import.yaml +0 -49
  459. package/patterns/forms/date-picker.json +0 -85
  460. package/patterns/forms/date-picker.yaml +0 -44
  461. package/patterns/forms/date-range-picker.json +0 -155
  462. package/patterns/forms/date-range-picker.yaml +0 -54
  463. package/patterns/forms/file-upload-form.json +0 -151
  464. package/patterns/forms/file-upload-form.yaml +0 -60
  465. package/patterns/forms/file-upload-gallery.json +0 -174
  466. package/patterns/forms/file-upload-gallery.yaml +0 -56
  467. package/patterns/forms/image-upload-preview.json +0 -72
  468. package/patterns/forms/image-upload-preview.yaml +0 -42
  469. package/patterns/forms/login-form.json +0 -205
  470. package/patterns/forms/login-form.yaml +0 -61
  471. package/patterns/forms/modal-dialog-form.json +0 -233
  472. package/patterns/forms/modal-dialog-form.yaml +0 -52
  473. package/patterns/forms/newsletter-subscribe.json +0 -69
  474. package/patterns/forms/newsletter-subscribe.yaml +0 -47
  475. package/patterns/forms/notification-filters.json +0 -296
  476. package/patterns/forms/notification-filters.yaml +0 -80
  477. package/patterns/forms/notification-preferences.json +0 -388
  478. package/patterns/forms/notification-preferences.yaml +0 -66
  479. package/patterns/forms/otp-form.json +0 -89
  480. package/patterns/forms/otp-form.yaml +0 -46
  481. package/patterns/forms/otp-verification.json +0 -127
  482. package/patterns/forms/otp-verification.yaml +0 -52
  483. package/patterns/forms/password-reset.json +0 -206
  484. package/patterns/forms/password-reset.yaml +0 -56
  485. package/patterns/forms/price-range-filter.json +0 -133
  486. package/patterns/forms/price-range-filter.yaml +0 -51
  487. package/patterns/forms/radio-group-selection.json +0 -177
  488. package/patterns/forms/radio-group-selection.yaml +0 -51
  489. package/patterns/forms/radio-group.json +0 -119
  490. package/patterns/forms/radio-group.yaml +0 -50
  491. package/patterns/forms/search-filters.json +0 -201
  492. package/patterns/forms/search-filters.yaml +0 -60
  493. package/patterns/forms/settings-page.json +0 -364
  494. package/patterns/forms/settings-page.yaml +0 -64
  495. package/patterns/forms/slider-range.json +0 -119
  496. package/patterns/forms/slider-range.yaml +0 -45
  497. package/patterns/forms/survey-rating-scales.json +0 -370
  498. package/patterns/forms/survey-rating-scales.yaml +0 -69
  499. package/patterns/forms/tag-input.json +0 -112
  500. package/patterns/forms/tag-input.yaml +0 -47
  501. package/patterns/forms/theme-customizer.json +0 -180
  502. package/patterns/forms/theme-customizer.yaml +0 -53
  503. package/patterns/forms/two-factor-auth.json +0 -249
  504. package/patterns/forms/two-factor-auth.yaml +0 -62
  505. package/patterns/forms/volume-control.json +0 -99
  506. package/patterns/forms/volume-control.yaml +0 -47
  507. package/patterns/forms/wizard-steps.json +0 -153
  508. package/patterns/forms/wizard-steps.yaml +0 -58
  509. package/patterns/layout/_domain.json +0 -29
  510. package/patterns/layout/accordion-settings.json +0 -289
  511. package/patterns/layout/accordion-settings.yaml +0 -55
  512. package/patterns/layout/avatar-group.json +0 -115
  513. package/patterns/layout/avatar-group.yaml +0 -47
  514. package/patterns/layout/badge-showcase.json +0 -206
  515. package/patterns/layout/badge-showcase.yaml +0 -46
  516. package/patterns/layout/calendar-view.json +0 -88
  517. package/patterns/layout/calendar-view.yaml +0 -42
  518. package/patterns/layout/code-block.json +0 -82
  519. package/patterns/layout/code-block.yaml +0 -47
  520. package/patterns/layout/consent-banner.json +0 -89
  521. package/patterns/layout/consent-banner.yaml +0 -50
  522. package/patterns/layout/cta-banner.json +0 -91
  523. package/patterns/layout/cta-banner.yaml +0 -46
  524. package/patterns/layout/divider-label.json +0 -64
  525. package/patterns/layout/divider-label.yaml +0 -42
  526. package/patterns/layout/drawer-panel.json +0 -201
  527. package/patterns/layout/drawer-panel.yaml +0 -54
  528. package/patterns/layout/embed-content.json +0 -84
  529. package/patterns/layout/embed-content.yaml +0 -46
  530. package/patterns/layout/faq-accordion.json +0 -159
  531. package/patterns/layout/faq-accordion.yaml +0 -47
  532. package/patterns/layout/feature-carousel.json +0 -263
  533. package/patterns/layout/feature-carousel.yaml +0 -47
  534. package/patterns/layout/feature-grid.json +0 -171
  535. package/patterns/layout/feature-grid.yaml +0 -45
  536. package/patterns/layout/hero-section.json +0 -101
  537. package/patterns/layout/hero-section.yaml +0 -46
  538. package/patterns/layout/image-caption.json +0 -48
  539. package/patterns/layout/image-caption.yaml +0 -37
  540. package/patterns/layout/image-carousel.json +0 -173
  541. package/patterns/layout/image-carousel.yaml +0 -47
  542. package/patterns/layout/image-gallery.json +0 -128
  543. package/patterns/layout/image-gallery.yaml +0 -45
  544. package/patterns/layout/kanban-board.json +0 -292
  545. package/patterns/layout/kanban-board.yaml +0 -58
  546. package/patterns/layout/kbd-shortcuts.json +0 -178
  547. package/patterns/layout/kbd-shortcuts.yaml +0 -43
  548. package/patterns/layout/markdown-editor.json +0 -126
  549. package/patterns/layout/markdown-editor.yaml +0 -46
  550. package/patterns/layout/music-player.json +0 -107
  551. package/patterns/layout/music-player.yaml +0 -42
  552. package/patterns/layout/pagination-demo.json +0 -55
  553. package/patterns/layout/pagination-demo.yaml +0 -44
  554. package/patterns/layout/pagination-table.json +0 -107
  555. package/patterns/layout/pagination-table.yaml +0 -59
  556. package/patterns/layout/popover-demo.json +0 -71
  557. package/patterns/layout/popover-demo.yaml +0 -46
  558. package/patterns/layout/popover-menu.json +0 -113
  559. package/patterns/layout/popover-menu.yaml +0 -45
  560. package/patterns/layout/pricing-tiers.json +0 -308
  561. package/patterns/layout/pricing-tiers.yaml +0 -52
  562. package/patterns/layout/product-card.json +0 -89
  563. package/patterns/layout/product-card.yaml +0 -46
  564. package/patterns/layout/product-carousel.json +0 -251
  565. package/patterns/layout/product-carousel.yaml +0 -47
  566. package/patterns/layout/social-post.json +0 -119
  567. package/patterns/layout/social-post.yaml +0 -45
  568. package/patterns/layout/split-pane.json +0 -69
  569. package/patterns/layout/split-pane.yaml +0 -41
  570. package/patterns/layout/swiper-carousel.json +0 -97
  571. package/patterns/layout/swiper-carousel.yaml +0 -55
  572. package/patterns/layout/tabs-panels.json +0 -147
  573. package/patterns/layout/tabs-panels.yaml +0 -46
  574. package/patterns/layout/team-carousel.json +0 -332
  575. package/patterns/layout/team-carousel.yaml +0 -50
  576. package/patterns/layout/testimonials-carousel.json +0 -281
  577. package/patterns/layout/testimonials-carousel.yaml +0 -50
  578. package/patterns/layout/testimonials-grid.json +0 -248
  579. package/patterns/layout/testimonials-grid.yaml +0 -46
  580. package/patterns/layout/toolbar-buttons.json +0 -151
  581. package/patterns/layout/toolbar-buttons.yaml +0 -47
  582. package/patterns/layout/tooltip-buttons.json +0 -109
  583. package/patterns/layout/tooltip-buttons.yaml +0 -44
  584. package/patterns/layout/user-profile.json +0 -123
  585. package/patterns/layout/user-profile.yaml +0 -45
  586. package/patterns/layout/video-player.json +0 -95
  587. package/patterns/layout/video-player.yaml +0 -45
  588. package/patterns/layout/weather-widget.json +0 -127
  589. package/patterns/layout/weather-widget.yaml +0 -46
  590. package/patterns/navigation/_domain.json +0 -25
  591. package/patterns/navigation/breadcrumb-nav.json +0 -57
  592. package/patterns/navigation/breadcrumb-nav.yaml +0 -39
  593. package/patterns/navigation/nav-menu-icons.json +0 -71
  594. package/patterns/navigation/nav-menu-icons.yaml +0 -38
  595. package/patterns/navigation/section-subnav.json +0 -80
  596. package/patterns/navigation/segmented-control.json +0 -56
  597. package/patterns/navigation/segmented-control.yaml +0 -40
  598. package/patterns/navigation/sidebar-nav.json +0 -207
  599. package/patterns/navigation/sidebar-nav.yaml +0 -44
  600. package/patterns/settings/settings-page.json +0 -280
  601. package/patterns/settings/settings-page.yaml +0 -51
package/CHANGELOG.md CHANGED
@@ -19,6 +19,92 @@ gap registry. Consumed by `@adia-ai/a2ui-retrieval` and
19
19
 
20
20
  _No pending changes._
21
21
 
22
+ ## [0.4.7] - 2026-05-12
23
+
24
+ ### Removed — `patterns/` + `compositions/` retired from disk + tarball (§72, the §65 carry-over from v0.4.6)
25
+
26
+ Hand-authored `corpus/patterns/<domain>/*.{json,yaml}` (~225 files) and `corpus/compositions/<domain>/*.json` (~177 files) deleted. The corpus is now one-format and harvester-driven — all retrievable units trace to a real page via `data-chunk-*` annotations per the v0.4.6 grounding rule.
27
+
28
+ **Exports removed:**
29
+ - `./patterns` → `./patterns/_components.json` — the alias-map subpath. Migrated to `components[name].x-adiaui.synonyms.tags` on the canonical `catalog-a2ui_0_9.json` (still exported as the package root `.`).
30
+ - `./exemplars/*` — exemplar HTML pages (their retrievable content was already harvested into `chunks/`).
31
+ - `./pattern-embeddings` → `./pattern-embeddings.json` — pattern-embeddings index (companion `embedding-retriever.js` + builder `scripts/build/embeddings.mjs` retired in `@adia-ai/a2ui-retrieval` and repo-side, respectively).
32
+
33
+ **`files:` array** drops `patterns/`, `compositions/`. The remaining published tarball surface: `catalog-a2ui_0_9.json`, `catalog-a2ui_0_9_rules.txt`, `manifest.json`, `chunks/`, `chunk-embeddings.json`, `scripts/chunk-library.js`, `README.md`, `CHANGELOG.md`.
34
+
35
+ **Alias-data migration:** the 18 alias-bearing components in the legacy `_components.json` had their `aliases` arrays folded into per-component `synonyms.tags` on the source yaml under `packages/web-components/`. Four legacy-only entries (`Chat`, `Panel`, `SegmentedControl`, `Toggle`) merged into their modern canonicals (`ChatThread`, `Pane`, `Segmented`, `Switch`). `catalog-a2ui_0_9.json` regenerated; the alias data lives there now under `components[name].x-adiaui.synonyms.tags`.
36
+
37
+ ### Changed — `README.md`, `data-flow.md`, `package.json` description
38
+
39
+ `README.md` — Exports section rewritten to show the catalog-with-aliases pattern; line referencing `data-flow.md`'s "chunks → fragments → compositions → feedback" simplified to "chunks → feedback" reflecting the retired stages. `data-flow.md` — full rewrite describing the harvester-driven flow (no more extract.js → ingest.js). `package.json` description — "patterns, compositions, chunks, eval fixtures…" → "canonical v0.9 catalog + chunks + eval fixtures…".
40
+
41
+ ## [0.4.6] - 2026-05-12
42
+
43
+ ### Removed — `corpus/scripts/` retirement (§64 step 3, v0.4.6)
44
+
45
+ `packages/a2ui/corpus/scripts/` purged of dead-stack code as part of the §64 pattern-library retirement:
46
+
47
+ - **`scripts/run-pipeline.mjs`** retired — orchestrated the extract→ingest→index sequence over the retired pattern surface. Re-harvest now flows through `scripts/build/harvest-chunks.mjs` (repo-root) for chunks + `npm run components` for the catalog.
48
+ - **`scripts/extract.js`** retired — pattern-extraction phase of the legacy pipeline; chunks-only post-§64.
49
+ - **`scripts/ingest.js`** retired — pattern-ingestion phase of the legacy pipeline; chunks-only post-§64.
50
+ - **`scripts/build-pattern-index.mjs`** retired — produced the `patterns/_index.json` files no consumer reads post-§64.
51
+
52
+ Companion docs link-rot fix in `docs/journal/2026/04/2026-04-27.md` (one markdown link to `scripts/run-pipeline.mjs` unwrapped to plain text with retired-2026-05-12 annotation).
53
+
54
+ ### Added — `settings-admin-page` chunk + Mode A annotation (§63, v0.4.6)
55
+
56
+ First §63 promotion under the §62 lock. Adds the `data-chunk-*` wrapper to `apps/saas/app/settings-page/settings-page.contents.html`, producing a new `settings-admin-page` chunk with full metadata; retires the 4 redundant pattern JSONs the chunk supersedes; fixes 12 pre-existing antipatterns the new chunk surfaced.
57
+
58
+ **The annotation** wraps the existing fragment in a top-level `<article data-chunk="settings-admin-page" data-chunk-kind="page" data-chunk-domain="settings" ...>` element. Harvester output:
59
+ - `kind: "page"`, `primary: "article"`
60
+ - `page: "/apps/saas/app/settings-page/settings-page.contents.html"`
61
+ - `nested: ["settings-general-form", "settings-appearance", "drawer-delete-workspace"]`
62
+ - `metadata: { domain, description, keywords, related, tags }` (all populated)
63
+
64
+ ### Removed — 4 redundant pattern JSONs superseded by `settings-admin-page` chunk (§63, v0.4.6)
65
+
66
+ Per the user-confirmed Q1 from §62 lock (*"dedupe duplicate-name patterns at promote-time"*):
67
+ - `packages/a2ui/corpus/patterns/forms/settings-page.{json,yaml}`
68
+ - `packages/a2ui/corpus/patterns/settings/settings-page.{json,yaml}`
69
+
70
+ Both copies had the same name with different `domain:` taxonomy assignments. The `data-chunk-domain="settings"` attr on the new chunk picks the canonical taxonomy implicitly; deleted both source files.
71
+
72
+ ### Fixed — 12 antipattern instances in settings-page surfaced by re-harvest (§63, v0.4.6)
73
+
74
+ Re-harvest surfaced 12 antipattern instances pre-existing in the page that only entered the corpus quality check once it was annotated. All were `<field-ui inline label="X"><{switch|check}-ui ...></...></field-ui>` — the documented antipattern per memory `feedback_check_ui_label_over_field_ui_inline.md`. Inline-fix pattern:
75
+
76
+ ```html
77
+ - <field-ui label="Send on Enter" inline>
78
+ - <switch-ui checked></switch-ui>
79
+ - </field-ui>
80
+ + <switch-ui label="Send on Enter" checked></switch-ui>
81
+ ```
82
+
83
+ 12 substitutions across three sections of `apps/saas/app/settings-page/settings-page.contents.html`:
84
+ - **Behavior** (3 switches): Send on Enter / Stream responses / Show token count
85
+ - **Notification channels** (4 switches): Email / Push / Weekly digest / SMS alerts
86
+ - **Notification activity** (5 checks): New team member joins / API key rotated / Usage threshold reached / Billing changes / Deployment completed
87
+
88
+ In-scope for §63's "make the real page good" mandate — annotating a real page that ships antipatterns into the training corpus is worse than not annotating it.
89
+
90
+ ### Verification
91
+
92
+ | Gate | Result |
93
+ |---|---|
94
+ | `verify:traits` | clean — 56/56 traits across 9 categories |
95
+ | `smoke:engines` | ok — retrieval-quality probes pass |
96
+ | `smoke:register-engine` | 11/11 |
97
+ | `test:a2ui` | 25/25 (1 skipped per AGENTS.md) |
98
+ | `verify:corpus` | 150 warns / 0 critical (vs §51 baseline 148 → +2 net) |
99
+
100
+ Net regression analysis: new `settings-admin-page` chunk surfaced 14 raw warns (mostly antipatterns + cross-cutting variant-enum issues); 12 antipattern fixes closed -12 warns; net +2 warns from cross-cutting items still pending (`Alert.variant="error"` not-in-enum; out of scope for §63).
101
+
102
+ Source: commit `7b62cb19` (196 files; mostly `corpus/chunks/*.json` re-harvest timestamps; meat is `settings-admin-page.json` +989 lines new + 4 pattern JSONs deleted).
103
+
104
+ ### Refreshed — corpus re-harvest (§63 ride-along; 190+ chunk `captured_at` timestamps)
105
+
106
+ All `corpus/chunks/*.json` files have updated `captured_at` timestamps from the `npm run harvest:chunks` re-run after the `settings-page.contents.html` annotation. No content changes; pure metadata refresh.
107
+
22
108
  ## [0.4.5] - 2026-05-12
23
109
 
24
110
  ### Ride-along (no source changes)
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @adia-ai/a2ui-corpus
2
2
 
3
3
  Corpus and operational-learning artifacts for the gen-UI pipeline —
4
- patterns, fragments, compositions, chunks, feedback, gaps, eval
4
+ **chunks** (the canonical retrieval surface), feedback, gaps, eval
5
5
  fixtures. Pure data plus the scripts that maintain it. No runtime.
6
6
 
7
7
  > The pipeline reads this package; this package never reads the pipeline.
@@ -34,55 +34,52 @@ web-components, so the read-direction stays one-way.
34
34
 
35
35
  ## Glossary
36
36
 
37
- Three overlapping concepts circulate through this package. Knowing which
38
- is which prevents reading bugs from creeping into authoring.
37
+ The corpus has converged on **one** retrievable concept: the **chunk**.
39
38
 
40
39
  | Term | Source of truth | Granularity | What it carries | Engine that consumes it |
41
40
  | --- | --- | --- | --- | --- |
42
- | **chunk** | `chunks/<id>.json` (one file per chunk) + `_index.json` | Smallest — a single labeled HTML region, harvested via `data-chunk` markers | `html`, `intent`, `domain`, `kind` (`block` / `data-chunk` / `field`), `keywords` | `chunk-zettel` + `monolithic-pro` (retrieve synthesize or inject as structural reference) |
43
- | **pattern** | `patterns/<domain>/<name>.json` | Full-canvas A2UI template (≈whole-page) | A2UI message tree, retrieval keywords, exemplar provenance | `monolithic-instant` / `monolithic-pro` (retrieve → emit verbatim) |
44
- | **composition** | `compositions/<domain>/<name>.json` | Multi-section A2UI surface (between pattern and chunk) | Flat A2UI template, keywords + tags | `zettel` (retrieve → emit verbatim) |
45
-
46
- **One-line distinctions:**
47
-
48
- - **Chunk vs composition** — chunks are *harvested* from `data-chunk` markers in real production HTML. Compositions are *authored* A2UI templates that don't necessarily correspond to a real page surface.
49
- - **Composition vs pattern** both are full-surface A2UI trees. Patterns are flat (single-page idea), compositions are multi-section (composed surface). The distinction is fuzzy and may converge over time.
50
-
51
- **When in doubt, follow the engine:**
52
-
53
- - Looking at `monolithic-*` retrieval? You want a **pattern**.
54
- - Looking at `zettel` retrieval? You want a **composition**.
55
- - Looking at `chunk-zettel` or chunk-aware monolithic-pro injection? You want a **chunk**.
56
-
57
- > **Note:** *Fragments* (atomic A2UI sub-trees with named slots) were
58
- > a fourth concept until §37 (2026-05-12). They were retired because
59
- > the slot-binding machinery added authoring + maintenance cost
60
- > without enough payoff (10/41 fragments had production examples,
61
- > 31/41 were stale). Their compositions were inlined into flat A2UI
62
- > templates per Option C (LLM handles parameterization at gen-time).
63
- > See [docs/journal/2026/05/2026-05-12.md §37](../../../docs/journal/2026/05/2026-05-12.md).
41
+ | **chunk** | `chunks/<id>.json` (one file per chunk) + `_index.json` | A single labeled HTML region, harvested via `data-chunk` markers | `html`, `intent`, `domain`, `kind` (`block` / `page` / `panel`), `keywords`, `metadata` (when annotated), `template` (transpiled A2UI tree, when annotated) | `chunk-zettel` + `monolithic-pro` + `zettel` (composition-library wraps annotated chunks) |
42
+
43
+ **Annotated vs raw chunks**: every chunk has `source`/`page` provenance,
44
+ but only chunks carrying `data-chunk-{domain,description,keywords,kind}`
45
+ attributes on their source HTML become retrievable as compositions
46
+ (the harvester's transpile pass produces a `template` + lifts the
47
+ `metadata` block onto them). Raw chunks remain as substrate for
48
+ `nested-expand` reference resolution but don't compete in retrieval.
49
+
50
+ **Grounding rule (locked v0.4.6, enforced v0.4.7):** every retrievable
51
+ unit MUST trace to a real page under `site/pages/`, `apps/`,
52
+ `playgrounds/`, or `catalog/` via its `data-chunk-*` annotations. No
53
+ hand-authored ungrounded JSON lives in `corpus/`.
54
+
55
+ > **Historical note:** *Fragments* (atomic A2UI sub-trees with named
56
+ > slots, §37, 2026-05-12), *patterns* (hand-authored full-canvas A2UI
57
+ > templates, `patterns/` dir), and *compositions* (hand-authored
58
+ > multi-section A2UI surfaces, `compositions/` dir) were earlier corpus
59
+ > formats. Fragments retired in v0.4.4 (§37). Patterns + compositions
60
+ > retired in v0.4.7 (§72 the v0.4.6 carryover of §65). Their
61
+ > retrievable equivalents were either (a) already represented in the
62
+ > chunks corpus via annotated `data-chunk-*` regions, or (b) deemed
63
+ > non-grounded under the locked rule and DELETE'd in §73 Mode-C triage
64
+ > (target for v0.4.7). See [`docs/journal/2026/05/2026-05-12.md`](../../../docs/journal/2026/05/2026-05-12.md)
65
+ > §§ 36-§42, §65, §72 for the multi-arc retirement narrative.
64
66
 
65
67
  ## Layout
66
68
 
67
69
  ```
68
70
  a2ui/corpus/
69
- ├── patterns/ ~97 full-canvas A2UI templates (retrieval corpus)
70
- ├── <domain>/<name>.json agent · data · forms · layout · navigation · settings
71
- ├── _components.json canonical name + aliases map (Carousel Swiper)
72
- └── _taxonomy.json concept synonyms (auth [login, signup, otp])
73
-
74
- ├── compositions/ named multi-section A2UI templates (flat,
75
- ├── agent/ data/ form/ layout/ navigation/ settings/
76
- ~100 surfaces; each = flat A2UI template
77
- with keywords + tags. Inlined per §37 —
78
- no $fragment refs remain.
71
+ ├── chunks/ retrievable + raw chunks (~190 entries)
72
+ one JSON per chunk; carries `source`,
73
+ `metadata` (when annotated), `template`
74
+ (transpiled A2UI tree, when annotated).
75
+ Harvested by `scripts/build/harvest-chunks.mjs`
76
+ │ from data-chunk markers across site/pages/*,
77
+ apps/*, playgrounds/*, catalog/*.
78
+ └── _index.json harvester output name + by-kind tallies +
79
+ normalized chunk list (shape consumed by
80
+ chunk-loader + composition-library)
79
81
 
80
82
  ├── evals/ held-out.jsonl + eval fixtures
81
- ├── chunks/ gen-UI training chunks (329 unique, ~852 instances)
82
- │ — harvested from data-chunk markers across
83
- │ site/pages/*, apps/*, playgrounds/*, catalog/*.
84
- │ Powers compose_from_chunks in @adia-ai/a2ui-mcp.
85
- ├── pages/ extracted full-page A2UI (build output)
86
83
  ├── feedback/ daily JSONL — user feedback events
87
84
  ├── gaps/ gap registry — prompts with missing coverage
88
85
  ├── scripts/ maintenance tooling (extract, ingest, feedback, ticket)
@@ -91,50 +88,53 @@ a2ui/corpus/
91
88
  ├── catalog-a2ui_0_9.json aggregated artifact — what a2ui-compose + a2ui-mcp read
92
89
  ├── catalog-a2ui_0_9_rules.txt natural-language composition rules (per component)
93
90
  ├── common_types.json shared A2UI type shapes
94
- ├── pattern-embeddings.json pre-computed embeddings for pattern semantic search
95
91
  ├── chunk-embeddings.json pre-computed embeddings for chunk semantic search (0.0.4+)
96
92
  ├── functions.json declarative wiring-engine function catalog
97
93
  ├── manifest.json extraction metadata (what / when / counts)
98
- ├── pattern-specs.md written specs for each pattern category
99
- └── data-flow.md how the 4 signal sources feed the pipeline
94
+ ├── pattern-specs.md written specs for each pattern category (historical reference)
95
+ └── data-flow.md how the signal sources feed the pipeline
100
96
  ```
101
97
 
102
98
  ## What's committed vs generated vs published
103
99
 
104
100
  | Kind | Committed | Published to npm | Source of truth |
105
101
  |----------------------------|:---------:|:----------------:|----------------------------------------|
106
- | Patterns (`patterns/`) | ✓ | ✓ | Hand-authored JSON |
107
- | Fragments/compositions | ✓ | ✓ | Hand-authored JSON |
108
102
  | Chunks (`chunks/`) | ✓ | ✓ | `scripts/build/harvest-chunks.mjs` (from `data-chunk` markers across site/pages, apps, playgrounds, catalog) |
109
- | `catalog-a2ui_0_9.json` | ✓ | ✓ | `scripts/build-catalog.js` (aggregated)|
103
+ | `catalog-a2ui_0_9.json` | ✓ | ✓ | `npm run components` (assembled from yamls in `packages/web-components/`) |
110
104
  | `chunk-embeddings.json` | ✓ | **✗ since 0.2.1**| `scripts/build/embeddings-chunks.mjs` |
111
- | `pattern-embeddings.json` | ✓ | **✗ since 0.2.1**| `scripts/build/embeddings.mjs` |
112
105
  | Feedback JSONL | ✓ | ✓ | Written by `@adia-ai/a2ui-retrieval` at runtime |
113
106
  | Gap registry | ✓ | ✓ | Written by `@adia-ai/a2ui-retrieval` at runtime |
114
107
 
115
108
  Extracted artifacts are committed for convenience (avoids a build step to
116
109
  read the pipeline), but the scripts are authoritative — regenerate via
117
- `npm run pipeline` if anything drifts.
110
+ `npm run harvest:chunks` (chunks), `npm run components` (catalog), or
111
+ `npm run build:embeddings:chunks` (chunk embeddings) if anything drifts.
118
112
 
119
113
  ### Why embeddings ship via git, not npm
120
114
 
121
- `chunk-embeddings.json` (~20 MB) and `pattern-embeddings.json` (~3 MB) are
122
- **committed in git** so the monorepo's own pipeline runs without a network
123
- round-trip, but **excluded from the published npm tarball** every
124
- `npm i @adia-ai/a2ui-corpus` was pulling 23 MB of pre-computed float
125
- arrays that consumers had no reliable way to address (the
126
- `chunk-embedding-retriever` resolves them via a relative-path that breaks
127
- under a `node_modules/@adia-ai/a2ui-corpus/` install layout).
115
+ `chunk-embeddings.json` (~20 MB) is **committed in git** so the monorepo's
116
+ own pipeline runs without a network round-trip, but **excluded from the
117
+ published npm tarball** every `npm i @adia-ai/a2ui-corpus` was pulling
118
+ ~20 MB of pre-computed float arrays that consumers had no reliable way
119
+ to address (the `chunk-embedding-retriever` resolves them via a
120
+ relative-path that breaks under a `node_modules/@adia-ai/a2ui-corpus/`
121
+ install layout).
122
+
123
+ > The companion `pattern-embeddings.json` retired in v0.4.7 §72 along
124
+ > with the `patterns/` source directory. Its only consumer was
125
+ > `concept-mapper.js` (dead post-v0.4.6 §64 retirement of
126
+ > `pattern-library.js`). The pattern-embeddings build script
127
+ > (`scripts/build/embeddings.mjs`) and the matching
128
+ > `embedding-retriever.js` were retired in the same arc.
128
129
 
129
130
  Consumers who want embedding-based retrieval either:
130
131
 
131
- 1. Regenerate locally — `npm run build:embeddings:all` produces both
132
- files in your `node_modules/@adia-ai/a2ui-corpus/` checkout. Requires
133
- API access to your embedding provider.
134
- 2. Use the keyword-only fallback — `chunk-library.searchChunks()` and
135
- `pattern-library.searchPatterns()` work without embeddings; the
136
- embedding-aware `searchChunksAsync` / `searchPatternsAsync` paths
137
- fall through to keyword scoring when the index file is absent
132
+ 1. Regenerate locally — `npm run build:embeddings:chunks` produces the
133
+ `chunk-embeddings.json` file in your `node_modules/@adia-ai/a2ui-corpus/`
134
+ checkout. Requires API access to your embedding provider.
135
+ 2. Use the keyword-only fallback — `chunk-library.searchChunks()` works
136
+ without embeddings; the embedding-aware `searchChunksAsync` path
137
+ falls through to keyword scoring when the index file is absent
138
138
  (`chunk-embedding-retriever.js` returns `null` gracefully).
139
139
 
140
140
  ### Embedding model pinning
@@ -164,7 +164,7 @@ When upgrading to a new model (e.g. `text-embedding-3-small` →
164
164
  `text-embedding-3-large`):
165
165
 
166
166
  1. Update the default in `embedding-provider.js`.
167
- 2. Rebuild **both** indexes (`npm run build:embeddings:all`).
167
+ 2. Rebuild the chunk index (`npm run build:embeddings:chunks`).
168
168
  3. Verify with `npm run check:embeddings-fresh` that both index headers
169
169
  record the new model.
170
170
  4. Re-run `npm run eval:diff -- --engine zettel` to confirm the new
@@ -182,13 +182,12 @@ but the rankings will be incomparable across the two corpora.
182
182
  All run from repo root via npm:
183
183
 
184
184
  ```bash
185
- npm run pipeline # extract + ingest (full refresh of chunks/ + catalog)
186
- npm run pipeline:stats # report counts without writing
187
- npm run build:catalog # aggregate patterns/fragments/compositions catalog
188
- npm run build:catalog -- --verify # fail if catalog is stale vs source
185
+ npm run harvest:chunks # full re-harvest of chunks/ from data-chunk markers
186
+ npm run components # regenerate v0.9 sidecars + assemble catalog-a2ui_0_9.json
187
+ npm run components -- --verify # fail if catalog/sidecars are stale vs yamls
189
188
 
190
189
  npm run feedback:report # human-readable feedback digest
191
- npm run feedback:promote # promote high-confidence feedback → new patterns
190
+ npm run feedback:promote # promote high-confidence feedback → new training data
192
191
 
193
192
  npm run ticket # open ticket tracker
194
193
  npm run ticket:list # list open tickets
@@ -199,36 +198,34 @@ Script inventory (`scripts/`):
199
198
 
200
199
  | Script | Purpose |
201
200
  |---------------------------|------------------------------------------------------|
202
- | `extract.js` | **Retired** — fed the exemplar→chunks pipeline (removed 2026-05-11). Kept on disk for archaeology only. |
203
- | `ingest.js` | **Retired** — same vintage. Still imported by `run-pipeline.mjs` for back-compat; no-op without exemplars. |
204
- | `run-pipeline.mjs` | Pipeline orchestrator — now mostly a no-op on the extract/ingest side; chunks come from `harvest-chunks.mjs` instead |
205
- | `build-pattern-index.mjs` | Computes the keyword inverted index (`patterns/_index.json`) |
206
201
  | `chunk-library.js` | In-memory loader + keyword/semantic search over `chunks/` |
207
202
  | `feedback-report.js` | Aggregates feedback JSONL into a readable digest |
208
- | `feedback-promote.js` | Moves high-confidence feedback into the pattern lib |
203
+ | `feedback-promote.js` | Moves high-confidence feedback into training data |
209
204
  | `ticket.mjs` | Corpus/pipeline issue tracker |
210
205
 
206
+ > **Retired in v0.4.7 §72** (with the `patterns/` + `compositions/` dirs):
207
+ > `extract.js`, `ingest.js`, `run-pipeline.mjs`, `build-pattern-index.mjs`.
208
+ > These fed the pattern-library retrieval surface (`pattern-library.js`,
209
+ > retired v0.4.6 §64) and the exemplar→chunks pipeline (retired v0.4.4
210
+ > §36). Pattern embeddings (`scripts/build/embeddings.mjs`) and the
211
+ > grounded-corpus triage audit (`scripts/audit/grounded-corpus-triage.mjs`)
212
+ > also retired in the same arc — the corpus is now one-format
213
+ > (chunks-only) and harvester-driven.
214
+
211
215
  Repo-side build scripts (not in tarball; run from the workspace root):
212
216
 
213
217
  | Script | Purpose |
214
218
  |-------------------------------------|----------------------------------------------------------|
215
219
  | `npm run harvest:chunks` | Walks site/pages/*, apps/*, playgrounds/*, catalog/*, harvests every `[data-chunk]` element, writes `chunks/<name>.json` + `_index.json` |
216
- | `npm run build:embeddings` | Generates `pattern-embeddings.json` (113 patterns × 1536d) |
217
- | `npm run build:embeddings:chunks` | Generates `chunk-embeddings.json` (329 chunks × 1536d) |
218
- | `npm run build:embeddings:all` | Both embedding indices in sequence |
220
+ | `npm run build:embeddings:chunks` | Generates `chunk-embeddings.json` (~190 chunks × 1536d) |
219
221
 
220
222
  ## Exports
221
223
 
222
224
  ```javascript
223
- // Catalog — the aggregated read-target for engines
225
+ // Catalog — the aggregated read-target for engines.
226
+ // Carries per-component aliases under `components[name].x-adiaui.synonyms.tags`.
224
227
  import catalog from '@adia-ai/a2ui-corpus';
225
228
 
226
- // Alias map + taxonomy
227
- import aliases from '@adia-ai/a2ui-corpus/patterns';
228
-
229
- // Held-out eval fixture
230
- import fixture from '@adia-ai/a2ui-corpus/evals/held-out.jsonl?raw';
231
-
232
229
  // Chunk corpus (since 0.0.3 / 0.0.4)
233
230
  import chunkIndex from '@adia-ai/a2ui-corpus/chunks'; // _index.json (metadata only)
234
231
  import { searchChunks, searchChunksAsync, getChunk }
@@ -255,8 +252,7 @@ When adding coverage for a new intent:
255
252
  hold coverage ≥ 83%, avgScore ≥ 88 (per the regression floors in
256
253
  `AGENTS.md`).
257
254
 
258
- See `data-flow.md` for the full pipeline (chunks → fragments →
259
- compositions → feedback).
255
+ See `data-flow.md` for the full pipeline (chunks → feedback).
260
256
 
261
257
  ## Regression floors
262
258