@lssm/example.learning-journey-registry 0.0.0-canary-20251217083314 → 1.41.0

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 (379) hide show
  1. package/.turbo/turbo-build.log +53 -55
  2. package/dist/api.js +1 -170
  3. package/dist/docs/index.js +1 -1
  4. package/dist/docs/learning-journey-registry.docblock.js +1 -38
  5. package/dist/example.js +1 -34
  6. package/dist/index.js +1 -13
  7. package/dist/learning-journey-registry.feature.js +1 -66
  8. package/dist/libs/contracts/src/docs/PUBLISHING.docblock.js +76 -0
  9. package/dist/libs/contracts/src/docs/accessibility_wcag_compliance_specs.docblock.js +350 -0
  10. package/dist/libs/contracts/src/docs/index.js +1 -0
  11. package/dist/libs/contracts/src/docs/presentations.js +1 -0
  12. package/dist/libs/contracts/src/docs/registry.js +1 -0
  13. package/dist/libs/contracts/src/docs/tech/PHASE_1_QUICKSTART.docblock.js +383 -0
  14. package/dist/libs/contracts/src/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +68 -0
  15. package/dist/libs/contracts/src/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +140 -0
  16. package/dist/libs/contracts/src/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +86 -0
  17. package/dist/libs/contracts/src/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +1 -0
  18. package/dist/{examples/learning-journey-ui-coaching/dist/libs/contracts/dist → libs/contracts/src}/docs/tech/auth/better-auth-nextjs.docblock.js +2 -23
  19. package/dist/{examples/learning-journey-ui-gamified/dist/libs/contracts/dist → libs/contracts/src}/docs/tech/contracts/openapi-export.docblock.js +2 -20
  20. package/dist/libs/contracts/src/docs/tech/lifecycle-stage-system.docblock.js +213 -0
  21. package/dist/{examples/learning-journey-ui-gamified/dist/libs/contracts/dist → libs/contracts/src}/docs/tech/llm/llm-integration.docblock.js +5 -72
  22. package/dist/libs/contracts/src/docs/tech/mcp-endpoints.docblock.js +1 -0
  23. package/dist/libs/contracts/src/docs/tech/presentation-runtime.docblock.js +1 -0
  24. package/dist/libs/contracts/src/docs/tech/schema/README.docblock.js +262 -0
  25. package/dist/libs/contracts/src/docs/tech/studio/learning-events.docblock.js +1 -0
  26. package/dist/{examples/learning-journey-ui-gamified/dist/libs/contracts/dist → libs/contracts/src}/docs/tech/studio/learning-journeys.docblock.js +2 -23
  27. package/dist/{examples/learning-journey-ui-coaching/dist/libs/contracts/dist → libs/contracts/src}/docs/tech/studio/platform-admin-panel.docblock.js +2 -22
  28. package/dist/libs/contracts/src/docs/tech/studio/project-access-teams.docblock.js +36 -0
  29. package/dist/libs/contracts/src/docs/tech/studio/project-routing.docblock.js +1 -0
  30. package/dist/libs/contracts/src/docs/tech/studio/sandbox-unlogged.docblock.js +20 -0
  31. package/dist/{examples/learning-journey-ui-coaching/dist/libs/contracts/dist → libs/contracts/src}/docs/tech/studio/team-invitations.docblock.js +36 -39
  32. package/dist/libs/contracts/src/docs/tech/studio/workspace-ops.docblock.js +1 -0
  33. package/dist/{examples/learning-journey-ui-coaching/dist/libs/contracts/dist → libs/contracts/src}/docs/tech/studio/workspaces.docblock.js +2 -22
  34. package/dist/{examples/learning-journey-ui-coaching/dist/libs/contracts/dist → libs/contracts/src}/docs/tech/telemetry-ingest.docblock.js +3 -35
  35. package/dist/libs/contracts/src/docs/tech/templates/runtime.docblock.js +1 -0
  36. package/dist/{examples/learning-journey-ui-coaching/dist/libs/contracts/dist → libs/contracts/src}/docs/tech/vscode-extension.docblock.js +3 -35
  37. package/dist/libs/contracts/src/docs/tech/workflows/overview.docblock.js +1 -0
  38. package/dist/presentations/index.js +1 -64
  39. package/dist/progress-store.js +1 -30
  40. package/dist/tracks.js +1 -47
  41. package/dist/ui/LearningMiniApp.js +1 -82
  42. package/dist/ui/index.js +1 -3
  43. package/package.json +26 -30
  44. package/tsconfig.tsbuildinfo +1 -1
  45. package/tsdown.config.js +1 -11
  46. package/.turbo/turbo-build$colon$bundle.log +0 -424
  47. package/CHANGELOG.md +0 -24
  48. package/dist/api-types.d.ts +0 -40
  49. package/dist/api.d.ts +0 -12
  50. package/dist/docs/index.d.ts +0 -1
  51. package/dist/docs/learning-journey-registry.docblock.d.ts +0 -1
  52. package/dist/example.d.ts +0 -32
  53. package/dist/examples/learning-journey-ambient-coach/dist/track.js +0 -41
  54. package/dist/examples/learning-journey-crm-onboarding/dist/track.js +0 -98
  55. package/dist/examples/learning-journey-duo-drills/dist/track.js +0 -65
  56. package/dist/examples/learning-journey-platform-tour/dist/track.js +0 -105
  57. package/dist/examples/learning-journey-quest-challenges/dist/track.js +0 -35
  58. package/dist/examples/learning-journey-studio-onboarding/dist/track.js +0 -90
  59. package/dist/examples/learning-journey-ui-coaching/dist/CoachingMiniApp.js +0 -64
  60. package/dist/examples/learning-journey-ui-coaching/dist/components/EngagementMeter.js +0 -107
  61. package/dist/examples/learning-journey-ui-coaching/dist/components/TipCard.js +0 -75
  62. package/dist/examples/learning-journey-ui-coaching/dist/components/TipFeed.js +0 -65
  63. package/dist/examples/learning-journey-ui-coaching/dist/components/index.js +0 -3
  64. package/dist/examples/learning-journey-ui-coaching/dist/docs/index.js +0 -1
  65. package/dist/examples/learning-journey-ui-coaching/dist/docs/learning-journey-ui-coaching.docblock.js +0 -20
  66. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/components/BadgeDisplay.js +0 -44
  67. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/components/StreakCounter.js +0 -45
  68. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/components/ViewTabs.js +0 -48
  69. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/components/XpBar.js +0 -46
  70. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/components/index.js +0 -4
  71. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/docs/index.js +0 -1
  72. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/docs/learning-journey-ui-shared.docblock.js +0 -20
  73. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/hooks/index.js +0 -1
  74. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/hooks/useLearningProgress.js +0 -73
  75. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/index.js +0 -8
  76. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -15
  77. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -15
  78. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/index.js +0 -28
  79. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/presentations.js +0 -71
  80. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/registry.js +0 -44
  81. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -15
  82. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -15
  83. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -15
  84. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -15
  85. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -15
  86. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -79
  87. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -56
  88. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -15
  89. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -356
  90. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -36
  91. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -15
  92. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -19
  93. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -47
  94. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -78
  95. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -83
  96. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -44
  97. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -66
  98. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -39
  99. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -68
  100. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -46
  101. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -61
  102. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -154
  103. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -19
  104. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -100
  105. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -19
  106. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/_virtual/rolldown_runtime.js +0 -5
  107. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/components/atoms/Button.js +0 -33
  108. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/ui-kit-web/dist/ui/button.js +0 -55
  109. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -13
  110. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/ui-kit-web/dist/ui/progress.js +0 -23
  111. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/ui-kit-web/dist/ui/utils.js +0 -10
  112. package/dist/examples/learning-journey-ui-coaching/dist/examples/learning-journey-ui-shared/dist/libs/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -10
  113. package/dist/examples/learning-journey-ui-coaching/dist/index.js +0 -11
  114. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -15
  115. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -15
  116. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/index.js +0 -28
  117. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/presentations.js +0 -71
  118. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/registry.js +0 -44
  119. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -15
  120. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -15
  121. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -15
  122. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -15
  123. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -15
  124. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -56
  125. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -15
  126. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -356
  127. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -36
  128. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -15
  129. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -19
  130. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -47
  131. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -78
  132. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -44
  133. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -66
  134. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -39
  135. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -46
  136. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -19
  137. package/dist/examples/learning-journey-ui-coaching/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -19
  138. package/dist/examples/learning-journey-ui-coaching/dist/libs/design-system/dist/_virtual/rolldown_runtime.js +0 -5
  139. package/dist/examples/learning-journey-ui-coaching/dist/libs/design-system/dist/components/atoms/Button.js +0 -33
  140. package/dist/examples/learning-journey-ui-coaching/dist/libs/design-system/dist/ui-kit-web/dist/ui/button.js +0 -55
  141. package/dist/examples/learning-journey-ui-coaching/dist/libs/design-system/dist/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -13
  142. package/dist/examples/learning-journey-ui-coaching/dist/libs/ui-kit-web/dist/ui/card.js +0 -36
  143. package/dist/examples/learning-journey-ui-coaching/dist/libs/ui-kit-web/dist/ui/utils.js +0 -10
  144. package/dist/examples/learning-journey-ui-coaching/dist/libs/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -10
  145. package/dist/examples/learning-journey-ui-coaching/dist/views/Overview.js +0 -152
  146. package/dist/examples/learning-journey-ui-coaching/dist/views/Progress.js +0 -117
  147. package/dist/examples/learning-journey-ui-coaching/dist/views/Steps.js +0 -68
  148. package/dist/examples/learning-journey-ui-coaching/dist/views/Timeline.js +0 -112
  149. package/dist/examples/learning-journey-ui-coaching/dist/views/index.js +0 -4
  150. package/dist/examples/learning-journey-ui-gamified/dist/GamifiedMiniApp.js +0 -64
  151. package/dist/examples/learning-journey-ui-gamified/dist/components/DayCalendar.js +0 -32
  152. package/dist/examples/learning-journey-ui-gamified/dist/components/FlashCard.js +0 -79
  153. package/dist/examples/learning-journey-ui-gamified/dist/components/MasteryRing.js +0 -81
  154. package/dist/examples/learning-journey-ui-gamified/dist/components/index.js +0 -3
  155. package/dist/examples/learning-journey-ui-gamified/dist/docs/index.js +0 -1
  156. package/dist/examples/learning-journey-ui-gamified/dist/docs/learning-journey-ui-gamified.docblock.js +0 -20
  157. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/components/BadgeDisplay.js +0 -44
  158. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/components/StreakCounter.js +0 -45
  159. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/components/ViewTabs.js +0 -48
  160. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/components/XpBar.js +0 -46
  161. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/components/index.js +0 -4
  162. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/docs/index.js +0 -1
  163. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/docs/learning-journey-ui-shared.docblock.js +0 -20
  164. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/hooks/index.js +0 -1
  165. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/hooks/useLearningProgress.js +0 -73
  166. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/index.js +0 -8
  167. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -15
  168. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -15
  169. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/index.js +0 -28
  170. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/presentations.js +0 -71
  171. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/registry.js +0 -44
  172. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -15
  173. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -15
  174. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -15
  175. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -15
  176. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -15
  177. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -79
  178. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -56
  179. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -15
  180. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -356
  181. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -36
  182. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -15
  183. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -19
  184. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -47
  185. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -78
  186. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -83
  187. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -44
  188. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -66
  189. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -39
  190. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -68
  191. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -46
  192. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -61
  193. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -154
  194. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -19
  195. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -100
  196. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -19
  197. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/_virtual/rolldown_runtime.js +0 -5
  198. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/components/atoms/Button.js +0 -33
  199. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/ui-kit-web/dist/ui/button.js +0 -55
  200. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -13
  201. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/ui-kit-web/dist/ui/progress.js +0 -23
  202. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/ui-kit-web/dist/ui/utils.js +0 -10
  203. package/dist/examples/learning-journey-ui-gamified/dist/examples/learning-journey-ui-shared/dist/libs/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -10
  204. package/dist/examples/learning-journey-ui-gamified/dist/index.js +0 -11
  205. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -15
  206. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -15
  207. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/index.js +0 -28
  208. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/presentations.js +0 -71
  209. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/registry.js +0 -44
  210. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -15
  211. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -15
  212. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -15
  213. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -15
  214. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -15
  215. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -79
  216. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -15
  217. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -36
  218. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -15
  219. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -19
  220. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -47
  221. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -83
  222. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -44
  223. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -66
  224. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -39
  225. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -68
  226. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -46
  227. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -61
  228. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -154
  229. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -19
  230. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -100
  231. package/dist/examples/learning-journey-ui-gamified/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -19
  232. package/dist/examples/learning-journey-ui-gamified/dist/libs/design-system/dist/_virtual/rolldown_runtime.js +0 -5
  233. package/dist/examples/learning-journey-ui-gamified/dist/libs/design-system/dist/components/atoms/Button.js +0 -33
  234. package/dist/examples/learning-journey-ui-gamified/dist/libs/design-system/dist/ui-kit-web/dist/ui/button.js +0 -55
  235. package/dist/examples/learning-journey-ui-gamified/dist/libs/design-system/dist/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -13
  236. package/dist/examples/learning-journey-ui-gamified/dist/libs/ui-kit-web/dist/ui/card.js +0 -36
  237. package/dist/examples/learning-journey-ui-gamified/dist/libs/ui-kit-web/dist/ui/utils.js +0 -10
  238. package/dist/examples/learning-journey-ui-gamified/dist/libs/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -10
  239. package/dist/examples/learning-journey-ui-gamified/dist/views/Overview.js +0 -163
  240. package/dist/examples/learning-journey-ui-gamified/dist/views/Progress.js +0 -144
  241. package/dist/examples/learning-journey-ui-gamified/dist/views/Steps.js +0 -55
  242. package/dist/examples/learning-journey-ui-gamified/dist/views/Timeline.js +0 -132
  243. package/dist/examples/learning-journey-ui-gamified/dist/views/index.js +0 -4
  244. package/dist/examples/learning-journey-ui-onboarding/dist/OnboardingMiniApp.js +0 -64
  245. package/dist/examples/learning-journey-ui-onboarding/dist/components/CodeSnippet.js +0 -5
  246. package/dist/examples/learning-journey-ui-onboarding/dist/components/JourneyMap.js +0 -48
  247. package/dist/examples/learning-journey-ui-onboarding/dist/components/StepChecklist.js +0 -79
  248. package/dist/examples/learning-journey-ui-onboarding/dist/components/index.js +0 -3
  249. package/dist/examples/learning-journey-ui-onboarding/dist/docs/index.js +0 -1
  250. package/dist/examples/learning-journey-ui-onboarding/dist/docs/learning-journey-ui-onboarding.docblock.js +0 -20
  251. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/components/BadgeDisplay.js +0 -44
  252. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/components/StreakCounter.js +0 -4
  253. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/components/ViewTabs.js +0 -48
  254. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/components/XpBar.js +0 -46
  255. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/components/index.js +0 -4
  256. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/docs/index.js +0 -1
  257. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/docs/learning-journey-ui-shared.docblock.js +0 -20
  258. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/hooks/index.js +0 -1
  259. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/hooks/useLearningProgress.js +0 -73
  260. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/index.js +0 -8
  261. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -15
  262. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -15
  263. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/index.js +0 -28
  264. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/presentations.js +0 -71
  265. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/registry.js +0 -44
  266. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -15
  267. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -15
  268. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -15
  269. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -15
  270. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -15
  271. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -79
  272. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -56
  273. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -15
  274. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -356
  275. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -36
  276. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -15
  277. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -19
  278. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -47
  279. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -78
  280. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -83
  281. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -44
  282. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -66
  283. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -39
  284. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -68
  285. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -46
  286. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -61
  287. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -154
  288. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -19
  289. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -100
  290. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -19
  291. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/_virtual/rolldown_runtime.js +0 -5
  292. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/components/atoms/Button.js +0 -33
  293. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/ui-kit-web/dist/ui/button.js +0 -55
  294. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -13
  295. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/ui-kit-web/dist/ui/progress.js +0 -23
  296. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/ui-kit-web/dist/ui/utils.js +0 -10
  297. package/dist/examples/learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -10
  298. package/dist/examples/learning-journey-ui-onboarding/dist/index.js +0 -11
  299. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -15
  300. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -15
  301. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/index.js +0 -28
  302. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/presentations.js +0 -71
  303. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/registry.js +0 -44
  304. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -15
  305. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -15
  306. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -15
  307. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -15
  308. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -15
  309. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -79
  310. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -56
  311. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -15
  312. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -356
  313. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -36
  314. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -15
  315. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -19
  316. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -47
  317. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -78
  318. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -83
  319. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -44
  320. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -66
  321. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -39
  322. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -68
  323. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -46
  324. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -61
  325. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -154
  326. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -19
  327. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -100
  328. package/dist/examples/learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -19
  329. package/dist/examples/learning-journey-ui-onboarding/dist/libs/design-system/dist/_virtual/rolldown_runtime.js +0 -5
  330. package/dist/examples/learning-journey-ui-onboarding/dist/libs/design-system/dist/components/atoms/Button.js +0 -33
  331. package/dist/examples/learning-journey-ui-onboarding/dist/libs/design-system/dist/ui-kit-web/dist/ui/button.js +0 -55
  332. package/dist/examples/learning-journey-ui-onboarding/dist/libs/design-system/dist/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -13
  333. package/dist/examples/learning-journey-ui-onboarding/dist/libs/ui-kit-core/dist/utils.js +0 -10
  334. package/dist/examples/learning-journey-ui-onboarding/dist/libs/ui-kit-web/dist/ui/card.js +0 -36
  335. package/dist/examples/learning-journey-ui-onboarding/dist/libs/ui-kit-web/dist/ui/progress.js +0 -23
  336. package/dist/examples/learning-journey-ui-onboarding/dist/libs/ui-kit-web/dist/ui/utils.js +0 -10
  337. package/dist/examples/learning-journey-ui-onboarding/dist/libs/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -10
  338. package/dist/examples/learning-journey-ui-onboarding/dist/views/Overview.js +0 -180
  339. package/dist/examples/learning-journey-ui-onboarding/dist/views/Progress.js +0 -162
  340. package/dist/examples/learning-journey-ui-onboarding/dist/views/Steps.js +0 -91
  341. package/dist/examples/learning-journey-ui-onboarding/dist/views/Timeline.js +0 -97
  342. package/dist/examples/learning-journey-ui-onboarding/dist/views/index.js +0 -4
  343. package/dist/index.d.ts +0 -8
  344. package/dist/learning-journey-registry.feature.d.ts +0 -11
  345. package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
  346. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -16
  347. package/dist/libs/contracts/dist/docs/index.js +0 -29
  348. package/dist/libs/contracts/dist/docs/presentations.js +0 -71
  349. package/dist/libs/contracts/dist/docs/registry.js +0 -44
  350. package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
  351. package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
  352. package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
  353. package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
  354. package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
  355. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -80
  356. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -57
  357. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -16
  358. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -357
  359. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -37
  360. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -16
  361. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -20
  362. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -48
  363. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -79
  364. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -84
  365. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -45
  366. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -67
  367. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -40
  368. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -69
  369. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -47
  370. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -62
  371. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -155
  372. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -20
  373. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -101
  374. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -20
  375. package/dist/presentations/index.d.ts +0 -9
  376. package/dist/progress-store.d.ts +0 -10
  377. package/dist/tracks.d.ts +0 -39
  378. package/dist/ui/LearningMiniApp.d.ts +0 -23
  379. package/dist/ui/index.d.ts +0 -2
