@codyswann/lisa 2.121.1 → 2.122.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 (846) hide show
  1. package/.claude-plugin/marketplace.json +144 -0
  2. package/dist/agy/agents-md-installer.d.ts +6 -3
  3. package/dist/agy/agents-md-installer.d.ts.map +1 -1
  4. package/dist/agy/agents-md-installer.js +9 -4
  5. package/dist/agy/agents-md-installer.js.map +1 -1
  6. package/dist/agy/plugin-installer.d.ts +6 -4
  7. package/dist/agy/plugin-installer.d.ts.map +1 -1
  8. package/dist/agy/plugin-installer.js +7 -5
  9. package/dist/agy/plugin-installer.js.map +1 -1
  10. package/dist/copilot/plugin-installer.d.ts +6 -3
  11. package/dist/copilot/plugin-installer.d.ts.map +1 -1
  12. package/dist/copilot/plugin-installer.js +7 -4
  13. package/dist/copilot/plugin-installer.js.map +1 -1
  14. package/dist/core/lisa.d.ts +16 -0
  15. package/dist/core/lisa.d.ts.map +1 -1
  16. package/dist/core/lisa.js +61 -18
  17. package/dist/core/lisa.js.map +1 -1
  18. package/package.json +1 -1
  19. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  20. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  21. package/plugins/lisa-agy/plugin.json +1 -1
  22. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  24. package/plugins/lisa-cdk-agy/plugin.json +11 -0
  25. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +11 -0
  26. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +11 -0
  27. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  30. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  31. package/plugins/lisa-expo-agy/.mcp.json +8 -0
  32. package/plugins/lisa-expo-agy/THIRD-PARTY-NOTICES.md +57 -0
  33. package/plugins/lisa-expo-agy/agents/ops-specialist.md +124 -0
  34. package/plugins/lisa-expo-agy/commands/e2e-coverage-gaps.md +7 -0
  35. package/plugins/lisa-expo-agy/commands/exploratory-qa.md +7 -0
  36. package/plugins/lisa-expo-agy/plugin.json +11 -0
  37. package/plugins/lisa-expo-agy/skills/add-app-clip/SKILL.md +280 -0
  38. package/plugins/lisa-expo-agy/skills/add-app-clip/references/native-module.md +96 -0
  39. package/plugins/lisa-expo-agy/skills/apollo-client/SKILL.md +238 -0
  40. package/plugins/lisa-expo-agy/skills/apollo-client/references/mutation-patterns.md +360 -0
  41. package/plugins/lisa-expo-agy/skills/atomic-design-gluestack/SKILL.md +360 -0
  42. package/plugins/lisa-expo-agy/skills/atomic-design-gluestack/references/atomic-levels.md +417 -0
  43. package/plugins/lisa-expo-agy/skills/atomic-design-gluestack/references/folder-structure.md +257 -0
  44. package/plugins/lisa-expo-agy/skills/atomic-design-gluestack/references/gluestack-mapping.md +233 -0
  45. package/plugins/lisa-expo-agy/skills/atomic-design-gluestack/scripts/validate_atomic_structure.py +329 -0
  46. package/plugins/lisa-expo-agy/skills/building-native-ui/SKILL.md +321 -0
  47. package/plugins/lisa-expo-agy/skills/building-native-ui/references/animations.md +220 -0
  48. package/plugins/lisa-expo-agy/skills/building-native-ui/references/controls.md +272 -0
  49. package/plugins/lisa-expo-agy/skills/building-native-ui/references/form-sheet.md +253 -0
  50. package/plugins/lisa-expo-agy/skills/building-native-ui/references/gradients.md +106 -0
  51. package/plugins/lisa-expo-agy/skills/building-native-ui/references/icons.md +213 -0
  52. package/plugins/lisa-expo-agy/skills/building-native-ui/references/media.md +198 -0
  53. package/plugins/lisa-expo-agy/skills/building-native-ui/references/route-structure.md +229 -0
  54. package/plugins/lisa-expo-agy/skills/building-native-ui/references/search.md +248 -0
  55. package/plugins/lisa-expo-agy/skills/building-native-ui/references/storage.md +121 -0
  56. package/plugins/lisa-expo-agy/skills/building-native-ui/references/tabs.md +433 -0
  57. package/plugins/lisa-expo-agy/skills/building-native-ui/references/toolbar-and-headers.md +284 -0
  58. package/plugins/lisa-expo-agy/skills/building-native-ui/references/visual-effects.md +197 -0
  59. package/plugins/lisa-expo-agy/skills/building-native-ui/references/webgpu-three.md +605 -0
  60. package/plugins/lisa-expo-agy/skills/building-native-ui/references/zoom-transitions.md +158 -0
  61. package/plugins/lisa-expo-agy/skills/container-view-pattern/SKILL.md +299 -0
  62. package/plugins/lisa-expo-agy/skills/container-view-pattern/references/examples.md +749 -0
  63. package/plugins/lisa-expo-agy/skills/container-view-pattern/references/patterns.md +318 -0
  64. package/plugins/lisa-expo-agy/skills/container-view-pattern/scripts/create_component.py +200 -0
  65. package/plugins/lisa-expo-agy/skills/container-view-pattern/scripts/validate_component.py +209 -0
  66. package/plugins/lisa-expo-agy/skills/cross-platform-compatibility/SKILL.md +268 -0
  67. package/plugins/lisa-expo-agy/skills/cross-platform-compatibility/references/common-issues.md +619 -0
  68. package/plugins/lisa-expo-agy/skills/cross-platform-compatibility/references/file-extensions.md +340 -0
  69. package/plugins/lisa-expo-agy/skills/cross-platform-compatibility/references/platform-api.md +276 -0
  70. package/plugins/lisa-expo-agy/skills/cross-platform-compatibility/scripts/validate_cross_platform.py +416 -0
  71. package/plugins/lisa-expo-agy/skills/directory-structure/SKILL.md +202 -0
  72. package/plugins/lisa-expo-agy/skills/directory-structure/scripts/validate_structure.py +445 -0
  73. package/plugins/lisa-expo-agy/skills/e2e-coverage-gaps/SKILL.md +105 -0
  74. package/plugins/lisa-expo-agy/skills/eas-update-insights/SKILL.md +228 -0
  75. package/plugins/lisa-expo-agy/skills/eas-update-insights/references/channel-insights-schema.md +47 -0
  76. package/plugins/lisa-expo-agy/skills/eas-update-insights/references/update-insights-schema.md +69 -0
  77. package/plugins/lisa-expo-agy/skills/exploratory-qa/SKILL.md +145 -0
  78. package/plugins/lisa-expo-agy/skills/expo-api-routes/SKILL.md +369 -0
  79. package/plugins/lisa-expo-agy/skills/expo-brownfield/SKILL.md +54 -0
  80. package/plugins/lisa-expo-agy/skills/expo-brownfield/references/brownfield-integrated.md +526 -0
  81. package/plugins/lisa-expo-agy/skills/expo-brownfield/references/brownfield-isolated.md +402 -0
  82. package/plugins/lisa-expo-agy/skills/expo-brownfield/references/comparison.md +63 -0
  83. package/plugins/lisa-expo-agy/skills/expo-brownfield/references/troubleshooting.md +88 -0
  84. package/plugins/lisa-expo-agy/skills/expo-cicd-workflows/SKILL.md +92 -0
  85. package/plugins/lisa-expo-agy/skills/expo-cicd-workflows/scripts/fetch.js +113 -0
  86. package/plugins/lisa-expo-agy/skills/expo-cicd-workflows/scripts/package.json +11 -0
  87. package/plugins/lisa-expo-agy/skills/expo-cicd-workflows/scripts/validate.js +85 -0
  88. package/plugins/lisa-expo-agy/skills/expo-deployment/SKILL.md +190 -0
  89. package/plugins/lisa-expo-agy/skills/expo-deployment/references/app-store-metadata.md +479 -0
  90. package/plugins/lisa-expo-agy/skills/expo-deployment/references/ios-app-store.md +355 -0
  91. package/plugins/lisa-expo-agy/skills/expo-deployment/references/play-store.md +246 -0
  92. package/plugins/lisa-expo-agy/skills/expo-deployment/references/testflight.md +58 -0
  93. package/plugins/lisa-expo-agy/skills/expo-deployment/references/workflows.md +200 -0
  94. package/plugins/lisa-expo-agy/skills/expo-dev-client/SKILL.md +164 -0
  95. package/plugins/lisa-expo-agy/skills/expo-env-config/SKILL.md +309 -0
  96. package/plugins/lisa-expo-agy/skills/expo-env-config/references/validation-patterns.md +417 -0
  97. package/plugins/lisa-expo-agy/skills/expo-module/SKILL.md +141 -0
  98. package/plugins/lisa-expo-agy/skills/expo-module/references/config-plugin.md +90 -0
  99. package/plugins/lisa-expo-agy/skills/expo-module/references/create-expo-module.md +206 -0
  100. package/plugins/lisa-expo-agy/skills/expo-module/references/lifecycle.md +127 -0
  101. package/plugins/lisa-expo-agy/skills/expo-module/references/module-config.md +48 -0
  102. package/plugins/lisa-expo-agy/skills/expo-module/references/native-module.md +286 -0
  103. package/plugins/lisa-expo-agy/skills/expo-module/references/native-view.md +171 -0
  104. package/plugins/lisa-expo-agy/skills/expo-router-best-practices/SKILL.md +431 -0
  105. package/plugins/lisa-expo-agy/skills/expo-router-best-practices/references/official-docs.md +290 -0
  106. package/plugins/lisa-expo-agy/skills/expo-router-best-practices/scripts/generate-route.py +171 -0
  107. package/plugins/lisa-expo-agy/skills/expo-tailwind-setup/SKILL.md +480 -0
  108. package/plugins/lisa-expo-agy/skills/expo-ui-jetpack-compose/SKILL.md +40 -0
  109. package/plugins/lisa-expo-agy/skills/expo-ui-swift-ui/SKILL.md +39 -0
  110. package/plugins/lisa-expo-agy/skills/gluestack-nativewind/SKILL.md +411 -0
  111. package/plugins/lisa-expo-agy/skills/gluestack-nativewind/references/color-tokens.md +343 -0
  112. package/plugins/lisa-expo-agy/skills/gluestack-nativewind/references/component-mapping.md +307 -0
  113. package/plugins/lisa-expo-agy/skills/gluestack-nativewind/references/spacing-scale.md +300 -0
  114. package/plugins/lisa-expo-agy/skills/gluestack-nativewind/scripts/validate_styling.py +315 -0
  115. package/plugins/lisa-expo-agy/skills/jira-add-journey/SKILL.md +126 -0
  116. package/plugins/lisa-expo-agy/skills/jira-create/SKILL.md +161 -0
  117. package/plugins/lisa-expo-agy/skills/jira-evidence/SKILL.md +78 -0
  118. package/plugins/lisa-expo-agy/skills/jira-evidence/scripts/post-evidence.sh +163 -0
  119. package/plugins/lisa-expo-agy/skills/jira-journey/SKILL.md +190 -0
  120. package/plugins/lisa-expo-agy/skills/jira-journey/scripts/generate-templates.py +281 -0
  121. package/plugins/lisa-expo-agy/skills/jira-journey/scripts/parse-plan.py +368 -0
  122. package/plugins/lisa-expo-agy/skills/jira-verify/SKILL.md +27 -0
  123. package/plugins/lisa-expo-agy/skills/local-state/SKILL.md +362 -0
  124. package/plugins/lisa-expo-agy/skills/local-state/references/async-storage.md +505 -0
  125. package/plugins/lisa-expo-agy/skills/local-state/references/persistence-patterns.md +711 -0
  126. package/plugins/lisa-expo-agy/skills/local-state/references/reactive-variables.md +446 -0
  127. package/plugins/lisa-expo-agy/skills/native-data-fetching/SKILL.md +507 -0
  128. package/plugins/lisa-expo-agy/skills/native-data-fetching/references/expo-router-loaders.md +344 -0
  129. package/plugins/lisa-expo-agy/skills/ops-browser-uat/SKILL.md +124 -0
  130. package/plugins/lisa-expo-agy/skills/ops-check-logs/SKILL.md +211 -0
  131. package/plugins/lisa-expo-agy/skills/ops-db-ops/SKILL.md +119 -0
  132. package/plugins/lisa-expo-agy/skills/ops-deploy/SKILL.md +119 -0
  133. package/plugins/lisa-expo-agy/skills/ops-monitor-errors/SKILL.md +99 -0
  134. package/plugins/lisa-expo-agy/skills/ops-performance/SKILL.md +165 -0
  135. package/plugins/lisa-expo-agy/skills/ops-run-local/SKILL.md +166 -0
  136. package/plugins/lisa-expo-agy/skills/ops-verify-health/SKILL.md +101 -0
  137. package/plugins/lisa-expo-agy/skills/owasp-zap/SKILL.md +56 -0
  138. package/plugins/lisa-expo-agy/skills/playwright-ci-debugging/SKILL.md +140 -0
  139. package/plugins/lisa-expo-agy/skills/playwright-selectors/SKILL.md +455 -0
  140. package/plugins/lisa-expo-agy/skills/reduce-complexity/SKILL.md +251 -0
  141. package/plugins/lisa-expo-agy/skills/reduce-complexity/references/extraction-strategies.md +456 -0
  142. package/plugins/lisa-expo-agy/skills/reduce-complexity/references/refactoring-patterns.md +557 -0
  143. package/plugins/lisa-expo-agy/skills/testing-library/SKILL.md +314 -0
  144. package/plugins/lisa-expo-agy/skills/testing-library/references/async-patterns.md +420 -0
  145. package/plugins/lisa-expo-agy/skills/testing-library/references/expo-router-testing.md +556 -0
  146. package/plugins/lisa-expo-agy/skills/testing-library/references/mocking-patterns.md +590 -0
  147. package/plugins/lisa-expo-agy/skills/testing-library/references/query-priority.md +291 -0
  148. package/plugins/lisa-expo-agy/skills/upgrading-expo/SKILL.md +134 -0
  149. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/expo-av-to-audio.md +132 -0
  150. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/expo-av-to-video.md +160 -0
  151. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/native-tabs.md +124 -0
  152. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/new-architecture.md +79 -0
  153. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/react-19.md +79 -0
  154. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/react-compiler.md +59 -0
  155. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/react-navigation-to-expo-router.md +61 -0
  156. package/plugins/lisa-expo-agy/skills/use-dom/SKILL.md +417 -0
  157. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +11 -0
  158. package/plugins/lisa-expo-copilot/.mcp.json +8 -0
  159. package/plugins/lisa-expo-copilot/THIRD-PARTY-NOTICES.md +57 -0
  160. package/plugins/lisa-expo-copilot/agents/ops-specialist.agent.md +124 -0
  161. package/plugins/lisa-expo-copilot/commands/e2e-coverage-gaps.md +7 -0
  162. package/plugins/lisa-expo-copilot/commands/exploratory-qa.md +7 -0
  163. package/plugins/lisa-expo-copilot/skills/add-app-clip/SKILL.md +280 -0
  164. package/plugins/lisa-expo-copilot/skills/add-app-clip/references/native-module.md +96 -0
  165. package/plugins/lisa-expo-copilot/skills/apollo-client/SKILL.md +238 -0
  166. package/plugins/lisa-expo-copilot/skills/apollo-client/references/mutation-patterns.md +360 -0
  167. package/plugins/lisa-expo-copilot/skills/atomic-design-gluestack/SKILL.md +360 -0
  168. package/plugins/lisa-expo-copilot/skills/atomic-design-gluestack/references/atomic-levels.md +417 -0
  169. package/plugins/lisa-expo-copilot/skills/atomic-design-gluestack/references/folder-structure.md +257 -0
  170. package/plugins/lisa-expo-copilot/skills/atomic-design-gluestack/references/gluestack-mapping.md +233 -0
  171. package/plugins/lisa-expo-copilot/skills/atomic-design-gluestack/scripts/validate_atomic_structure.py +329 -0
  172. package/plugins/lisa-expo-copilot/skills/building-native-ui/SKILL.md +321 -0
  173. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/animations.md +220 -0
  174. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/controls.md +272 -0
  175. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/form-sheet.md +253 -0
  176. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/gradients.md +106 -0
  177. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/icons.md +213 -0
  178. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/media.md +198 -0
  179. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/route-structure.md +229 -0
  180. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/search.md +248 -0
  181. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/storage.md +121 -0
  182. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/tabs.md +433 -0
  183. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/toolbar-and-headers.md +284 -0
  184. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/visual-effects.md +197 -0
  185. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/webgpu-three.md +605 -0
  186. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/zoom-transitions.md +158 -0
  187. package/plugins/lisa-expo-copilot/skills/container-view-pattern/SKILL.md +299 -0
  188. package/plugins/lisa-expo-copilot/skills/container-view-pattern/references/examples.md +749 -0
  189. package/plugins/lisa-expo-copilot/skills/container-view-pattern/references/patterns.md +318 -0
  190. package/plugins/lisa-expo-copilot/skills/container-view-pattern/scripts/create_component.py +200 -0
  191. package/plugins/lisa-expo-copilot/skills/container-view-pattern/scripts/validate_component.py +209 -0
  192. package/plugins/lisa-expo-copilot/skills/cross-platform-compatibility/SKILL.md +268 -0
  193. package/plugins/lisa-expo-copilot/skills/cross-platform-compatibility/references/common-issues.md +619 -0
  194. package/plugins/lisa-expo-copilot/skills/cross-platform-compatibility/references/file-extensions.md +340 -0
  195. package/plugins/lisa-expo-copilot/skills/cross-platform-compatibility/references/platform-api.md +276 -0
  196. package/plugins/lisa-expo-copilot/skills/cross-platform-compatibility/scripts/validate_cross_platform.py +416 -0
  197. package/plugins/lisa-expo-copilot/skills/directory-structure/SKILL.md +202 -0
  198. package/plugins/lisa-expo-copilot/skills/directory-structure/scripts/validate_structure.py +445 -0
  199. package/plugins/lisa-expo-copilot/skills/e2e-coverage-gaps/SKILL.md +105 -0
  200. package/plugins/lisa-expo-copilot/skills/eas-update-insights/SKILL.md +228 -0
  201. package/plugins/lisa-expo-copilot/skills/eas-update-insights/references/channel-insights-schema.md +47 -0
  202. package/plugins/lisa-expo-copilot/skills/eas-update-insights/references/update-insights-schema.md +69 -0
  203. package/plugins/lisa-expo-copilot/skills/exploratory-qa/SKILL.md +145 -0
  204. package/plugins/lisa-expo-copilot/skills/expo-api-routes/SKILL.md +369 -0
  205. package/plugins/lisa-expo-copilot/skills/expo-brownfield/SKILL.md +54 -0
  206. package/plugins/lisa-expo-copilot/skills/expo-brownfield/references/brownfield-integrated.md +526 -0
  207. package/plugins/lisa-expo-copilot/skills/expo-brownfield/references/brownfield-isolated.md +402 -0
  208. package/plugins/lisa-expo-copilot/skills/expo-brownfield/references/comparison.md +63 -0
  209. package/plugins/lisa-expo-copilot/skills/expo-brownfield/references/troubleshooting.md +88 -0
  210. package/plugins/lisa-expo-copilot/skills/expo-cicd-workflows/SKILL.md +92 -0
  211. package/plugins/lisa-expo-copilot/skills/expo-cicd-workflows/scripts/fetch.js +113 -0
  212. package/plugins/lisa-expo-copilot/skills/expo-cicd-workflows/scripts/package.json +11 -0
  213. package/plugins/lisa-expo-copilot/skills/expo-cicd-workflows/scripts/validate.js +85 -0
  214. package/plugins/lisa-expo-copilot/skills/expo-deployment/SKILL.md +190 -0
  215. package/plugins/lisa-expo-copilot/skills/expo-deployment/references/app-store-metadata.md +479 -0
  216. package/plugins/lisa-expo-copilot/skills/expo-deployment/references/ios-app-store.md +355 -0
  217. package/plugins/lisa-expo-copilot/skills/expo-deployment/references/play-store.md +246 -0
  218. package/plugins/lisa-expo-copilot/skills/expo-deployment/references/testflight.md +58 -0
  219. package/plugins/lisa-expo-copilot/skills/expo-deployment/references/workflows.md +200 -0
  220. package/plugins/lisa-expo-copilot/skills/expo-dev-client/SKILL.md +164 -0
  221. package/plugins/lisa-expo-copilot/skills/expo-env-config/SKILL.md +309 -0
  222. package/plugins/lisa-expo-copilot/skills/expo-env-config/references/validation-patterns.md +417 -0
  223. package/plugins/lisa-expo-copilot/skills/expo-module/SKILL.md +141 -0
  224. package/plugins/lisa-expo-copilot/skills/expo-module/references/config-plugin.md +90 -0
  225. package/plugins/lisa-expo-copilot/skills/expo-module/references/create-expo-module.md +206 -0
  226. package/plugins/lisa-expo-copilot/skills/expo-module/references/lifecycle.md +127 -0
  227. package/plugins/lisa-expo-copilot/skills/expo-module/references/module-config.md +48 -0
  228. package/plugins/lisa-expo-copilot/skills/expo-module/references/native-module.md +286 -0
  229. package/plugins/lisa-expo-copilot/skills/expo-module/references/native-view.md +171 -0
  230. package/plugins/lisa-expo-copilot/skills/expo-router-best-practices/SKILL.md +431 -0
  231. package/plugins/lisa-expo-copilot/skills/expo-router-best-practices/references/official-docs.md +290 -0
  232. package/plugins/lisa-expo-copilot/skills/expo-router-best-practices/scripts/generate-route.py +171 -0
  233. package/plugins/lisa-expo-copilot/skills/expo-tailwind-setup/SKILL.md +480 -0
  234. package/plugins/lisa-expo-copilot/skills/expo-ui-jetpack-compose/SKILL.md +40 -0
  235. package/plugins/lisa-expo-copilot/skills/expo-ui-swift-ui/SKILL.md +39 -0
  236. package/plugins/lisa-expo-copilot/skills/gluestack-nativewind/SKILL.md +411 -0
  237. package/plugins/lisa-expo-copilot/skills/gluestack-nativewind/references/color-tokens.md +343 -0
  238. package/plugins/lisa-expo-copilot/skills/gluestack-nativewind/references/component-mapping.md +307 -0
  239. package/plugins/lisa-expo-copilot/skills/gluestack-nativewind/references/spacing-scale.md +300 -0
  240. package/plugins/lisa-expo-copilot/skills/gluestack-nativewind/scripts/validate_styling.py +315 -0
  241. package/plugins/lisa-expo-copilot/skills/jira-add-journey/SKILL.md +126 -0
  242. package/plugins/lisa-expo-copilot/skills/jira-create/SKILL.md +161 -0
  243. package/plugins/lisa-expo-copilot/skills/jira-evidence/SKILL.md +78 -0
  244. package/plugins/lisa-expo-copilot/skills/jira-evidence/scripts/post-evidence.sh +163 -0
  245. package/plugins/lisa-expo-copilot/skills/jira-journey/SKILL.md +190 -0
  246. package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/generate-templates.py +281 -0
  247. package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/parse-plan.py +368 -0
  248. package/plugins/lisa-expo-copilot/skills/jira-verify/SKILL.md +27 -0
  249. package/plugins/lisa-expo-copilot/skills/local-state/SKILL.md +362 -0
  250. package/plugins/lisa-expo-copilot/skills/local-state/references/async-storage.md +505 -0
  251. package/plugins/lisa-expo-copilot/skills/local-state/references/persistence-patterns.md +711 -0
  252. package/plugins/lisa-expo-copilot/skills/local-state/references/reactive-variables.md +446 -0
  253. package/plugins/lisa-expo-copilot/skills/native-data-fetching/SKILL.md +507 -0
  254. package/plugins/lisa-expo-copilot/skills/native-data-fetching/references/expo-router-loaders.md +344 -0
  255. package/plugins/lisa-expo-copilot/skills/ops-browser-uat/SKILL.md +124 -0
  256. package/plugins/lisa-expo-copilot/skills/ops-check-logs/SKILL.md +211 -0
  257. package/plugins/lisa-expo-copilot/skills/ops-db-ops/SKILL.md +119 -0
  258. package/plugins/lisa-expo-copilot/skills/ops-deploy/SKILL.md +119 -0
  259. package/plugins/lisa-expo-copilot/skills/ops-monitor-errors/SKILL.md +99 -0
  260. package/plugins/lisa-expo-copilot/skills/ops-performance/SKILL.md +165 -0
  261. package/plugins/lisa-expo-copilot/skills/ops-run-local/SKILL.md +166 -0
  262. package/plugins/lisa-expo-copilot/skills/ops-verify-health/SKILL.md +101 -0
  263. package/plugins/lisa-expo-copilot/skills/owasp-zap/SKILL.md +56 -0
  264. package/plugins/lisa-expo-copilot/skills/playwright-ci-debugging/SKILL.md +140 -0
  265. package/plugins/lisa-expo-copilot/skills/playwright-selectors/SKILL.md +455 -0
  266. package/plugins/lisa-expo-copilot/skills/reduce-complexity/SKILL.md +251 -0
  267. package/plugins/lisa-expo-copilot/skills/reduce-complexity/references/extraction-strategies.md +456 -0
  268. package/plugins/lisa-expo-copilot/skills/reduce-complexity/references/refactoring-patterns.md +557 -0
  269. package/plugins/lisa-expo-copilot/skills/testing-library/SKILL.md +314 -0
  270. package/plugins/lisa-expo-copilot/skills/testing-library/references/async-patterns.md +420 -0
  271. package/plugins/lisa-expo-copilot/skills/testing-library/references/expo-router-testing.md +556 -0
  272. package/plugins/lisa-expo-copilot/skills/testing-library/references/mocking-patterns.md +590 -0
  273. package/plugins/lisa-expo-copilot/skills/testing-library/references/query-priority.md +291 -0
  274. package/plugins/lisa-expo-copilot/skills/upgrading-expo/SKILL.md +134 -0
  275. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/expo-av-to-audio.md +132 -0
  276. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/expo-av-to-video.md +160 -0
  277. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/native-tabs.md +124 -0
  278. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/new-architecture.md +79 -0
  279. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/react-19.md +79 -0
  280. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/react-compiler.md +59 -0
  281. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/react-navigation-to-expo-router.md +61 -0
  282. package/plugins/lisa-expo-copilot/skills/use-dom/SKILL.md +417 -0
  283. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +11 -0
  284. package/plugins/lisa-expo-cursor/.mcp.json +8 -0
  285. package/plugins/lisa-expo-cursor/THIRD-PARTY-NOTICES.md +57 -0
  286. package/plugins/lisa-expo-cursor/agents/ops-specialist.md +124 -0
  287. package/plugins/lisa-expo-cursor/commands/e2e-coverage-gaps.md +7 -0
  288. package/plugins/lisa-expo-cursor/commands/exploratory-qa.md +7 -0
  289. package/plugins/lisa-expo-cursor/skills/add-app-clip/SKILL.md +280 -0
  290. package/plugins/lisa-expo-cursor/skills/add-app-clip/references/native-module.md +96 -0
  291. package/plugins/lisa-expo-cursor/skills/apollo-client/SKILL.md +238 -0
  292. package/plugins/lisa-expo-cursor/skills/apollo-client/references/mutation-patterns.md +360 -0
  293. package/plugins/lisa-expo-cursor/skills/atomic-design-gluestack/SKILL.md +360 -0
  294. package/plugins/lisa-expo-cursor/skills/atomic-design-gluestack/references/atomic-levels.md +417 -0
  295. package/plugins/lisa-expo-cursor/skills/atomic-design-gluestack/references/folder-structure.md +257 -0
  296. package/plugins/lisa-expo-cursor/skills/atomic-design-gluestack/references/gluestack-mapping.md +233 -0
  297. package/plugins/lisa-expo-cursor/skills/atomic-design-gluestack/scripts/validate_atomic_structure.py +329 -0
  298. package/plugins/lisa-expo-cursor/skills/building-native-ui/SKILL.md +321 -0
  299. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/animations.md +220 -0
  300. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/controls.md +272 -0
  301. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/form-sheet.md +253 -0
  302. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/gradients.md +106 -0
  303. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/icons.md +213 -0
  304. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/media.md +198 -0
  305. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/route-structure.md +229 -0
  306. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/search.md +248 -0
  307. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/storage.md +121 -0
  308. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/tabs.md +433 -0
  309. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/toolbar-and-headers.md +284 -0
  310. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/visual-effects.md +197 -0
  311. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/webgpu-three.md +605 -0
  312. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/zoom-transitions.md +158 -0
  313. package/plugins/lisa-expo-cursor/skills/container-view-pattern/SKILL.md +299 -0
  314. package/plugins/lisa-expo-cursor/skills/container-view-pattern/references/examples.md +749 -0
  315. package/plugins/lisa-expo-cursor/skills/container-view-pattern/references/patterns.md +318 -0
  316. package/plugins/lisa-expo-cursor/skills/container-view-pattern/scripts/create_component.py +200 -0
  317. package/plugins/lisa-expo-cursor/skills/container-view-pattern/scripts/validate_component.py +209 -0
  318. package/plugins/lisa-expo-cursor/skills/cross-platform-compatibility/SKILL.md +268 -0
  319. package/plugins/lisa-expo-cursor/skills/cross-platform-compatibility/references/common-issues.md +619 -0
  320. package/plugins/lisa-expo-cursor/skills/cross-platform-compatibility/references/file-extensions.md +340 -0
  321. package/plugins/lisa-expo-cursor/skills/cross-platform-compatibility/references/platform-api.md +276 -0
  322. package/plugins/lisa-expo-cursor/skills/cross-platform-compatibility/scripts/validate_cross_platform.py +416 -0
  323. package/plugins/lisa-expo-cursor/skills/directory-structure/SKILL.md +202 -0
  324. package/plugins/lisa-expo-cursor/skills/directory-structure/scripts/validate_structure.py +445 -0
  325. package/plugins/lisa-expo-cursor/skills/e2e-coverage-gaps/SKILL.md +105 -0
  326. package/plugins/lisa-expo-cursor/skills/eas-update-insights/SKILL.md +228 -0
  327. package/plugins/lisa-expo-cursor/skills/eas-update-insights/references/channel-insights-schema.md +47 -0
  328. package/plugins/lisa-expo-cursor/skills/eas-update-insights/references/update-insights-schema.md +69 -0
  329. package/plugins/lisa-expo-cursor/skills/exploratory-qa/SKILL.md +145 -0
  330. package/plugins/lisa-expo-cursor/skills/expo-api-routes/SKILL.md +369 -0
  331. package/plugins/lisa-expo-cursor/skills/expo-brownfield/SKILL.md +54 -0
  332. package/plugins/lisa-expo-cursor/skills/expo-brownfield/references/brownfield-integrated.md +526 -0
  333. package/plugins/lisa-expo-cursor/skills/expo-brownfield/references/brownfield-isolated.md +402 -0
  334. package/plugins/lisa-expo-cursor/skills/expo-brownfield/references/comparison.md +63 -0
  335. package/plugins/lisa-expo-cursor/skills/expo-brownfield/references/troubleshooting.md +88 -0
  336. package/plugins/lisa-expo-cursor/skills/expo-cicd-workflows/SKILL.md +92 -0
  337. package/plugins/lisa-expo-cursor/skills/expo-cicd-workflows/scripts/fetch.js +113 -0
  338. package/plugins/lisa-expo-cursor/skills/expo-cicd-workflows/scripts/package.json +11 -0
  339. package/plugins/lisa-expo-cursor/skills/expo-cicd-workflows/scripts/validate.js +85 -0
  340. package/plugins/lisa-expo-cursor/skills/expo-deployment/SKILL.md +190 -0
  341. package/plugins/lisa-expo-cursor/skills/expo-deployment/references/app-store-metadata.md +479 -0
  342. package/plugins/lisa-expo-cursor/skills/expo-deployment/references/ios-app-store.md +355 -0
  343. package/plugins/lisa-expo-cursor/skills/expo-deployment/references/play-store.md +246 -0
  344. package/plugins/lisa-expo-cursor/skills/expo-deployment/references/testflight.md +58 -0
  345. package/plugins/lisa-expo-cursor/skills/expo-deployment/references/workflows.md +200 -0
  346. package/plugins/lisa-expo-cursor/skills/expo-dev-client/SKILL.md +164 -0
  347. package/plugins/lisa-expo-cursor/skills/expo-env-config/SKILL.md +309 -0
  348. package/plugins/lisa-expo-cursor/skills/expo-env-config/references/validation-patterns.md +417 -0
  349. package/plugins/lisa-expo-cursor/skills/expo-module/SKILL.md +141 -0
  350. package/plugins/lisa-expo-cursor/skills/expo-module/references/config-plugin.md +90 -0
  351. package/plugins/lisa-expo-cursor/skills/expo-module/references/create-expo-module.md +206 -0
  352. package/plugins/lisa-expo-cursor/skills/expo-module/references/lifecycle.md +127 -0
  353. package/plugins/lisa-expo-cursor/skills/expo-module/references/module-config.md +48 -0
  354. package/plugins/lisa-expo-cursor/skills/expo-module/references/native-module.md +286 -0
  355. package/plugins/lisa-expo-cursor/skills/expo-module/references/native-view.md +171 -0
  356. package/plugins/lisa-expo-cursor/skills/expo-router-best-practices/SKILL.md +431 -0
  357. package/plugins/lisa-expo-cursor/skills/expo-router-best-practices/references/official-docs.md +290 -0
  358. package/plugins/lisa-expo-cursor/skills/expo-router-best-practices/scripts/generate-route.py +171 -0
  359. package/plugins/lisa-expo-cursor/skills/expo-tailwind-setup/SKILL.md +480 -0
  360. package/plugins/lisa-expo-cursor/skills/expo-ui-jetpack-compose/SKILL.md +40 -0
  361. package/plugins/lisa-expo-cursor/skills/expo-ui-swift-ui/SKILL.md +39 -0
  362. package/plugins/lisa-expo-cursor/skills/gluestack-nativewind/SKILL.md +411 -0
  363. package/plugins/lisa-expo-cursor/skills/gluestack-nativewind/references/color-tokens.md +343 -0
  364. package/plugins/lisa-expo-cursor/skills/gluestack-nativewind/references/component-mapping.md +307 -0
  365. package/plugins/lisa-expo-cursor/skills/gluestack-nativewind/references/spacing-scale.md +300 -0
  366. package/plugins/lisa-expo-cursor/skills/gluestack-nativewind/scripts/validate_styling.py +315 -0
  367. package/plugins/lisa-expo-cursor/skills/jira-add-journey/SKILL.md +126 -0
  368. package/plugins/lisa-expo-cursor/skills/jira-create/SKILL.md +161 -0
  369. package/plugins/lisa-expo-cursor/skills/jira-evidence/SKILL.md +78 -0
  370. package/plugins/lisa-expo-cursor/skills/jira-evidence/scripts/post-evidence.sh +163 -0
  371. package/plugins/lisa-expo-cursor/skills/jira-journey/SKILL.md +190 -0
  372. package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/generate-templates.py +281 -0
  373. package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/parse-plan.py +368 -0
  374. package/plugins/lisa-expo-cursor/skills/jira-verify/SKILL.md +27 -0
  375. package/plugins/lisa-expo-cursor/skills/local-state/SKILL.md +362 -0
  376. package/plugins/lisa-expo-cursor/skills/local-state/references/async-storage.md +505 -0
  377. package/plugins/lisa-expo-cursor/skills/local-state/references/persistence-patterns.md +711 -0
  378. package/plugins/lisa-expo-cursor/skills/local-state/references/reactive-variables.md +446 -0
  379. package/plugins/lisa-expo-cursor/skills/native-data-fetching/SKILL.md +507 -0
  380. package/plugins/lisa-expo-cursor/skills/native-data-fetching/references/expo-router-loaders.md +344 -0
  381. package/plugins/lisa-expo-cursor/skills/ops-browser-uat/SKILL.md +124 -0
  382. package/plugins/lisa-expo-cursor/skills/ops-check-logs/SKILL.md +211 -0
  383. package/plugins/lisa-expo-cursor/skills/ops-db-ops/SKILL.md +119 -0
  384. package/plugins/lisa-expo-cursor/skills/ops-deploy/SKILL.md +119 -0
  385. package/plugins/lisa-expo-cursor/skills/ops-monitor-errors/SKILL.md +99 -0
  386. package/plugins/lisa-expo-cursor/skills/ops-performance/SKILL.md +165 -0
  387. package/plugins/lisa-expo-cursor/skills/ops-run-local/SKILL.md +166 -0
  388. package/plugins/lisa-expo-cursor/skills/ops-verify-health/SKILL.md +101 -0
  389. package/plugins/lisa-expo-cursor/skills/owasp-zap/SKILL.md +56 -0
  390. package/plugins/lisa-expo-cursor/skills/playwright-ci-debugging/SKILL.md +140 -0
  391. package/plugins/lisa-expo-cursor/skills/playwright-selectors/SKILL.md +455 -0
  392. package/plugins/lisa-expo-cursor/skills/reduce-complexity/SKILL.md +251 -0
  393. package/plugins/lisa-expo-cursor/skills/reduce-complexity/references/extraction-strategies.md +456 -0
  394. package/plugins/lisa-expo-cursor/skills/reduce-complexity/references/refactoring-patterns.md +557 -0
  395. package/plugins/lisa-expo-cursor/skills/testing-library/SKILL.md +314 -0
  396. package/plugins/lisa-expo-cursor/skills/testing-library/references/async-patterns.md +420 -0
  397. package/plugins/lisa-expo-cursor/skills/testing-library/references/expo-router-testing.md +556 -0
  398. package/plugins/lisa-expo-cursor/skills/testing-library/references/mocking-patterns.md +590 -0
  399. package/plugins/lisa-expo-cursor/skills/testing-library/references/query-priority.md +291 -0
  400. package/plugins/lisa-expo-cursor/skills/upgrading-expo/SKILL.md +134 -0
  401. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/expo-av-to-audio.md +132 -0
  402. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/expo-av-to-video.md +160 -0
  403. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/native-tabs.md +124 -0
  404. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/new-architecture.md +79 -0
  405. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/react-19.md +79 -0
  406. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/react-compiler.md +59 -0
  407. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/react-navigation-to-expo-router.md +61 -0
  408. package/plugins/lisa-expo-cursor/skills/use-dom/SKILL.md +417 -0
  409. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  410. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  411. package/plugins/lisa-harper-fabric-agy/commands/e2e-coverage-gaps.md +7 -0
  412. package/plugins/lisa-harper-fabric-agy/commands/exploratory-qa.md +7 -0
  413. package/plugins/lisa-harper-fabric-agy/plugin.json +11 -0
  414. package/plugins/lisa-harper-fabric-agy/skills/e2e-coverage-gaps/SKILL.md +105 -0
  415. package/plugins/lisa-harper-fabric-agy/skills/exploratory-qa/SKILL.md +145 -0
  416. package/plugins/lisa-harper-fabric-agy/skills/harper-build-and-deploy/SKILL.md +101 -0
  417. package/plugins/lisa-harper-fabric-agy/skills/harper-component-model/SKILL.md +87 -0
  418. package/plugins/lisa-harper-fabric-agy/skills/harper-config-yaml/SKILL.md +107 -0
  419. package/plugins/lisa-harper-fabric-agy/skills/harper-resources/SKILL.md +106 -0
  420. package/plugins/lisa-harper-fabric-agy/skills/harper-schema-graphql/SKILL.md +72 -0
  421. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +35 -0
  422. package/plugins/lisa-harper-fabric-copilot/commands/e2e-coverage-gaps.md +7 -0
  423. package/plugins/lisa-harper-fabric-copilot/commands/exploratory-qa.md +7 -0
  424. package/plugins/lisa-harper-fabric-copilot/hooks/inject-rules.sh +16 -0
  425. package/plugins/lisa-harper-fabric-copilot/rules/harper-fabric.md +51 -0
  426. package/plugins/lisa-harper-fabric-copilot/skills/e2e-coverage-gaps/SKILL.md +105 -0
  427. package/plugins/lisa-harper-fabric-copilot/skills/exploratory-qa/SKILL.md +145 -0
  428. package/plugins/lisa-harper-fabric-copilot/skills/harper-build-and-deploy/SKILL.md +101 -0
  429. package/plugins/lisa-harper-fabric-copilot/skills/harper-component-model/SKILL.md +87 -0
  430. package/plugins/lisa-harper-fabric-copilot/skills/harper-config-yaml/SKILL.md +107 -0
  431. package/plugins/lisa-harper-fabric-copilot/skills/harper-resources/SKILL.md +106 -0
  432. package/plugins/lisa-harper-fabric-copilot/skills/harper-schema-graphql/SKILL.md +72 -0
  433. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +11 -0
  434. package/plugins/lisa-harper-fabric-cursor/commands/e2e-coverage-gaps.md +7 -0
  435. package/plugins/lisa-harper-fabric-cursor/commands/exploratory-qa.md +7 -0
  436. package/plugins/lisa-harper-fabric-cursor/rules/harper-fabric.md +51 -0
  437. package/plugins/lisa-harper-fabric-cursor/skills/e2e-coverage-gaps/SKILL.md +105 -0
  438. package/plugins/lisa-harper-fabric-cursor/skills/exploratory-qa/SKILL.md +145 -0
  439. package/plugins/lisa-harper-fabric-cursor/skills/harper-build-and-deploy/SKILL.md +101 -0
  440. package/plugins/lisa-harper-fabric-cursor/skills/harper-component-model/SKILL.md +87 -0
  441. package/plugins/lisa-harper-fabric-cursor/skills/harper-config-yaml/SKILL.md +107 -0
  442. package/plugins/lisa-harper-fabric-cursor/skills/harper-resources/SKILL.md +106 -0
  443. package/plugins/lisa-harper-fabric-cursor/skills/harper-schema-graphql/SKILL.md +72 -0
  444. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  445. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  446. package/plugins/lisa-nestjs-agy/plugin.json +11 -0
  447. package/plugins/lisa-nestjs-agy/skills/nestjs-graphql/SKILL.md +176 -0
  448. package/plugins/lisa-nestjs-agy/skills/nestjs-graphql/references/advanced-features.md +527 -0
  449. package/plugins/lisa-nestjs-agy/skills/nestjs-graphql/references/project-patterns.md +531 -0
  450. package/plugins/lisa-nestjs-agy/skills/nestjs-graphql/references/quick-start.md +257 -0
  451. package/plugins/lisa-nestjs-agy/skills/nestjs-graphql/references/resolvers-mutations.md +413 -0
  452. package/plugins/lisa-nestjs-agy/skills/nestjs-graphql/references/types-scalars.md +513 -0
  453. package/plugins/lisa-nestjs-agy/skills/nestjs-rules/SKILL.md +565 -0
  454. package/plugins/lisa-nestjs-agy/skills/typeorm-patterns/SKILL.md +275 -0
  455. package/plugins/lisa-nestjs-agy/skills/typeorm-patterns/references/configuration-patterns.md +487 -0
  456. package/plugins/lisa-nestjs-agy/skills/typeorm-patterns/references/entity-patterns.md +450 -0
  457. package/plugins/lisa-nestjs-agy/skills/typeorm-patterns/references/observability-patterns.md +536 -0
  458. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +24 -0
  459. package/plugins/lisa-nestjs-copilot/hooks/block-migration-edits.sh +60 -0
  460. package/plugins/lisa-nestjs-copilot/skills/nestjs-graphql/SKILL.md +176 -0
  461. package/plugins/lisa-nestjs-copilot/skills/nestjs-graphql/references/advanced-features.md +527 -0
  462. package/plugins/lisa-nestjs-copilot/skills/nestjs-graphql/references/project-patterns.md +531 -0
  463. package/plugins/lisa-nestjs-copilot/skills/nestjs-graphql/references/quick-start.md +257 -0
  464. package/plugins/lisa-nestjs-copilot/skills/nestjs-graphql/references/resolvers-mutations.md +413 -0
  465. package/plugins/lisa-nestjs-copilot/skills/nestjs-graphql/references/types-scalars.md +513 -0
  466. package/plugins/lisa-nestjs-copilot/skills/nestjs-rules/SKILL.md +565 -0
  467. package/plugins/lisa-nestjs-copilot/skills/typeorm-patterns/SKILL.md +275 -0
  468. package/plugins/lisa-nestjs-copilot/skills/typeorm-patterns/references/configuration-patterns.md +487 -0
  469. package/plugins/lisa-nestjs-copilot/skills/typeorm-patterns/references/entity-patterns.md +450 -0
  470. package/plugins/lisa-nestjs-copilot/skills/typeorm-patterns/references/observability-patterns.md +536 -0
  471. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +24 -0
  472. package/plugins/lisa-nestjs-cursor/hooks/block-migration-edits.sh +60 -0
  473. package/plugins/lisa-nestjs-cursor/skills/nestjs-graphql/SKILL.md +176 -0
  474. package/plugins/lisa-nestjs-cursor/skills/nestjs-graphql/references/advanced-features.md +527 -0
  475. package/plugins/lisa-nestjs-cursor/skills/nestjs-graphql/references/project-patterns.md +531 -0
  476. package/plugins/lisa-nestjs-cursor/skills/nestjs-graphql/references/quick-start.md +257 -0
  477. package/plugins/lisa-nestjs-cursor/skills/nestjs-graphql/references/resolvers-mutations.md +413 -0
  478. package/plugins/lisa-nestjs-cursor/skills/nestjs-graphql/references/types-scalars.md +513 -0
  479. package/plugins/lisa-nestjs-cursor/skills/nestjs-rules/SKILL.md +565 -0
  480. package/plugins/lisa-nestjs-cursor/skills/typeorm-patterns/SKILL.md +275 -0
  481. package/plugins/lisa-nestjs-cursor/skills/typeorm-patterns/references/configuration-patterns.md +487 -0
  482. package/plugins/lisa-nestjs-cursor/skills/typeorm-patterns/references/entity-patterns.md +450 -0
  483. package/plugins/lisa-nestjs-cursor/skills/typeorm-patterns/references/observability-patterns.md +536 -0
  484. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  485. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  486. package/plugins/lisa-openclaw-agy/commands/connect-repo-topic.md +7 -0
  487. package/plugins/lisa-openclaw-agy/commands/connect-staff-slack.md +7 -0
  488. package/plugins/lisa-openclaw-agy/commands/connect-staff-telegram.md +7 -0
  489. package/plugins/lisa-openclaw-agy/commands/setup-openclaw.md +7 -0
  490. package/plugins/lisa-openclaw-agy/plugin.json +8 -0
  491. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-repo-topic/SKILL.md +137 -0
  492. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +109 -0
  493. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-staff/SKILL.md +175 -0
  494. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-staff/references/platform-routing.md +83 -0
  495. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-staff/references/prompts.md +78 -0
  496. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-setup/SKILL.md +138 -0
  497. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +8 -0
  498. package/plugins/lisa-openclaw-copilot/commands/connect-repo-topic.md +7 -0
  499. package/plugins/lisa-openclaw-copilot/commands/connect-staff-slack.md +7 -0
  500. package/plugins/lisa-openclaw-copilot/commands/connect-staff-telegram.md +7 -0
  501. package/plugins/lisa-openclaw-copilot/commands/setup-openclaw.md +7 -0
  502. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-repo-topic/SKILL.md +137 -0
  503. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +109 -0
  504. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-staff/SKILL.md +175 -0
  505. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-staff/references/platform-routing.md +83 -0
  506. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-staff/references/prompts.md +78 -0
  507. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-setup/SKILL.md +138 -0
  508. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +8 -0
  509. package/plugins/lisa-openclaw-cursor/commands/connect-repo-topic.md +7 -0
  510. package/plugins/lisa-openclaw-cursor/commands/connect-staff-slack.md +7 -0
  511. package/plugins/lisa-openclaw-cursor/commands/connect-staff-telegram.md +7 -0
  512. package/plugins/lisa-openclaw-cursor/commands/setup-openclaw.md +7 -0
  513. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-repo-topic/SKILL.md +137 -0
  514. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +109 -0
  515. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-staff/SKILL.md +175 -0
  516. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-staff/references/platform-routing.md +83 -0
  517. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-staff/references/prompts.md +78 -0
  518. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-setup/SKILL.md +138 -0
  519. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  520. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  521. package/plugins/lisa-rails-agy/agents/ops-specialist.md +226 -0
  522. package/plugins/lisa-rails-agy/commands/e2e-coverage-gaps.md +7 -0
  523. package/plugins/lisa-rails-agy/commands/exploratory-qa.md +7 -0
  524. package/plugins/lisa-rails-agy/commands/fix/linter-error.md +7 -0
  525. package/plugins/lisa-rails-agy/commands/improve/code-complexity.md +6 -0
  526. package/plugins/lisa-rails-agy/commands/improve/max-lines-per-function.md +7 -0
  527. package/plugins/lisa-rails-agy/commands/improve/max-lines.md +7 -0
  528. package/plugins/lisa-rails-agy/commands/improve/test-coverage.md +7 -0
  529. package/plugins/lisa-rails-agy/plugin.json +11 -0
  530. package/plugins/lisa-rails-agy/skills/action-controller-best-practices/SKILL.md +374 -0
  531. package/plugins/lisa-rails-agy/skills/action-view-best-practices/SKILL.md +335 -0
  532. package/plugins/lisa-rails-agy/skills/active-record-model-best-practices/SKILL.md +166 -0
  533. package/plugins/lisa-rails-agy/skills/e2e-coverage-gaps/SKILL.md +105 -0
  534. package/plugins/lisa-rails-agy/skills/exploratory-qa/SKILL.md +145 -0
  535. package/plugins/lisa-rails-agy/skills/fix-linter-error/SKILL.md +45 -0
  536. package/plugins/lisa-rails-agy/skills/improve-code-complexity/SKILL.md +48 -0
  537. package/plugins/lisa-rails-agy/skills/improve-max-lines/SKILL.md +46 -0
  538. package/plugins/lisa-rails-agy/skills/improve-max-lines-per-function/SKILL.md +46 -0
  539. package/plugins/lisa-rails-agy/skills/improve-test-coverage/SKILL.md +45 -0
  540. package/plugins/lisa-rails-agy/skills/jira-add-journey/SKILL.md +65 -0
  541. package/plugins/lisa-rails-agy/skills/jira-create/SKILL.md +100 -0
  542. package/plugins/lisa-rails-agy/skills/jira-evidence/SKILL.md +70 -0
  543. package/plugins/lisa-rails-agy/skills/jira-evidence/scripts/post-evidence.sh +163 -0
  544. package/plugins/lisa-rails-agy/skills/jira-journey/SKILL.md +64 -0
  545. package/plugins/lisa-rails-agy/skills/jira-verify/SKILL.md +26 -0
  546. package/plugins/lisa-rails-agy/skills/ops-check-logs/SKILL.md +191 -0
  547. package/plugins/lisa-rails-agy/skills/ops-deploy/SKILL.md +153 -0
  548. package/plugins/lisa-rails-agy/skills/ops-run-local/SKILL.md +169 -0
  549. package/plugins/lisa-rails-agy/skills/ops-verify-jobs/SKILL.md +157 -0
  550. package/plugins/lisa-rails-agy/skills/ops-verify-telemetry/SKILL.md +197 -0
  551. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +50 -0
  552. package/plugins/lisa-rails-copilot/agents/ops-specialist.agent.md +226 -0
  553. package/plugins/lisa-rails-copilot/commands/e2e-coverage-gaps.md +7 -0
  554. package/plugins/lisa-rails-copilot/commands/exploratory-qa.md +7 -0
  555. package/plugins/lisa-rails-copilot/commands/fix/linter-error.md +7 -0
  556. package/plugins/lisa-rails-copilot/commands/improve/code-complexity.md +6 -0
  557. package/plugins/lisa-rails-copilot/commands/improve/max-lines-per-function.md +7 -0
  558. package/plugins/lisa-rails-copilot/commands/improve/max-lines.md +7 -0
  559. package/plugins/lisa-rails-copilot/commands/improve/test-coverage.md +7 -0
  560. package/plugins/lisa-rails-copilot/hooks/inject-rules.sh +22 -0
  561. package/plugins/lisa-rails-copilot/hooks/rubocop-on-edit.sh +78 -0
  562. package/plugins/lisa-rails-copilot/hooks/sg-scan-on-edit.sh +74 -0
  563. package/plugins/lisa-rails-copilot/rules/rails-conventions.md +176 -0
  564. package/plugins/lisa-rails-copilot/skills/action-controller-best-practices/SKILL.md +374 -0
  565. package/plugins/lisa-rails-copilot/skills/action-view-best-practices/SKILL.md +335 -0
  566. package/plugins/lisa-rails-copilot/skills/active-record-model-best-practices/SKILL.md +166 -0
  567. package/plugins/lisa-rails-copilot/skills/e2e-coverage-gaps/SKILL.md +105 -0
  568. package/plugins/lisa-rails-copilot/skills/exploratory-qa/SKILL.md +145 -0
  569. package/plugins/lisa-rails-copilot/skills/fix-linter-error/SKILL.md +45 -0
  570. package/plugins/lisa-rails-copilot/skills/improve-code-complexity/SKILL.md +48 -0
  571. package/plugins/lisa-rails-copilot/skills/improve-max-lines/SKILL.md +46 -0
  572. package/plugins/lisa-rails-copilot/skills/improve-max-lines-per-function/SKILL.md +46 -0
  573. package/plugins/lisa-rails-copilot/skills/improve-test-coverage/SKILL.md +45 -0
  574. package/plugins/lisa-rails-copilot/skills/jira-add-journey/SKILL.md +65 -0
  575. package/plugins/lisa-rails-copilot/skills/jira-create/SKILL.md +100 -0
  576. package/plugins/lisa-rails-copilot/skills/jira-evidence/SKILL.md +70 -0
  577. package/plugins/lisa-rails-copilot/skills/jira-evidence/scripts/post-evidence.sh +163 -0
  578. package/plugins/lisa-rails-copilot/skills/jira-journey/SKILL.md +64 -0
  579. package/plugins/lisa-rails-copilot/skills/jira-verify/SKILL.md +26 -0
  580. package/plugins/lisa-rails-copilot/skills/ops-check-logs/SKILL.md +191 -0
  581. package/plugins/lisa-rails-copilot/skills/ops-deploy/SKILL.md +153 -0
  582. package/plugins/lisa-rails-copilot/skills/ops-run-local/SKILL.md +169 -0
  583. package/plugins/lisa-rails-copilot/skills/ops-verify-jobs/SKILL.md +157 -0
  584. package/plugins/lisa-rails-copilot/skills/ops-verify-telemetry/SKILL.md +197 -0
  585. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +28 -0
  586. package/plugins/lisa-rails-cursor/agents/ops-specialist.md +226 -0
  587. package/plugins/lisa-rails-cursor/commands/e2e-coverage-gaps.md +7 -0
  588. package/plugins/lisa-rails-cursor/commands/exploratory-qa.md +7 -0
  589. package/plugins/lisa-rails-cursor/commands/fix/linter-error.md +7 -0
  590. package/plugins/lisa-rails-cursor/commands/improve/code-complexity.md +6 -0
  591. package/plugins/lisa-rails-cursor/commands/improve/max-lines-per-function.md +7 -0
  592. package/plugins/lisa-rails-cursor/commands/improve/max-lines.md +7 -0
  593. package/plugins/lisa-rails-cursor/commands/improve/test-coverage.md +7 -0
  594. package/plugins/lisa-rails-cursor/hooks/rubocop-on-edit.sh +78 -0
  595. package/plugins/lisa-rails-cursor/hooks/sg-scan-on-edit.sh +74 -0
  596. package/plugins/lisa-rails-cursor/rules/rails-conventions.md +176 -0
  597. package/plugins/lisa-rails-cursor/skills/action-controller-best-practices/SKILL.md +374 -0
  598. package/plugins/lisa-rails-cursor/skills/action-view-best-practices/SKILL.md +335 -0
  599. package/plugins/lisa-rails-cursor/skills/active-record-model-best-practices/SKILL.md +166 -0
  600. package/plugins/lisa-rails-cursor/skills/e2e-coverage-gaps/SKILL.md +105 -0
  601. package/plugins/lisa-rails-cursor/skills/exploratory-qa/SKILL.md +145 -0
  602. package/plugins/lisa-rails-cursor/skills/fix-linter-error/SKILL.md +45 -0
  603. package/plugins/lisa-rails-cursor/skills/improve-code-complexity/SKILL.md +48 -0
  604. package/plugins/lisa-rails-cursor/skills/improve-max-lines/SKILL.md +46 -0
  605. package/plugins/lisa-rails-cursor/skills/improve-max-lines-per-function/SKILL.md +46 -0
  606. package/plugins/lisa-rails-cursor/skills/improve-test-coverage/SKILL.md +45 -0
  607. package/plugins/lisa-rails-cursor/skills/jira-add-journey/SKILL.md +65 -0
  608. package/plugins/lisa-rails-cursor/skills/jira-create/SKILL.md +100 -0
  609. package/plugins/lisa-rails-cursor/skills/jira-evidence/SKILL.md +70 -0
  610. package/plugins/lisa-rails-cursor/skills/jira-evidence/scripts/post-evidence.sh +163 -0
  611. package/plugins/lisa-rails-cursor/skills/jira-journey/SKILL.md +64 -0
  612. package/plugins/lisa-rails-cursor/skills/jira-verify/SKILL.md +26 -0
  613. package/plugins/lisa-rails-cursor/skills/ops-check-logs/SKILL.md +191 -0
  614. package/plugins/lisa-rails-cursor/skills/ops-deploy/SKILL.md +153 -0
  615. package/plugins/lisa-rails-cursor/skills/ops-run-local/SKILL.md +169 -0
  616. package/plugins/lisa-rails-cursor/skills/ops-verify-jobs/SKILL.md +157 -0
  617. package/plugins/lisa-rails-cursor/skills/ops-verify-telemetry/SKILL.md +197 -0
  618. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  619. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  620. package/plugins/lisa-typescript-agy/plugin.json +11 -0
  621. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +43 -0
  622. package/plugins/lisa-typescript-copilot/hooks/block-suppress-directives.sh +73 -0
  623. package/plugins/lisa-typescript-copilot/hooks/format-on-edit.sh +79 -0
  624. package/plugins/lisa-typescript-copilot/hooks/lint-on-edit.sh +134 -0
  625. package/plugins/lisa-typescript-copilot/hooks/sg-scan-on-edit.sh +71 -0
  626. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +43 -0
  627. package/plugins/lisa-typescript-cursor/hooks/block-suppress-directives.sh +73 -0
  628. package/plugins/lisa-typescript-cursor/hooks/format-on-edit.sh +79 -0
  629. package/plugins/lisa-typescript-cursor/hooks/lint-on-edit.sh +134 -0
  630. package/plugins/lisa-typescript-cursor/hooks/sg-scan-on-edit.sh +71 -0
  631. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  632. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  633. package/plugins/lisa-wiki-agy/ci/lisa-wiki-validate.yml +33 -0
  634. package/plugins/lisa-wiki-agy/commands/add-ingest.md +6 -0
  635. package/plugins/lisa-wiki-agy/commands/add-role.md +6 -0
  636. package/plugins/lisa-wiki-agy/commands/doctor.md +6 -0
  637. package/plugins/lisa-wiki-agy/commands/ingest.md +6 -0
  638. package/plugins/lisa-wiki-agy/commands/lint.md +6 -0
  639. package/plugins/lisa-wiki-agy/commands/migrate.md +6 -0
  640. package/plugins/lisa-wiki-agy/commands/onboard-me.md +6 -0
  641. package/plugins/lisa-wiki-agy/commands/query.md +6 -0
  642. package/plugins/lisa-wiki-agy/commands/setup/wiki.md +6 -0
  643. package/plugins/lisa-wiki-agy/commands/setup-automations.md +6 -0
  644. package/plugins/lisa-wiki-agy/commands/setup.md +6 -0
  645. package/plugins/lisa-wiki-agy/commands/status.md +6 -0
  646. package/plugins/lisa-wiki-agy/commands/tear-down-automations.md +6 -0
  647. package/plugins/lisa-wiki-agy/plugin.json +8 -0
  648. package/plugins/lisa-wiki-agy/schema/lisa-wiki-config.schema.json +118 -0
  649. package/plugins/lisa-wiki-agy/schema/wiki-structure.schema.json +51 -0
  650. package/plugins/lisa-wiki-agy/scripts/_wiki-lib.mjs +185 -0
  651. package/plugins/lisa-wiki-agy/scripts/diff-guard.mjs +116 -0
  652. package/plugins/lisa-wiki-agy/scripts/ensure-gitignore.mjs +131 -0
  653. package/plugins/lisa-wiki-agy/scripts/ingest-git.mjs +189 -0
  654. package/plugins/lisa-wiki-agy/scripts/ingest-memory.mjs +130 -0
  655. package/plugins/lisa-wiki-agy/scripts/ingest-roles.mjs +85 -0
  656. package/plugins/lisa-wiki-agy/scripts/ingest_slack_channel.py +329 -0
  657. package/plugins/lisa-wiki-agy/scripts/lint-wiki.mjs +324 -0
  658. package/plugins/lisa-wiki-agy/scripts/mcp-doctor.mjs +72 -0
  659. package/plugins/lisa-wiki-agy/scripts/render-contract.mjs +107 -0
  660. package/plugins/lisa-wiki-agy/scripts/rewrite-refs.mjs +144 -0
  661. package/plugins/lisa-wiki-agy/scripts/slack_oauth_user.py +179 -0
  662. package/plugins/lisa-wiki-agy/scripts/validate-config.mjs +232 -0
  663. package/plugins/lisa-wiki-agy/scripts/verify-migration.mjs +199 -0
  664. package/plugins/lisa-wiki-agy/scripts/wiki-status.mjs +345 -0
  665. package/plugins/lisa-wiki-agy/skills/lisa-wiki-add-ingest/SKILL.md +34 -0
  666. package/plugins/lisa-wiki-agy/skills/lisa-wiki-add-role/SKILL.md +30 -0
  667. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-confluence/SKILL.md +25 -0
  668. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-docs/SKILL.md +30 -0
  669. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-git/SKILL.md +25 -0
  670. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-jira/SKILL.md +28 -0
  671. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-memory/SKILL.md +28 -0
  672. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-notion/SKILL.md +25 -0
  673. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-roles/SKILL.md +22 -0
  674. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-slack/SKILL.md +30 -0
  675. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-web/SKILL.md +23 -0
  676. package/plugins/lisa-wiki-agy/skills/lisa-wiki-doctor/SKILL.md +47 -0
  677. package/plugins/lisa-wiki-agy/skills/lisa-wiki-ingest/SKILL.md +72 -0
  678. package/plugins/lisa-wiki-agy/skills/lisa-wiki-lint/SKILL.md +32 -0
  679. package/plugins/lisa-wiki-agy/skills/lisa-wiki-migrate/SKILL.md +43 -0
  680. package/plugins/lisa-wiki-agy/skills/lisa-wiki-onboard-me/SKILL.md +33 -0
  681. package/plugins/lisa-wiki-agy/skills/lisa-wiki-query/SKILL.md +30 -0
  682. package/plugins/lisa-wiki-agy/skills/lisa-wiki-setup/SKILL.md +75 -0
  683. package/plugins/lisa-wiki-agy/skills/lisa-wiki-setup-automations/SKILL.md +80 -0
  684. package/plugins/lisa-wiki-agy/skills/lisa-wiki-status/SKILL.md +47 -0
  685. package/plugins/lisa-wiki-agy/skills/lisa-wiki-tear-down-automations/SKILL.md +34 -0
  686. package/plugins/lisa-wiki-agy/skills/lisa-wiki-usage/SKILL.md +50 -0
  687. package/plugins/lisa-wiki-agy/templates/agents/role-agent.claude.md +16 -0
  688. package/plugins/lisa-wiki-agy/templates/agents/role-agent.codex.toml +15 -0
  689. package/plugins/lisa-wiki-agy/templates/index.md +17 -0
  690. package/plugins/lisa-wiki-agy/templates/llm-wiki-contract.md +72 -0
  691. package/plugins/lisa-wiki-agy/templates/log.md +8 -0
  692. package/plugins/lisa-wiki-agy/templates/page-types/architecture.md +18 -0
  693. package/plugins/lisa-wiki-agy/templates/page-types/concept.md +18 -0
  694. package/plugins/lisa-wiki-agy/templates/page-types/decision.md +18 -0
  695. package/plugins/lisa-wiki-agy/templates/page-types/entity.md +19 -0
  696. package/plugins/lisa-wiki-agy/templates/page-types/open-question.md +18 -0
  697. package/plugins/lisa-wiki-agy/templates/page-types/playbook.md +18 -0
  698. package/plugins/lisa-wiki-agy/templates/page-types/project.md +19 -0
  699. package/plugins/lisa-wiki-agy/templates/page-types/requirement.md +19 -0
  700. package/plugins/lisa-wiki-agy/templates/page-types/staff.md +26 -0
  701. package/plugins/lisa-wiki-agy/templates/start-here.md +24 -0
  702. package/plugins/lisa-wiki-agy/templates/state-readme.md +20 -0
  703. package/plugins/lisa-wiki-agy/templates/wrapper-gitignore.txt +19 -0
  704. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +8 -0
  705. package/plugins/lisa-wiki-copilot/ci/lisa-wiki-validate.yml +33 -0
  706. package/plugins/lisa-wiki-copilot/commands/add-ingest.md +6 -0
  707. package/plugins/lisa-wiki-copilot/commands/add-role.md +6 -0
  708. package/plugins/lisa-wiki-copilot/commands/doctor.md +6 -0
  709. package/plugins/lisa-wiki-copilot/commands/ingest.md +6 -0
  710. package/plugins/lisa-wiki-copilot/commands/lint.md +6 -0
  711. package/plugins/lisa-wiki-copilot/commands/migrate.md +6 -0
  712. package/plugins/lisa-wiki-copilot/commands/onboard-me.md +6 -0
  713. package/plugins/lisa-wiki-copilot/commands/query.md +6 -0
  714. package/plugins/lisa-wiki-copilot/commands/setup/wiki.md +6 -0
  715. package/plugins/lisa-wiki-copilot/commands/setup-automations.md +6 -0
  716. package/plugins/lisa-wiki-copilot/commands/setup.md +6 -0
  717. package/plugins/lisa-wiki-copilot/commands/status.md +6 -0
  718. package/plugins/lisa-wiki-copilot/commands/tear-down-automations.md +6 -0
  719. package/plugins/lisa-wiki-copilot/schema/lisa-wiki-config.schema.json +118 -0
  720. package/plugins/lisa-wiki-copilot/schema/wiki-structure.schema.json +51 -0
  721. package/plugins/lisa-wiki-copilot/scripts/_wiki-lib.mjs +185 -0
  722. package/plugins/lisa-wiki-copilot/scripts/diff-guard.mjs +116 -0
  723. package/plugins/lisa-wiki-copilot/scripts/ensure-gitignore.mjs +131 -0
  724. package/plugins/lisa-wiki-copilot/scripts/ingest-git.mjs +189 -0
  725. package/plugins/lisa-wiki-copilot/scripts/ingest-memory.mjs +130 -0
  726. package/plugins/lisa-wiki-copilot/scripts/ingest-roles.mjs +85 -0
  727. package/plugins/lisa-wiki-copilot/scripts/ingest_slack_channel.py +329 -0
  728. package/plugins/lisa-wiki-copilot/scripts/lint-wiki.mjs +324 -0
  729. package/plugins/lisa-wiki-copilot/scripts/mcp-doctor.mjs +72 -0
  730. package/plugins/lisa-wiki-copilot/scripts/render-contract.mjs +107 -0
  731. package/plugins/lisa-wiki-copilot/scripts/rewrite-refs.mjs +144 -0
  732. package/plugins/lisa-wiki-copilot/scripts/slack_oauth_user.py +179 -0
  733. package/plugins/lisa-wiki-copilot/scripts/validate-config.mjs +232 -0
  734. package/plugins/lisa-wiki-copilot/scripts/verify-migration.mjs +199 -0
  735. package/plugins/lisa-wiki-copilot/scripts/wiki-status.mjs +345 -0
  736. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-add-ingest/SKILL.md +34 -0
  737. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-add-role/SKILL.md +30 -0
  738. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-confluence/SKILL.md +25 -0
  739. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-docs/SKILL.md +30 -0
  740. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-git/SKILL.md +25 -0
  741. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-jira/SKILL.md +28 -0
  742. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-memory/SKILL.md +28 -0
  743. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-notion/SKILL.md +25 -0
  744. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-roles/SKILL.md +22 -0
  745. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-slack/SKILL.md +30 -0
  746. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-web/SKILL.md +23 -0
  747. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-doctor/SKILL.md +47 -0
  748. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-ingest/SKILL.md +72 -0
  749. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-lint/SKILL.md +32 -0
  750. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-migrate/SKILL.md +43 -0
  751. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-onboard-me/SKILL.md +33 -0
  752. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-query/SKILL.md +30 -0
  753. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-setup/SKILL.md +75 -0
  754. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-setup-automations/SKILL.md +80 -0
  755. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-status/SKILL.md +47 -0
  756. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-tear-down-automations/SKILL.md +34 -0
  757. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-usage/SKILL.md +50 -0
  758. package/plugins/lisa-wiki-copilot/templates/agents/role-agent.claude.md +16 -0
  759. package/plugins/lisa-wiki-copilot/templates/agents/role-agent.codex.toml +15 -0
  760. package/plugins/lisa-wiki-copilot/templates/index.md +17 -0
  761. package/plugins/lisa-wiki-copilot/templates/llm-wiki-contract.md +72 -0
  762. package/plugins/lisa-wiki-copilot/templates/log.md +8 -0
  763. package/plugins/lisa-wiki-copilot/templates/page-types/architecture.md +18 -0
  764. package/plugins/lisa-wiki-copilot/templates/page-types/concept.md +18 -0
  765. package/plugins/lisa-wiki-copilot/templates/page-types/decision.md +18 -0
  766. package/plugins/lisa-wiki-copilot/templates/page-types/entity.md +19 -0
  767. package/plugins/lisa-wiki-copilot/templates/page-types/open-question.md +18 -0
  768. package/plugins/lisa-wiki-copilot/templates/page-types/playbook.md +18 -0
  769. package/plugins/lisa-wiki-copilot/templates/page-types/project.md +19 -0
  770. package/plugins/lisa-wiki-copilot/templates/page-types/requirement.md +19 -0
  771. package/plugins/lisa-wiki-copilot/templates/page-types/staff.md +26 -0
  772. package/plugins/lisa-wiki-copilot/templates/start-here.md +24 -0
  773. package/plugins/lisa-wiki-copilot/templates/state-readme.md +20 -0
  774. package/plugins/lisa-wiki-copilot/templates/wrapper-gitignore.txt +19 -0
  775. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +8 -0
  776. package/plugins/lisa-wiki-cursor/ci/lisa-wiki-validate.yml +33 -0
  777. package/plugins/lisa-wiki-cursor/commands/add-ingest.md +6 -0
  778. package/plugins/lisa-wiki-cursor/commands/add-role.md +6 -0
  779. package/plugins/lisa-wiki-cursor/commands/doctor.md +6 -0
  780. package/plugins/lisa-wiki-cursor/commands/ingest.md +6 -0
  781. package/plugins/lisa-wiki-cursor/commands/lint.md +6 -0
  782. package/plugins/lisa-wiki-cursor/commands/migrate.md +6 -0
  783. package/plugins/lisa-wiki-cursor/commands/onboard-me.md +6 -0
  784. package/plugins/lisa-wiki-cursor/commands/query.md +6 -0
  785. package/plugins/lisa-wiki-cursor/commands/setup/wiki.md +6 -0
  786. package/plugins/lisa-wiki-cursor/commands/setup-automations.md +6 -0
  787. package/plugins/lisa-wiki-cursor/commands/setup.md +6 -0
  788. package/plugins/lisa-wiki-cursor/commands/status.md +6 -0
  789. package/plugins/lisa-wiki-cursor/commands/tear-down-automations.md +6 -0
  790. package/plugins/lisa-wiki-cursor/schema/lisa-wiki-config.schema.json +118 -0
  791. package/plugins/lisa-wiki-cursor/schema/wiki-structure.schema.json +51 -0
  792. package/plugins/lisa-wiki-cursor/scripts/_wiki-lib.mjs +185 -0
  793. package/plugins/lisa-wiki-cursor/scripts/diff-guard.mjs +116 -0
  794. package/plugins/lisa-wiki-cursor/scripts/ensure-gitignore.mjs +131 -0
  795. package/plugins/lisa-wiki-cursor/scripts/ingest-git.mjs +189 -0
  796. package/plugins/lisa-wiki-cursor/scripts/ingest-memory.mjs +130 -0
  797. package/plugins/lisa-wiki-cursor/scripts/ingest-roles.mjs +85 -0
  798. package/plugins/lisa-wiki-cursor/scripts/ingest_slack_channel.py +329 -0
  799. package/plugins/lisa-wiki-cursor/scripts/lint-wiki.mjs +324 -0
  800. package/plugins/lisa-wiki-cursor/scripts/mcp-doctor.mjs +72 -0
  801. package/plugins/lisa-wiki-cursor/scripts/render-contract.mjs +107 -0
  802. package/plugins/lisa-wiki-cursor/scripts/rewrite-refs.mjs +144 -0
  803. package/plugins/lisa-wiki-cursor/scripts/slack_oauth_user.py +179 -0
  804. package/plugins/lisa-wiki-cursor/scripts/validate-config.mjs +232 -0
  805. package/plugins/lisa-wiki-cursor/scripts/verify-migration.mjs +199 -0
  806. package/plugins/lisa-wiki-cursor/scripts/wiki-status.mjs +345 -0
  807. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-add-ingest/SKILL.md +34 -0
  808. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-add-role/SKILL.md +30 -0
  809. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-confluence/SKILL.md +25 -0
  810. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-docs/SKILL.md +30 -0
  811. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-git/SKILL.md +25 -0
  812. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-jira/SKILL.md +28 -0
  813. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-memory/SKILL.md +28 -0
  814. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-notion/SKILL.md +25 -0
  815. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-roles/SKILL.md +22 -0
  816. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-slack/SKILL.md +30 -0
  817. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-web/SKILL.md +23 -0
  818. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-doctor/SKILL.md +47 -0
  819. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-ingest/SKILL.md +72 -0
  820. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-lint/SKILL.md +32 -0
  821. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-migrate/SKILL.md +43 -0
  822. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-onboard-me/SKILL.md +33 -0
  823. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-query/SKILL.md +30 -0
  824. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-setup/SKILL.md +75 -0
  825. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-setup-automations/SKILL.md +80 -0
  826. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-status/SKILL.md +47 -0
  827. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-tear-down-automations/SKILL.md +34 -0
  828. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-usage/SKILL.md +50 -0
  829. package/plugins/lisa-wiki-cursor/templates/agents/role-agent.claude.md +16 -0
  830. package/plugins/lisa-wiki-cursor/templates/agents/role-agent.codex.toml +15 -0
  831. package/plugins/lisa-wiki-cursor/templates/index.md +17 -0
  832. package/plugins/lisa-wiki-cursor/templates/llm-wiki-contract.md +72 -0
  833. package/plugins/lisa-wiki-cursor/templates/log.md +8 -0
  834. package/plugins/lisa-wiki-cursor/templates/page-types/architecture.md +18 -0
  835. package/plugins/lisa-wiki-cursor/templates/page-types/concept.md +18 -0
  836. package/plugins/lisa-wiki-cursor/templates/page-types/decision.md +18 -0
  837. package/plugins/lisa-wiki-cursor/templates/page-types/entity.md +19 -0
  838. package/plugins/lisa-wiki-cursor/templates/page-types/open-question.md +18 -0
  839. package/plugins/lisa-wiki-cursor/templates/page-types/playbook.md +18 -0
  840. package/plugins/lisa-wiki-cursor/templates/page-types/project.md +19 -0
  841. package/plugins/lisa-wiki-cursor/templates/page-types/requirement.md +19 -0
  842. package/plugins/lisa-wiki-cursor/templates/page-types/staff.md +26 -0
  843. package/plugins/lisa-wiki-cursor/templates/start-here.md +24 -0
  844. package/plugins/lisa-wiki-cursor/templates/state-readme.md +20 -0
  845. package/plugins/lisa-wiki-cursor/templates/wrapper-gitignore.txt +19 -0
  846. package/scripts/build-plugins.sh +28 -11
