@codyswann/lisa 6.0.7 → 6.0.9

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 (370) hide show
  1. package/all/copy-overwrite/scripts/lisa-audit.mjs +1 -1
  2. package/dist/configs/eslint/expo.d.ts.map +1 -1
  3. package/dist/configs/eslint/expo.js +11 -3
  4. package/dist/configs/eslint/expo.js.map +1 -1
  5. package/dist/configs/eslint/slow-expo.d.ts +15 -6
  6. package/dist/configs/eslint/slow-expo.d.ts.map +1 -1
  7. package/dist/configs/eslint/slow-expo.js +48 -19
  8. package/dist/configs/eslint/slow-expo.js.map +1 -1
  9. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  10. package/dist/core/lisa-owned-hash-ledger.js +4 -0
  11. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  12. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  13. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  14. package/dist/core/upstream-evidence-manifest.js +53 -52
  15. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  16. package/dist/migrations/index.d.ts +0 -1
  17. package/dist/migrations/index.d.ts.map +1 -1
  18. package/dist/migrations/index.js +0 -3
  19. package/dist/migrations/index.js.map +1 -1
  20. package/expo/copy-overwrite/eslint.expo.ts +11 -3
  21. package/expo/package-lisa/package.lisa.json +2 -1
  22. package/package.json +8 -7
  23. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  24. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  25. package/plugins/lisa/.codex-plugin/skills/lisa-bug-triage/SKILL.md +1 -1
  26. package/plugins/lisa/.codex-plugin/skills/lisa-confluence-prd-intake/SKILL.md +5 -1
  27. package/plugins/lisa/.codex-plugin/skills/lisa-confluence-to-tracker/SKILL.md +2 -2
  28. package/plugins/lisa/.codex-plugin/skills/lisa-epic-triage/SKILL.md +1 -1
  29. package/plugins/lisa/.codex-plugin/skills/lisa-github-prd-intake/SKILL.md +5 -1
  30. package/plugins/lisa/.codex-plugin/skills/lisa-github-to-tracker/SKILL.md +2 -2
  31. package/plugins/lisa/.codex-plugin/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
  32. package/plugins/lisa/.codex-plugin/skills/lisa-jira-write-ticket/SKILL.md +2 -2
  33. package/plugins/lisa/.codex-plugin/skills/lisa-linear-prd-intake/SKILL.md +5 -1
  34. package/plugins/lisa/.codex-plugin/skills/lisa-linear-to-tracker/SKILL.md +2 -2
  35. package/plugins/lisa/.codex-plugin/skills/lisa-linear-write-issue/SKILL.md +2 -2
  36. package/plugins/lisa/.codex-plugin/skills/lisa-notion-prd-intake/SKILL.md +5 -1
  37. package/plugins/lisa/.codex-plugin/skills/lisa-notion-to-tracker/SKILL.md +3 -3
  38. package/plugins/lisa/.codex-plugin/skills/lisa-review-implementation/SKILL.md +18 -16
  39. package/plugins/lisa/.codex-plugin/skills/lisa-security-audit-handling/SKILL.md +25 -25
  40. package/plugins/lisa/.codex-plugin/skills/lisa-setup-jira/SKILL.md +2 -2
  41. package/plugins/lisa/.codex-plugin/skills/lisa-setup-local-env/SKILL.md +6 -3
  42. package/plugins/lisa/.codex-plugin/skills/lisa-spec-conformance/SKILL.md +2 -2
  43. package/plugins/lisa/.codex-plugin/skills/lisa-task-triage/SKILL.md +2 -2
  44. package/plugins/lisa/.codex-plugin/skills/lisa-validate-tracker-mapping/SKILL.md +14 -11
  45. package/plugins/lisa/agents/confluence-prd-intake.md +1 -1
  46. package/plugins/lisa/agents/github-build-intake.md +1 -1
  47. package/plugins/lisa/agents/github-prd-intake.md +1 -1
  48. package/plugins/lisa/agents/jira-build-intake.md +1 -1
  49. package/plugins/lisa/agents/linear-build-intake.md +1 -1
  50. package/plugins/lisa/agents/linear-prd-intake.md +1 -1
  51. package/plugins/lisa/agents/notion-prd-intake.md +1 -1
  52. package/plugins/lisa/agents/spec-conformance-specialist.md +3 -3
  53. package/plugins/lisa/rules/eager/base-rules.md +1 -1
  54. package/plugins/lisa/rules/eager/coding-philosophy.md +3 -2
  55. package/plugins/lisa/rules/eager/history-audit.md +1 -1
  56. package/plugins/lisa/rules/eager/production-verifiability.md +1 -1
  57. package/plugins/lisa/rules/eager/verification.md +1 -1
  58. package/plugins/lisa/rules/reference/automation-runbook-contract.md +1 -1
  59. package/plugins/lisa/rules/reference/coding-philosophy.md +38 -0
  60. package/plugins/lisa/rules/reference/config-resolution.md +2 -2
  61. package/plugins/lisa/rules/reference/intent-routing.md +3 -3
  62. package/plugins/lisa/rules/reference/readiness-rubric.md +1 -1
  63. package/plugins/lisa/rules/reference/security-audit-handling.md +9 -1
  64. package/plugins/lisa/skills/lisa-bug-triage/SKILL.md +1 -1
  65. package/plugins/lisa/skills/lisa-confluence-prd-intake/SKILL.md +5 -1
  66. package/plugins/lisa/skills/lisa-confluence-to-tracker/SKILL.md +2 -2
  67. package/plugins/lisa/skills/lisa-epic-triage/SKILL.md +1 -1
  68. package/plugins/lisa/skills/lisa-github-prd-intake/SKILL.md +5 -1
  69. package/plugins/lisa/skills/lisa-github-to-tracker/SKILL.md +2 -2
  70. package/plugins/lisa/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
  71. package/plugins/lisa/skills/lisa-jira-write-ticket/SKILL.md +2 -2
  72. package/plugins/lisa/skills/lisa-linear-prd-intake/SKILL.md +5 -1
  73. package/plugins/lisa/skills/lisa-linear-to-tracker/SKILL.md +2 -2
  74. package/plugins/lisa/skills/lisa-linear-write-issue/SKILL.md +2 -2
  75. package/plugins/lisa/skills/lisa-notion-prd-intake/SKILL.md +5 -1
  76. package/plugins/lisa/skills/lisa-notion-to-tracker/SKILL.md +3 -3
  77. package/plugins/lisa/skills/lisa-review-implementation/SKILL.md +18 -16
  78. package/plugins/lisa/skills/lisa-security-audit-handling/SKILL.md +25 -25
  79. package/plugins/lisa/skills/lisa-security-audit-handling/agents/openai.yaml +2 -2
  80. package/plugins/lisa/skills/lisa-setup-jira/SKILL.md +2 -2
  81. package/plugins/lisa/skills/lisa-setup-local-env/SKILL.md +6 -3
  82. package/plugins/lisa/skills/lisa-spec-conformance/SKILL.md +2 -2
  83. package/plugins/lisa/skills/lisa-task-triage/SKILL.md +2 -2
  84. package/plugins/lisa/skills/lisa-validate-tracker-mapping/SKILL.md +14 -11
  85. package/plugins/lisa-agy/agents/confluence-prd-intake.md +1 -1
  86. package/plugins/lisa-agy/agents/github-build-intake.md +1 -1
  87. package/plugins/lisa-agy/agents/github-prd-intake.md +1 -1
  88. package/plugins/lisa-agy/agents/jira-build-intake.md +1 -1
  89. package/plugins/lisa-agy/agents/linear-build-intake.md +1 -1
  90. package/plugins/lisa-agy/agents/linear-prd-intake.md +1 -1
  91. package/plugins/lisa-agy/agents/notion-prd-intake.md +1 -1
  92. package/plugins/lisa-agy/agents/spec-conformance-specialist.md +3 -3
  93. package/plugins/lisa-agy/plugin.json +1 -1
  94. package/plugins/lisa-agy/skills/lisa-bug-triage/SKILL.md +1 -1
  95. package/plugins/lisa-agy/skills/lisa-confluence-prd-intake/SKILL.md +5 -1
  96. package/plugins/lisa-agy/skills/lisa-confluence-to-tracker/SKILL.md +2 -2
  97. package/plugins/lisa-agy/skills/lisa-epic-triage/SKILL.md +1 -1
  98. package/plugins/lisa-agy/skills/lisa-github-prd-intake/SKILL.md +5 -1
  99. package/plugins/lisa-agy/skills/lisa-github-to-tracker/SKILL.md +2 -2
  100. package/plugins/lisa-agy/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
  101. package/plugins/lisa-agy/skills/lisa-jira-write-ticket/SKILL.md +2 -2
  102. package/plugins/lisa-agy/skills/lisa-linear-prd-intake/SKILL.md +5 -1
  103. package/plugins/lisa-agy/skills/lisa-linear-to-tracker/SKILL.md +2 -2
  104. package/plugins/lisa-agy/skills/lisa-linear-write-issue/SKILL.md +2 -2
  105. package/plugins/lisa-agy/skills/lisa-notion-prd-intake/SKILL.md +5 -1
  106. package/plugins/lisa-agy/skills/lisa-notion-to-tracker/SKILL.md +3 -3
  107. package/plugins/lisa-agy/skills/lisa-review-implementation/SKILL.md +18 -16
  108. package/plugins/lisa-agy/skills/lisa-security-audit-handling/SKILL.md +25 -25
  109. package/plugins/lisa-agy/skills/lisa-setup-jira/SKILL.md +2 -2
  110. package/plugins/lisa-agy/skills/lisa-setup-local-env/SKILL.md +6 -3
  111. package/plugins/lisa-agy/skills/lisa-spec-conformance/SKILL.md +2 -2
  112. package/plugins/lisa-agy/skills/lisa-task-triage/SKILL.md +2 -2
  113. package/plugins/lisa-agy/skills/lisa-validate-tracker-mapping/SKILL.md +14 -11
  114. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  115. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  116. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  117. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  118. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  119. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  120. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  121. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  122. package/plugins/lisa-copilot/agents/confluence-prd-intake.agent.md +1 -1
  123. package/plugins/lisa-copilot/agents/github-build-intake.agent.md +1 -1
  124. package/plugins/lisa-copilot/agents/github-prd-intake.agent.md +1 -1
  125. package/plugins/lisa-copilot/agents/jira-build-intake.agent.md +1 -1
  126. package/plugins/lisa-copilot/agents/linear-build-intake.agent.md +1 -1
  127. package/plugins/lisa-copilot/agents/linear-prd-intake.agent.md +1 -1
  128. package/plugins/lisa-copilot/agents/notion-prd-intake.agent.md +1 -1
  129. package/plugins/lisa-copilot/agents/spec-conformance-specialist.agent.md +3 -3
  130. package/plugins/lisa-copilot/rules/eager/base-rules.md +1 -1
  131. package/plugins/lisa-copilot/rules/eager/coding-philosophy.md +3 -2
  132. package/plugins/lisa-copilot/rules/eager/history-audit.md +1 -1
  133. package/plugins/lisa-copilot/rules/eager/production-verifiability.md +1 -1
  134. package/plugins/lisa-copilot/rules/eager/verification.md +1 -1
  135. package/plugins/lisa-copilot/rules/reference/automation-runbook-contract.md +1 -1
  136. package/plugins/lisa-copilot/rules/reference/coding-philosophy.md +38 -0
  137. package/plugins/lisa-copilot/rules/reference/config-resolution.md +2 -2
  138. package/plugins/lisa-copilot/rules/reference/intent-routing.md +3 -3
  139. package/plugins/lisa-copilot/rules/reference/readiness-rubric.md +1 -1
  140. package/plugins/lisa-copilot/rules/reference/security-audit-handling.md +9 -1
  141. package/plugins/lisa-copilot/skills/lisa-bug-triage/SKILL.md +1 -1
  142. package/plugins/lisa-copilot/skills/lisa-confluence-prd-intake/SKILL.md +5 -1
  143. package/plugins/lisa-copilot/skills/lisa-confluence-to-tracker/SKILL.md +2 -2
  144. package/plugins/lisa-copilot/skills/lisa-epic-triage/SKILL.md +1 -1
  145. package/plugins/lisa-copilot/skills/lisa-github-prd-intake/SKILL.md +5 -1
  146. package/plugins/lisa-copilot/skills/lisa-github-to-tracker/SKILL.md +2 -2
  147. package/plugins/lisa-copilot/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
  148. package/plugins/lisa-copilot/skills/lisa-jira-write-ticket/SKILL.md +2 -2
  149. package/plugins/lisa-copilot/skills/lisa-linear-prd-intake/SKILL.md +5 -1
  150. package/plugins/lisa-copilot/skills/lisa-linear-to-tracker/SKILL.md +2 -2
  151. package/plugins/lisa-copilot/skills/lisa-linear-write-issue/SKILL.md +2 -2
  152. package/plugins/lisa-copilot/skills/lisa-notion-prd-intake/SKILL.md +5 -1
  153. package/plugins/lisa-copilot/skills/lisa-notion-to-tracker/SKILL.md +3 -3
  154. package/plugins/lisa-copilot/skills/lisa-review-implementation/SKILL.md +18 -16
  155. package/plugins/lisa-copilot/skills/lisa-security-audit-handling/SKILL.md +25 -25
  156. package/plugins/lisa-copilot/skills/lisa-setup-jira/SKILL.md +2 -2
  157. package/plugins/lisa-copilot/skills/lisa-setup-local-env/SKILL.md +6 -3
  158. package/plugins/lisa-copilot/skills/lisa-spec-conformance/SKILL.md +2 -2
  159. package/plugins/lisa-copilot/skills/lisa-task-triage/SKILL.md +2 -2
  160. package/plugins/lisa-copilot/skills/lisa-validate-tracker-mapping/SKILL.md +14 -11
  161. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  162. package/plugins/lisa-cursor/agents/confluence-prd-intake.md +1 -1
  163. package/plugins/lisa-cursor/agents/github-build-intake.md +1 -1
  164. package/plugins/lisa-cursor/agents/github-prd-intake.md +1 -1
  165. package/plugins/lisa-cursor/agents/jira-build-intake.md +1 -1
  166. package/plugins/lisa-cursor/agents/linear-build-intake.md +1 -1
  167. package/plugins/lisa-cursor/agents/linear-prd-intake.md +1 -1
  168. package/plugins/lisa-cursor/agents/notion-prd-intake.md +1 -1
  169. package/plugins/lisa-cursor/agents/spec-conformance-specialist.md +3 -3
  170. package/plugins/lisa-cursor/rules/automation-runbook-contract-reference.mdc +1 -1
  171. package/plugins/lisa-cursor/rules/base-rules.mdc +1 -1
  172. package/plugins/lisa-cursor/rules/coding-philosophy-reference.mdc +38 -0
  173. package/plugins/lisa-cursor/rules/coding-philosophy.mdc +3 -2
  174. package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +2 -2
  175. package/plugins/lisa-cursor/rules/history-audit.mdc +2 -2
  176. package/plugins/lisa-cursor/rules/intent-routing-reference.mdc +3 -3
  177. package/plugins/lisa-cursor/rules/production-verifiability.mdc +1 -1
  178. package/plugins/lisa-cursor/rules/readiness-rubric-reference.mdc +1 -1
  179. package/plugins/lisa-cursor/rules/security-audit-handling-reference.mdc +9 -1
  180. package/plugins/lisa-cursor/rules/verification.mdc +1 -1
  181. package/plugins/lisa-cursor/skills/lisa-bug-triage/SKILL.md +1 -1
  182. package/plugins/lisa-cursor/skills/lisa-confluence-prd-intake/SKILL.md +5 -1
  183. package/plugins/lisa-cursor/skills/lisa-confluence-to-tracker/SKILL.md +2 -2
  184. package/plugins/lisa-cursor/skills/lisa-epic-triage/SKILL.md +1 -1
  185. package/plugins/lisa-cursor/skills/lisa-github-prd-intake/SKILL.md +5 -1
  186. package/plugins/lisa-cursor/skills/lisa-github-to-tracker/SKILL.md +2 -2
  187. package/plugins/lisa-cursor/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
  188. package/plugins/lisa-cursor/skills/lisa-jira-write-ticket/SKILL.md +2 -2
  189. package/plugins/lisa-cursor/skills/lisa-linear-prd-intake/SKILL.md +5 -1
  190. package/plugins/lisa-cursor/skills/lisa-linear-to-tracker/SKILL.md +2 -2
  191. package/plugins/lisa-cursor/skills/lisa-linear-write-issue/SKILL.md +2 -2
  192. package/plugins/lisa-cursor/skills/lisa-notion-prd-intake/SKILL.md +5 -1
  193. package/plugins/lisa-cursor/skills/lisa-notion-to-tracker/SKILL.md +3 -3
  194. package/plugins/lisa-cursor/skills/lisa-review-implementation/SKILL.md +18 -16
  195. package/plugins/lisa-cursor/skills/lisa-security-audit-handling/SKILL.md +25 -25
  196. package/plugins/lisa-cursor/skills/lisa-setup-jira/SKILL.md +2 -2
  197. package/plugins/lisa-cursor/skills/lisa-setup-local-env/SKILL.md +6 -3
  198. package/plugins/lisa-cursor/skills/lisa-spec-conformance/SKILL.md +2 -2
  199. package/plugins/lisa-cursor/skills/lisa-task-triage/SKILL.md +2 -2
  200. package/plugins/lisa-cursor/skills/lisa-validate-tracker-mapping/SKILL.md +14 -11
  201. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  202. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  203. package/plugins/lisa-devin/agents/confluence-prd-intake.md +1 -1
  204. package/plugins/lisa-devin/agents/github-build-intake.md +1 -1
  205. package/plugins/lisa-devin/agents/github-prd-intake.md +1 -1
  206. package/plugins/lisa-devin/agents/jira-build-intake.md +1 -1
  207. package/plugins/lisa-devin/agents/linear-build-intake.md +1 -1
  208. package/plugins/lisa-devin/agents/linear-prd-intake.md +1 -1
  209. package/plugins/lisa-devin/agents/notion-prd-intake.md +1 -1
  210. package/plugins/lisa-devin/agents/spec-conformance-specialist.md +3 -3
  211. package/plugins/lisa-devin/rules/eager/base-rules.md +1 -1
  212. package/plugins/lisa-devin/rules/eager/coding-philosophy.md +3 -2
  213. package/plugins/lisa-devin/rules/eager/history-audit.md +1 -1
  214. package/plugins/lisa-devin/rules/eager/production-verifiability.md +1 -1
  215. package/plugins/lisa-devin/rules/eager/verification.md +1 -1
  216. package/plugins/lisa-devin/rules/reference/automation-runbook-contract.md +1 -1
  217. package/plugins/lisa-devin/rules/reference/coding-philosophy.md +38 -0
  218. package/plugins/lisa-devin/rules/reference/config-resolution.md +2 -2
  219. package/plugins/lisa-devin/rules/reference/intent-routing.md +3 -3
  220. package/plugins/lisa-devin/rules/reference/readiness-rubric.md +1 -1
  221. package/plugins/lisa-devin/rules/reference/security-audit-handling.md +9 -1
  222. package/plugins/lisa-devin/skills/lisa-bug-triage/SKILL.md +1 -1
  223. package/plugins/lisa-devin/skills/lisa-confluence-prd-intake/SKILL.md +5 -1
  224. package/plugins/lisa-devin/skills/lisa-confluence-to-tracker/SKILL.md +2 -2
  225. package/plugins/lisa-devin/skills/lisa-epic-triage/SKILL.md +1 -1
  226. package/plugins/lisa-devin/skills/lisa-github-prd-intake/SKILL.md +5 -1
  227. package/plugins/lisa-devin/skills/lisa-github-to-tracker/SKILL.md +2 -2
  228. package/plugins/lisa-devin/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
  229. package/plugins/lisa-devin/skills/lisa-jira-write-ticket/SKILL.md +2 -2
  230. package/plugins/lisa-devin/skills/lisa-linear-prd-intake/SKILL.md +5 -1
  231. package/plugins/lisa-devin/skills/lisa-linear-to-tracker/SKILL.md +2 -2
  232. package/plugins/lisa-devin/skills/lisa-linear-write-issue/SKILL.md +2 -2
  233. package/plugins/lisa-devin/skills/lisa-notion-prd-intake/SKILL.md +5 -1
  234. package/plugins/lisa-devin/skills/lisa-notion-to-tracker/SKILL.md +3 -3
  235. package/plugins/lisa-devin/skills/lisa-review-implementation/SKILL.md +18 -16
  236. package/plugins/lisa-devin/skills/lisa-security-audit-handling/SKILL.md +25 -25
  237. package/plugins/lisa-devin/skills/lisa-setup-jira/SKILL.md +2 -2
  238. package/plugins/lisa-devin/skills/lisa-setup-local-env/SKILL.md +6 -3
  239. package/plugins/lisa-devin/skills/lisa-spec-conformance/SKILL.md +2 -2
  240. package/plugins/lisa-devin/skills/lisa-task-triage/SKILL.md +2 -2
  241. package/plugins/lisa-devin/skills/lisa-validate-tracker-mapping/SKILL.md +14 -11
  242. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  243. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  244. package/plugins/lisa-expo/.codex-plugin/skills/expo-ui-swift-ui/SKILL.md +1 -1
  245. package/plugins/lisa-expo/.codex-plugin/skills/play-store-access/SKILL.md +5 -3
  246. package/plugins/lisa-expo/.codex-plugin/skills/upgrading-expo/references/react-navigation-to-expo-router.md +2 -2
  247. package/plugins/lisa-expo/skills/expo-ui-swift-ui/SKILL.md +1 -1
  248. package/plugins/lisa-expo/skills/play-store-access/SKILL.md +5 -3
  249. package/plugins/lisa-expo/skills/upgrading-expo/references/react-navigation-to-expo-router.md +2 -2
  250. package/plugins/lisa-expo-agy/plugin.json +1 -1
  251. package/plugins/lisa-expo-agy/skills/expo-ui-swift-ui/SKILL.md +1 -1
  252. package/plugins/lisa-expo-agy/skills/play-store-access/SKILL.md +5 -3
  253. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/react-navigation-to-expo-router.md +2 -2
  254. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  255. package/plugins/lisa-expo-copilot/skills/expo-ui-swift-ui/SKILL.md +1 -1
  256. package/plugins/lisa-expo-copilot/skills/play-store-access/SKILL.md +5 -3
  257. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/react-navigation-to-expo-router.md +2 -2
  258. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  259. package/plugins/lisa-expo-cursor/skills/expo-ui-swift-ui/SKILL.md +1 -1
  260. package/plugins/lisa-expo-cursor/skills/play-store-access/SKILL.md +5 -3
  261. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/react-navigation-to-expo-router.md +2 -2
  262. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  263. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  264. package/plugins/lisa-expo-devin/skills/expo-ui-swift-ui/SKILL.md +1 -1
  265. package/plugins/lisa-expo-devin/skills/play-store-access/SKILL.md +5 -3
  266. package/plugins/lisa-expo-devin/skills/upgrading-expo/references/react-navigation-to-expo-router.md +2 -2
  267. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  268. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  269. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  270. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  271. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  272. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  273. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  274. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  275. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  276. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  277. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  278. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  279. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  280. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  281. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  282. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  283. package/plugins/lisa-phaser/.codex-plugin/skills/phaser-asset-sourcing/SKILL.md +14 -9
  284. package/plugins/lisa-phaser/skills/phaser-asset-sourcing/SKILL.md +14 -9
  285. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  286. package/plugins/lisa-phaser-agy/skills/phaser-asset-sourcing/SKILL.md +14 -9
  287. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  288. package/plugins/lisa-phaser-copilot/skills/phaser-asset-sourcing/SKILL.md +14 -9
  289. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  290. package/plugins/lisa-phaser-cursor/skills/phaser-asset-sourcing/SKILL.md +14 -9
  291. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  292. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  293. package/plugins/lisa-phaser-devin/skills/phaser-asset-sourcing/SKILL.md +14 -9
  294. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  295. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  296. package/plugins/lisa-rails-agy/plugin.json +1 -1
  297. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  298. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  299. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  300. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  301. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  302. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  303. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  304. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  305. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  306. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  307. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  308. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  309. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  310. package/plugins/lisa-wiki/.codex-plugin/skills/lisa-wiki-ingest/SKILL.md +6 -2
  311. package/plugins/lisa-wiki/skills/lisa-wiki-ingest/SKILL.md +6 -2
  312. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  313. package/plugins/lisa-wiki-agy/skills/lisa-wiki-ingest/SKILL.md +6 -2
  314. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  315. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-ingest/SKILL.md +6 -2
  316. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  317. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-ingest/SKILL.md +6 -2
  318. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  319. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  320. package/plugins/lisa-wiki-devin/skills/lisa-wiki-ingest/SKILL.md +6 -2
  321. package/plugins/src/base/agents/confluence-prd-intake.md +1 -1
  322. package/plugins/src/base/agents/github-build-intake.md +1 -1
  323. package/plugins/src/base/agents/github-prd-intake.md +1 -1
  324. package/plugins/src/base/agents/jira-build-intake.md +1 -1
  325. package/plugins/src/base/agents/linear-build-intake.md +1 -1
  326. package/plugins/src/base/agents/linear-prd-intake.md +1 -1
  327. package/plugins/src/base/agents/notion-prd-intake.md +1 -1
  328. package/plugins/src/base/agents/spec-conformance-specialist.md +3 -3
  329. package/plugins/src/base/rules/eager/base-rules.md +1 -1
  330. package/plugins/src/base/rules/eager/coding-philosophy.md +3 -2
  331. package/plugins/src/base/rules/eager/history-audit.md +1 -1
  332. package/plugins/src/base/rules/eager/production-verifiability.md +1 -1
  333. package/plugins/src/base/rules/eager/verification.md +1 -1
  334. package/plugins/src/base/rules/reference/automation-runbook-contract.md +1 -1
  335. package/plugins/src/base/rules/reference/coding-philosophy.md +38 -0
  336. package/plugins/src/base/rules/reference/config-resolution.md +2 -2
  337. package/plugins/src/base/rules/reference/intent-routing.md +3 -3
  338. package/plugins/src/base/rules/reference/readiness-rubric.md +1 -1
  339. package/plugins/src/base/rules/reference/security-audit-handling.md +9 -1
  340. package/plugins/src/base/skills/lisa-bug-triage/SKILL.md +1 -1
  341. package/plugins/src/base/skills/lisa-confluence-prd-intake/SKILL.md +5 -1
  342. package/plugins/src/base/skills/lisa-confluence-to-tracker/SKILL.md +2 -2
  343. package/plugins/src/base/skills/lisa-epic-triage/SKILL.md +1 -1
  344. package/plugins/src/base/skills/lisa-github-prd-intake/SKILL.md +5 -1
  345. package/plugins/src/base/skills/lisa-github-to-tracker/SKILL.md +2 -2
  346. package/plugins/src/base/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
  347. package/plugins/src/base/skills/lisa-jira-write-ticket/SKILL.md +2 -2
  348. package/plugins/src/base/skills/lisa-linear-prd-intake/SKILL.md +5 -1
  349. package/plugins/src/base/skills/lisa-linear-to-tracker/SKILL.md +2 -2
  350. package/plugins/src/base/skills/lisa-linear-write-issue/SKILL.md +2 -2
  351. package/plugins/src/base/skills/lisa-notion-prd-intake/SKILL.md +5 -1
  352. package/plugins/src/base/skills/lisa-notion-to-tracker/SKILL.md +3 -3
  353. package/plugins/src/base/skills/lisa-review-implementation/SKILL.md +18 -16
  354. package/plugins/src/base/skills/lisa-security-audit-handling/SKILL.md +25 -25
  355. package/plugins/src/base/skills/lisa-setup-jira/SKILL.md +2 -2
  356. package/plugins/src/base/skills/lisa-setup-local-env/SKILL.md +6 -3
  357. package/plugins/src/base/skills/lisa-spec-conformance/SKILL.md +2 -2
  358. package/plugins/src/base/skills/lisa-task-triage/SKILL.md +2 -2
  359. package/plugins/src/base/skills/lisa-validate-tracker-mapping/SKILL.md +14 -11
  360. package/plugins/src/expo/skills/expo-ui-swift-ui/SKILL.md +1 -1
  361. package/plugins/src/expo/skills/play-store-access/SKILL.md +5 -3
  362. package/plugins/src/expo/skills/upgrading-expo/references/react-navigation-to-expo-router.md +2 -2
  363. package/plugins/src/phaser/skills/phaser-asset-sourcing/SKILL.md +14 -9
  364. package/plugins/src/wiki/skills/lisa-wiki-ingest/SKILL.md +6 -2
  365. package/scripts/lisa-audit.mjs +1 -1
  366. package/typescript/copy-overwrite/audit.ignore.config.json +1 -140
  367. package/dist/migrations/ensure-audit-ignore-local-exclusions.d.ts +0 -51
  368. package/dist/migrations/ensure-audit-ignore-local-exclusions.d.ts.map +0 -1
  369. package/dist/migrations/ensure-audit-ignore-local-exclusions.js +0 -245
  370. package/dist/migrations/ensure-audit-ignore-local-exclusions.js.map +0 -1
