@codyswann/lisa 5.13.0 → 5.14.1

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 (306) hide show
  1. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  2. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  3. package/dist/core/upstream-evidence-manifest.js +22 -150
  4. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  5. package/dist/strategies/merge.d.ts +1 -1
  6. package/dist/strategies/merge.d.ts.map +1 -1
  7. package/dist/strategies/merge.js +18 -8
  8. package/dist/strategies/merge.js.map +1 -1
  9. package/package.json +4 -4
  10. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  11. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  12. package/plugins/lisa/.codex-plugin/skills/lisa-jira-evidence/SKILL.md +10 -4
  13. package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/SKILL.md +2 -2
  14. package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
  15. package/plugins/lisa/.codex-plugin/skills/lisa-monitor/SKILL.md +1 -1
  16. package/plugins/lisa/.codex-plugin/skills/lisa-posthog-access/SKILL.md +2 -0
  17. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
  18. package/plugins/lisa/.codex-plugin/skills/lisa-setup-remote-env/SKILL.md +2 -0
  19. package/plugins/lisa/.codex-plugin/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
  20. package/plugins/lisa/hooks/inject-resolved-config.mjs +1 -0
  21. package/plugins/lisa/rules/reference/config-resolution.md +28 -0
  22. package/plugins/lisa/skills/lisa-jira-evidence/SKILL.md +10 -4
  23. package/plugins/lisa/skills/lisa-jira-journey/SKILL.md +2 -2
  24. package/plugins/lisa/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
  25. package/plugins/lisa/skills/lisa-monitor/SKILL.md +1 -1
  26. package/plugins/lisa/skills/lisa-posthog-access/SKILL.md +2 -0
  27. package/plugins/lisa/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
  28. package/plugins/lisa/skills/lisa-setup-remote-env/SKILL.md +2 -0
  29. package/plugins/lisa/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
  30. package/plugins/lisa-agy/plugin.json +1 -1
  31. package/plugins/lisa-agy/skills/lisa-jira-evidence/SKILL.md +10 -4
  32. package/plugins/lisa-agy/skills/lisa-jira-journey/SKILL.md +2 -2
  33. package/plugins/lisa-agy/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
  34. package/plugins/lisa-agy/skills/lisa-monitor/SKILL.md +1 -1
  35. package/plugins/lisa-agy/skills/lisa-posthog-access/SKILL.md +2 -0
  36. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
  37. package/plugins/lisa-agy/skills/lisa-setup-remote-env/SKILL.md +2 -0
  38. package/plugins/lisa-agy/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
  39. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  40. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  41. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  42. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  45. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  46. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-copilot/hooks/inject-resolved-config.mjs +1 -0
  48. package/plugins/lisa-copilot/rules/reference/config-resolution.md +28 -0
  49. package/plugins/lisa-copilot/skills/lisa-jira-evidence/SKILL.md +10 -4
  50. package/plugins/lisa-copilot/skills/lisa-jira-journey/SKILL.md +2 -2
  51. package/plugins/lisa-copilot/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
  52. package/plugins/lisa-copilot/skills/lisa-monitor/SKILL.md +1 -1
  53. package/plugins/lisa-copilot/skills/lisa-posthog-access/SKILL.md +2 -0
  54. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
  55. package/plugins/lisa-copilot/skills/lisa-setup-remote-env/SKILL.md +2 -0
  56. package/plugins/lisa-copilot/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
  57. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-cursor/hooks/inject-resolved-config.mjs +1 -0
  59. package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +28 -0
  60. package/plugins/lisa-cursor/skills/lisa-jira-evidence/SKILL.md +10 -4
  61. package/plugins/lisa-cursor/skills/lisa-jira-journey/SKILL.md +2 -2
  62. package/plugins/lisa-cursor/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
  63. package/plugins/lisa-cursor/skills/lisa-monitor/SKILL.md +1 -1
  64. package/plugins/lisa-cursor/skills/lisa-posthog-access/SKILL.md +2 -0
  65. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
  66. package/plugins/lisa-cursor/skills/lisa-setup-remote-env/SKILL.md +2 -0
  67. package/plugins/lisa-cursor/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
  68. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  70. package/plugins/lisa-devin/hooks/inject-resolved-config.mjs +1 -0
  71. package/plugins/lisa-devin/rules/reference/config-resolution.md +28 -0
  72. package/plugins/lisa-devin/skills/lisa-jira-evidence/SKILL.md +10 -4
  73. package/plugins/lisa-devin/skills/lisa-jira-journey/SKILL.md +2 -2
  74. package/plugins/lisa-devin/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
  75. package/plugins/lisa-devin/skills/lisa-monitor/SKILL.md +1 -1
  76. package/plugins/lisa-devin/skills/lisa-posthog-access/SKILL.md +2 -0
  77. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
  78. package/plugins/lisa-devin/skills/lisa-setup-remote-env/SKILL.md +2 -0
  79. package/plugins/lisa-devin/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
  80. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  81. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  82. package/plugins/lisa-expo/.codex-plugin/skills/journey-guidance/SKILL.md +9 -4
  83. package/plugins/lisa-expo/.codex-plugin/skills/ops-check-logs/SKILL.md +1 -1
  84. package/plugins/lisa-expo/.codex-plugin/skills/ops-deploy/SKILL.md +1 -1
  85. package/plugins/lisa-expo/.codex-plugin/skills/ops-monitor-errors/SKILL.md +16 -4
  86. package/plugins/lisa-expo/.codex-plugin/skills/ops-monitor-errors/agents/openai.yaml +2 -2
  87. package/plugins/lisa-expo/.codex-plugin/skills/play-store-access/SKILL.md +42 -7
  88. package/plugins/lisa-expo/agents/ops-specialist.md +3 -3
  89. package/plugins/lisa-expo/skills/journey-guidance/SKILL.md +9 -4
  90. package/plugins/lisa-expo/skills/ops-check-logs/SKILL.md +1 -1
  91. package/plugins/lisa-expo/skills/ops-deploy/SKILL.md +1 -1
  92. package/plugins/lisa-expo/skills/ops-monitor-errors/SKILL.md +15 -3
  93. package/plugins/lisa-expo/skills/ops-monitor-errors/agents/openai.yaml +2 -2
  94. package/plugins/lisa-expo/skills/play-store-access/SKILL.md +42 -7
  95. package/plugins/lisa-expo-agy/agents/ops-specialist.md +3 -3
  96. package/plugins/lisa-expo-agy/plugin.json +1 -1
  97. package/plugins/lisa-expo-agy/skills/journey-guidance/SKILL.md +9 -4
  98. package/plugins/lisa-expo-agy/skills/ops-check-logs/SKILL.md +1 -1
  99. package/plugins/lisa-expo-agy/skills/ops-deploy/SKILL.md +1 -1
  100. package/plugins/lisa-expo-agy/skills/ops-monitor-errors/SKILL.md +15 -3
  101. package/plugins/lisa-expo-agy/skills/play-store-access/SKILL.md +42 -7
  102. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  103. package/plugins/lisa-expo-copilot/agents/ops-specialist.agent.md +3 -3
  104. package/plugins/lisa-expo-copilot/skills/journey-guidance/SKILL.md +9 -4
  105. package/plugins/lisa-expo-copilot/skills/ops-check-logs/SKILL.md +1 -1
  106. package/plugins/lisa-expo-copilot/skills/ops-deploy/SKILL.md +1 -1
  107. package/plugins/lisa-expo-copilot/skills/ops-monitor-errors/SKILL.md +15 -3
  108. package/plugins/lisa-expo-copilot/skills/play-store-access/SKILL.md +42 -7
  109. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  110. package/plugins/lisa-expo-cursor/agents/ops-specialist.md +3 -3
  111. package/plugins/lisa-expo-cursor/skills/journey-guidance/SKILL.md +9 -4
  112. package/plugins/lisa-expo-cursor/skills/ops-check-logs/SKILL.md +1 -1
  113. package/plugins/lisa-expo-cursor/skills/ops-deploy/SKILL.md +1 -1
  114. package/plugins/lisa-expo-cursor/skills/ops-monitor-errors/SKILL.md +15 -3
  115. package/plugins/lisa-expo-cursor/skills/play-store-access/SKILL.md +42 -7
  116. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  117. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  118. package/plugins/lisa-expo-devin/agents/ops-specialist.md +3 -3
  119. package/plugins/lisa-expo-devin/skills/journey-guidance/SKILL.md +9 -4
  120. package/plugins/lisa-expo-devin/skills/ops-check-logs/SKILL.md +1 -1
  121. package/plugins/lisa-expo-devin/skills/ops-deploy/SKILL.md +1 -1
  122. package/plugins/lisa-expo-devin/skills/ops-monitor-errors/SKILL.md +15 -3
  123. package/plugins/lisa-expo-devin/skills/play-store-access/SKILL.md +42 -7
  124. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  125. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  126. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  127. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  128. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  129. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  130. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  131. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  132. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  133. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  134. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  135. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  136. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  137. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  138. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  139. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  140. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  141. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  142. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  143. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  144. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  145. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  146. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  147. package/plugins/lisa-rails/.codex-plugin/skills/journey-guidance/SKILL.md +3 -1
  148. package/plugins/lisa-rails/skills/journey-guidance/SKILL.md +3 -1
  149. package/plugins/lisa-rails-agy/plugin.json +1 -1
  150. package/plugins/lisa-rails-agy/skills/journey-guidance/SKILL.md +3 -1
  151. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  152. package/plugins/lisa-rails-copilot/skills/journey-guidance/SKILL.md +3 -1
  153. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  154. package/plugins/lisa-rails-cursor/skills/journey-guidance/SKILL.md +3 -1
  155. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  156. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  157. package/plugins/lisa-rails-devin/skills/journey-guidance/SKILL.md +3 -1
  158. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  159. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  160. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  161. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  162. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  163. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  164. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  165. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  166. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  167. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  168. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  169. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  170. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  171. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  172. package/plugins/src/base/hooks/inject-resolved-config.mjs +1 -0
  173. package/plugins/src/base/rules/reference/config-resolution.md +28 -0
  174. package/plugins/src/base/skills/lisa-jira-evidence/SKILL.md +10 -4
  175. package/plugins/src/base/skills/lisa-jira-journey/SKILL.md +2 -2
  176. package/plugins/src/base/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
  177. package/plugins/src/base/skills/lisa-monitor/SKILL.md +1 -1
  178. package/plugins/src/base/skills/lisa-posthog-access/SKILL.md +2 -0
  179. package/plugins/src/base/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
  180. package/plugins/src/base/skills/lisa-setup-remote-env/SKILL.md +2 -0
  181. package/plugins/src/base/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
  182. package/plugins/src/expo/agents/ops-specialist.md +3 -3
  183. package/plugins/src/expo/skills/journey-guidance/SKILL.md +9 -4
  184. package/plugins/src/expo/skills/ops-check-logs/SKILL.md +1 -1
  185. package/plugins/src/expo/skills/ops-deploy/SKILL.md +1 -1
  186. package/plugins/src/expo/skills/ops-monitor-errors/SKILL.md +15 -3
  187. package/plugins/src/expo/skills/play-store-access/SKILL.md +42 -7
  188. package/plugins/src/rails/skills/journey-guidance/SKILL.md +3 -1
  189. package/plugins/lisa-expo/.codex-plugin/skills/jira-add-journey/SKILL.md +0 -142
  190. package/plugins/lisa-expo/.codex-plugin/skills/jira-add-journey/agents/openai.yaml +0 -4
  191. package/plugins/lisa-expo/.codex-plugin/skills/jira-create/SKILL.md +0 -163
  192. package/plugins/lisa-expo/.codex-plugin/skills/jira-create/agents/openai.yaml +0 -4
  193. package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/SKILL.md +0 -112
  194. package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/agents/openai.yaml +0 -4
  195. package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  196. package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/SKILL.md +0 -209
  197. package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/agents/openai.yaml +0 -4
  198. package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/scripts/generate-templates.py +0 -323
  199. package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/scripts/parse-plan.py +0 -400
  200. package/plugins/lisa-expo/.codex-plugin/skills/jira-verify/SKILL.md +0 -29
  201. package/plugins/lisa-expo/.codex-plugin/skills/jira-verify/agents/openai.yaml +0 -4
  202. package/plugins/lisa-expo/skills/jira-add-journey/SKILL.md +0 -140
  203. package/plugins/lisa-expo/skills/jira-add-journey/agents/openai.yaml +0 -4
  204. package/plugins/lisa-expo/skills/jira-create/SKILL.md +0 -161
  205. package/plugins/lisa-expo/skills/jira-create/agents/openai.yaml +0 -4
  206. package/plugins/lisa-expo/skills/jira-evidence/SKILL.md +0 -110
  207. package/plugins/lisa-expo/skills/jira-evidence/agents/openai.yaml +0 -4
  208. package/plugins/lisa-expo/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  209. package/plugins/lisa-expo/skills/jira-journey/SKILL.md +0 -207
  210. package/plugins/lisa-expo/skills/jira-journey/agents/openai.yaml +0 -4
  211. package/plugins/lisa-expo/skills/jira-journey/scripts/generate-templates.py +0 -323
  212. package/plugins/lisa-expo/skills/jira-journey/scripts/parse-plan.py +0 -400
  213. package/plugins/lisa-expo/skills/jira-verify/SKILL.md +0 -27
  214. package/plugins/lisa-expo/skills/jira-verify/agents/openai.yaml +0 -4
  215. package/plugins/lisa-expo-agy/skills/jira-add-journey/SKILL.md +0 -140
  216. package/plugins/lisa-expo-agy/skills/jira-create/SKILL.md +0 -161
  217. package/plugins/lisa-expo-agy/skills/jira-evidence/SKILL.md +0 -110
  218. package/plugins/lisa-expo-agy/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  219. package/plugins/lisa-expo-agy/skills/jira-journey/SKILL.md +0 -207
  220. package/plugins/lisa-expo-agy/skills/jira-journey/scripts/generate-templates.py +0 -323
  221. package/plugins/lisa-expo-agy/skills/jira-journey/scripts/parse-plan.py +0 -400
  222. package/plugins/lisa-expo-agy/skills/jira-verify/SKILL.md +0 -27
  223. package/plugins/lisa-expo-copilot/skills/jira-add-journey/SKILL.md +0 -140
  224. package/plugins/lisa-expo-copilot/skills/jira-create/SKILL.md +0 -161
  225. package/plugins/lisa-expo-copilot/skills/jira-evidence/SKILL.md +0 -110
  226. package/plugins/lisa-expo-copilot/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  227. package/plugins/lisa-expo-copilot/skills/jira-journey/SKILL.md +0 -207
  228. package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/generate-templates.py +0 -323
  229. package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/parse-plan.py +0 -400
  230. package/plugins/lisa-expo-copilot/skills/jira-verify/SKILL.md +0 -27
  231. package/plugins/lisa-expo-cursor/skills/jira-add-journey/SKILL.md +0 -140
  232. package/plugins/lisa-expo-cursor/skills/jira-create/SKILL.md +0 -161
  233. package/plugins/lisa-expo-cursor/skills/jira-evidence/SKILL.md +0 -110
  234. package/plugins/lisa-expo-cursor/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  235. package/plugins/lisa-expo-cursor/skills/jira-journey/SKILL.md +0 -207
  236. package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/generate-templates.py +0 -323
  237. package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/parse-plan.py +0 -400
  238. package/plugins/lisa-expo-cursor/skills/jira-verify/SKILL.md +0 -27
  239. package/plugins/lisa-expo-devin/skills/jira-add-journey/SKILL.md +0 -140
  240. package/plugins/lisa-expo-devin/skills/jira-create/SKILL.md +0 -161
  241. package/plugins/lisa-expo-devin/skills/jira-evidence/SKILL.md +0 -110
  242. package/plugins/lisa-expo-devin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  243. package/plugins/lisa-expo-devin/skills/jira-journey/SKILL.md +0 -207
  244. package/plugins/lisa-expo-devin/skills/jira-journey/scripts/generate-templates.py +0 -323
  245. package/plugins/lisa-expo-devin/skills/jira-journey/scripts/parse-plan.py +0 -400
  246. package/plugins/lisa-expo-devin/skills/jira-verify/SKILL.md +0 -27
  247. package/plugins/lisa-rails/.codex-plugin/skills/jira-add-journey/SKILL.md +0 -81
  248. package/plugins/lisa-rails/.codex-plugin/skills/jira-add-journey/agents/openai.yaml +0 -4
  249. package/plugins/lisa-rails/.codex-plugin/skills/jira-create/SKILL.md +0 -102
  250. package/plugins/lisa-rails/.codex-plugin/skills/jira-create/agents/openai.yaml +0 -4
  251. package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/SKILL.md +0 -103
  252. package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/agents/openai.yaml +0 -4
  253. package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  254. package/plugins/lisa-rails/.codex-plugin/skills/jira-journey/SKILL.md +0 -67
  255. package/plugins/lisa-rails/.codex-plugin/skills/jira-journey/agents/openai.yaml +0 -4
  256. package/plugins/lisa-rails/.codex-plugin/skills/jira-verify/SKILL.md +0 -28
  257. package/plugins/lisa-rails/.codex-plugin/skills/jira-verify/agents/openai.yaml +0 -4
  258. package/plugins/lisa-rails/skills/jira-add-journey/SKILL.md +0 -79
  259. package/plugins/lisa-rails/skills/jira-add-journey/agents/openai.yaml +0 -4
  260. package/plugins/lisa-rails/skills/jira-create/SKILL.md +0 -100
  261. package/plugins/lisa-rails/skills/jira-create/agents/openai.yaml +0 -4
  262. package/plugins/lisa-rails/skills/jira-evidence/SKILL.md +0 -101
  263. package/plugins/lisa-rails/skills/jira-evidence/agents/openai.yaml +0 -4
  264. package/plugins/lisa-rails/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  265. package/plugins/lisa-rails/skills/jira-journey/SKILL.md +0 -65
  266. package/plugins/lisa-rails/skills/jira-journey/agents/openai.yaml +0 -4
  267. package/plugins/lisa-rails/skills/jira-verify/SKILL.md +0 -26
  268. package/plugins/lisa-rails/skills/jira-verify/agents/openai.yaml +0 -4
  269. package/plugins/lisa-rails-agy/skills/jira-add-journey/SKILL.md +0 -79
  270. package/plugins/lisa-rails-agy/skills/jira-create/SKILL.md +0 -100
  271. package/plugins/lisa-rails-agy/skills/jira-evidence/SKILL.md +0 -101
  272. package/plugins/lisa-rails-agy/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  273. package/plugins/lisa-rails-agy/skills/jira-journey/SKILL.md +0 -65
  274. package/plugins/lisa-rails-agy/skills/jira-verify/SKILL.md +0 -26
  275. package/plugins/lisa-rails-copilot/skills/jira-add-journey/SKILL.md +0 -79
  276. package/plugins/lisa-rails-copilot/skills/jira-create/SKILL.md +0 -100
  277. package/plugins/lisa-rails-copilot/skills/jira-evidence/SKILL.md +0 -101
  278. package/plugins/lisa-rails-copilot/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  279. package/plugins/lisa-rails-copilot/skills/jira-journey/SKILL.md +0 -65
  280. package/plugins/lisa-rails-copilot/skills/jira-verify/SKILL.md +0 -26
  281. package/plugins/lisa-rails-cursor/skills/jira-add-journey/SKILL.md +0 -79
  282. package/plugins/lisa-rails-cursor/skills/jira-create/SKILL.md +0 -100
  283. package/plugins/lisa-rails-cursor/skills/jira-evidence/SKILL.md +0 -101
  284. package/plugins/lisa-rails-cursor/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  285. package/plugins/lisa-rails-cursor/skills/jira-journey/SKILL.md +0 -65
  286. package/plugins/lisa-rails-cursor/skills/jira-verify/SKILL.md +0 -26
  287. package/plugins/lisa-rails-devin/skills/jira-add-journey/SKILL.md +0 -79
  288. package/plugins/lisa-rails-devin/skills/jira-create/SKILL.md +0 -100
  289. package/plugins/lisa-rails-devin/skills/jira-evidence/SKILL.md +0 -101
  290. package/plugins/lisa-rails-devin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  291. package/plugins/lisa-rails-devin/skills/jira-journey/SKILL.md +0 -65
  292. package/plugins/lisa-rails-devin/skills/jira-verify/SKILL.md +0 -26
  293. package/plugins/src/expo/skills/jira-add-journey/SKILL.md +0 -140
  294. package/plugins/src/expo/skills/jira-create/SKILL.md +0 -161
  295. package/plugins/src/expo/skills/jira-evidence/SKILL.md +0 -110
  296. package/plugins/src/expo/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  297. package/plugins/src/expo/skills/jira-journey/SKILL.md +0 -207
  298. package/plugins/src/expo/skills/jira-journey/scripts/generate-templates.py +0 -323
  299. package/plugins/src/expo/skills/jira-journey/scripts/parse-plan.py +0 -400
  300. package/plugins/src/expo/skills/jira-verify/SKILL.md +0 -27
  301. package/plugins/src/rails/skills/jira-add-journey/SKILL.md +0 -79
  302. package/plugins/src/rails/skills/jira-create/SKILL.md +0 -100
  303. package/plugins/src/rails/skills/jira-evidence/SKILL.md +0 -101
  304. package/plugins/src/rails/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  305. package/plugins/src/rails/skills/jira-journey/SKILL.md +0 -65
  306. package/plugins/src/rails/skills/jira-verify/SKILL.md +0 -26