@@ -1,154 +0,0 @@
1
- import { registerDocBlocks } from "../registry.js";
2
-
3
- //#region ../learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js
4
- registerDocBlocks([{
5
- id: "docs.tech.telemetry.ingest",
6
- title: "Telemetry Ingest Endpoint",
7
- summary: "Server-side telemetry ingestion for ContractSpec clients (VS Code extension, CLI, etc.).",
8
- kind: "reference",
9
- visibility: "internal",
10
- route: "/docs/tech/telemetry/ingest",
11
- tags: [
12
- "telemetry",
13
- "api",
14
- "posthog",
15
- "analytics"
16
- ],
17
- body: `# Telemetry Ingest Endpoint
18
-
19
- The ContractSpec API provides a telemetry ingest endpoint for clients to send product analytics events.
20
-
21
- ## Endpoint
22
-
23
- \`\`\`
24
- POST /api/telemetry/ingest
25
- \`\`\`
26
-
27
- ## Request
28
-
29
- \`\`\`json
30
- {
31
- "event": "contractspec.vscode.command_run",
32
- "distinct_id": "client-uuid",
33
- "properties": {
34
- "command": "validate"
35
- },
36
- "timestamp": "2024-01-15T10:30:00.000Z"
37
- }
38
- \`\`\`
39
-
40
- ### Headers
41
-
42
- | Header | Description |
43
- |--------|-------------|
44
- | \`x-contractspec-client-id\` | Optional client identifier (used as fallback for distinct_id) |
45
- | \`Content-Type\` | Must be \`application/json\` |
46
-
47
- ### Body
48
-
49
- | Field | Type | Required | Description |
50
- |-------|------|----------|-------------|
51
- | \`event\` | string | Yes | Event name (e.g., \`contractspec.vscode.activated\`) |
52
- | \`distinct_id\` | string | Yes | Anonymous client identifier |
53
- | \`properties\` | object | No | Event properties |
54
- | \`timestamp\` | string | No | ISO 8601 timestamp |
55
-
56
- ## Response
57
-
58
- \`\`\`json
59
- {
60
- "success": true
61
- }
62
- \`\`\`
63
-
64
- ## Configuration
65
-
66
- The endpoint requires \`POSTHOG_PROJECT_KEY\` environment variable to be set. If not configured, events are accepted but not forwarded.
67
-
68
- | Environment Variable | Description | Default |
69
- |---------------------|-------------|---------|
70
- | \`POSTHOG_HOST\` | PostHog host URL | \`https://eu.posthog.com\` |
71
- | \`POSTHOG_PROJECT_KEY\` | PostHog project API key | (required) |
72
-
73
- ## Privacy
74
-
75
- - No PII is collected or stored
76
- - \`distinct_id\` is an anonymous client-generated UUID
77
- - File paths and source code are never included in events
78
- - Respects VS Code telemetry settings on the client side
79
-
80
- ## Events
81
-
82
- ### Extension Events
83
-
84
- | Event | Description | Properties |
85
- |-------|-------------|------------|
86
- | \`contractspec.vscode.activated\` | Extension activated | \`version\` |
87
- | \`contractspec.vscode.command_run\` | Command executed | \`command\` |
88
- | \`contractspec.vscode.mcp_call\` | MCP call made | \`endpoint\`, \`tool\` |
89
-
90
- ### API Events
91
-
92
- | Event | Description | Properties |
93
- |-------|-------------|------------|
94
- | \`contractspec.api.mcp_request\` | MCP request processed | \`endpoint\`, \`method\`, \`success\`, \`duration_ms\` |
95
- `
96
- }, {
97
- id: "docs.tech.telemetry.hybrid",
98
- title: "Hybrid Telemetry Model",
99
- summary: "How ContractSpec clients choose between direct PostHog and API-routed telemetry.",
100
- kind: "usage",
101
- visibility: "internal",
102
- route: "/docs/tech/telemetry/hybrid",
103
- tags: [
104
- "telemetry",
105
- "architecture",
106
- "posthog"
107
- ],
108
- body: `# Hybrid Telemetry Model
109
-
110
- ContractSpec uses a hybrid telemetry model where clients can send events either directly to PostHog or via the API server.
111
-
112
- ## Decision Flow
113
-
114
- \`\`\`
115
- Is contractspec.api.baseUrl configured?
116
- ├── Yes → Send via /api/telemetry/ingest
117
- └── No → Is posthogProjectKey configured?
118
- ├── Yes → Send directly to PostHog
119
- └── No → Telemetry disabled
120
- \`\`\`
121
-
122
- ## Benefits
123
-
124
- ### Direct PostHog
125
- - No server dependency
126
- - Works offline (with batching)
127
- - Lower latency
128
-
129
- ### Via API
130
- - Centralized key management (no client-side keys)
131
- - Server-side enrichment and validation
132
- - Rate limiting and abuse prevention
133
- - Easier migration to other providers
134
-
135
- ## Recommendation
136
-
137
- - **Development**: Use direct PostHog with a dev project key
138
- - **Production**: Route via API for better governance
139
-
140
- ## Future: OpenTelemetry
141
-
142
- The current PostHog implementation is behind a simple interface that can be swapped for OpenTelemetry:
143
-
144
- \`\`\`typescript
145
- interface TelemetryClient {
146
- send(event: TelemetryEvent): Promise<void>;
147
- }
148
- \`\`\`
149
-
150
- This allows future migration without changing client code.
151
- `
152
- }]);
153
-
154
- //#endregion
@@ -1,19 +0,0 @@
1
- import { registerDocBlocks } from "../../registry.js";
2
-
3
- //#region ../learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js
4
- registerDocBlocks([{
5
- id: "docs.tech.templates.runtime",
6
- title: "ContractSpec Template Runtime (Phase 9)",
7
- summary: "Phase 9 introduces a full local-first runtime for templates so anyone can preview apps directly in the browser without provisioning any infrastructure.",
8
- kind: "reference",
9
- visibility: "public",
10
- route: "/docs/tech/templates/runtime",
11
- tags: [
12
- "tech",
13
- "templates",
14
- "runtime"
15
- ],
16
- body: "## ContractSpec Template Runtime (Phase 9)\n\nPhase 9 introduces a full local-first runtime for templates so anyone can preview apps directly in the browser without provisioning any infrastructure.\n\n### Building Blocks\n\n- **Local database** – `@lssm/lib.runtime-local` wraps `sql.js` (SQLite WASM) and `IndexedDB` so we can seed demo data, run migrations, and persist state between sessions. Tests point the runtime to `node_modules/sql.js/dist` so CI doesn’t need a browser.\n- **Local GraphQL** – `LocalGraphQLClient` wires Apollo Client + SchemaLink to resolvers for tasks, messaging, and i18n recipes. All `/templates`, `/studio`, and `/sandbox` previews use those resolvers so we never call remote APIs during demos.\n- **Template registry + installer** – `.../templates/registry.ts` stores the catalog (todos, messaging, recipes). `TemplateInstaller` can seed the runtime (`install`) or export a base64 snapshot via the new `saveTemplateToStudio` mutation.\n- **TemplateShell** – Shared UI wrapper that creates a `TemplateRuntimeProvider`, shows `LocalDataIndicator`, and (optionally) surfaces the new `SaveToStudioButton`.\n\n### Runtime Flows\n\n1. `/templates` now opens a modal that renders `TemplateShell` for each template. Users can explore without leaving the marketing site.\n2. `/studio` switches to a tabbed mini-app (Projects, Canvas, Specs, Deploy) to showcase Studio surfaces with mock data. Visitors see a **preview** shell, while authenticated users (Better Auth via Sigil) unlock full persistence, versioning, and deployment controls.\n3. `/sandbox` lets visitors pick a template and mode (Playground, Spec Editor, Visual Builder). The console at the bottom streams runtime events for transparency.\n\n### GraphQL Mutations\n\n- `saveTemplateToStudio(input: SaveTemplateInput!): SaveTemplateResult!` writes a placeholder project + spec so that templates installed from the sandbox appear in Studio. The mutation is intentionally simple right now: it records which template was imported, stores metadata, and returns `{ projectId, status: 'QUEUED' }` for the UI.\n- `saveCanvasDraft(input: SaveCanvasDraftInput!): CanvasVersion!` snapshots the current Visual Builder nodes to a draft version tied to a canvas overlay. Inputs include `canvasId`, arbitrary `nodes` JSON, and an optional `label`. The resolver enforces org/org access before calling `CanvasVersionManager`.\n- `deployCanvasVersion(input: DeployCanvasVersionInput!): CanvasVersion!` promotes a previously saved draft (`versionId`) to the deployed state. The returned object includes `status`, `nodes`, `createdAt`, and `createdBy` for UI timelines.\n- `undoCanvasVersion(input: UndoCanvasInput!): CanvasVersion` rewinds the visual builder to the prior snapshot (returns `null` when history is empty) so Studio’s toolbar can surface “Undo” without shelling out to local storage.\n\n### Studio GraphQL endpoint\n\n- The landing app exposes the Studio schema at `/api/studio/graphql` via Yoga so React Query hooks (`useStudioProjects`, `useCreateStudioProject`, `useDeployStudioProject`, etc.) can talk to the bundle without spinning up a separate server.\n\n### Spec Editor typing\n\n- Studio’s spec editor now preloads Monaco with ambient declarations for `@lssm/lib.contracts` and `zod`, so snippets receive autocomplete and inline errors even before the spec ships to the backend. The helper lives in `presentation/components/studio/organisms/monaco-spec-types.ts` and registers the extra libs once per browser session via `monaco.languages.typescript.typescriptDefaults.addExtraLib`.\n- Compiler options are aligned with our frontend toolchain (ES2020 + React JSX) which means drafts written in the editor behave like the compiled artifacts that flow through Studio pipelines.\n\n### Spec templates\n\n- Selecting a spec type now injects a ready-to-edit scaffold (capability, workflow, policy, dataview, component) so authors start from a canonical layout instead of a blank file. Templates live alongside `SpecEditor.tsx`, and we only overwrite the content when the previous value is empty or when the author explicitly switches types via the dropdown.\n\n### Spec preview\n\n- The validation side panel now embeds a `SpecPreview` widget that shows validation errors alongside transport artifacts (GraphQL schema, REST endpoints, component summaries) once a preview run completes. Tabs let authors toggle between “Validation” and “Artifacts,” mirroring the UX described in the Studio plan.\n\n### Testing\n\n- `src/templates/__tests__/runtime.test.ts` covers todos CRUD, messaging delivery, and recipe locale switching through the local GraphQL API.\n- Studio infrastructure tests live in `src/__tests__/e2e/project-lifecycle.test.ts` and continue to exercise project creation + deploy flows.\n\n### Next Steps\n\nFuture templates can register their React components via `registerTemplateComponents(templateId, components)` so TemplateShell can render them automatically. When new templates are added, remember to:\n\n1. Update the registry entry (schema + tags).\n2. Register components inside `presentation/components/templates`.\n3. Document the template under `docs/templates/`.\n\n\n\n\n\n"
17
- }]);
18
-
19
- //#endregion
@@ -1,100 +0,0 @@
1
- import { registerDocBlocks } from "../registry.js";
2
-
3
- //#region ../learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js
4
- registerDocBlocks([{
5
- id: "docs.tech.vscode.extension",
6
- title: "ContractSpec VS Code Extension",
7
- summary: "VS Code extension for spec-first development with validation, scaffolding, and MCP integration.",
8
- kind: "reference",
9
- visibility: "public",
10
- route: "/docs/tech/vscode/extension",
11
- tags: [
12
- "vscode",
13
- "extension",
14
- "tooling",
15
- "dx"
16
- ],
17
- body: `# ContractSpec VS Code Extension
18
-
19
- The ContractSpec VS Code extension provides spec-first development tooling directly in your editor.
20
-
21
- ## Features
22
-
23
- - **Real-time Validation**: Get instant feedback on spec errors and warnings as you save files
24
- - **Build/Scaffold**: Generate handler and component skeletons from specs (no AI required)
25
- - **Spec Explorer**: List and navigate all specs in your workspace
26
- - **Dependency Analysis**: Visualize spec dependencies and detect cycles
27
- - **MCP Integration**: Search ContractSpec documentation via Model Context Protocol
28
- - **Snippets**: Code snippets for common ContractSpec patterns
29
-
30
- ## Commands
31
-
32
- | Command | Description |
33
- |---------|-------------|
34
- | \`ContractSpec: Validate Current Spec\` | Validate the currently open spec file |
35
- | \`ContractSpec: Validate All Specs\` | Validate all spec files in the workspace |
36
- | \`ContractSpec: Build/Scaffold\` | Generate handler/component from the current spec |
37
- | \`ContractSpec: List All Specs\` | Show all specs in the workspace |
38
- | \`ContractSpec: Analyze Dependencies\` | Analyze and visualize spec dependencies |
39
- | \`ContractSpec: Search Docs (MCP)\` | Search documentation via MCP |
40
-
41
- ## Configuration
42
-
43
- | Setting | Description | Default |
44
- |---------|-------------|---------|
45
- | \`contractspec.api.baseUrl\` | Base URL for ContractSpec API (enables MCP + remote telemetry) | \`""\` |
46
- | \`contractspec.telemetry.posthogHost\` | PostHog host URL for direct telemetry | \`"https://eu.posthog.com"\` |
47
- | \`contractspec.telemetry.posthogProjectKey\` | PostHog project key for direct telemetry | \`""\` |
48
- | \`contractspec.validation.onSave\` | Run validation on save | \`true\` |
49
- | \`contractspec.validation.onOpen\` | Run validation on open | \`true\` |
50
-
51
- ## Architecture
52
-
53
- The extension uses:
54
- - \`@lssm/module.contractspec-workspace\` for pure analysis + templates
55
- - \`@lssm/bundle.contractspec-workspace\` for workspace services + adapters
56
-
57
- This allows the extension to work without requiring the CLI to be installed.
58
-
59
- ## Telemetry
60
-
61
- The extension uses a hybrid telemetry approach:
62
- 1. If \`contractspec.api.baseUrl\` is configured → send to API \`/api/telemetry/ingest\`
63
- 2. Otherwise → send directly to PostHog (if project key configured)
64
-
65
- Telemetry respects VS Code's telemetry settings. No file paths, source code, or PII is collected.
66
- `
67
- }, {
68
- id: "docs.tech.vscode.snippets",
69
- title: "ContractSpec Snippets",
70
- summary: "Code snippets for common ContractSpec patterns in VS Code.",
71
- kind: "reference",
72
- visibility: "public",
73
- route: "/docs/tech/vscode/snippets",
74
- tags: [
75
- "vscode",
76
- "snippets",
77
- "dx"
78
- ],
79
- body: `# ContractSpec Snippets
80
-
81
- The VS Code extension includes snippets for common ContractSpec patterns.
82
-
83
- ## Available Snippets
84
-
85
- | Prefix | Description |
86
- |--------|-------------|
87
- | \`contractspec-command\` | Create a new command (write operation) |
88
- | \`contractspec-query\` | Create a new query (read-only operation) |
89
- | \`contractspec-event\` | Create a new event |
90
- | \`contractspec-docblock\` | Create a new DocBlock |
91
- | \`contractspec-telemetry\` | Create a new TelemetrySpec |
92
- | \`contractspec-presentation\` | Create a new Presentation |
93
-
94
- ## Usage
95
-
96
- Type the prefix in a TypeScript file and press Tab to expand the snippet. Tab through the placeholders to fill in your values.
97
- `
98
- }]);
99
-
100
- //#endregion
@@ -1,19 +0,0 @@
1
- import { registerDocBlocks } from "../../registry.js";
2
-
3
- //#region ../learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js
4
- registerDocBlocks([{
5
- id: "docs.tech.workflows.overview",
6
- title: "WorkflowSpec Overview",
7
- summary: "WorkflowSpec provides a declarative, versioned format for long-running flows that mix automation and human review. Specs stay inside `@lssm/lib.contracts` (`src/workflow/spec.ts`) so the same definition powers runtime execution, documentation, and future generation.",
8
- kind: "reference",
9
- visibility: "public",
10
- route: "/docs/tech/workflows/overview",
11
- tags: [
12
- "tech",
13
- "workflows",
14
- "overview"
15
- ],
16
- body: "# WorkflowSpec Overview\n\n## Purpose\n\nWorkflowSpec provides a declarative, versioned format for long-running flows that mix automation and human review. Specs stay inside `@lssm/lib.contracts` (`src/workflow/spec.ts`) so the same definition powers runtime execution, documentation, and future generation.\n\n## Core Types\n\n- `WorkflowMeta`: ownership metadata (`title`, `domain`, `owners`, `tags`, `stability`) plus `name` and `version`.\n- `WorkflowDefinition`:\n - `entryStepId?`: optional explicit entry point (defaults to first step).\n - `steps[]`: ordered list of `Step` descriptors.\n - `transitions[]`: directed edges between steps with optional expressions.\n - `sla?`: aggregated timing hints for the overall flow or per-step budgets.\n - `compensation?`: fallback operations executed when a workflow is rolled back or fails.\n- `Step`:\n - `type`: `human`, `automation`, or `decision`.\n - `action`: references either a `ContractSpec` (`operation`) or `FormSpec` (`form`).\n - Optional `guard`, `timeoutMs`, and retry policy (`maxAttempts`, `backoff`, `delayMs`, `maxDelayMs?`).\n - `requiredIntegrations?`: integration slot ids that must be bound before the step may execute.\n - `requiredCapabilities?`: `CapabilityRef[]` that must be enabled in the resolved app config.\n- `Transition`: `from` → `to` with optional `condition` string (simple data expressions).\n\n## Registry & Validation\n\n- `WorkflowRegistry` (`src/workflow/spec.ts`) stores specs by key `<name>.v<version>` and exposes `register`, `list`, and `get`.\n- `validateWorkflowSpec()` (`src/workflow/validation.ts`) checks:\n - Duplicate step IDs.\n - Unknown `from`/`to` transitions.\n - Empty guards/conditions.\n - Reachability from the entry step.\n - Cycles in the graph.\n - Operation/Form references against provided registries.\n- `assertWorkflowSpecValid()` wraps validation and throws `WorkflowValidationError` when errors remain.\n\n## Runtime\n\n- `WorkflowRunner` (`src/workflow/runner.ts`) executes workflows and coordinates steps.\n - `start(name, version?, initialData?)` returns a `workflowId`.\n - `executeStep(workflowId, input?)` runs the current step (automation or human).\n - `getState(workflowId)` retrieves the latest state snapshot.\n - `cancel(workflowId)` marks the workflow as cancelled.\n - `preFlightCheck(name, version?, resolvedConfig?)` evaluates integration/capability requirements before the workflow starts.\n - Throws `WorkflowPreFlightError` if required integration slots are unbound or required capabilities are disabled.\n- `StateStore` (`src/workflow/state.ts`) abstracts persistence. V1 ships with:\n - `InMemoryStateStore` (`src/workflow/adapters/memory-store.ts`) for tests/dev.\n - Placeholder factories for file/database adapters (`adapters/file-adapter.ts`, `adapters/db-adapter.ts`).\n- Guard evaluation: expression guards run through `evaluateExpression()` (`src/workflow/expression.ts`); custom policy guards can be provided via `guardEvaluator`.\n- Events: the runner emits `workflow.started`, `workflow.step_completed`, `workflow.step_failed`, and `workflow.cancelled` through the optional `eventEmitter`.\n- React bindings (`@lssm/lib.presentation-runtime-react`):\n - `useWorkflow` hook (polls state, exposes `executeStep`, `cancel`, `refresh`).\n - `WorkflowStepper` progress indicator using design-system Stepper.\n - `WorkflowStepRenderer` helper to render human/automation/decision steps with sensible fallbacks.\n\n## Authoring Checklist\n\n1. Reuse existing operations/forms; create new specs when missing.\n2. Prefer explicit `entryStepId` for clarity (especially with decision branches).\n3. Give automation steps an `operation` and human steps a `form` (warnings surface otherwise).\n4. Use short, meaningful step IDs (`submit`, `review`, `finalize`) to simplify analytics.\n5. Keep guard expressions deterministic; complex policy logic should move to PolicySpec (Phase 2).\n\n## Testing\n\n- Add unit tests for new workflows via `assertWorkflowSpecValid`.\n- Use the new Vitest suites (`validation.test.ts`, `expression.test.ts`, `runner.test.ts`) as examples.\n- CLI support will arrive in Phase 1 PR 3 (`contractspec create --type workflow`).\n\n## Tooling\n\n- `contractspec create --type workflow` scaffolds a WorkflowSpec with interactive prompts.\n- `contractspec build <spec.workflow.ts>` generates a runner scaffold (`.runner.ts`) wired to `WorkflowRunner` and the in-memory store.\n- `contractspec validate` understands `.workflow.ts` files and checks core structure (meta, steps, transitions).\n\n## Next Steps (Non-MVP)\n\n- Persistence adapters (database/file) for workflow state (Phase 2).\n- React bindings (`useWorkflow`, `WorkflowStepper`) and presentation-runtime integration (PR 3).\n- Policy engine integration (`guard.type === 'policy'` validated against PolicySpec).\n- Telemetry hooks for step execution metrics.\n\n"
17
- }]);
18
-
19
- //#endregion
@@ -1,5 +0,0 @@
1
- //#region ../learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/_virtual/rolldown_runtime.js
2
- var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
3
-
4
- //#endregion
5
- export { __esmMin };
@@ -1,33 +0,0 @@
1
- import { Button } from "../../ui-kit-web/dist/ui/button.js";
2
- import "react";
3
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
- import { Loader2 } from "lucide-react";
5
-
6
- //#region ../learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/components/atoms/Button.js
7
- function Button$1({ children, loading, spinnerPlacement = "start", onPress, onPressIn, onPressOut, onLongPress, onTouchStart, onTouchEnd, onTouchCancel, onMouseDown, onMouseUp, onClick, className, disabled, ...rest }) {
8
- const isDisabled = Boolean(disabled || loading);
9
- const content = !rest.asChild ? /* @__PURE__ */ jsxs(Fragment, { children: [
10
- loading && spinnerPlacement === "start" ? /* @__PURE__ */ jsx(Loader2, { className: "h-4 w-4 animate-spin" }) : null,
11
- children,
12
- loading && spinnerPlacement === "end" ? /* @__PURE__ */ jsx(Loader2, { className: "h-4 w-4 animate-spin" }) : null
13
- ] }) : children;
14
- return /* @__PURE__ */ jsx(Button, {
15
- ...rest,
16
- className,
17
- disabled: isDisabled,
18
- "aria-busy": loading ? true : void 0,
19
- "aria-disabled": isDisabled ? true : void 0,
20
- onPress: onPress || onClick,
21
- onClick: onPress || onClick,
22
- onMouseDown: onMouseDown || onPressIn,
23
- onMouseUp: onMouseUp || onPressOut,
24
- onTouchStart,
25
- onTouchEnd: onTouchEnd || onPressOut,
26
- onTouchCancel: onTouchCancel || onPressOut,
27
- type: rest?.type ?? "button",
28
- children: content
29
- });
30
- }
31
-
32
- //#endregion
33
- export { Button$1 };
@@ -1,55 +0,0 @@
1
- import { cn, init_utils } from "../ui-kit-core/dist/utils.js";
2
- import * as React$1 from "react";
3
- import { jsx } from "react/jsx-runtime";
4
- import { cva } from "class-variance-authority";
5
- import { Slot } from "@radix-ui/react-slot";
6
-
7
- //#region ../learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/ui-kit-web/dist/ui/button.js
8
- init_utils();
9
- const buttonVariants = cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-hidden focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
10
- variants: {
11
- variant: {
12
- default: "bg-primary text-primary-foreground hover:bg-primary/90",
13
- destructive: "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
14
- outline: "border bg-background shadow-2xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
15
- secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
16
- ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
17
- link: "text-primary underline-offset-4 hover:underline"
18
- },
19
- size: {
20
- default: "h-9 px-4 py-2 has-[>svg]:px-3",
21
- sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
22
- lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
23
- icon: "size-9"
24
- }
25
- },
26
- defaultVariants: {
27
- variant: "default",
28
- size: "default"
29
- }
30
- });
31
- const Button = React$1.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
32
- if (asChild) return /* @__PURE__ */ jsx(Slot, {
33
- "data-slot": "button",
34
- className: cn(buttonVariants({
35
- variant,
36
- size,
37
- className
38
- })),
39
- ...props
40
- });
41
- return /* @__PURE__ */ jsx("button", {
42
- ref,
43
- "data-slot": "button",
44
- className: cn(buttonVariants({
45
- variant,
46
- size,
47
- className
48
- })),
49
- ...props
50
- });
51
- });
52
- Button.displayName = "Button";
53
-
54
- //#endregion
55
- export { Button };
@@ -1,13 +0,0 @@
1
- import { __esmMin } from "../../../../_virtual/rolldown_runtime.js";
2
- import { clsx } from "clsx";
3
- import { twMerge } from "tailwind-merge";
4
-
5
- //#region ../learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/design-system/dist/ui-kit-web/dist/ui-kit-core/dist/utils.js
6
- function cn(...inputs) {
7
- return twMerge(clsx(inputs));
8
- }
9
- var init_utils = __esmMin((() => {}));
10
- init_utils();
11
-
12
- //#endregion
13
- export { cn, init_utils };
@@ -1,23 +0,0 @@
1
- 'use client';
2
-
3
- import { cn } from "../ui-kit-core/dist/utils.js";
4
- import "react";
5
- import { jsx } from "react/jsx-runtime";
6
- import * as ProgressPrimitive from "@radix-ui/react-progress";
7
-
8
- //#region ../learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/ui-kit-web/dist/ui/progress.js
9
- function Progress({ className, value, ...props }) {
10
- return /* @__PURE__ */ jsx(ProgressPrimitive.Root, {
11
- "data-slot": "progress",
12
- className: cn("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full", className),
13
- ...props,
14
- children: /* @__PURE__ */ jsx(ProgressPrimitive.Indicator, {
15
- "data-slot": "progress-indicator",
16
- className: "bg-primary h-full w-full flex-1 transition-all",
17
- style: { transform: `translateX(-${100 - (value || 0)}%)` }
18
- })
19
- });
20
- }
21
-
22
- //#endregion
23
- export { Progress };
@@ -1,10 +0,0 @@
1
- import { clsx } from "clsx";
2
- import { twMerge } from "tailwind-merge";
3
-
4
- //#region ../learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/ui-kit-web/dist/ui/utils.js
5
- function cn(...inputs) {
6
- return twMerge(clsx(inputs));
7
- }
8
-
9
- //#endregion
10
- export { cn };
@@ -1,10 +0,0 @@
1
- import { clsx } from "clsx";
2
- import { twMerge } from "tailwind-merge";
3
-
4
- //#region ../learning-journey-ui-onboarding/dist/examples/learning-journey-ui-shared/dist/libs/ui-kit-web/dist/ui-kit-core/dist/utils.js
5
- function cn(...inputs) {
6
- return twMerge(clsx(inputs));
7
- }
8
-
9
- //#endregion
10
- export { cn };
@@ -1,11 +0,0 @@
1
- import { Overview } from "./views/Overview.js";
2
- import { StepChecklist } from "./components/StepChecklist.js";
3
- import { Steps } from "./views/Steps.js";
4
- import { ProgressView } from "./views/Progress.js";
5
- import { JourneyMap } from "./components/JourneyMap.js";
6
- import { Timeline } from "./views/Timeline.js";
7
- import { OnboardingMiniApp } from "./OnboardingMiniApp.js";
8
- import "./views/index.js";
9
- import "./components/CodeSnippet.js";
10
- import "./components/index.js";
11
- import "./docs/index.js";
@@ -1,15 +0,0 @@
1
- import { registerDocBlocks } from "./registry.js";
2
-
3
- //#region ../learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js
4
- registerDocBlocks([{
5
- id: "docs.PUBLISHING",
6
- title: "Publishing ContractSpec Libraries",
7
- summary: "This guide describes how we release the ContractSpec libraries to npm. We use a dual-track release system: **Stable** (manual) and **Canary** (automatic).",
8
- kind: "reference",
9
- visibility: "public",
10
- route: "/docs/PUBLISHING",
11
- tags: ["PUBLISHING"],
12
- body: "# Publishing ContractSpec Libraries\n\nThis guide describes how we release the ContractSpec libraries to npm. We use a dual-track release system: **Stable** (manual) and **Canary** (automatic).\n\n## Release Tracks\n\n| Track | Branch | npm Tag | Frequency | Versioning | Use Case |\n|-------|--------|---------|-----------|------------|----------|\n| **Stable** | `release` | `latest` | Manual | SemVer (e.g., `1.7.4`) | Production, external users |\n| **Canary** | `main` | `canary` | Every Push | Snapshot (e.g., `1.7.4-canary...`) | Dev, internal testing |\n\n## Prerequisites\n\n- ✅ `NPM_TOKEN` secret is configured in GitHub (owner or automation token with _publish_ scope).\n- ✅ `GITHUB_TOKEN` (built-in) has permissions to create PRs (enabled by default in new repos).\n- ✅ For stable releases: `release` branch exists and is protected.\n\n## Canary Workflow (Automatic)\n\nEvery commit pushed to `main` triggers the `.github/workflows/publish-canary.yml` workflow.\n\n1. **Trigger**: Push to `main`.\n2. **Versioning**: Runs `changeset version --snapshot canary` to generate a temporary snapshot version.\n3. **Publish**: Packages are published to npm with the `canary` tag using `changeset publish --tag canary`.\n\n### Consuming Canary Builds\n\nTo install the latest bleeding-edge version:\n\n```bash\nnpm install @lssm/lib.contracts@canary\n# or\nbun add @lssm/lib.contracts@canary\n```\n\n## Stable Release Workflow (Manual)\n\nStable releases are managed via the `release` branch using the standard [Changesets Action](https://github.com/changesets/action).\n\n1. **Develop on `main`**: Create features and fixes.\n2. **Add Changesets**: Run `bun changeset` to document changes and impact (major/minor/patch).\n3. **Merge to `release`**: When ready to ship, open a PR from `main` to `release` or merge manually.\n4. **\"Version Packages\" PR**:\n - The GitHub Action detects new changesets and automatically creates a Pull Request titled **\"Version Packages\"**.\n - This PR contains the version bumps and updated `CHANGELOG.md` files.\n5. **Merge & Publish**:\n - Review and merge the \"Version Packages\" PR.\n - The Action runs again, detects the versions have been bumped, builds the libraries, and publishes them to npm with the `latest` tag.\n\n### Publishing Steps\n\n1. Ensure all changesets are present on `main`.\n2. Merge `main` into `release`:\n ```bash\n git checkout release\n git pull origin release\n git merge main\n git push origin release\n ```\n3. Go to GitHub Pull Requests. You will see a **\"Version Packages\"** PR created by the bot.\n4. Merge that PR.\n5. The release is now live on npm!\n\n## Manual Verification (Optional)\n\nBefore publishing a new version you can run:\n\n```bash\nbun run build:not-apps\nnpx npm-packlist --json packages/libs/contracts\n```\n\n## Rollback\n\nIf a publish fails mid-way, re-run the workflow once the issue is fixed. Already published packages are skipped automatically. Use `npm deprecate <package>@<version>` if we need to warn consumers about a broken release.\n"
13
- }]);
14
-
15
- //#endregion
@@ -1,15 +0,0 @@
1
- import { registerDocBlocks } from "./registry.js";
2
-
3
- //#region ../learning-journey-ui-onboarding/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js
4
- registerDocBlocks([{
5
- id: "docs.accessibility_wcag_compliance_specs",
6
- title: "Accessibility & WCAG Compliance — **specs.md**",
7
- summary: "> **Goal:** Ship interfaces that are usable by everyone, by default. This spec sets non‑negotiable rules, checklists, and CI gates to meet **WCAG\xA02.2 AA** (aim for AAA where low‑cost), align with **EN\xA0301\xA0549** (EU), and keep parity on **web (Next.js)** and **mobile (Expo/React\xA0Native)**.",
8
- kind: "reference",
9
- visibility: "public",
10
- route: "/docs/accessibility_wcag_compliance_specs",
11
- tags: ["accessibility_wcag_compliance_specs"],
12
- body: "# Accessibility & WCAG Compliance — **specs.md**\n\n> **Goal:** Ship interfaces that are usable by everyone, by default. This spec sets non‑negotiable rules, checklists, and CI gates to meet **WCAG\xA02.2 AA** (aim for AAA where low‑cost), align with **EN\xA0301\xA0549** (EU), and keep parity on **web (Next.js)** and **mobile (Expo/React\xA0Native)**.\n\n---\n\n## 0) Scope & Principles\n\n- **Standards:** WCAG\xA02.2\xA0AA (incl. new 2.2 SCs: Focus Not Obscured, Focus Appearance, Target Size, Dragging Movements, Accessible Authentication, Redundant Entry). EN\xA0301\xA0549 compliance by conformance to WCAG.\n- **Principles:** Perceivable, Operable, Understandable, Robust (POUR).\n- **Rule of ARIA:** “No ARIA is better than bad ARIA.” Prefer native elements.\n- **Definition of Done (DoD):** No Critical/Major a11y issues in CI; keyboard complete; SR (screen reader) smoke test passed; contrasts pass; acceptance criteria below satisfied.\n- **Repo Alignment:** Web apps use **Radix Primitives + shadcn** wrappers centralized in `packages/lssm/libs/ui-kit-web`. Prefer those components over per‑app duplicates (`packages/*/apps/*/src/components/ui`). When missing, add to `ui-kit-web` first, then adopt app‑side.\n\n---\n\n## 1) Design Requirements (Design System & Tokens)\n\n**1.1 Color & Contrast**\n\n- Body text, icons essential to meaning: **≥\xA04.5:1**; large text (≥\xA018.66px regular / 14px bold): **≥\xA03:1**.\n- Interactive states (default/hover/active/disabled/focus) must maintain contrast **≥\xA03:1** against adjacent colors; text within components follows text ratios.\n- Provide light & dark themes with tokens that guarantee minimums. **Never rely solely on color** to convey meaning; pair with text, shape, or icon.\n\n**1.2 Focus Indicators (WCAG\xA02.4.11/12)**\n\n- Every interactive element has a **visible focus** with clear offset; indicator contrast **≥\xA03:1** vs adjacent colors and indicator **area ≥\xA02\xA0CSS\xA0px** thick.\n- Focus **must not be obscured** by sticky headers/footers or scroll containers.\n\n**1.3 Motion & Preferences**\n\n- Respect `prefers-reduced-motion`: suppress large parallax, auto‑animations; provide instant alternatives.\n- Avoid motion that could trigger vestibular issues; under PRM, use fade/scale under **150ms**.\n\n**1.4 Target Size (2.5.8)**\n\n- Hit areas **≥\xA024×24\xA0CSS\xA0px** (web) and **≥\xA044×44\xA0dp** (mobile) unless exempt.\n\n**1.5 Typography & Layout**\n\n- Support zoom to **400%** without loss of content/functionality; responsive reflow at **320\xA0CSS\xA0px** width.\n- Maintain clear heading hierarchy (h1…h6), one **h1** per view.\n\n- Repository baseline (Web): default body text uses Tailwind `text-lg` (≈18px). As of 2025‑09‑20, the repository bumped all Tailwind typography scale usages by +1 step (e.g., `text-sm`→`text-base`, `text-base`→`text-lg`, …, `text-8xl`→`text-9xl`). For long‑form content, default to `prose-lg`.\n- Do not use `text-xs` for body copy. Reserve `text-sm` only for non‑essential meta (timestamps, fine print) while ensuring contrast and touch targets remain compliant.\n- When increasing font size, ensure line height supports readability. Prefer Tailwind defaults or `leading-relaxed`/`leading-7` for body text where dense blocks appear.\n\n**1.6 Iconography & Imagery**\n\n- Decorative images: `alt=\"\"` or `aria-hidden=\"true\"`.\n- Informative images: concise, specific **alt**; complex charts require a **data table or long description**.\n\n---\n\n## 2) Content Requirements (UX Writing)\n\n- Links say **what happens** (avoid “click here”).\n- Buttons start with verbs; avoid ambiguous labels.\n- Form labels are **visible**; placeholders are **not labels**.\n- Error messages: human + programmatic association; avoid color‑only.\n- Authentication: allow **copy/paste**, password managers, and avoid cognitive tests alone (**3.3.7/3.3.8/3.3.9**).\n- Avoid CAPTCHAs that block users; if unavoidable, provide **multiple alternatives** (logic-free).\n\n---\n\n## 3) Engineering Requirements (Web — Next.js/React)\n\n> Use and extend `packages/lssm/libs/ui-kit-web` as the default UI surface. It wraps **Radix** primitives with sensible a11y defaults (focus rings, roles, keyboard, ARIA binding). When a gap exists, add it to `ui-kit-web` first.\n\n**3.1 Semantics & Landmarks**\n\n- Use native elements: `<button>`, `<a href>`, `<label for>`, `<fieldset>`, `<legend>`, `<table>`, etc.\n- Landmarks per page: `header`, `nav`, `main`, `aside`, `footer`. Provide a **Skip to main content** link.\n- Provide a **Route Announcer** (`aria-live=\"polite\"`) and move focus to page **h1** after navigation.\n\n**3.2 Keyboard**\n\n- All functionality available with keyboard alone. Tab order follows DOM/visual order; **no keyboard traps**.\n- Common bindings:\n - Space/Enter → activate button; Enter on link;\n - Esc closes dialogs/menus;\n - Arrow keys for lists/menus/tablists with **roving tabindex**.\n\n**3.3 Focus Management**\n\n- On route change (Next.js), move focus to the page `<h1>` or container and announce via a live region.\n- Dialogs/menus: **trap focus** inside; return focus to invoking control on close.\n- Don’t steal focus except after explicit user action.\n\n**3.4 Forms**\n\n- Each input has a `<label>` or `aria-label`. Group related inputs with `<fieldset><legend>`.\n- Associate errors via `aria-describedby` or inline IDs; announce with `role=\"alert\"` (assertive only for critical).\n- Provide **autocomplete** tokens for known fields; show **inline validation** and do not block on **onBlur** alone.\n\n**3.5 ARIA Usage**\n\n- Only when needed; match patterns (dialog, menu, combobox, tablist, listbox) per ARIA Authoring Practices.\n- Ensure **name/role/value** are programmatically determinable.\n\n**3.6 Media**\n\n- Videos: **captions**; provide **transcripts** for audio; audio descriptions for essential visual info.\n- No auto‑playing audio. Auto‑playing video must be muted and pausable; provide controls.\n\n**3.7 Tables & Data**\n\n- Use `<th scope>` for headers; captions via `<caption>`; announce sorting via `aria-sort`.\n- Provide CSV/JSON export where charts are primary.\n\n**3.8 Performance & Robustness**\n\n- Avoid content shifts that move focus; reserve space or use skeletons.\n- Maintain accessible names through hydration/SSR; avoid `dangerouslySetInnerHTML` where possible.\n\n**3.9 Next.js specifics**\n\n- Use `next/link` for navigation; ensure links are **links**, not buttons.\n- `next/image` must include **alt** (empty if decorative).\n- Announce route changes with a **global live region** and shift focus to the new view.\n\n**3.10 Accessibility library integration**\n\n- Import `@lssm/lib.accessibility` at app root. It auto-imports its `styles.css` via the package entry; ensure bundlers keep CSS side effects. If your app tree-shakes CSS, explicitly import the stylesheet once in your root layout:\n\n```tsx\n// app/layout.tsx\nimport '@lssm/lib.accessibility'; // includes tokens and provider exports\n// or if needed: import '@lssm/lib.accessibility/src/styles.css';\n```\n\n- Wrap the app with `AccessibilityProvider` and include an element with `id=\"main\"` for the skip link target.\n\n---\n\n## 3b) lssm/ui-kit-web — Component Patterns & Defaults\n\n> Source: `packages/lssm/libs/ui-kit-web/ui/*`\n\n- **Button/Input/Textarea**: Built‑in `focus-visible` rings; ensure visible labels via `FormLabel` or `aria-label`.\n- **Form** (`form.tsx`): `FormControl` wires `aria-invalid` and `aria-describedby` to `FormMessage` and `FormDescription`. Prefer `FormMessage` for inline errors. Add `role=\"alert\"` only for critical.\n- **Dialog/Sheet/Dropdown**: Use Radix wrappers for focus‑trap and return‑focus. Provide `DialogTitle` + `DialogDescription` for name/description.\n- **Select/Combobox**: Prefer `SelectTrigger` with visible label; for icon‑only triggers, supply `aria-label`. Document examples in each app.\n- **Tabs**: Use `TabsList`, `TabsTrigger`, `TabsContent`; names are programmatically determinable.\n- **Toast/Toaster**: Prefer non‑blocking announcements; map critical to assertive region; include action buttons with clear labels.\n- **Table**: Use `TableCaption`; ensure `TableHead` cells use proper `scope`. Provide `aria-sort` on sortable headers.\n- **Utilities to add (repo action)**:\n - `SkipLink` component and pattern in layouts.\n - `RouteAnnouncer` (`aria-live=\"polite\"`) and **FocusOnRouteChange** helper.\n - `VisuallyHidden` wrapper (Radix visually-hidden or minimal utility).\n - `useReducedMotion` helper; honor in animated components.\n - Touch‑size variants (≥44×44) for interactive atoms.\n\n---\n\n## 4) Engineering Requirements (Mobile — Expo/React\xA0Native)\n\n- Set `accessibilityLabel`, `accessibilityHint`, and `accessibilityRole` on touchables.\n- Ensure **hit slop** / min size **≥\xA044×44\xA0dp**.\n- Support Dynamic Type / font scaling; no clipped text at **200%**.\n- Respect **Invert Colors** and **Reduce Motion**; avoid flashing.\n- Group related items with `accessibilityElements` ordering; hide decoration with `accessible={false}` or `importantForAccessibility=\"no-hide-descendants\"` when appropriate.\n- Test with **VoiceOver (iOS)** and **TalkBack (Android)**.\n\n---\n\n## 5) Component Patterns (Acceptance Rules)\n\n**Buttons & Links**\n\n- Use `<button>` for actions, `<a href>` for navigation. Provide disabled states that are perceivable beyond color.\n\n**Navigation**\n\n- Provide **Skip link**. One primary nav landmark. Indicate current page (`aria-current=\"page\"`).\n\n**Menus/Combobox/Autocomplete**\n\n- Follow ARIA patterns: focus moves into list; `aria-expanded`, `aria-controls`, `aria-activedescendant` when applicable; Esc closes; typing filters.\n\n**Modals/Dialogs**\n\n- `role=\"dialog\"` or `alertdialog` with **label**; focus trapped; background inert; Esc closes; return focus to trigger.\n\n**Tabs**\n\n- `role=\"tablist\"`; tabs are in the tab order; arrow keys switch focus; content is `role=\"tabpanel\"` with `aria-labelledby`.\n\n**Toasts/Notifications**\n\n- Non-critical: `aria-live=\"polite\"`; critical: `role=\"alert\"` sparingly.\n\n**Infinite Scroll / “Load More”**\n\n- Provide **Load more** control; announce new content to SR; preserve keyboard position.\n\n**Drag & Drop (2.5.7)**\n\n- Provide **non‑drag** alternative (e.g., move up/down buttons).\n\n**Charts & Maps**\n\n- Provide **table alternative** or textual summary; keyboard access to datapoints where interactive.\n\n---\n\n## 6) Testing & CI (Blocking Gates)\n\n**Static & Unit**\n\n- `eslint-plugin-jsx-a11y` — error on violations.\n- `jest-axe` — unit tests for components.\n\n**Automated Integration**\n\n- `axe-core` via Playwright or Cypress on critical flows.\n- `pa11y-ci` on key routes; threshold: **0 Critical / 0 Serious** to merge.\n- Lighthouse CI a11y score **≥\xA095** on target pages.\n\n**Manual QA (per release)**\n\n- **Keyboard patrol:** navigate primary flows without mouse.\n- **Screen reader smoke:** NVDA (Windows) or VoiceOver (macOS/iOS) across login, navigation, forms, dialogs.\n- **Zoom & Reflow:** 200–400% & 320\xA0px width.\n- **Color/Contrast check:** tokens in both themes.\n\n**Reporting**\n\n- A11y issues labeled: `a11y-blocker`, `a11y-bug`, `a11y-enhancement` with WCAG ref.\n\n---\n\n## 7) Repository‑Specific Adoption Plan\n\n- Centralize UI usage on `packages/lssm/libs/ui-kit-web` and de‑duplicate per‑app `components/ui` where feasible.\n- Introduce `SkipLink`, `RouteAnnouncer`, `FocusOnRouteChange`, and `VisuallyHidden` in `ui-kit-web`. Adopt in app layouts (`app/layout.tsx`) first.\n- Add `useReducedMotion` and wire into animated components (e.g., `drawer`, `tooltip`, `carousel`).\n- Add touch‑size variants to `Button`, `IconButton`, `TabsTrigger`, toggles.\n- Document Select label patterns and error association in Forms.\n\n---\n\n## 8) Code Snippets\n\n**Skip Link**\n\n```html\n<a\n class=\"sr-only focus:not-sr-only focus-visible:outline focus-visible:ring-4 focus-visible:ring-offset-2\"\n href=\"#main\"\n >Skip to main content</a\n>\n<main id=\"main\">…</main>\n```\n\n**Dialog (Radix + shadcn/ui) — essentials**\n\n```tsx\n// Ensure label, description, focus trap, and return focus on close remain intact\n<Dialog>\n <DialogTrigger asChild>\n <button aria-haspopup=\"dialog\">Open settings</button>\n </DialogTrigger>\n <DialogContent aria-describedby=\"settings-desc\">\n <DialogTitle>Settings</DialogTitle>\n <p id=\"settings-desc\">Update your preferences.</p>\n <DialogClose asChild>\n <button>Close</button>\n </DialogClose>\n </DialogContent>\n</Dialog>\n```\n\n**Form error association**\n\n```tsx\n<label htmlFor=\"email\">Email</label>\n<input id=\"email\" name=\"email\" type=\"email\" aria-describedby=\"email-err\" />\n<p id=\"email-err\" role=\"alert\">Enter a valid email.</p>\n```\n\n**Route change announcement (Next.js)**\n\n```tsx\n// Add once at app root\n<div\n aria-live=\"polite\"\n aria-atomic=\"true\"\n id=\"route-announcer\"\n className=\"sr-only\"\n/>\n```\n\n---\n\n## 9) Exceptions & Waivers\n\n- If a criterion cannot be met, file an issue with: context, attempted alternatives, WCAG reference, impact assessment, and a remediation date. **Temporary waivers only.**\n\n---\n\n## 10) Ownership\n\n- **Design:** maintains token contrast, component specs.\n- **Engineering:** enforces CI gates, implements patterns.\n- **QA:** runs manual checks per release.\n- **PM:** blocks release if AA not met on user‑visible flows.\n\n---\n\n## 11) References (internalize; no external dependency at runtime)\n\n- WCAG\xA02.2 (AA), EN\xA0301\xA0549. ARIA Authoring Practices. Platform HIG (Apple, Material).\n- `packages/lssm/libs/ui-kit-web` as the canonical UI source for web.\n\n> **Bottom line:** Shipping means **accessible by default**. We don’t trade a11y for speed; we bake it into speed.\n\n---\n\n## 12) Adoption Status (2025-09-23)\n\n- web-artisan: AccessibilityProvider integrated; sr-only/forced-colors applied; 44x44 targets; forms announce errors; jest-axe and cypress-axe in place.\n- web-strit: AccessibilityProvider integrated; forced-colors, sr-only; forms announce errors; 44x44 targets; contrast tokens and text-scale wired; jest-axe and cypress-axe in place.\n- web-coliving: AccessibilityProvider integrated; forced-colors and focus visibility added; text-scale wired; landing pages converted to `Section`/stacks with text-lg defaults; CTA capture standardized; ESLint guard for text-xs in main content; jest-axe and cypress-axe in place. Next: audit icon-only controls and ensure 44x44 targets; add role=\"alert\" where critical.\n\n> CI gates: run eslint a11y, jest-axe on components, and cypress-axe on critical flows per app.\n\n---\n\n## 13) CI Hardening & Visual QA\n\n- Linting: Run eslint with jsx-a11y rules across all web apps; block on violations.\n- Unit: Run jest-axe for ui-kit-web and app-level components.\n- Integration: cypress-axe on key flows (auth, forms, dialogs, tables).\n- Synthetic scans: pa11y-ci on critical pages (0 Critical/Serious policy).\n- Performance/A11y audit: Lighthouse CI with a11y score >= 95 on target routes.\n- Artifacts: Upload pa11y and Lighthouse reports per PR; annotate failures.\n\n### Recent additions (2025-09-26)\n\n- AutocompleteInput (groceries): Upgraded to ARIA combobox pattern with `aria-controls`, `aria-activedescendant`, `Escape`/`Tab` handling, and labelled listbox.\n- Cypress a11y tests added for furniture and incidents modules on `/modules` and operators flows; checks run axe with critical/serious impacts.\n\n## 14) Accessibility Telemetry (PostHog)\n\n- Events (anonymized): a11y_pref_changed (text_scale, contrast_mode, reduce_motion), a11y_panel_opened.\n- Properties: app, route, previous_value, new_value, timestamp.\n- Dashboards: Adoption over time, per app/route; correlation with reduced bounce on forms.\n- Privacy: No PII; aggregate only.\n"
13
- }]);
14
-
15
- //#endregion
@@ -1,28 +0,0 @@
1
- import "./registry.js";
2
- import "./PUBLISHING.docblock.js";
3
- import "./accessibility_wcag_compliance_specs.docblock.js";
4
- import "./tech/PHASE_1_QUICKSTART.docblock.js";
5
- import "./tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js";
6
- import "./tech/PHASE_3_AUTO_EVOLUTION.docblock.js";
7
- import "./tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js";
8
- import "./tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js";
9
- import "./tech/lifecycle-stage-system.docblock.js";
10
- import "./tech/presentation-runtime.docblock.js";
11
- import "./tech/auth/better-auth-nextjs.docblock.js";
12
- import "./tech/schema/README.docblock.js";
13
- import "./tech/templates/runtime.docblock.js";
14
- import "./tech/workflows/overview.docblock.js";
15
- import "./tech/mcp-endpoints.docblock.js";
16
- import "./tech/vscode-extension.docblock.js";
17
- import "./tech/telemetry-ingest.docblock.js";
18
- import "./tech/contracts/openapi-export.docblock.js";
19
- import "./tech/studio/workspaces.docblock.js";
20
- import "./tech/studio/sandbox-unlogged.docblock.js";
21
- import "./tech/studio/workspace-ops.docblock.js";
22
- import "./tech/studio/project-routing.docblock.js";
23
- import "./tech/studio/platform-admin-panel.docblock.js";
24
- import "./tech/studio/learning-events.docblock.js";
25
- import "./tech/studio/learning-journeys.docblock.js";
26
- import "./tech/studio/project-access-teams.docblock.js";
27
- import "./tech/studio/team-invitations.docblock.js";
28
- import "./tech/llm/llm-integration.docblock.js";