@@ -149,6 +149,44 @@ Right: fix every failure, then turn the check on with nothing exempted
149
149
  - If the backlog is too large for one change, split the fix into parallel changes and land them together. The check still turns on strict, with nothing exempted
150
150
  - An existing exemption list is debt to pay off: fix its entries and delete the list and the code that reads it
151
151
 
152
+ ### 7. No Assumed Human
153
+
154
+ **No one is inside the factory.** Lisa's factories run unattended, and humans stand only at the gates outside them (`factory-model`). Unless a person was explicitly asked for, requiring one is a failure: there is nobody to read "you'll want to review this", so the work either stalls or is silently dropped. Do the work, or turn it into work the factory picks up.
155
+
156
+ Advice to an absent person is the same failure in a softer form. A report, PR or comment that ends in a to-do for "someone" hands the job to nobody.
157
+
158
+ ```text
159
+ Wrong: "You'll want to manually check the migration on staging."
160
+ Right: run the migration on staging, check it, and attach the evidence.
161
+
162
+ Wrong: "Have someone confirm the Epic this belongs under."
163
+ Right: pick the Epic the evidence fits best, or create one, and record why on the item.
164
+
165
+ Wrong: "Consider reviewing the other call sites for the same bug."
166
+ Right: fix the call sites this change touches, and file one build-ready ticket for the rest.
167
+
168
+ Wrong: "Stop and ask the user to create the missing tracker label."
169
+ Right: create the label. Stop only if the tracker refuses for lack of permission, and name that permission.
170
+ ```
171
+
172
+ **When you would normally ask:**
173
+ - A choice with a reasonable default is yours. Decide it and record it on the item as a `Decision:` line, where a person can reverse it later
174
+ - Work outside this change's scope becomes one build-ready ticket through the tracker, not a suggestion in a report
175
+ - A material question that the code, tracker, wiki, git history and standing decisions cannot answer, and that has no reasonable default, goes back through the gate: the flow's blocked exit with a specific clarifying comment and your recommended answer, not a mid-session question
176
+
177
+ **The gates that legitimately wait for a person.** This list only restates two sources and must match them: [`when-to-stop`](../eager/when-to-stop.md) (when a flow stops) and [`ready-role-filing`, "What a human gate is"](ready-role-filing.md) (which acts a held item may wait on). Where this summary and those two differ, they win; fix this list. Name the gate when you stop at one:
178
+ - **Missing access** — a repository, secret, API or tool stays out of reach after `lisa-secrets-access` and the matching `*-access` probe; a login or credential only a person holds; a system the agent cannot reach. Say exactly what is missing and stop (`when-to-stop`, `tool-access-gate`)
179
+ - **A destructive, irreversible or protected operation** (`when-to-stop`), including protected deployments and other approvals only a person's account can give
180
+ - **Spending money** — a paid plan, a purchase, an upgrade — and **opening an external account**
181
+ - **Signing a legal agreement** — a contract, BAA, DPA or license acceptance. A compliance *judgement* is not this gate: it is the agent's decision unless the project declares it human-only
182
+ - **Declared human gates and operator holds** — a leaf filed with `human_gate`, a decision class in `humanGate.humanOnly`, a stricter `humanGate.mode`, an operator's hold label, or an option a project turned on such as `dependencies.humanSignOff`
183
+ - **Human-authored-only surfaces** — `PROJECT_RULES.md`, and the human-gated tickets the learnings gardener files for promotions
184
+ - **A product question with no reasonable default** that nothing in the item, wiki, code or standing decisions settles (`when-to-stop`), raised through the gate rather than mid-session
185
+ - **`/lisa:agent-ready` gap questions** in `wiki/gaps.md`, which exist to collect what only a person knows
186
+ - **An explicit request** — the operator asked for a person, or invoked an interactive setup skill (`/lisa:setup:*`) and is answering its prompts
187
+
188
+ This does not conflict with writing for a non-technical reader (`communication`). That rule is about who reads a report, not about giving them to-dos.
189
+
152
190
  ---