@@ -0,0 +1,130 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * ingest-memory.mjs — PROJECT-SCOPED memory connector. Dependency-free.
4
+ *
5
+ * Ingests ONLY a project's own persisted memory into a sanitized source note.
6
+ * NEVER ingests global/unrelated memory: global Codex memory (~/.codex/memories) and
7
+ * the Codex Chronicle store are hard-refused. Claude per-project memory is inherently
8
+ * project-scoped; Codex memory is accepted only via an explicit project-scoped path
9
+ * (e.g. a per-project CODEX_HOME). Emits a proposed cursor; the kernel advances state.
10
+ *
11
+ * Usage:
12
+ * node ingest-memory.mjs --memory-dir <dir> [--config <p>] [--source-dir <dir>]
13
+ * [--state <file>] [--emit-meta <file>]
14
+ */
15
+ import fs from "node:fs";
16
+ import path from "node:path";
17
+ import os from "node:os";
18
+ import { loadConfig, walkFiles, SECRET_PATTERNS } from "./_wiki-lib.mjs";
19
+
20
+ const argv = process.argv.slice(2);
21
+ const opt = (n, d) => {
22
+ const i = argv.indexOf(n);
23
+ return i !== -1 ? argv[i + 1] : d;
24
+ };
25
+ const memoryDir = opt("--memory-dir");
26
+ const sourceDir = path.resolve(opt("--source-dir", "wiki/sources/memory"));
27
+ const emitMeta = opt("--emit-meta");
28
+
29
+ const fail = m => {
30
+ console.error(`✗ ${m}`);
31
+ process.exit(1);
32
+ };
33
+ if (!memoryDir)
34
+ fail("--memory-dir is required (the PROJECT-SCOPED memory directory)");
35
+ const resolvedMem = path.resolve(memoryDir);
36
+
37
+ // Hard refusal of global / unrelated memory stores.
38
+ const globalCodex = path.resolve(os.homedir(), ".codex", "memories");
39
+ const chronicle = path.resolve(os.homedir(), ".codex", "memories_extensions");
40
+ if (
41
+ resolvedMem === globalCodex ||
42
+ resolvedMem.startsWith(globalCodex + path.sep) ||
43
+ resolvedMem.startsWith(chronicle + path.sep)
44
+ ) {
45
+ fail(
46
+ `refusing global Codex memory (${resolvedMem}). Memory ingestion is project-scoped only — never global/unrelated.`
47
+ );
48
+ }
49
+ if (!fs.existsSync(resolvedMem)) fail(`memory dir not found: ${resolvedMem}`);
50
+
51
+ // Prove the directory is PROJECT-scoped (don't just trust the caller): accept only the
52
+ // Claude per-project memory dir for THIS repo, a per-project CODEX_HOME memories dir, or a
53
+ // config-declared allowlist. Otherwise refuse — it could be another project's memory.
54
+ const repo = path.resolve(opt("--repo", "."));
55
+ const { config } = loadConfig(opt("--config"));
56
+ const allowedRoots = (config?.memory?.allowedRoots ?? []).map(p =>
57
+ path.resolve(p)
58
+ );
59
+ const claudeMem = path.resolve(
60
+ os.homedir(),
61
+ ".claude",
62
+ "projects",
63
+ repo.split(path.sep).join("-"),
64
+ "memory"
65
+ );
66
+ const codexHome = process.env.CODEX_HOME
67
+ ? path.resolve(process.env.CODEX_HOME)
68
+ : null;
69
+ const projectCodexMem =
70
+ codexHome && codexHome !== path.resolve(os.homedir(), ".codex")
71
+ ? path.join(codexHome, "memories")
72
+ : null;
73
+ const under = root =>
74
+ Boolean(root) &&
75
+ (resolvedMem === root || resolvedMem.startsWith(root + path.sep));
76
+ if (!(under(claudeMem) || under(projectCodexMem) || allowedRoots.some(under))) {
77
+ fail(
78
+ `--memory-dir is not provably project-scoped for repo ${repo}. Expected the Claude per-project dir (${claudeMem}), a per-project CODEX_HOME memories dir, or config.memory.allowedRoots. Refusing possibly-unrelated memory.`
79
+ );
80
+ }
81
+
82
+ const redact = t =>
83
+ SECRET_PATTERNS.reduce(
84
+ (acc, { re }) => acc.replace(new RegExp(re, "g"), "[REDACTED]"),
85
+ t
86
+ );
87
+ const mdFiles = walkFiles(resolvedMem, { ext: ".md" });
88
+ const date = new Date().toISOString().slice(0, 10);
89
+ const entries = mdFiles.map(f => {
90
+ const body = redact(fs.readFileSync(f, "utf8")).trim();
91
+ return `### ${path.basename(f)}\n\n${body}`;
92
+ });
93
+
94
+ const notePath = path.join(sourceDir, `${date}-memory.md`);
95
+ const note = `---
96
+ type: source
97
+ created: ${date}
98
+ updated: ${date}
99
+ related: []
100
+ sources: []
101
+ source_system: memory
102
+ sensitivity: internal
103
+ ---
104
+
105
+ # project-scoped memory (${date})
106
+
107
+ - Source: \`${resolvedMem}\` (project-scoped; global/Chronicle memory is never ingested)
108
+ - Files: ${mdFiles.length}
109
+
110
+ ${entries.join("\n\n") || "_(no memory files)_"}
111
+ `;
112
+
113
+ fs.mkdirSync(sourceDir, { recursive: true });
114
+ fs.writeFileSync(notePath, note);
115
+
116
+ const meta = {
117
+ connector: "memory",
118
+ profile: "project",
119
+ ranAt: new Date().toISOString(),
120
+ proposedCursor: { files: mdFiles.length, lastIngest: date },
121
+ sourceNotes: [path.relative(process.cwd(), notePath)],
122
+ };
123
+ if (emitMeta) {
124
+ fs.mkdirSync(path.dirname(emitMeta), { recursive: true });
125
+ fs.writeFileSync(emitMeta, `${JSON.stringify(meta, null, 2)}\n`);
126
+ }
127
+
128
+ console.log(
129
+ `✓ memory connector: ${mdFiles.length} file(s) → ${path.relative(process.cwd(), notePath)}`
130
+ );
@@ -0,0 +1,85 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * ingest-roles.mjs — roles connector. Dependency-free. Ingests the wiki's own staff
4
+ * roster (config.staff[] + wiki/staff/*.md) into a sanitized source note. Emits a
5
+ * proposed cursor; the kernel advances state. Does NOT run any subagent.
6
+ *
7
+ * Usage:
8
+ * node ingest-roles.mjs [--config <p>] [--wiki <root>] [--source-dir <dir>]
9
+ * [--state <file>] [--emit-meta <file>]
10
+ */
11
+ import fs from "node:fs";
12
+ import path from "node:path";
13
+ import { loadConfig, walkFiles } from "./_wiki-lib.mjs";
14
+
15
+ const argv = process.argv.slice(2);
16
+ const opt = (n, d) => {
17
+ const i = argv.indexOf(n);
18
+ return i !== -1 ? argv[i + 1] : d;
19
+ };
20
+ const { config } = loadConfig(opt("--config"));
21
+ const wikiRoot = path.resolve(opt("--wiki", config?.wikiRoot ?? "wiki"));
22
+ const sourceDir = path.resolve(
23
+ opt("--source-dir", path.join(wikiRoot, "sources", "roles"))
24
+ );
25
+ const emitMeta = opt("--emit-meta");
26
+
27
+ const staff = Array.isArray(config?.staff) ? config.staff : [];
28
+ const staffDir = path.join(wikiRoot, "staff");
29
+ const staffPages = fs.existsSync(staffDir)
30
+ ? walkFiles(staffDir, { ext: ".md" })
31
+ : [];
32
+ const date = new Date().toISOString().slice(0, 10);
33
+
34
+ const rosterRows = staff.length
35
+ ? staff
36
+ .map(
37
+ s =>
38
+ `- **${s.role}** (\`${s.id}\`)${s.expertise ? ` — ${s.expertise}` : ""}${s.owns?.categories ? ` · owns: ${s.owns.categories.join(", ")}` : ""}`
39
+ )
40
+ .join("\n")
41
+ : "_(no roles declared in config.staff[])_";
42
+
43
+ const notePath = path.join(sourceDir, `${date}-roles.md`);
44
+ const note = `---
45
+ type: source
46
+ created: ${date}
47
+ updated: ${date}
48
+ related: []
49
+ sources: []
50
+ source_system: roles
51
+ ---
52
+
53
+ # digital staff roster (${date})
54
+
55
+ Declared roles: ${staff.length}; staff doc pages: ${staffPages.length}.
56
+
57
+ ## Roles
58
+ ${rosterRows}
59
+
60
+ ## Staff pages
61
+ ${staffPages.length ? staffPages.map(p => `- \`${path.relative(wikiRoot, p)}\``).join("\n") : "_(none)_"}
62
+ `;
63
+
64
+ fs.mkdirSync(sourceDir, { recursive: true });
65
+ fs.writeFileSync(notePath, note);
66
+
67
+ const meta = {
68
+ connector: "roles",
69
+ profile: "project",
70
+ ranAt: new Date().toISOString(),
71
+ proposedCursor: {
72
+ roles: staff.length,
73
+ pages: staffPages.length,
74
+ lastIngest: date,
75
+ },
76
+ sourceNotes: [path.relative(process.cwd(), notePath)],
77
+ };
78
+ if (emitMeta) {
79
+ fs.mkdirSync(path.dirname(emitMeta), { recursive: true });
80
+ fs.writeFileSync(emitMeta, `${JSON.stringify(meta, null, 2)}\n`);
81
+ }
82
+
83
+ console.log(
84
+ `✓ roles connector: ${staff.length} role(s), ${staffPages.length} page(s) → ${path.relative(process.cwd(), notePath)}`
85
+ );
@@ -0,0 +1,329 @@
1
+ #!/usr/bin/env python3
2
+ """Ingest a Slack channel with a Slack user token.
3
+
4
+ The script writes normalized source notes under wiki/sources/slack/ and keeps a
5
+ per-channel cursor under wiki/state/slack/. It uses a user token (`xoxp-...`) so
6
+ access follows the authorizing user's Slack visibility.
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ import argparse
12
+ import datetime as dt
13
+ import json
14
+ import os
15
+ import re
16
+ import time
17
+ import urllib.error
18
+ import urllib.parse
19
+ import urllib.request
20
+ from pathlib import Path
21
+ from typing import Any
22
+
23
+
24
+ TOKEN_PATTERNS = [
25
+ re.compile(r"xox[pbar]-[A-Za-z0-9-]+"),
26
+ re.compile(r"(?i)bearer\s+[A-Za-z0-9._~+/=-]{20,}"),
27
+ re.compile(r"AKIA[0-9A-Z]{16}"),
28
+ re.compile(r"-----BEGIN [A-Z ]*PRIVATE KEY-----.*?-----END [A-Z ]*PRIVATE KEY-----", re.S),
29
+ ]
30
+
31
+
32
+ def utc_now() -> dt.datetime:
33
+ return dt.datetime.now(dt.UTC).replace(microsecond=0)
34
+
35
+
36
+ def iso_from_ts(ts: str) -> str:
37
+ seconds = float(ts)
38
+ return dt.datetime.fromtimestamp(seconds, dt.UTC).replace(microsecond=0).isoformat().replace("+00:00", "Z")
39
+
40
+
41
+ def ts_from_input(value: str | None) -> str | None:
42
+ if not value:
43
+ return None
44
+ if re.fullmatch(r"\d+(?:\.\d+)?", value):
45
+ return value
46
+ parsed = dt.datetime.fromisoformat(value.replace("Z", "+00:00"))
47
+ return f"{parsed.timestamp():.6f}"
48
+
49
+
50
+ def redact(text: str) -> str:
51
+ out = text
52
+ for pattern in TOKEN_PATTERNS:
53
+ out = pattern.sub("[REDACTED]", out)
54
+ return out
55
+
56
+
57
+ def load_token(args: argparse.Namespace) -> str:
58
+ if args.token:
59
+ return args.token
60
+ if args.token_file:
61
+ payload = json.loads(Path(args.token_file).read_text(encoding="utf-8"))
62
+ token = payload.get("access_token") or (payload.get("authed_user") or {}).get("access_token")
63
+ if token:
64
+ return token
65
+ env_token = os.environ.get("SLACK_USER_TOKEN")
66
+ if env_token:
67
+ return env_token
68
+ raise SystemExit("Provide --token, --token-file, or SLACK_USER_TOKEN.")
69
+
70
+
71
+ class SlackClient:
72
+ def __init__(self, token: str) -> None:
73
+ self.token = token
74
+
75
+ def call(self, method: str, params: dict[str, Any] | None = None, retries: int = 5) -> dict[str, Any]:
76
+ params = params or {}
77
+ body = urllib.parse.urlencode({k: v for k, v in params.items() if v is not None}).encode("utf-8")
78
+ request = urllib.request.Request(
79
+ f"https://slack.com/api/{method}",
80
+ data=body,
81
+ headers={
82
+ "Authorization": f"Bearer {self.token}",
83
+ "Content-Type": "application/x-www-form-urlencoded",
84
+ "Accept": "application/json",
85
+ },
86
+ method="POST",
87
+ )
88
+ try:
89
+ with urllib.request.urlopen(request, timeout=60) as response:
90
+ payload = json.loads(response.read().decode("utf-8"))
91
+ except urllib.error.HTTPError as error:
92
+ if error.code == 429 and retries > 0:
93
+ retry_after = int(error.headers.get("Retry-After", "60"))
94
+ time.sleep(retry_after)
95
+ return self.call(method, params, retries - 1)
96
+ raise
97
+ if not payload.get("ok"):
98
+ raise RuntimeError(f"Slack API {method} failed: {payload}")
99
+ return payload
100
+
101
+
102
+ def resolve_channel(client: SlackClient, channel: str) -> dict[str, Any]:
103
+ if re.fullmatch(r"[CGD][A-Z0-9]+", channel):
104
+ info = client.call("conversations.info", {"channel": channel})
105
+ return info["channel"]
106
+
107
+ wanted = channel.lstrip("#")
108
+ cursor = None
109
+ while True:
110
+ payload = client.call(
111
+ "conversations.list",
112
+ {
113
+ "types": "public_channel,private_channel",
114
+ "exclude_archived": "false",
115
+ "limit": 1000,
116
+ "cursor": cursor,
117
+ },
118
+ )
119
+ for item in payload.get("channels", []):
120
+ if item.get("name") == wanted:
121
+ return item
122
+ cursor = (payload.get("response_metadata") or {}).get("next_cursor")
123
+ if not cursor:
124
+ break
125
+ raise SystemExit(f"Could not resolve Slack channel {channel!r}.")
126
+
127
+
128
+ def fetch_history(
129
+ client: SlackClient,
130
+ channel_id: str,
131
+ oldest: str | None,
132
+ latest: str | None,
133
+ page_limit: int | None,
134
+ limit: int,
135
+ ) -> list[dict[str, Any]]:
136
+ messages: list[dict[str, Any]] = []
137
+ cursor = None
138
+ pages = 0
139
+ while True:
140
+ payload = client.call(
141
+ "conversations.history",
142
+ {
143
+ "channel": channel_id,
144
+ "oldest": oldest,
145
+ "latest": latest,
146
+ "inclusive": "false",
147
+ "limit": limit,
148
+ "cursor": cursor,
149
+ },
150
+ )
151
+ messages.extend(payload.get("messages", []))
152
+ pages += 1
153
+ cursor = (payload.get("response_metadata") or {}).get("next_cursor")
154
+ if not cursor or (page_limit and pages >= page_limit):
155
+ break
156
+ return sorted(messages, key=lambda item: float(item.get("ts", "0")))
157
+
158
+
159
+ def fetch_replies(client: SlackClient, channel_id: str, thread_ts: str) -> list[dict[str, Any]]:
160
+ replies: list[dict[str, Any]] = []
161
+ cursor = None
162
+ while True:
163
+ payload = client.call(
164
+ "conversations.replies",
165
+ {"channel": channel_id, "ts": thread_ts, "limit": 1000, "cursor": cursor},
166
+ )
167
+ replies.extend(payload.get("messages", []))
168
+ cursor = (payload.get("response_metadata") or {}).get("next_cursor")
169
+ if not cursor:
170
+ break
171
+ return [reply for reply in replies if reply.get("ts") != thread_ts]
172
+
173
+
174
+ def render_message(message: dict[str, Any], user_map: dict[str, str] | None = None) -> list[str]:
175
+ ts = message.get("ts", "")
176
+ user = message.get("user") or message.get("bot_id") or message.get("username") or "unknown"
177
+ if user_map and user in user_map:
178
+ user = f"{user_map[user]} ({user})"
179
+ lines = [f"### {iso_from_ts(ts)} - {user}", "", f"- ts: `{ts}`"]
180
+ if message.get("thread_ts") and message.get("thread_ts") != ts:
181
+ lines.append(f"- thread_ts: `{message['thread_ts']}`")
182
+ if message.get("permalink"):
183
+ lines.append(f"- permalink: {message['permalink']}")
184
+ text = redact(message.get("text") or "")
185
+ lines.extend(["", "```text", text, "```", ""])
186
+ return lines
187
+
188
+
189
+ def main() -> int:
190
+ parser = argparse.ArgumentParser(description=__doc__)
191
+ parser.add_argument("--channel", required=True, help="Channel ID or #channel-name.")
192
+ parser.add_argument("--token", help="Slack user token. Prefer SLACK_USER_TOKEN or --token-file.")
193
+ parser.add_argument("--token-file", help="JSON file from scripts/slack_oauth_user.py.")
194
+ parser.add_argument("--oldest", help="Slack ts or ISO timestamp. Defaults to previous state with overlap.")
195
+ parser.add_argument("--latest", help="Slack ts or ISO timestamp.")
196
+ parser.add_argument("--limit", type=int, default=200, help="Slack page size.")
197
+ parser.add_argument("--page-limit", type=int, help="Stop after this many history pages.")
198
+ parser.add_argument("--no-threads", action="store_true", help="Skip thread replies.")
199
+ parser.add_argument("--thread-lookback-days", type=int, default=14)
200
+ parser.add_argument("--source-dir", default="wiki/sources/slack")
201
+ parser.add_argument("--state-dir", default="wiki/state/slack",
202
+ help="Read-only: prior cursor is read here for windowing. Final state is advanced by the kernel.")
203
+ parser.add_argument("--config", help="Path to wiki/lisa-wiki.config.json for the Slack tenant guard.")
204
+ parser.add_argument("--emit-meta", help="Write the PROPOSED cursor here; the kernel advances final state after verification.")
205
+ parser.add_argument("--title", help="Optional source-note title.")
206
+ args = parser.parse_args()
207
+
208
+ token = load_token(args)
209
+ client = SlackClient(token)
210
+
211
+ # Tenant guard: verify the authorized Slack workspace matches config before ingesting.
212
+ # (external-write does not exempt tenant guards.)
213
+ if args.config:
214
+ try:
215
+ cfg = json.loads(Path(args.config).read_text(encoding="utf-8"))
216
+ except Exception:
217
+ cfg = {}
218
+ guard = (((cfg.get("connectors") or {}).get("slack") or {}).get("tenantGuard")) or {}
219
+ if guard:
220
+ ident = client.call("auth.test")
221
+ want_team = guard.get("teamId") or guard.get("team_id")
222
+ want_url = guard.get("url")
223
+ if want_team and ident.get("team_id") != want_team:
224
+ raise SystemExit(f"Slack tenant guard: team_id {ident.get('team_id')!r} != configured {want_team!r}; aborting.")
225
+ if want_url and want_url not in (ident.get("url") or ""):
226
+ raise SystemExit(f"Slack tenant guard: workspace url {ident.get('url')!r} != configured {want_url!r}; aborting.")
227
+
228
+ channel = resolve_channel(client, args.channel)
229
+ channel_id = channel["id"]
230
+ channel_name = channel.get("name") or channel_id
231
+
232
+ state_dir = Path(args.state_dir)
233
+ state_dir.mkdir(parents=True, exist_ok=True)
234
+ state_path = state_dir / f"{channel_id}.json"
235
+ previous_state = json.loads(state_path.read_text(encoding="utf-8")) if state_path.exists() else {}
236
+
237
+ oldest = ts_from_input(args.oldest)
238
+ if oldest is None and previous_state.get("latest_message_ts"):
239
+ overlap_seconds = args.thread_lookback_days * 24 * 60 * 60
240
+ oldest_float = max(0.0, float(previous_state["latest_message_ts"]) - overlap_seconds)
241
+ oldest = f"{oldest_float:.6f}"
242
+ latest = ts_from_input(args.latest)
243
+
244
+ messages = fetch_history(client, channel_id, oldest, latest, args.page_limit, args.limit)
245
+ reply_count = 0
246
+ if not args.no_threads:
247
+ for message in messages:
248
+ if message.get("reply_count") and message.get("thread_ts", message.get("ts")) == message.get("ts"):
249
+ replies = fetch_replies(client, channel_id, message["ts"])
250
+ message["ingested_replies"] = sorted(replies, key=lambda item: float(item.get("ts", "0")))
251
+ reply_count += len(replies)
252
+
253
+ now = utc_now()
254
+ stamp = now.strftime("%Y-%m-%d-%H%M%S")
255
+ source_dir = Path(args.source_dir)
256
+ source_dir.mkdir(parents=True, exist_ok=True)
257
+ safe_name = re.sub(r"[^A-Za-z0-9_.-]+", "-", channel_name).strip("-") or channel_id
258
+ source_path = source_dir / f"{stamp}-{safe_name}-{channel_id}.md"
259
+ title = args.title or f"Slack Channel Ingest - #{channel_name}"
260
+
261
+ lines = [
262
+ "---",
263
+ "type: source",
264
+ f"created: {now.date()}",
265
+ f"updated: {now.date()}",
266
+ "source_system: slack",
267
+ f"channel_id: {channel_id}",
268
+ f"channel_name: {channel_name}",
269
+ "sources: []",
270
+ "---",
271
+ "",
272
+ f"# {title}",
273
+ "",
274
+ f"- Ingested at: `{now.isoformat().replace('+00:00', 'Z')}`",
275
+ f"- Channel: `#{channel_name}` (`{channel_id}`)",
276
+ f"- Oldest cursor: `{oldest or '0'}`",
277
+ f"- Latest cursor: `{latest or 'now'}`",
278
+ f"- Messages: `{len(messages)}`",
279
+ f"- Thread replies: `{reply_count}`",
280
+ "",
281
+ "## Messages",
282
+ "",
283
+ ]
284
+ for message in messages:
285
+ lines.extend(render_message(message))
286
+ replies = message.get("ingested_replies") or []
287
+ if replies:
288
+ lines.extend(["#### Thread Replies", ""])
289
+ for reply in replies:
290
+ lines.extend(render_message(reply))
291
+
292
+ source_path.write_text("\n".join(lines), encoding="utf-8")
293
+
294
+ latest_ts = previous_state.get("latest_message_ts")
295
+ if messages:
296
+ latest_ts = max([message["ts"] for message in messages] + ([latest_ts] if latest_ts else []), key=float)
297
+
298
+ notes = previous_state.get("source_notes") or []
299
+ source_note = str(source_path)
300
+ if source_note not in notes:
301
+ notes.append(source_note)
302
+
303
+ # Per the connector contract, the connector does NOT advance final state — it emits a
304
+ # PROPOSED cursor and the kernel writes wiki/state/slack/<channel>.json after verification.
305
+ proposed_cursor = {
306
+ "connector": "slack",
307
+ "channel_id": channel_id,
308
+ "channel_name": channel_name,
309
+ "ran_at": now.isoformat().replace("+00:00", "Z"),
310
+ "latest_message_ts": latest_ts,
311
+ "latest_message_at": iso_from_ts(latest_ts) if latest_ts else None,
312
+ "last_message_count": len(messages),
313
+ "last_thread_reply_count": reply_count,
314
+ "source_notes": notes,
315
+ }
316
+
317
+ print(f"Wrote {source_path}")
318
+ if args.emit_meta:
319
+ meta_path = Path(args.emit_meta)
320
+ meta_path.parent.mkdir(parents=True, exist_ok=True)
321
+ meta_path.write_text(json.dumps({"proposedCursor": proposed_cursor}, indent=2) + "\n", encoding="utf-8")
322
+ print(f"Emitted proposed cursor {meta_path} (kernel advances final state after verification)")
323
+ else:
324
+ print("No --emit-meta given; proposed cursor not persisted (final state is advanced by the kernel).")
325
+ return 0
326
+
327
+
328
+ if __name__ == "__main__":
329
+ raise SystemExit(main())