@@ -1,142 +0,0 @@
1
- ---
2
- name: jira-add-journey
3
- description: "Add a Validation Journey…"
4
- ---
5
- Add a Validation Journey section to an existing JIRA ticket by reading the ticket description, understanding the feature, and generating the journey steps, viewports, and assertions.
6
-
7
-
8
- # Add Validation Journey to Existing JIRA Ticket
9
-
10
- Read an existing JIRA ticket, understand the feature or fix it describes, analyze the codebase to determine the user flow, and append a Validation Journey section to the ticket description.
11
-
12
- ## Arguments
13
-
14
- `$ARGUMENTS`: `<TICKET_ID>`
15
-
16
- - `TICKET_ID` (required): JIRA ticket key (e.g., `PROJ-123`)
17
-
18
- ## Prerequisites
19
-
20
- - `JIRA_API_TOKEN` environment variable set
21
- - `jira-cli` configured. Prefer the config Lisa writes at
22
- `.lisa/jira-cli/.config.yml` (the `setup-jira-cli` SessionStart hook writes it
23
- from `JIRA_SERVER` / `JIRA_LOGIN` / `JIRA_PROJECT` on a project whose
24
- `tracker` is `jira`), and pass it explicitly with `--config`. A developer's
25
- own `~/.config/.jira/.config.yml` still works as jira-cli's default when no
26
- `--config` is given.
27
-
28
- ## Workflow
29
-
30
- ### Step 1: Read the Ticket
31
-
32
- Use the Atlassian MCP or jira-cli to read the full ticket details:
33
-
34
- ```bash
35
- # Run from the project root. --config pins jira-cli to the file Lisa's
36
- # setup-jira-cli hook wrote, instead of the machine's own ~/.config/.jira.
37
- # jira-cli resolves --config > JIRA_CONFIG_FILE > ~/.config/.jira/.config.yml,
38
- # and a --config path that does not exist fails closed with "Missing
39
- # configuration file." rather than silently using the default.
40
- jira --config .lisa/jira-cli/.config.yml issue view <TICKET_ID>
41
- ```
42
-
43
- If `.lisa/jira-cli/.config.yml` does not exist, drop `--config` to fall back to
44
- the machine's own jira-cli config — but say so in your report rather than
45
- letting the Lisa-written config go quietly unused.
46
-
47
- Extract:
48
- - Title and description (what the feature/fix is)
49
- - Acceptance criteria (what needs to be verified)
50
- - Components or labels (frontend, mobile, responsive, etc.)
51
- - Any linked tickets or parent epic context
52
-
53
- ### Step 2: Check for Existing Journey
54
-
55
- Run the parser to see if a Validation Journey already exists:
56
-
57
- ```bash
58
- python3 .claude/skills/jira-journey/scripts/parse-plan.py <TICKET_ID> 2>&1
59
- ```
60
-
61
- If the parser succeeds and returns steps, the ticket already has a journey. Report this to the user and stop.
62
-
63
- ### Step 3: Analyze the Feature
64
-
65
- Based on the ticket description and acceptance criteria:
66
-
67
- 1. **Identify the UI surface** — Which pages, modals, or components are affected?
68
- 2. **Identify the user flow** — What steps does a user take to exercise the feature?
69
- 3. **Identify visual checkpoints** — At which states should screenshots be captured?
70
- 4. **Identify viewports** — Does this feature have responsive behavior? Always include Desktop. Add Mobile for responsive changes.
71
- 5. **Identify assertions** — What must be visually true for the feature to be correct?
72
-
73
- Use the Explore agent or read the codebase directly to understand:
74
- - Which components are involved (search by ticket ID, feature name, or file paths mentioned in the ticket)
75
- - What testIDs exist (for Playwright interaction)
76
- - What the user flow looks like (Container/View structure, navigation, modals)
77
-
78
- ### Step 4: Draft the Validation Journey
79
-
80
- Compose the journey following the format:
81
-
82
- ```text
83
- h2. Validation Journey
84
-
85
- h3. Prerequisites
86
- - List what must be true before starting (backend, auth, feature flags)
87
-
88
- h3. Steps
89
- 1. First action the user takes
90
- 2. Second action [SCREENSHOT: descriptive-name]
91
- 3. Continue the flow
92
- 4. Final verification [SCREENSHOT: final-state]
93
-
94
- h3. Viewports
95
- ||Name||Width||Height||
96
- |Desktop|1512|768|
97
- |Mobile|375|812|
98
-
99
- h3. Assertions
100
- - Testable visual statement about the expected behavior
101
- - Another assertion about responsive layout
102
- ```
103
-
104
- ### Guidelines for Drafting
105
-
106
- 1. **3-7 screenshot markers** — Enough to prove the feature, not so many that execution is slow
107
- 2. **Concrete steps** — "Click the 'Add action' button" not "Interact with the controls"
108
- 3. **Include auth if needed** — If the journey requires login, include credentials in Prerequisites
109
- 4. **Name feature flags explicitly** — If the feature is behind a PostHog flag, name it
110
- 5. **Assertions must be testable** — "Buttons stacked vertically on mobile" not "Layout looks good"
111
- 6. **Screenshot names in kebab-case** — `confirm-step-disabled`, `modal-open`, `form-error`
112
-
113
- ### Step 5: Present to User for Approval
114
-
115
- Display the drafted Validation Journey to the user and ask for confirmation before appending it to the ticket. The user may want to:
116
- - Add or remove steps
117
- - Change screenshot markers
118
- - Adjust viewports or assertions
119
- - Modify prerequisites
120
-
121
- ### Step 6: Append to Ticket Description
122
-
123
- After user approval, use the JIRA REST API to append the Validation Journey to the existing ticket description.
124
-
125
- Use the Atlassian MCP `updateJiraIssue` to update the description field. The journey section must be appended **after** the existing description content, not replace it.
126
-
127
- ### Step 7: Verify
128
-
129
- Run the parser again to confirm the journey was added correctly:
130
-
131
- ```bash
132
- python3 .claude/skills/jira-journey/scripts/parse-plan.py <TICKET_ID>
133
- ```
134
-
135
- The parser should now return the steps, viewports, and assertions from the newly added section.
136
-
137
- ## When to Use This Skill
138
-
139
- - Ticket was created before the Validation Journey convention was established
140
- - Ticket was created manually without following `lisa:jira-create` guidelines
141
- - Ticket needs a journey added or updated based on implementation progress
142
- - During sprint planning, to ensure all frontend tickets have journeys before work starts
@@ -1,4 +0,0 @@
1
- display_name: "Jira Add Journey"
2
- short_description: "Add a Validation Journey…"
3
- default_prompt:
4
- - "Use $jira-add-journey: Add a Validation Journey…."
@@ -1,163 +0,0 @@
1
- ---
2
- name: jira-create
3
- description: "creating JIRA epics, stories…"
4
- allowed-tools: ["Read", "Glob", "LS", "Skill", "mcp__atlassian__getVisibleJiraProjects", "mcp__atlassian__getJiraProjectIssueTypesMetadata", "mcp__atlassian__getAccessibleAtlassianResources"]
5
- ---
6
- This skill should be used when creating JIRA epics, stories, and tasks from code files or descriptions. It analyzes the provided input, determines the appropriate issue hierarchy, and creates issues with comprehensive quality requirements including test-first development and documentation.
7
-
8
-
9
- # Create JIRA Issues from $ARGUMENTS
10
-
11
- Analyze the provided file(s) and plan a JIRA hierarchy. **This skill plans structure only — every individual ticket write is delegated to `lisa:jira-write-ticket`.** Do not call `mcp__atlassian__createJiraIssue` from this skill; the necessary write tools are intentionally not in `allowed-tools`.
12
-
13
- ## Process
14
-
15
- 1. **Analyze**: Read $ARGUMENTS to understand scope.
16
- 2. **Extract source artifacts**: invoke the `lisa:tracker-source-artifacts` skill, then enumerate every external URL, embed, attachment, or example payload and classify each by domain per its rules. Build the `artifacts` map. See "Source Artifacts" below.
17
- 3. **Walk the live product** (when applicable): if the work touches existing user-facing surfaces, invoke the `lisa:product-walkthrough` skill to capture current behavior, design-vs-product divergence, and reuse candidates. Especially load-bearing for Expo/React Native — a UI ticket without a current-product walkthrough is missing context the implementer needs. Skip only when the work is purely backend or affects a screen that does not yet exist. See "Live Product Walkthrough" below.
18
- 4. **Determine structure**:
19
- - Epic needed if: multiple features, major changes, >3 related files
20
- - Direct tasks if: bug fix, single file, minor change
21
- 5. **Plan hierarchy**:
22
- ```text
23
- Epic → User Story → Tasks (test, implement, document, cleanup)
24
- ```
25
- 6. **Delegate every write to `lisa:jira-write-ticket`** in dependency order (epic first, then stories with the epic as parent, then sub-tasks with their story as parent). Pass the artifacts (filtered by domain per `lisa:tracker-source-artifacts` inheritance rules), the walkthrough findings (under `## Current Product`), and — for UI tickets — the Validation Journey draft with `[SCREENSHOT: ...]` markers. See "Delegation to jira-write-ticket" below.
26
- 7. **Run the artifact preservation gate** (`lisa:tracker-source-artifacts` §8): after all writes complete, build the preservation matrix and verify every extracted artifact is reachable from the created tickets. Fail loudly if anything was dropped.
27
-
28
- ## Mandatory for Every Code Issue
29
-
30
- **Test-First**: Write tests before implementation
31
- **Quality Gates**: All tests/checks must pass, no SonarCloud violations
32
- **Documentation**: Check existing, update/create new, remove obsolete
33
- **Feature Flags**: All features behind flags with lifecycle plan
34
- **Cleanup**: Remove temporary code, scripts, dev configs
35
- **Validation Journey**: Every ticket that touches UI must include a Validation Journey section (see below)
36
-
37
- ## Validation Journey (Frontend Tickets)
38
-
39
- Every ticket that changes, adds, or fixes UI must include a `Validation Journey` section in the description. This section is consumed by the `lisa:jira-journey` skill to automate visual verification via Playwright.
40
-
41
- ### When to Include
42
-
43
- Include a Validation Journey when the ticket involves:
44
- - New UI components or screens
45
- - Layout or styling changes (responsive, spacing, colors)
46
- - Modal, drawer, or popover behavior
47
- - Form validation or user input flows
48
- - Bug fixes that are visually verifiable
49
-
50
- Skip the Validation Journey only for:
51
- - Pure backend/API changes with no UI surface
52
- - Config-only changes (env vars, feature flags)
53
- - Test-only or documentation-only changes
54
-
55
- ### How to Write
56
-
57
- Design the journey from the **end user's perspective**. Walk through the exact steps a human would take to verify the change. Place `[SCREENSHOT: name]` markers at the key visual checkpoints.
58
-
59
- Add this section to the ticket description:
60
-
61
- ```text
62
- h2. Validation Journey
63
-
64
- h3. Prerequisites
65
- - App running locally or on dev
66
- - Authenticated as test user
67
- - Any required feature flags enabled
68
-
69
- h3. Steps
70
- 1. Navigate to the relevant page
71
- 2. Perform the first action
72
- 3. Verify the expected state [SCREENSHOT: state-name]
73
- 4. Perform the next action
74
- 5. Verify the final state [SCREENSHOT: final-state]
75
-
76
- h3. Viewports
77
- ||Name||Width||Height||
78
- |Desktop|1512|768|
79
- |Mobile|375|812|
80
-
81
- h3. Assertions
82
- - Describe what must be visually true at each viewport
83
- - Each assertion is verified against the captured screenshots
84
- ```
85
-
86
- ### Guidelines
87
-
88
- 1. **Steps must be concrete and executable** — "Navigate to Players page" not "Go to the relevant section"
89
- 2. **Screenshot markers at visual checkpoints** — Place `[SCREENSHOT: name]` at states that prove the change works. Use descriptive kebab-case names (e.g., `modal-open`, `button-disabled`, `form-error`)
90
- 3. **Include 3-7 screenshot markers** — Enough to prove the feature works, not so many that execution is slow
91
- 4. **Viewports match the change scope** — Always include Desktop (1512x768). Add Mobile (375x812) for responsive changes. Add Tablet (768x1024) only if relevant.
92
- 5. **Assertions are testable statements** — "Buttons stacked vertically on mobile" not "Layout looks good"
93
- 6. **Prerequisites include feature flags** — If the feature is behind a PostHog flag, name it explicitly
94
- 7. **Auth steps included when needed** — If the journey requires login, include the test credentials in Prerequisites
95
-
96
- ## Source Artifacts
97
-
98
- If $ARGUMENTS includes (or references) any external artifact — PRD, design doc, Figma URL, Lovable prototype, Loom walkthrough, screenshot, example payload — those references MUST be preserved as remote links on the created tickets. Silent artifact loss is the single most common quality failure in this pipeline.
99
-
100
- **Invoke the `lisa:tracker-source-artifacts` skill** for the canonical rules: domains, per-tool classification (Figma `/proto/` vs design, Lovable, Loom, screenshots), source precedence, conflict handling under `## Open Questions`, inheritance from epic → story → sub-task, and the existing-component reuse expectation. Do not restate the rules here.
101
-
102
- Expo-specific note: the existing-component reuse rule is especially load-bearing for React Native — the project has an established component library; pixel-matching a mock instead of reusing components is the most common drift mode.
103
-
104
- When delegating writes to `lisa:jira-write-ticket`, pass the extracted artifact list so its Phase 4c step can attach them.
105
-
106
- ## Live Product Walkthrough
107
-
108
- When the work touches existing user-facing surfaces, invoke the `lisa:product-walkthrough` skill before drafting tickets. Findings (current behavior, design-vs-product divergence, reuse candidates, behavioral surprises) become inputs to the ticket plan and surface under `## Current Product` on the resulting tickets, complementing the Validation Journey (which describes how to verify the *new* behavior, not what exists today). Skip only when the work is purely backend or affects a screen that does not yet exist.
109
-
110
- ## Issue Requirements
111
-
112
- Each issue must clearly communicate to:
113
-
114
- - **Coding Assistants**: Implementation requirements
115
- - **Developers**: Technical approach
116
- - **Stakeholders**: Business value
117
-
118
- Default project: from jira-cli config (override via arguments)
119
- Exclude unless requested: migration plans, performance tests
120
-
121
- ## Delegation to jira-write-ticket
122
-
123
- **Mandatory.** Every ticket created by this skill MUST go through `lisa:jira-write-ticket`. This skill never calls `mcp__atlassian__createJiraIssue` itself — that tool is intentionally excluded from `allowed-tools` so the gate cannot be bypassed.
124
-
125
- `lisa:jira-write-ticket` enforces things this skill does not, and which determine ticket quality:
126
- - 3-audience description (Context / Technical Approach / Acceptance Criteria)
127
- - Gherkin acceptance criteria
128
- - Epic parent validation (non-bug, non-epic types)
129
- - Explicit link discovery (`blocks` / `is blocked by` / `relates to` / `duplicates` / `clones`)
130
- - Remote links (PRs, Confluence, dashboards)
131
- - Single-repo scope check for Bug / Task / Sub-task
132
- - Sign-in account and target environment recorded in description
133
- - Post-create verification
134
-
135
- ### Invocation order
136
-
137
- Tickets must be created in parent-before-child order so each child can be passed its parent key:
138
-
139
- 1. Invoke `lisa:jira-write-ticket` for the epic. Capture the returned key.
140
- 2. For each story, invoke `lisa:jira-write-ticket` with the epic key as the epic parent. Capture each story key.
141
- 3. For each sub-task, invoke `lisa:jira-write-ticket` with the parent story key.
142
-
143
- ### What to pass to each invocation
144
-
145
- For every delegated write, pass:
146
- - The summary, issue type, project key, and priority you decided
147
- - The 3-section description body you drafted (Context / Technical Approach / Acceptance Criteria)
148
- - Gherkin acceptance criteria
149
- - Parent key (epic key for stories; story key for sub-tasks)
150
- - The artifact list extracted in "Source Artifacts", filtered by domain per the inheritance rules — `lisa:jira-write-ticket` Phase 4c attaches them as remote links
151
- - For UI-touching tickets: the Validation Journey draft (with `[SCREENSHOT: ...]` markers, viewports, and feature-flag prerequisites). If the journey is missing, instruct it to call `lisa:jira-add-journey` after create.
152
-
153
- ### What this skill is responsible for
154
-
155
- This skill owns:
156
- - Deciding the *shape* of the hierarchy (what's an epic vs. story vs. sub-task)
157
- - Drafting the description body and acceptance criteria from the input
158
- - Extracting and classifying source artifacts
159
- - Threading parent keys through subsequent writes
160
- - Drafting the Validation Journey for UI tickets (this is Expo-specific guidance the base skill doesn't have)
161
- - Running the artifact preservation check after all writes complete
162
-
163
- It does not own the actual JIRA write — that's `lisa:jira-write-ticket`'s job.
@@ -1,4 +0,0 @@
1
- display_name: "Jira Create"
2
- short_description: "creating JIRA epics, stories…"
3
- default_prompt:
4
- - "Use $jira-create: creating JIRA epics, stories…."
@@ -1,112 +0,0 @@
1
- ---
2
- name: jira-evidence
3
- description: "Post screenshot evidence…"
4
- ---
5
- Post screenshot evidence: upload it to the GitHub evidence release, update the PR description, attach it to the JIRA ticket with a comment, and move the ticket to review only when a review status is configured.
6
-
7
-
8
- # JIRA Evidence Posting
9
-
10
- Upload captured screenshots and generated templates to GitHub PR description and JIRA ticket. This skill is the posting step — it assumes screenshots and comment templates already exist in the evidence directory.
11
-
12
- ## Arguments
13
-
14
- `$ARGUMENTS`: `<TICKET_ID> <EVIDENCE_DIR> <PR_NUMBER>`
15
-
16
- - `TICKET_ID` (required): JIRA ticket key (e.g., `PROJ-123`)
17
- - `EVIDENCE_DIR` (required): Directory containing screenshots and templates (e.g., `./evidence`)
18
- - `PR_NUMBER` (required): GitHub PR number to update description
19
-
20
- ## Prerequisites
21
-
22
- - `python3` for destination validation. Configure `server` as a bare HTTPS origin:
23
- no userinfo, path prefix, query, or fragment. Invalid destinations are rejected
24
- before Basic authorization is constructed.
25
- - `JIRA_API_TOKEN` environment variable set
26
- - a jira-cli config — `.lisa/jira-cli/.config.yml` if the `setup-jira-cli`
27
- SessionStart hook wrote one, otherwise `~/.config/.jira/.config.yml`. `server`
28
- and `login` are read from whichever is used, and the fallback is announced on
29
- stderr rather than taken silently.
30
- - `gh` CLI authenticated
31
- - Evidence directory containing:
32
- - `NN-name-viewport.png` screenshots (numbered, e.g., `01-search-step-desktop.png`)
33
- - `comment.txt` — JIRA wiki markup (generated by `generate-templates.py`)
34
- - `comment.md` — GitHub markdown (generated by `generate-templates.py`)
35
-
36
- ## Usage
37
-
38
- Resolve the evidence release once, before posting. When `generate-templates.py` wrote the evidence links, use the same release it used so the links match the uploads. If the release cannot be used (for example, a pinned release is full, every overflow release is full, the release name is too long to roll over, or the publisher cannot create releases), the step prints `Evidence release not usable; stop.` and fails: stop there and report it instead of posting.
39
-
40
- If you came here from jira-journey, `generate-templates.py` already wrote the links: skip the block below and reuse the release name jira-journey printed in its Step 4, because resolving again can pick a different month's release.
41
-
42
- ```bash
43
- unset LISA_EVIDENCE_RELEASE; LISA_EVIDENCE_RELEASE=$(node scripts/lisa-work-item.mjs evidence-release --ensure) || { echo "Evidence release not usable; stop."; false; } &&
44
- export LISA_EVIDENCE_RELEASE && echo "Evidence release: $LISA_EVIDENCE_RELEASE"
45
- ```
46
-
47
- Some agent runtimes start a new shell for every command, and a new shell forgets an exported value. So put the printed release name in front of every later command that reads it, as `LISA_EVIDENCE_RELEASE=<name>`; the commands below show where.
48
-
49
- ```bash
50
- LISA_EVIDENCE_RELEASE=<name> bash .claude/skills/jira-evidence/scripts/post-evidence.sh <TICKET_ID> <EVIDENCE_DIR> <PR_NUMBER>
51
- ```
52
-
53
- ### Example
54
-
55
- ```bash
56
- LISA_EVIDENCE_RELEASE=pr-assets bash .claude/skills/jira-evidence/scripts/post-evidence.sh PROJ-123 ./evidence 42
57
- ```
58
-
59
- `post-evidence.sh` uses `LISA_EVIDENCE_RELEASE` when it is set, after the resolver confirms it is one of the project's evidence releases and is not nearly full. A pinned release is an exact choice and never rolls over; without a pin, a nearly full release rolls over to its next overflow release (`<release>-2`, `-3`, …).
60
-
61
- ## What It Does
62
-
63
- 1. **Read JIRA config** — Resolves the jira-cli config (`$PROJECT_DIR/.lisa/jira-cli/.config.yml` first, then `~/.config/.jira/.config.yml`, announcing the fallback) and reads `server` and `login` from it dynamically — no hardcoded values. Exits 1 naming both paths when neither exists. The same resolved path is then passed to `jira issue move` as `--config`, so the CLI cannot end up on a different config than the one this script parsed.
64
- 2. **Upload to the configured evidence release (`node scripts/lisa-work-item.mjs evidence-release --ensure` prints it; default `pr-assets`)** — Validates `PR_NUMBER` as a positive integer, uploads each `NN-name-viewport.png` screenshot as `pr-<PR_NUMBER>-<file>` via `gh release upload --clobber`, creating CDN URLs that render in GitHub markdown, then lists the release and exits 1 naming any uploaded asset that is missing. Before uploading it refuses an evidence name outside `NN-name.(png|txt|json)` with letters, digits, `.`, `_` and `-` only (GitHub rewrites other characters in asset names), and before editing the description it exits 1 naming any Markdown link or image target in `comment.md` (inline, titled, `<url>`-bracketed or a reference definition such as `[ref]: url`) that points into that release but is not `pr-<PR_NUMBER>-…` or was not uploaded by this run (a stale asset from an earlier run does not count; release URLs quoted as plain text in inlined evidence are ignored). `--clobber` therefore only ever replaces this pull request's own earlier upload.
65
- 3. **Update PR description** — Replaces or appends the `## Evidence` section in the PR body using `gh pr edit`
66
- 4. **Upload JIRA attachments** — Uploads screenshots via REST API v3 so `!filename.png!` wiki markup renders inline
67
- 5. **Post JIRA comment** — Posts `comment.txt` as a new comment via REST API v2 (wiki markup with embedded images)
68
- 6. **Move ticket to the configured review status** — Resolves `jira.workflow.review` (or the `jira.workflow.code_review` alias) from `.lisa.config.json` / `.lisa.config.local.json` and transitions via `jira issue move`. `review` is optional; when unset, the ticket stays in `claimed` and this step is skipped. Never transition to a status not named in `config.jira.workflow`. If the configured status is not a valid transition from the current state, log a warning and skip.
69
-
70
- ## Screenshot Naming Convention
71
-
72
- Only files matching `NN-*.png` (two-digit prefix) are uploaded. Other files in the evidence directory are ignored.
73
-
74
- ```text
75
- evidence/
76
- 01-search-step-desktop.png ✓ uploaded
77
- 02-confirm-step-desktop.png ✓ uploaded
78
- 03-search-step-mobile.png ✓ uploaded
79
- comment.txt used for JIRA comment
80
- comment.md used for PR description
81
- ```
82
-
83
- Local screenshots keep their `NN-` names. In the shared evidence release each one is stored as `pr-<number>-<file>` (for PR 42, `01-search-step-desktop.png` becomes `pr-42-01-search-step-desktop.png`), so two pull requests with a same-named screenshot never overwrite each other's evidence. `generate-templates.py` links that scoped name; JIRA attachments keep the local name.
84
-
85
- ## Troubleshooting
86
-
87
- ### Images not rendering in GitHub PR
88
-
89
- Images (never committed to git) must be in the configured evidence release (`node scripts/lisa-work-item.mjs evidence-release --ensure` prints it; default `pr-assets`). Create it when it is missing, and
90
- check it is not at GitHub's 1000-file limit, with:
91
-
92
- ```bash
93
- node scripts/lisa-work-item.mjs evidence-release --ensure
94
- ```
95
-
96
- A nearly full release rolls over to the next overflow release (`<release>-2`,
97
- `-3`, …), which it prints. It refuses only when a pinned `LISA_EVIDENCE_RELEASE`
98
- is full (unset it, or pin a release with room), every overflow release of the
99
- period is full (prune old evidence with
100
- `node scripts/lisa-evidence-prune.mjs --release <release>`, or, if the release
101
- does not rotate yet, set `verification.completion.evidenceRelease` in
102
- `.lisa.config.json` to a rotating name such as `pr-assets-{YYYY-MM}`), or the
103
- release name is too long to take an overflow suffix (shorten it); older evidence
104
- keeps validating.
105
-
106
- ### JIRA comment shows `!filename.png!` as text (not image)
107
-
108
- The screenshot must be uploaded as a JIRA attachment before posting the comment. The script uploads attachments first then posts the comment — always in that order.
109
-
110
- ### JIRA API returns 403 on attachment upload
111
-
112
- Ensure `JIRA_API_TOKEN` is set and `login` in the resolved jira-cli config (`.lisa/jira-cli/.config.yml`, else `~/.config/.jira/.config.yml`) matches your Atlassian account email.
@@ -1,4 +0,0 @@
1
- display_name: "Jira Evidence"
2
- short_description: "Post screenshot evidence…"
3
- default_prompt:
4
- - "Use $jira-evidence: Post screenshot evidence…."