153
191
 
154
192
  ## Quick Reference
@@ -956,8 +956,8 @@ env from PR base branch) and the build flow (forward: base branch from env);
956
956
  Vocabulary maps are **optional** in `.lisa.config.json`. Missing keys inherit the defaults shown in the schema above. The setup skills probe the project's actual workflow / labels at setup time and either:
957
957
 
958
958
  - Confirm the default name exists → proceed silently.
959
- - Confirm a different name exists (e.g., `Resolved` instead of `Done`) → prompt the user to either rename in the tracker or override the key in config.
960
- - Find nothing matching → stop and ask the user to (a) create the missing status/label in the tracker, or (b) provide the actual name to write into config.
959
+ - Confirm a different name exists (e.g., `Resolved` instead of `Done`) → map the role to that name in config. When several candidates fit, the interactive `/lisa:setup:*` run lets the operator pick.
960
+ - Find nothing matching → create the missing label under the default name. A missing Linear workflow state is created only by `/lisa:setup:linear`, with an explicit name and type, because a state's type and board position are team configuration; unattended repair reports it instead. Stop only for missing access: a Jira workflow status needs a workflow edit that Lisa's Jira access layer does not perform, and any tracker can refuse for lack of permission. Then name the exact status/label to add and what access is missing. Only an operator running a setup or `/lisa:validate-tracker-mapping` interactively is offered existing near-matches instead. `lisa-validate-tracker-mapping` repairs a MISSING name by these same rules.
961
961
 
962
962
  ## Resolution algorithm
963
963
 
@@ -17,9 +17,9 @@ Each lifecycle skill decides how to run its own work. The default is a single ag
17
17
  Every flow begins with a gate check. The gate defines what information must be present before the flow can begin.
18
18
 
19
19
  If the gate fails:
20
- - **Interactive session** (user is present):
20
+ - **Interactive session** (the operator is in the conversation):
21
21
  1. Identify exactly what is missing
22
- 2. Before asking the user, attempt to answer the questions yourself from available context (source code, docs, git history, project structure, config files). Only ask the user about information you genuinely cannot determine.
22
+ 2. Before asking the user, attempt to answer the questions yourself from available context (source code, docs, git history, project structure, config files). A choice with a reasonable default is yours: decide it and record it. Only ask the user about information you genuinely cannot determine.
23
23
  3. When you do ask the user, provide recommended answers to choose from based on what you found in the codebase. Do not ask open-ended questions when you can offer specific options.
24
24
  4. Tell the user what is needed and why
25
25
  5. Do NOT proceed until the missing information is provided or resolved
@@ -86,7 +86,7 @@ When: Working on a specific ticket (story, task, bug, spike), implementing a wel
86
86
  Gate:
87
87
  - A well-defined work item with acceptance criteria must be provided (ticket URL, file spec, or detailed description)
88
88
  - The work item must have clear scope, expected behavior, and verification method
89
- - If acceptance criteria are missing or ambiguous, stop and ask before proceeding
89
+ - If acceptance criteria are missing or ambiguous, resolve them yourself from the code, tracker, wiki and git history, and record what you derived on the item. Where those sources are silent but a reasonable default exists (a page size of 50, say), choose it and record it as a `Decision:` line. Only a material gap with no reasonable default goes back through the gate (the flow's blocked exit with a specific clarifying comment and your recommended answer), not a mid-session question
90
90
  - If the work item is too large (epic-level), stop and suggest running the **Plan** flow first
91
91
 
92
92
  Determine the work type and execute the matching variant:
@@ -152,7 +152,7 @@ a parallel enum would make two reports disagree about what "ready" means.
152
152
 
153
153
  - **`READY`** — eight dimensions assessed, no blocker stands, no warnings material to unattended
154
154
  operation.
155
- - **`READY_WITH_WARNINGS`** — no blocker stands, but findings exist that a human should see.
155
+ - **`READY_WITH_WARNINGS`** — no blocker stands, but findings exist that the report must name, each with its remedy, though none stops unattended operation.
156
156
  - **`NOT_READY`** — **at least one ship blocker stands.**
157
157
 
158
158
  **The narrowed claim is the net-new field.** When the verdict is `NOT_READY`, the report must also
@@ -1,3 +1,11 @@
1
1
  # Security Audit Handling
2
2
 
3
- The procedure for a push or CI run blocked by the dependency security audit lives in the `lisa-security-audit-handling` skill: upgrade the package, override the vulnerable leaf, evaluate real impact, then either record a scoped exclusion, or mitigate or accept the risk yourself with the reasoning and an expiry recorded (under `humanGate.mode: "strict"`, stop for a human instead). The audit's failure message names that skill, so it loads when it is needed instead of in every session. Never bypass the hook.
3
+ The procedure for a push or CI run blocked by the dependency security audit lives in the `lisa-security-audit-handling` skill. Its steps run in this order:
4
+
5
+ 1. Refresh the lockfile within the current range.
6
+ 2. Upgrade the direct dependency that pulls the vulnerable copy.
7
+ 3. Add a targeted override to the fixed version.
8
+ 4. Evaluate reachability before any code change. An advisory that cannot affect the project gets a scoped exclusion with a concrete reason in the project's own `audit.ignore.local.json`, with no human needed; Lisa's template cannot vouch for a host's reachability. If reachability cannot be proven, the advisory affects the project.
9
+ 5. Replace or remove the dependency.
10
+
11
+ When none of those works, file a build-ready ticket with the evidence (advisory, dependency path, what each step tried) so the factory carries the replacement or removal; stop only when the next act needs access you lack, and say exactly what is missing. The audit's failure message prints the same order and names the skill, so it loads when it is needed instead of in every session. Never bypass the hook.
@@ -9,7 +9,7 @@ Follow this 8-step triage process before implementing any bug fix. Do not skip t
9
9
 
10
10
  ## Triage Steps
11
11
 
12
- 1. Verify you have all information needed to reproduce the bug (authentication requirements, environment information, etc.). Do not make assumptions. If anything is missing, stop and ask before proceeding.
12
+ 1. Verify you have all information needed to reproduce the bug (authentication requirements, environment information, etc.). Do not make unrecorded assumptions. If anything is missing, find it in the item, its linked work, the code, the wiki and git history, and where a reasonable default exists, take it and record it on the item. Stop only for what that cannot settle — missing access, or a product question with no reasonable default — through the flow's blocked exit, with a specific question and your recommended answer.
13
13
  2. Reproduce the bug on the path the user actually hits. Prerequisites the real path needs — seeded data, auth state, flags — are part of the reproduction; scaffolding that substitutes real behaviour is not, and a failure that survives only with it in place is a lead rather than a reproduction. Say which you have. Without a real-path reproduction you may not claim a root cause at all. If you cannot reproduce it, stop and report what you tried and what you observed.
14
14
  3. Once reproduced, name a candidate cause and the observation that would disprove it, and go get that observation. Surviving the disproof is not proof — it leaves the candidate standing, not confirmed — so before implementing, execute something whose output the candidate predicts and a different cause would not produce. If you cannot get that confirmation, record the verdict as inconclusive and say so rather than proceeding as if certain; add logging, trace the path, or bisect until you can.
15
15
  4. Verify you have access to the tools, environments, and permissions needed to deploy and verify this fix (e.g. CI/CD pipelines, deployment targets, logging/monitoring systems, API access, database access). If any are missing or inaccessible, stop and raise them before starting implementation.
@@ -280,7 +280,7 @@ Per-ticket gates prove each ticket is well-formed; they do NOT prove the *set* o
280
280
  | `COMPLETE` | Done. Leave PRD under `ticketed` parent. End the cycle. |
281
281
  | `COMPLETE_WITH_SCOPE_CREEP` | Post an advisory footer comment naming the scope-creep tickets (so product can decide whether to close them as out-of-scope). Leave PRD under `ticketed` parent. |
282
282
  | `GAPS_FOUND` | The created ticket set is incomplete. (a) For each gap, post a comment using the same product-facing template as Phase 3c.3 — inline-anchored when `prd_anchor` is non-null, footer otherwise; category badge from the gap's `category` field; `What's unclear` and `Recommendation` from the audit report's `what` and `recommendation` fields. Apply the same forbidden-language rules from Phase 3c.5. (b) Post one footer summary comment listing the tickets that *were* successfully created (so product knows what to keep vs. what to extend). (c) Re-parent the PRD from `ticketed` back to `blocked`: `transition_prd "$PRD_ID" blocked`. |
283
- | `NO_TICKETS_FOUND` | Should not happen if step 2 succeeded. If it does, log it as an Error in the cycle summary and leave the PRD under `ticketed` with a comment flagging the audit failure for human review. |
283
+ | `NO_TICKETS_FOUND` | Should not happen if step 2 succeeded. If it does, log it as an Error in the cycle summary and leave the PRD under `ticketed` with a comment naming the audit failure. It means the audit or the write path is broken, so file it as one Lisa upstream ticket (`upstream-to-lisa`). The comment carries `<!-- lisa:coverage-audit-failed -->`, so rollup re-audits the PRD (3f.1a) before it can ship. |
284
284
 
285
285
  3. The created tickets remain in the destination tracker regardless of the verdict — they are valid in their own right. The audit only tells us whether *more* are needed.
286
286
 
@@ -298,6 +298,10 @@ There is no archive configuration at the shipped hop. Rollup re-parents the PRD
298
298
 
299
299
  Rollup is keyed by the PRD's current state. If the PRD is already parented under `$SHIPPED_PARENT`, it is a **no-op** — do not re-parent, do not archive, do not re-comment. Record it as `already shipped (no-op)` in the cycle summary and move on. This is what makes re-running intake safe.
300
300
 
301
+ ##### 3f.1a Coverage-audit guard (never ship an unaudited PRD)
302
+
303
+ A PRD ships only after its coverage audit (Phase 3e) has succeeded. If the PRD's latest coverage-audit comment carries `<!-- lisa:coverage-audit-failed -->` with no later `<!-- lisa:coverage-audit-passed -->`, do not apply the terminal-state predicate yet. Re-run the audit first: invoke `lisa-prd-ticket-coverage` with the PRD URL and the generated top-level child set, read as 3f.2 describes. On `COMPLETE` or `COMPLETE_WITH_SCOPE_CREEP`, post a comment carrying `<!-- lisa:coverage-audit-passed -->` and continue to 3f.2. On `GAPS_FOUND`, handle it exactly as Phase 3e does. On `NO_TICKETS_FOUND` or an audit error, leave the PRD ticketed, add no new comment, and record `rollup held: coverage audit has not succeeded` in the cycle summary. All four intake skills share this guard.
304
+
301
305
  ##### 3f.2 Read the generated top-level child set
302
306
 
303
307
  Read the PRD's **generated top-level work** — its created Epics and any top-level Stories created directly under it, **excluding** leaf Sub-tasks and any Story nested under a generated Epic (`prd-lifecycle-rollup` rule, generated-top-level-work contract). Confluence has **no native ticket hierarchy**, so the child set comes from the documented section only:
@@ -169,7 +169,7 @@ This skill is a **PRD source** (Confluence); destination tracker resolution is h
169
169
  | `E2E_BASE_URL` | Frontend base URL for Playwright tests | `https://dev.example.io/` |
170
170
  | `E2E_GRAPHQL_URL` | GraphQL API URL for curl verification | `https://gql.dev.example.io/graphql` |
171
171
 
172
- If env vars are not available, ask the user to provide them explicitly before proceeding. Do not retrieve credentials from repository files or local agent settings.
172
+ If env vars are not available, resolve them through `lisa-secrets-access`. One that still does not resolve is missing access: stop and name each missing variable. Do not retrieve credentials from repository files or local agent settings.
173
173
 
174
174
  ## Workflow
175
175
 
@@ -404,7 +404,7 @@ Invoke `lisa-prd-backlink` with:
404
404
  - `tickets`: the full list created in Phases 3–5, each entry as `{ key, title, type, url, parent_key, requirements }` — `requirements` is the list of Phase 1.4 register ids the ticket satisfies (empty for derived work)
405
405
  - `requirement_register`: the Phase 1.4 register (`{ id, verbatim_text, section_heading }` entries), so the back-link section can render the requirement → tickets view
406
406
 
407
- If `lisa-prd-backlink` fails (page permission denied, Confluence unreachable), surface the error in the Phase 6 report rather than aborting — the tickets are already created. Recommend the user re-run `lisa-prd-backlink` standalone once the source is reachable.
407
+ If `lisa-prd-backlink` fails (page permission denied, Confluence unreachable), surface the error in the Phase 6 report rather than aborting — the tickets are already created. File one build-ready ticket to re-run `lisa-prd-backlink` standalone for this PRD once the source is reachable (it is idempotent) and link it in the report; when the cause is missing access, name exactly what is unreachable.
408
408
 
409
409
  ## Handling Ambiguities and Blockers
410
410
 
@@ -9,7 +9,7 @@ Follow this 9-step triage process before implementing any epic. Do not skip tria
9
9
 
10
10
  ## Triage Steps
11
11
 
12
- 1. Verify you have all information needed to understand the full scope of this epic (goals, acceptance criteria, impacted systems, design specs, dependencies, etc.). Do not make assumptions. If anything is missing, stop and ask before proceeding.
12
+ 1. Verify you have all information needed to understand the full scope of this epic (goals, acceptance criteria, impacted systems, design specs, dependencies, etc.). Do not make unrecorded assumptions. If anything is missing, find it in the item, its linked work, the code, the wiki and git history, and where a reasonable default exists, take it and record it on the item. Stop only for what that cannot settle — missing access, or a product question with no reasonable default — through the flow's blocked exit, with a specific question and your recommended answer.
13
13
  2. Verify the epic is broken down into concrete, well-scoped bugs, tasks, and/or stories that are each fully triaged. If ambiguities exist, stop and resolve them before breaking it down.
14
14
  3. Identify all cross-cutting concerns (auth, performance, security, data migrations, third-party integrations) that need to be addressed across the epic.
15
15
  4. Identify all dependencies between tasks within the epic, or on external epics, teams, or services. Determine the correct order of execution.
@@ -233,7 +233,7 @@ Per-ticket gates prove each ticket is well-formed; they do NOT prove the *set* o
233
233
  | `COMPLETE` | Done. Leave label as `$TICKETED`. End the cycle. |
234
234
  | `COMPLETE_WITH_SCOPE_CREEP` | Post an advisory comment on the PRD issue naming the scope-creep tickets. Leave label as `$TICKETED`. |
235
235
  | `GAPS_FOUND` | The created ticket set is incomplete. (a) For each gap, post a comment using the same product-facing template as Phase 3c.2 — anchored when `prd_anchor` is non-null. (b) Post one summary comment listing the tickets that *were* successfully created. (c) Transition labels from `$TICKETED` back to `$BLOCKED`. |
236
- | `NO_TICKETS_FOUND` | Should not happen if step 2 succeeded. Log as Error; leave label as `$TICKETED` with a flag comment. |
236
+ | `NO_TICKETS_FOUND` | Should not happen if step 2 succeeded. Log as Error; leave label as `$TICKETED` with a flag comment. The comment carries `<!-- lisa:coverage-audit-failed -->`, so rollup re-audits the PRD (3f.1a) before it can ship. |
237
237
 
238
238
  3. The created tickets remain in the destination tracker regardless of the verdict. The audit only tells us whether *more* are needed.
239
239
 
@@ -251,6 +251,10 @@ There is no close/archive configuration at the shipped hop. Rollup sets `$SHIPPE
251
251
 
252
252
  Rollup is keyed by the PRD's current state. If the PRD already carries `$SHIPPED`, it is a **no-op** — do not re-transition, do not close, do not re-comment. Record it as `already shipped (no-op)` in the cycle summary and move on. This is what makes re-running intake safe.
253
253
 
254
+ ##### 3f.1a Coverage-audit guard (never ship an unaudited PRD)
255
+
256
+ A PRD ships only after its coverage audit (Phase 3e) has succeeded. If the PRD's latest coverage-audit comment carries `<!-- lisa:coverage-audit-failed -->` with no later `<!-- lisa:coverage-audit-passed -->`, do not apply the terminal-state predicate yet. Re-run the audit first: invoke `lisa-prd-ticket-coverage` with the PRD URL and the generated top-level child set, read as 3f.2 describes. On `COMPLETE` or `COMPLETE_WITH_SCOPE_CREEP`, post a comment carrying `<!-- lisa:coverage-audit-passed -->` and continue to 3f.2. On `GAPS_FOUND`, handle it exactly as Phase 3e does. On `NO_TICKETS_FOUND` or an audit error, leave the PRD ticketed, add no new comment, and record `rollup held: coverage audit has not succeeded` in the cycle summary. All four intake skills share this guard.
257
+
254
258
  ##### 3f.2 Read the generated top-level child set
255
259
 
256
260
  Read the PRD's **generated top-level work** — its created Epics and any top-level Stories created directly under it, **excluding** leaf Sub-tasks and any Story nested under a generated Epic (`prd-lifecycle-rollup` rule, generated-top-level-work contract). Use two sources, native first:
@@ -156,7 +156,7 @@ This skill is a **PRD source** (GitHub Issues). Destination tracker resolution i
156
156
  | `E2E_BASE_URL` | Frontend base URL for Playwright tests | `https://dev.example.io/` |
157
157
  | `E2E_GRAPHQL_URL` | GraphQL API URL for curl verification | `https://gql.dev.example.io/graphql` |
158
158
 
159
- If env vars are not available, ask the user to provide them explicitly before proceeding. Do not retrieve credentials from repository files or local agent settings.
159
+ If env vars are not available, resolve them through `lisa-secrets-access`. One that still does not resolve is missing access: stop and name each missing variable. Do not retrieve credentials from repository files or local agent settings.
160
160
 
161
161
  ## Workflow
162
162
 
@@ -389,7 +389,7 @@ Invoke `lisa-prd-backlink` with:
389
389
  - `tickets`: the full list created in Phases 3–5, each entry as `{ key, title, type, url, parent_key, requirements }` — `requirements` is the list of Phase 1.4 register ids the ticket satisfies (empty for derived work)
390
390
  - `requirement_register`: the Phase 1.4 register (`{ id, verbatim_text, section_heading }` entries), so the back-link section can render the requirement → tickets view
391
391
 
392
- If `lisa-prd-backlink` fails (permission denied, GitHub unreachable, issue locked), surface the error in the Phase 6 report rather than aborting — the tickets are already created. Recommend the user re-run `lisa-prd-backlink` standalone once the source is reachable.
392
+ If `lisa-prd-backlink` fails (permission denied, GitHub unreachable, issue locked), surface the error in the Phase 6 report rather than aborting — the tickets are already created. File one build-ready ticket to re-run `lisa-prd-backlink` standalone for this PRD once the source is reachable (it is idempotent) and link it in the report; when the cause is missing access, name exactly what is unreachable.
393
393
 
394
394
  ## Handling Ambiguities and Blockers
395
395
 
@@ -522,7 +522,7 @@ The verdict is `PASS` if and only if every applicable gate is `PASS`. Any `FAIL`
522
522
  ## Rules
523
523
 
524
524
  - Never write to JIRA. This skill only invokes `lisa-atlassian-access` with read-only operations (`read-ticket`, `search-issues`, `list-sites`); it never calls write operations (`write-ticket`, `transition`, `comment`, `link`).
525
- - Never auto-fix the spec. This skill reports gaps; callers decide what to do (block, ask the human, regenerate the spec).
525
+ - Never auto-fix the spec. This skill reports gaps; callers decide what to do (fix and regenerate the spec, or block it at the gate).
526
526
  - Never silently skip a gate. If a gate genuinely doesn't apply, return `N/A` with the reason; never omit it.
527
527
  - The `what` and `recommendation` fields must be concrete and product-readable — the dry-run path turns each failure into a Notion comment, and the audience for those comments is the product team, not engineers. Vague guidance ("clarify this", "decide how to handle X") is useless; always give 1–3 candidate resolutions.
528
528
  - Never emit a category outside the fixed set. If a new gate doesn't fit, propose adding the category to the taxonomy in this skill rather than inventing one inline.
@@ -78,7 +78,7 @@ Resolve the active Atlassian site via `lisa-atlassian-access` `operation: list-s
78
78
 
79
79
  ## Phase 2 — Gather Required Inputs
80
80
 
81
- Required fields (stop and ask if missing — do not invent values):
81
+ Required fields. Derive a missing one from config, the caller's spec and the evidence, and record any default you choose; do not invent a value nothing grounds. If one still cannot be grounded, refuse the write naming the field, so the caller's blocked exit carries it — do not stop to ask a person:
82
82
 
83
83
  | Field | Required For | Notes |
84
84
  |-------|--------------|-------|
@@ -444,7 +444,7 @@ searching the repository you happen to be standing in is the wrong search.
444
444
  - Never skip relationship discovery — both the git history search AND the JQL search must run, and their outcomes must be recorded on the ticket. "None found" is acceptable only when it's documented.
445
445
  - Never create a Bug, Task, Sub-task, or Improvement that spans multiple repos. Split it before creating.
446
446
  - Never include a runtime-behavior ticket without a target backend environment, and never include an authenticated-surface ticket without sign-in credentials in the description.
447
- - Never invent custom field values. If the project requires a field you don't have, stop and ask.
447
+ - Never invent custom field values. If the project requires a field you don't have, use its configured default or the value the item's evidence grounds; otherwise refuse the write naming the field.
448
448
  - Never overwrite a description without reading the current version first.
449
449
  - Preserve an existing canonical `## Lisa Usage` section on update; never append a second usage
450
450
  section or silently drop ledger rows.
@@ -241,7 +241,7 @@ Per-ticket gates prove each ticket is well-formed; they do NOT prove the *set* o
241
241
  | `COMPLETE` | Done. Leave label as `$TICKETED`. End the cycle. |
242
242
  | `COMPLETE_WITH_SCOPE_CREEP` | Post an advisory comment on the project naming the scope-creep tickets (so product can decide whether to close them as out-of-scope). Leave label as `$TICKETED`. |
243
243
  | `GAPS_FOUND` | The created ticket set is incomplete. (a) For each gap, post a comment using the same product-facing template as Phase 3c.3 — anchored on the relevant sub-issue when `prd_anchor` is non-null, on the project otherwise; category badge from the gap's `category` field; `What's unclear` and `Recommendation` from the audit report's `what` and `recommendation` fields. Apply the same forbidden-language rules from Phase 3c.5. (b) Post one summary comment on the project listing the tickets that *were* successfully created (so product knows what to keep vs. what to extend). (c) Transition labels from `$TICKETED` back to `$BLOCKED` via `save_project`. |
244
- | `NO_TICKETS_FOUND` | Should not happen if step 2 succeeded. If it does, log it as an Error in the cycle summary and leave label as `$TICKETED` with a comment flagging the audit failure for human review. |
244
+ | `NO_TICKETS_FOUND` | Should not happen if step 2 succeeded. If it does, log it as an Error in the cycle summary and leave label as `$TICKETED` with a comment naming the audit failure. It means the audit or the write path is broken, so file it as one Lisa upstream ticket (`upstream-to-lisa`). The comment carries `<!-- lisa:coverage-audit-failed -->`, so rollup re-audits the PRD (3f.1a) before it can ship. |
245
245
 
246
246
  3. The created tickets remain in the destination tracker regardless of the verdict — they are valid in their own right. The audit only tells us whether *more* are needed.
247
247
 
@@ -259,6 +259,10 @@ There is no close/archive configuration at the shipped hop. Rollup sets `$SHIPPE
259
259
 
260
260
  Rollup is keyed by the PRD's current state. If the PRD project already carries `$SHIPPED`, it is a **no-op** — do not re-transition, do not archive, do not re-comment. Record it as `already shipped (no-op)` in the cycle summary and move on. This is what makes re-running intake safe.
261
261
 
262
+ ##### 3f.1a Coverage-audit guard (never ship an unaudited PRD)
263
+
264
+ A PRD ships only after its coverage audit (Phase 3e) has succeeded. If the PRD's latest coverage-audit comment carries `<!-- lisa:coverage-audit-failed -->` with no later `<!-- lisa:coverage-audit-passed -->`, do not apply the terminal-state predicate yet. Re-run the audit first: invoke `lisa-prd-ticket-coverage` with the PRD URL and the generated top-level child set, read as 3f.2 describes. On `COMPLETE` or `COMPLETE_WITH_SCOPE_CREEP`, post a comment carrying `<!-- lisa:coverage-audit-passed -->` and continue to 3f.2. On `GAPS_FOUND`, handle it exactly as Phase 3e does. On `NO_TICKETS_FOUND` or an audit error, leave the PRD ticketed, add no new comment, and record `rollup held: coverage audit has not succeeded` in the cycle summary. All four intake skills share this guard.
265
+
262
266
  ##### 3f.2 Read the generated top-level child set
263
267
 
264
268
  Read the PRD's **generated top-level work** — its created Epics and any top-level Stories created directly under it, **excluding** leaf Sub-tasks and any Story nested under a generated Epic (`prd-lifecycle-rollup` rule, generated-top-level-work contract). Use two sources, native first:
@@ -156,7 +156,7 @@ This skill is a **PRD source** (Linear); destination tracker resolution is handl
156
156
  | `E2E_BASE_URL` | Frontend base URL for Playwright tests | `https://dev.example.io/` |
157
157
  | `E2E_GRAPHQL_URL` | GraphQL API URL for curl verification | `https://gql.dev.example.io/graphql` |
158
158
 
159
- If env vars are not available, ask the user to provide them explicitly before proceeding. Do not retrieve credentials from repository files or local agent settings.
159
+ If env vars are not available, resolve them through `lisa-secrets-access`. One that still does not resolve is missing access: stop and name each missing variable. Do not retrieve credentials from repository files or local agent settings.
160
160
 
161
161
  ## Workflow
162
162
 
@@ -389,7 +389,7 @@ Invoke `lisa-prd-backlink` with:
389
389
  - `tickets`: the full list created in Phases 3–5, each entry as `{ key, title, type, url, parent_key, requirements }` — `requirements` is the list of Phase 1.4 register ids the ticket satisfies (empty for derived work)
390
390
  - `requirement_register`: the Phase 1.4 register (`{ id, verbatim_text, section_heading }` entries), so the back-link section can render the requirement → tickets view
391
391
 
392
- If `lisa-prd-backlink` fails (permission denied, Linear unreachable), surface the error in the Phase 6 report rather than aborting — the tickets are already created. Recommend the user re-run `lisa-prd-backlink` standalone once the source is reachable.
392
+ If `lisa-prd-backlink` fails (permission denied, Linear unreachable), surface the error in the Phase 6 report rather than aborting — the tickets are already created. File one build-ready ticket to re-run `lisa-prd-backlink` standalone for this PRD once the source is reachable (it is idempotent) and link it in the report; when the cause is missing access, name exactly what is unreachable.
393
393
 
394
394
  ## Handling Ambiguities and Blockers
395
395
 
@@ -66,7 +66,7 @@ Resolve the team ID for `linear.teamKey` via `lisa-linear-access operation: list
66
66
 
67
67
  ## Phase 2 — Gather Required Inputs
68
68
 
69
- Required fields (stop and ask if missing — never invent values):
69
+ Required fields. Derive a missing one from config, the caller's spec and the evidence, and record any default you choose; never invent a value nothing grounds. If one still cannot be grounded, refuse the write naming the field, so the caller's blocked exit carries it — do not stop to ask a person:
70
70
 
71
71
  | Field | Required For | Notes |
72
72
  |-------|--------------|-------|
@@ -451,7 +451,7 @@ searching the repository you happen to be standing in is the wrong search.
451
451
  - Never skip relationship discovery — both the git history search AND the Linear MCP search must run, and their outcomes must be recorded on the item. "None found" is acceptable only when it's documented.
452
452
  - Never create a Bug, Task, or Sub-task that spans multiple repos. Split it before creating.
453
453
  - Never include a runtime-behavior item without a target backend environment, and never include an authenticated-surface item without sign-in credentials in the description.
454
- - Never invent custom field values. If the team requires a field you don't have, stop and ask.
454
+ - Never invent custom field values. If the team requires a field you don't have, use its configured default or the value the item's evidence grounds; otherwise refuse the write naming the field.
455
455
  - Never overwrite a description without reading the current version first.
456
456
  - Preserve an existing canonical `## Lisa Usage` section on update; never append a second usage
457
457
  section or silently drop ledger rows.
@@ -147,7 +147,7 @@ Per-ticket gates prove each ticket is well-formed; they do NOT prove the *set* o
147
147
  | `COMPLETE` | Done. Leave `$STATUS_PROP = $TICKETED`. End the cycle. |
148
148
  | `COMPLETE_WITH_SCOPE_CREEP` | Post an advisory Notion comment naming the scope-creep tickets (so product can decide whether to close them as out-of-scope). Leave `$STATUS_PROP = $TICKETED`. |
149
149
  | `GAPS_FOUND` | The created ticket set is incomplete. (a) For each gap, post a Notion comment using the same product-facing template as Phase 3c.3 — block-anchored when `prd_anchor` is non-null, page-level otherwise; category badge from the gap's `category` field; `What's unclear` and `Recommendation` from the audit report's `what` and `recommendation` fields. Apply the same forbidden-language rules from Phase 3c.5. (b) Post one summary comment listing the tickets that *were* successfully created (so product knows what to keep vs. what to extend). (c) Transition `$STATUS_PROP` from `$TICKETED` back to `$BLOCKED` by invoking `lisa-notion-access` operation `write-page` with the blocked-status payload. |
150
- | `NO_TICKETS_FOUND` | Should not happen if step 2 succeeded. If it does, log it as an Error in the cycle summary and leave `$STATUS_PROP = $TICKETED` with a comment flagging the audit failure for human review. |
150
+ | `NO_TICKETS_FOUND` | Should not happen if step 2 succeeded. If it does, log it as an Error in the cycle summary and leave `$STATUS_PROP = $TICKETED` with a comment naming the audit failure. It means the audit or the write path is broken, so file it as one Lisa upstream ticket (`upstream-to-lisa`). The comment carries `<!-- lisa:coverage-audit-failed -->`, so rollup re-audits the PRD (3f.1a) before it can ship. |
151
151
 
152
152
  3. The created tickets remain in the destination tracker regardless of the verdict — they are valid in their own right (they passed `lisa-tracker-validate`). The audit only tells us whether *more* are needed.
153
153
 
@@ -246,6 +246,10 @@ There is no archive configuration at the shipped hop. Rollup sets `$STATUS_PROP
246
246
 
247
247
  Rollup is keyed by the PRD's current state. If the PRD already has `$STATUS_PROP = $SHIPPED`, it is a **no-op** — do not re-transition, do not archive, do not re-comment. Record it as `already shipped (no-op)` in the cycle summary and move on. This is what makes re-running intake safe.
248
248
 
249
+ ##### 3f.1a Coverage-audit guard (never ship an unaudited PRD)
250
+
251
+ A PRD ships only after its coverage audit (Phase 3e) has succeeded. If the PRD's latest coverage-audit comment carries `<!-- lisa:coverage-audit-failed -->` with no later `<!-- lisa:coverage-audit-passed -->`, do not apply the terminal-state predicate yet. Re-run the audit first: invoke `lisa-prd-ticket-coverage` with the PRD URL and the generated top-level child set, read as 3f.2 describes. On `COMPLETE` or `COMPLETE_WITH_SCOPE_CREEP`, post a comment carrying `<!-- lisa:coverage-audit-passed -->` and continue to 3f.2. On `GAPS_FOUND`, handle it exactly as Phase 3e does. On `NO_TICKETS_FOUND` or an audit error, leave the PRD ticketed, add no new comment, and record `rollup held: coverage audit has not succeeded` in the cycle summary. All four intake skills share this guard.
252
+
249
253
  ##### 3f.2 Read the generated top-level child set
250
254
 
251
255
  Read the PRD's **generated top-level work** — its created Epics and any top-level Stories created directly under it, **excluding** leaf Sub-tasks and any Story nested under a generated Epic (`prd-lifecycle-rollup` rule, generated-top-level-work contract). Notion has **no native ticket hierarchy**, so the child set comes from the documented section only:
@@ -140,7 +140,7 @@ This skill is a **PRD source** (Notion); destination tracker resolution is handl
140
140
  | `E2E_BASE_URL` | Frontend base URL for Playwright tests | `https://dev.example.io/` |
141
141
  | `E2E_GRAPHQL_URL` | GraphQL API URL for curl verification | `https://gql.dev.example.io/graphql` |
142
142
 
143
- If env vars are not available, ask the user to provide them explicitly before proceeding. Do not retrieve credentials from repository files or local agent settings.
143
+ If env vars are not available, resolve them through `lisa-secrets-access`. One that still does not resolve is missing access: stop and name each missing variable. Do not retrieve credentials from repository files or local agent settings.
144
144
 
145
145
  ## Workflow
146
146
 
@@ -333,7 +333,7 @@ Capture each returned story key — Phase 5 needs it as the parent for sub-tasks
333
333
  | Infrastructure | `ops`, `reference` |
334
334
  | Mixed / setup ("X.0") | All domains |
335
335
 
336
- When classification is ambiguous, err on the side of inclusion — a developer can ignore a link, but they can't inherit one that wasn't attached. Classification mistakes are caught by the preservation gate in Phase 5.5 and by the human reviewing the final report.
336
+ When classification is ambiguous, err on the side of inclusion — a developer can ignore a link, but they can't inherit one that wasn't attached. The preservation gate in Phase 5.5 catches an artifact missing from the epic, not a wrong domain: an artifact attached under the wrong domain still passes it. So check each sub-task's domains against the source artifact before Phase 5, and treat a misroute found there as a fix to make before writing.
337
337
 
338
338
  ### Phase 5: Create Sub-tasks
339
339
 
@@ -399,7 +399,7 @@ Invoke `lisa-prd-backlink` with:
399
399
  - `tickets`: the full list created in Phases 3–5, each entry as `{ key, title, type, url, parent_key, requirements }` — `requirements` is the list of Phase 1.4 register ids the ticket satisfies (empty for derived work)
400
400
  - `requirement_register`: the Phase 1.4 register (`{ id, verbatim_text, section_heading }` entries), so the back-link section can render the requirement → tickets view
401
401
 
402
- If `lisa-prd-backlink` fails (PRD permission denied, Notion unreachable, source mutated mid-run), surface the error in the Phase 6 report rather than aborting — the tickets are already created and their value to the team is not blocked by the back-link write. Recommend the user re-run `lisa-prd-backlink` standalone once the source is reachable again.
402
+ If `lisa-prd-backlink` fails (PRD permission denied, Notion unreachable, source mutated mid-run), surface the error in the Phase 6 report rather than aborting — the tickets are already created and their value to the team is not blocked by the back-link write. File one build-ready ticket to re-run `lisa-prd-backlink` standalone for this PRD once the source is reachable again (it is idempotent) and link it in the report; when the cause is missing access, name exactly what is unreachable.
403
403
 
404
404
  ## Handling Ambiguities and Blockers
405
405
 
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: lisa-review-implementation
3
- description: This skill should be used when comparing a project's Lisa-managed files against Lisa's source templates to identify drift. It reads the project manifest, locates source templates, generates diffs for drifted files, and offers to upstream improvements back to Lisa.
3
+ description: This skill should be used when comparing a project's Lisa-managed files against Lisa's source templates to identify drift. It reads the project manifest, locates source templates, generates diffs for drifted files, and upstreams the improvements back to Lisa.
4
4
  ---
5
5
 
6
6
  # Lisa Implementation Review
7
7
 
8
- This skill compares the current project's Lisa-managed files against Lisa's source templates to identify drift and offer to upstream improvements back to Lisa.
8
+ This skill compares the current project's Lisa-managed files against Lisa's source templates to identify drift and upstream the improvements back to Lisa.
9
9
 
10
10
  ## Prerequisites
11
11
 
@@ -136,32 +136,34 @@ These files are in the manifest but their source templates couldn't be located:
136
136
  </details>
137
137
  ```
138
138
 
139
- ### Step 6: Offer to Upstream Changes
139
+ ### Step 6: Upstream the Improvements
140
140
 
141
- After presenting the report, ask the user which drifted files they want to copy back to Lisa.
141
+ Decide yourself which drifted files to upstream; do not hand the choice back. For each drifted file, classify it with a one-line reason drawn from its diff:
142
142
 
143
- For each file the user wants to upstream:
143
+ - **Upstream** — an improvement every host of that stack should get: a fix, a hardening, or a pattern that is not specific to this project.
144
+ - **Host-specific** — a customization that only makes sense here. Leave it in the project.
144
145
 
145
- 1. Confirm the target path in Lisa (e.g., `typescript/copy-overwrite/.github/workflows/ci.yml`)
146
- 2. Use the Write tool to copy the project's version to Lisa
147
- 3. Report success
146
+ For each file classified **Upstream**, go through Lisa's normal path. Never Write the host's file straight into the Lisa checkout, which is a public repository:
148
147
 
149
- Example prompt:
148
+ 1. **Scrub it first.** Remove every host identifier from the content you carry over: org, product and repository names, account numbers, bundle identifiers, internal domains, and local paths that embed them (`never-name-a-downstream-project`). Remove every credential and other sensitive value too: tokens, API keys, passwords, private keys, connection strings, and secret-bearing URLs or environment values, replacing each with a placeholder or a `lisa-secrets-access` lookup. A secret is not a host name, so the identifier scrub alone can miss it. `block-host-name-leak` checks only a curated list and only Bash calls, so read the result yourself; it is not a substitute for the scrub.
149
+ 2. **Open a branch and a PR on Lisa.** In a Lisa worktree, branch off its default branch, apply the scrubbed change to the matching template path (e.g., `typescript/copy-overwrite/.github/workflows/ci.yml`), and submit it through `lisa-git-submit-pr` so it passes Lisa's own hooks, CI and review gates. When no Lisa checkout is writable, file one upstream ticket instead (`upstream-to-lisa`), scrubbed the same way.
150
+ 3. Report the PR or ticket URL for each file.
151
+
152
+ Example report:
150
153
  ```
151
154
  I found X files that have drifted from Lisa's templates.
152
155
 
153
- Which files would you like to copy back to Lisa?
154
- 1. .github/workflows/ci.yml - [brief description of changes]
155
- 2. .claude/settings.json - [brief description of changes]
156
- 3. All of the above
157
- 4. None - just show me the report
156
+ Upstreamed through a scrubbed Lisa PR (2):
157
+ 1. .github/workflows/ci.yml - adds a timeout every host's CI needs - <PR URL>
158
+ 2. .claude/settings.json - fixes a hook path that is wrong for every host - <PR URL>
158
159
 
159
- Select an option (or list specific numbers):
160
+ Kept as host-specific (1):
161
+ 3. .github/workflows/deploy.yml - names this project's own environments
160
162
  ```
161
163
 
162
164
  ### Important Notes
163
165
 
164
- - **Never auto-upstream without confirmation** - always ask the user first
166
+ - **Upstream only what you classified as a cross-host improvement, scrubbed, through a Lisa PR** - record the reason for each file, kept or upstreamed, and never write into the Lisa checkout without a branch and PR
165
167
  - **Preserve the most specific type directory** - if a file exists in both `typescript/` and `all/`, upstream to where it currently exists
166
168
  - **Handle binary files gracefully** - skip comparison for non-text files
167
169
  - **Respect .gitignore patterns** - some generated files shouldn't be compared
@@ -1,36 +1,32 @@
1
1
  ---
2
2
  name: lisa-security-audit-handling
3
- description: "What to do when a push or CI is blocked by the dependency security audit: upgrade, override the vulnerable package, assess real impact, then record a scoped exclusion or accept the risk with a reason and expiry. Never bypasses the hook."
3
+ description: "What to do when a push or CI is blocked by the dependency security audit, in order: refresh the lockfile, upgrade the direct dependency, add a targeted override, exclude an advisory that cannot reach the project with a stated reason, then replace or remove the dependency. Never bypasses the hook."
4
4
  ---
5
5
 
6
6
  # Security Audit Handling
7
7
 
8
- Use this when `git push` (or a CI audit gate) fails because the dependency audit reports high or critical advisories. Work the decision ladder below **autonomously**. No rung stops for a human unless the project sets `humanGate.mode: "strict"`. Never use `--no-verify`, `HUSKY=0`, `core.hooksPath`, or any other hook bypass to skip the security audit.
8
+ Use this when `git push` (or a CI audit gate) fails because the dependency audit reports high or critical advisories. Work the ladder below **autonomously**. Never use `--no-verify`, `HUSKY=0`, `core.hooksPath`, or any other hook bypass to skip the security audit.
9
9
 
10
- ## The decision ladder
10
+ ## The fix ladder
11
11
 
12
- The remediation for any high/critical advisory is a simple, ordered decision — not a question to forward to the user. For each advisory, take the **first** action that is possible:
12
+ The remedy for a high/critical advisory is an ordered decision, not a question to forward to the user. For each advisory, work the steps **in this order** and stop at the first one that resolves it. The audit's failure message prints the same order.
13
13
 
14
- 1. **Update the offending package** to a patched version.
15
- 2. **If that's not possible**, force a resolution/override on the vulnerable leaf package.
16
- 3. **If that's not possible**, evaluate whether the advisory actually affects the project.
17
- 4. **If it affects the project** (and 1 and 2 weren't possible), decide yourself: mitigate it, or accept the risk with your reasoning and an expiry recorded. Under `humanGate.mode: "strict"`, stop for a human instead: post on the work item which advisory affects the project, how it is reached, and why no fix exists, and mark the item needs-human (in an interactive session, ask the operator).
18
- 5. **If it doesn't affect the project**, add it to the ignore list yourself.
14
+ 1. **Refresh the lockfile within the current range.** Most transitive fixes are published inside the range the parent already accepts; a stale lockfile is the usual cause.
15
+ 2. **Upgrade the direct dependency** that pulls the vulnerable copy to a release that depends on a patched one.
16
+ 3. **Add a targeted override** that pins the vulnerable **leaf** package to the fixed version.
17
+ 4. **Evaluate reachability, and exclude with a stated reason if unaffected** — before considering any code change. If the advisory cannot affect this project, add a scoped exclusion with a concrete reason to `audit.ignore.local.json`. No human is needed. Typical unreachable cases: the package is used only by dev or build tooling, or the vulnerable input is never untrusted (for example, globs or patterns written in the repository itself). The evaluation is this project's own: Lisa's template exclusions cannot vouch for a host's reachability, so a host the audit flags records its own entry in `audit.ignore.local.json`. **If reachability cannot be proven, treat the advisory as affecting the project** and continue at step 5.
18
+ 5. **Replace or remove the dependency** when it affects the project and no fixed version exists: a maintained alternative, a newer major of the parent that no longer pulls the package, or dropping it.
19
19
 
20
- Every step is autonomous by default. Take step 4 only after you have genuinely attempted steps 1 and 2 and performed the step-3 evaluation; under `strict`, it is the one step that stops for a human.
20
+ If none of these works in this change, **file a build-ready ticket** in the configured tracker (through `lisa-tracker-write` with `build_ready: true`) carrying the evidence: the advisory, the dependency path that reaches the vulnerable copy, and what was tried at each of the five steps and why it failed. The factory then carries the replacement or removal as work. Stop only when the next act needs access you do not have, and then say exactly what is missing.
21
21
 
22
22
  ## Node.js Projects (GHSA advisories)
23
23
 
24
- 1. Note the GHSA ID(s), affected package(s), and advisory URL from the error output.
25
- 2. Check the advisory URL to determine whether a patched version of the vulnerable package exists.
26
- 3. **Step 1 — update:** If a patched version exists and is compatible, add a resolution/override in `package.json` to force the patched version (add to **both** `resolutions` and `overrides`), run the package manager install to regenerate the lockfile, commit, and retry the push.
27
- 4. **Step 2 — force override:** If no straight upgrade lands the patched version but a compatible patched version exists somewhere on the graph, pin it via `resolutions` + `overrides` on the **leaf** package (see "Override the vulnerable package, not its parent" below), regenerate the lockfile, commit, and retry.
28
- 5. **Step 3 — evaluate impact:** If neither an upgrade nor an override is possible (no fixed version exists, or every compatible pin breaks a dependent), determine whether the vulnerability actually affects this project. Consider: is the vulnerable code path reachable from this project's usage? Does it process untrusted input? Is the dependency runtime, or dev/build-only? Record the conclusion.
29
- 6. **Step 4 — decide:** If the evaluation shows the vulnerability **does** affect the project and neither step 1 nor step 2 was possible, make the call yourself and record it on the work item so a person can reverse it:
30
- - **Mitigate** if you can: replace or remove the vulnerable package, or guard the reachable code path so untrusted input cannot reach it, then retry.
31
- - **Otherwise accept the risk**: add an exclusion entry (as in step 5) whose `reason` records the impact, why no fix or mitigation is possible now, and an expiry date, and file a build-ready follow-up work item to remove the exclusion when a fix ships.
32
- - Under `humanGate.mode: "strict"`, stop for a human as described in rung 4 instead. That is the only step that pauses for a human in strict mode.
33
- 7. **Step 5 — ignore:** If the evaluation shows the vulnerability **does not** affect the project, add an exclusion entry to `audit.ignore.local.json` yourself, in the format `{"id": "GHSA-xxx", "package": "pkg-name", "reason": "<impact evaluation: why this advisory does not affect this project>"}`, then commit and retry the push. No human approval is required for this step — the `reason` field is the record of your evaluation.
24
+ 1. Note the GHSA ID(s), affected package(s), vulnerable lockfile path(s), and advisory URL from the error output.
25
+ 2. Check the advisory for the patched version in each affected major (`gh api /advisories/<GHSA-id>`). Also check whether it was withdrawn.
26
+ 3. **Step 1 — refresh:** if the patched version satisfies the range the parent declares, update the lockfile for that package (`bun update <pkg>`, `npm update <pkg>`, or `yarn upgrade <pkg>`), confirm with `bun why <pkg>` / `npm ls <pkg>` that every copy is patched, commit, and retry.
27
+ 4. **Step 2 — upgrade:** otherwise upgrade the direct dependency whose chain pulls the copy to a release that accepts the patched version, regenerate the lockfile, run the project's tests, commit, and retry.
28
+ 5. **Step 3 — override:** otherwise pin the **leaf** package in both `overrides` and `resolutions` in `package.json` (see below), regenerate the lockfile, run the tests, commit, and retry. In a Lisa host, if the fix should reach every project on the stack, propose it upstream in Lisa's `package.lisa.json`.
29
+ 6. **Step 4 — evaluate reachability:** if no refresh, upgrade or override lands a patched copy (no fixed version exists, or every compatible pin breaks a dependent), decide whether the vulnerability can affect this project **before changing any code**. Consider: is the vulnerable code path reachable from this project's usage? Does it process untrusted input? Is the dependency runtime, or dev/build-only? If it cannot affect the project, add an exclusion entry to `audit.ignore.local.json` yourself, in the format `{"id": "GHSA-xxx", "package": "pkg-name", "reason": "<impact evaluation: why this advisory does not affect this project>"}`, then commit and retry the push. No human approval is required for this step — the `reason` field is the record of your evaluation. If you cannot show it is unreachable, it affects the project: go on to step 5.
34
30
  - **Scope the exclusion to the copy you evaluated.** An entry with only `id` (and `package`) hides the advisory for every copy of the package, including one a production dependency pulls in later. Two optional fields narrow it, and every field present must hold together:
35
31
  - `versions` — a semver range the excused installed copies must fall inside, such as `">=3.0.0 <4.0.0"`.
36
32
  - `paths` — a non-empty array of exact lockfile key paths for the excused copies: a `bun.lock` `packages` key such as `"lint-plugin/pkg"`, a `package-lock.json` `packages` key such as `"node_modules/lint-plugin/node_modules/pkg"`, or a `yarn.lock` selector key. No globs. Bun keys and nested npm keys isolate one parent. A `yarn.lock` selector names a requested range, not a parent, and a hoisted npm key (`"node_modules/pkg"`) names an install location; any later dependent that asks for that range or resolves to that hoisted copy is covered too, so pair those keys with a tight `versions` range.
@@ -40,6 +36,9 @@ Every step is autonomous by default. Take step 4 only after you have genuinely a
40
36
  {"id": "GHSA-xxx", "package": "pkg", "versions": ">=3.0.0 <4.0.0", "paths": ["lint-plugin/pkg"], "reason": "<impact evaluation>"}
41
37
  ```
42
38
  Then any other vulnerable copy — on an unlisted path or through an npm alias — still fails the audit and is named by its lockfile path. An empty `paths` array, an invalid range, or an unreadable lockfile fails the audit with a diagnostic; it never widens into an ID-wide exclusion. The pre-push hook, the gate registry, and CI use the same matcher. `lisa doctor` checks the scope fields and that the lockfile is readable, and reports any remaining exclusion without `versions` or `paths`, but it does not match advisories against lockfile copies — a valid-looking path that names the wrong copy can pass doctor and still be rejected by the audit. Doctor also does not reject an entry with no `id` or an exclusion file that does not parse; the audit does. Only the audit proves the exclusion files are accepted. In CI, the reusable workflow audits the manager its `package_manager` input names (default `npm`), so set that input to the project's manager. A scoped entry always wins over a wider entry for the same advisory and package. Full contract: https://github.com/CodySwannGT/lisa/blob/main/docs/dependency-audit-exclusions.md
39
+ 7. **Step 5 — replace or remove:** if the advisory affects the project, replace the dependency with a maintained alternative or remove it, prove behavior with the tests, commit, and retry.
40
+ 8. If none of these works in this change, file the build-ready ticket described above.
41
+
43
42
 
44
43
  ### Critical: Override the vulnerable package, not its parent
45
44
 
@@ -47,18 +46,19 @@ When the audit output shows a dependency chain like `@expo/cli › glob › mini
47
46
 
48
47
  **Never override a parent package to force a lower major version** — other packages in the project may depend on a newer major version, and a resolution/override forces ALL installations to the specified version. For example, overriding `glob` to `^8.1.0` will break `@expo/cli` which requires `glob@^13.0.0`, causing `expo prebuild` to fail with `files.map is not a function`.
49
48
 
50
- Before adding a resolution/override (step 2), verify:
49
+ Before adding a resolution/override (step 3), verify:
51
50
  - You are targeting the **actually vulnerable package**, not a parent in the chain.
52
51
  - The override version is **compatible with all dependents** (check with `bun why <package>` or `npm ls <package>`).
53
52
  - The override does not **downgrade** a package across a major version boundary that other dependencies require.
54
53
 
55
- If any of these checks fail, the override is "not possible" for the purposes of the ladder — drop to step 3 (evaluate impact).
54
+ If any of these checks fail, the override is "not possible" for the purposes of the ladder — go to step 4 (evaluate reachability).
56
55
 
57
56
  ### Never
58
57
 
59
58
  - Never add a blanket audit bypass or lower the configured audit level.
60
- - Never jump to step 4 (decide or, under `strict`, stop for a human) before genuinely attempting steps 1–3.
61
- - Never add a step-5 ignore entry without an impact evaluation recorded in its `reason`.
59
+ - Never add an exclusion without an impact evaluation recorded in its `reason`, and never for an advisory you cannot show is unreachable.
60
+ - Never file the ticket before genuinely attempting all five steps.
61
+ - Never wait on a human the work does not need; stop only for missing access, and name it.
62
62
 
63
63
  ## Rails Projects (bundler-audit)
64
64
 
@@ -69,4 +69,4 @@ Same ladder, bundler mechanics:
69
69
  3. **Step 1 — update:** If a patched version exists:
70
70
  - **Direct dependency** (in Gemfile): update its version constraint, run `bundle update <gem>`, commit, retry.
71
71
  - **Transitive dependency** (only in Gemfile.lock): run `bundle update <gem>` to pull the patched version without changing the Gemfile, commit the lockfile change, retry.
72
- 4. **Steps 3–5 — no patch:** If no patched version exists, evaluate whether the advisory affects the project. If it **does** and no fix is possible, decide it yourself (step 4; stop for a human under `strict`). If it **does not**, document the exception and retry (step 5).
72
+ 4. **No patch:** If no patched version exists, evaluate whether the advisory can affect the project. If it **cannot**, document the exception with the reason and retry. If it **does**, or you cannot show it does not, upgrade or replace the gem that pulls it, or remove it. If none of that works, file a build-ready ticket with the evidence, as above.
@@ -44,8 +44,8 @@ Lisa's build lifecycle uses three role-keyed statuses (`ready` → `claimed` →
44
44
  For each role:
45
45
 
46
46
  1. If a status with the **default name** exists in the workflow → use the default; no config entry needed.
47
- 2. If the default name is missing but a status with a similar role exists (e.g. `Resolved` instead of `Done`) → present the project's status list via `AskUserQuestion` and let the user pick which maps to the role.
48
- 3. If nothing plausible exists → stop and tell the user to either add the missing status to their JIRA workflow (admin task) or pick a fallback that's close enough.
47
+ 2. If the default name is missing but exactly one status fits the role (e.g. `Resolved` is the only candidate for `Done`) → map the role to it and record the mapping; do not prompt. Only when several statuses fit → present those candidates via `AskUserQuestion` and let the operator pick which maps to the role (`config-resolution`).
48
+ 3. If nothing plausible exists → this is missing access, not a choice: `lisa-atlassian-access` cannot edit a Jira workflow. Stop and name the status to add and that adding it needs Jira project-admin rights. The operator running this setup may instead pick the closest existing status as a fallback.
49
49
 
50
50
  Collect overrides as a partial workflow map. ONLY write keys that differ from defaults — don't bloat the config with redundant values.
51
51