@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
@@ -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
 
@@ -82,7 +82,7 @@ invoking `maestro`, wires an MCP server whose CLI it also shells out to, and con
82
82
  Playwright thresholds, while `remoteEnv.tools` stays empty and each of those fails at the
83
83
  moment of use instead of at setup.
84
84
 
85
- The detector proposes and a human decides. It writes nothing, so a tool still only ever reaches
85
+ The detector proposes and the dependency trust gate decides (see below). It writes nothing, so a tool still only ever reaches
86
86
  a machine from a reviewed, pinned, checksummed entry.
87
87
 
88
88
  ## What it will not do
@@ -91,5 +91,8 @@ a machine from a reviewed, pinned, checksummed entry.
91
91
  flow uses, and the same in-process checksum verification, which refuses before unpacking.
92
92
  - **No package-manager fallback.** Shelling out to Homebrew would give no version pin and no
93
93
  checksum, which is the property this design exists to enforce.
94
- - **No writes to the manifest.** Proposing entries belongs to `/lisa:detect-tooling`; deciding
95
- belongs to a human reviewing a diff.
94
+ - **No writes to the manifest.** Proposing entries belongs to `/lisa:detect-tooling`. Admitting
95
+ a pinned, checksummed tool is a supply-chain trust decision, so it goes through the dependency
96
+ trust gate (`dependency-trust-classes`): when `dependencies.humanSignOff` is on, a person
97
+ ratifies the entry; when it is off, the agent decides and records why in the reviewed PR that
98
+ commits the entry.
@@ -67,7 +67,7 @@ Gather evidence of what was actually shipped:
67
67
  ```bash
68
68
  git diff "${BASE_BRANCH}"...HEAD -- '**/*.test.*' '**/*.spec.*'
69
69
  ```
70
- 4. **Empirical evidence** — output of `verification-specialist` if available (proof artifacts, API captures, UI screenshots, DB queries). If that report isn't in context, ask the caller for it before proceeding — do not substitute reading code for running the system.
70
+ 4. **Empirical evidence** — output of `verification-specialist` if available (proof artifacts, API captures, UI screenshots, DB queries). If that report isn't in context, ask the caller for it before proceeding and return no verdict until it arrives — do not substitute reading code for running the system. The caller recovers by running `verification-specialist` on the current head, then re-running this skill against that report.
71
71
  4a. **The machine-readable verdict** — `Read` `${CLAUDE_PROJECT_DIR:-.}/.lisa/verification-status.json`. Under **schema v2** it is the structured form of the evidence above, and it is what lets you check a claim's *reach* instead of taking "verified" at its word. Load `artifact` (`repository`, `head_sha`, `environment`), `claims[]` (`claim_id`, `statement`, `boundary`, `required_evidence_kinds`, `status`, `evidence_refs`, `not_established`), `evidence[]` (`evidence_id`, `kind`, `locator`, `sha256`, `captured_at`, `artifact_head_sha`), and the `not_established_reviewed` flag.
72
72
  5. **PR description** — `gh pr view --json title,body,files` if a PR exists.
73
73
  6. **Deployed state** — if the verification phase already hit a deployed environment, use those captures.
@@ -134,7 +134,7 @@ Separately from the matrix, scan the diff for work NOT traceable to any requirem
134
134
  - Summarize the change in one line
135
135
  - Classify as `UNTRACEABLE_CHANGE` (not necessarily wrong — refactors often land here — but MUST be surfaced)
136
136
 
137
- Untraceable changes are not automatic failures. They become findings the human reviews.
137
+ Untraceable changes are not automatic failures. They become findings the implementer resolves. A refactor or test support that leaves behavior unchanged may be justified in the PR. A substantive change that materially alters behavior cannot be justified away, because it still makes the verdict `DIVERGES`: revert it, or move it to a ticket.
138
138
 
139
139
  **Ownership fixes are not scope creep.** A change that fixes a real defect in code this work touches or depends on, and is listed in the PR description as such, is expected under the bounded ownership rule: classify it `OWNERSHIP_FIX` in the untraceable list, never `SCOPE_CREEP_VIOLATION`, and never count it against the verdict. Two exceptions still count: the fix lands in something the spec's Out of Scope names explicitly, or the PR does not list it (an unlisted fix is an ordinary `UNTRACEABLE_CHANGE`). Work on code the change neither touches nor depends on belongs in a ticket, not this PR.
140
140
 
@@ -9,8 +9,8 @@ Follow this 8-step triage process before implementing any task. Do not skip tria
9
9
 
10
10
  ## Triage Steps
11
11
 
12
- 1. Verify you have all information needed to implement this task (acceptance criteria, design specs, environment information, dependencies, etc.). Do not make assumptions. If anything is missing, stop and ask before proceeding.
13
- 2. Verify you have a clear understanding of the expected behavior or outcome when the task is complete. If not, stop and clarify before starting.
12
+ 1. Verify you have all information needed to implement this task (acceptance criteria, design specs, environment information, 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
+ 2. Verify you have a clear understanding of the expected behavior or outcome when the task is complete. If not, settle it the same way as step 1 before starting.
14
14
  3. Identify all dependencies (other tasks, services, APIs, data) that must be in place before you can complete this task. If any are unresolved, stop and raise them before starting implementation.
15
15
  4. Verify you have access to the tools, environments, and permissions needed to deploy and verify this task (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.
16
16
  5. Define the tests you will write to confirm the task is implemented correctly and prevent regressions.
@@ -15,10 +15,10 @@ It is the audit/repair counterpart to `/lisa:setup:jira` (and the other `setup:*
15
15
  ## Confirmation policy
16
16
 
17
17
  - **Default mode is read-only.** Detect drift and report. Never mutate config or the tracker.
18
- - **`repair=true` enables writes — to the config only, never to the tracker.** Within repair mode:
18
+ - **`repair=true` enables writes — to the config, plus one tracker write: re-creating a MISSING label.** Within repair mode:
19
19
  - **Case drift** (the live workflow has the same name with different casing — the configured name resolves case-insensitively but the canonical case differs) is repaired automatically: rewrite the config value to the live canonical name. This is non-destructive and unambiguous.
20
- - **Missing name** (no case-insensitive match exists in the live set — renamed beyond recognition or deleted) is **never** auto-repaired. Compute the closest live candidates and confirm via `AskUserQuestion` before writing. Default to leaving the value unchanged.
21
- - This skill never renames or deletes anything in the tracker/source. Repair fixes the Lisa config to match reality; correcting the tracker itself is a human/admin decision made elsewhere.
20
+ - **Missing name** (no case-insensitive match exists in the live set — renamed beyond recognition or deleted) is never repointed at a guessed near-match. See "MISSING" in Step 6: create the configured name when access allows, or stop as missing access. Only an operator running this skill interactively is offered the near-matches via `AskUserQuestion`.
21
+ - This skill never renames or deletes anything in the tracker/source. Apart from re-creating a MISSING label under its configured name, repair fixes the Lisa config to match reality. This matches `config-resolution`, "Defaults vs. requirements".
22
22
 
23
23
  ## Arguments
24
24
 
@@ -361,7 +361,7 @@ Write those lines for a non-technical operator: say what was seen and what a
361
361
  person might do about it, never "FAIL". A healthy repository prints
362
362
  `scoping labels: none` and nothing else.
363
363
 
364
- End with a roll-up: counts of VALID / DRIFTED / UNRESOLVABLE projects and the exact next command (`… repair=true` when drift is auto-repairable; an admin note when a status is genuinely MISSING; `/lisa:setup:linear` when a `ready` is INVERTED; an admin note naming the items when a repo scope is UNSTAMPED_ALIAS). Scoping-label findings are reported alongside that roll-up as a **separate count**, never folded into DRIFTED.
364
+ End with a roll-up: counts of VALID / DRIFTED / UNRESOLVABLE projects and the exact next command (`… repair=true` when drift is auto-repairable; the missing access (status/label and permission) when a MISSING name could not be re-created; `/lisa:setup:linear` when a `ready` is INVERTED; an admin note naming the items when a repo scope is UNSTAMPED_ALIAS). Scoping-label findings are reported alongside that roll-up as a **separate count**, never folded into DRIFTED.
365
365
 
366
366
  ## Step 6 — Repair (only when `repair=true`)
367
367
 
@@ -385,13 +385,16 @@ jq --arg v "$CANONICAL" '.github.labels.<lane>.<role> = $v' \
385
385
  .lisa.config.json > .lisa.config.json.tmp && mv .lisa.config.json.tmp .lisa.config.json
386
386
  ```
387
387
 
388
- ### MISSING — confirm first
388
+ ### MISSING — re-create it, or stop as missing access
389
389
 
390
- Compute the closest live candidates (case-insensitive token/substring overlap, then edit distance). Present via `AskUserQuestion`:
390
+ The configured name is the one the queue already reads, so the safe repair puts that name back. Do not repoint the role at a near-match on your own: a near-match may be another lane the team fills.
391
391
 
392
- > Role `<role>` maps to `<configured>`, which no longer exists in `<vendor>`. Closest live names: `<c1>`, `<c2>`, `<c3>`. Pick the replacement, leave unchanged, or enter a name manually.
392
+ - **Unattended, or `repair=true` with no operator present:** create the missing label under its configured name — a GitHub label (`gh label create`), or a Linear issue label or project label through `lisa-linear-access`. Then re-run the audit and report VALID. A Jira workflow status cannot be created this way, because `lisa-atlassian-access` does not edit workflows, and any tracker can refuse for lack of permission. Either case is **missing access**: keep the project `DRIFTED` and stop, naming the exact status or label, the project, and the permission that is missing. A missing Linear workflow **state** is never re-created here: its `type` and board position are team configuration, and a guessed value can route Issues into a human-only lane. Keep the project `DRIFTED`, report the role and its expected state name, and point to `/lisa:setup:linear`, which creates states with an explicit name and type.
393
+ - **An operator running this skill interactively** may instead be offered the closest live candidates (case-insensitive token/substring overlap, then edit distance) via `AskUserQuestion`:
393
394
 
394
- Only write on an explicit pick. Never auto-select. If the user leaves it unchanged, keep the project `DRIFTED` and surface the admin remediation (add the status back, or fix it in the tracker).
395
+ > Role `<role>` maps to `<configured>`, which no longer exists in `<vendor>`. Closest live names: `<c1>`, `<c2>`, `<c3>`. Re-create `<configured>`, pick a replacement, or enter a name manually.
396
+
397
+ Write a replacement only on an explicit pick.
395
398
 
396
399
  ### INVERTED — never auto-repair
397
400
 
@@ -447,15 +450,15 @@ Re-print the project section showing the post-repair mapping and the new verdict
447
450
  ## Idempotency & repeatability
448
451
 
449
452
  - Re-running on a clean config reports `VALID` and writes nothing.
450
- - Read-only mode has no side effects and is safe to schedule. Pair with `/schedule` (or run in CI) to detect drift continuously; run `repair=true` interactively when drift appears (the `MISSING` path needs a human decision and should not run unattended).
453
+ - Read-only mode has no side effects and is safe to schedule. Pair with `/schedule` (or run in CI) to detect drift continuously; `repair=true` may also run unattended: a `MISSING` name is re-created when access allows and reported as missing access otherwise.
451
454
  - Repair only ever touches `.lisa.config.json` (and clears the local verification-cache key) — it preserves all unrelated config and never stages secrets or env values.
452
455
 
453
456
  ## Rules
454
457
 
455
458
  - Compare status/label names **case-sensitively** against the live canonical set. A case-insensitive tracker query (e.g. JQL) that resolves is not proof the casing matches.
456
459
  - Verify the access substrate is authenticated to the **configured** account before trusting any enumeration. An audit run against the wrong instance is `UNRESOLVABLE`, not `VALID`.
457
- - Repair fixes the **config**, never the tracker. Do not rename or delete tracker statuses, labels, or options.
458
- - Never auto-repair a `MISSING` mapping; confirm the replacement via `AskUserQuestion`.
460
+ - Repair fixes the **config**. Its only tracker write is re-creating a MISSING label under its configured name; a missing Linear workflow state stays `DRIFTED` for `/lisa:setup:linear`. Do not rename or delete tracker statuses, labels, or options.
461
+ - Never repoint a `MISSING` mapping at a guessed near-match. Re-create it, stop as missing access, or (interactive only) take the operator's explicit pick.
459
462
  - Use `jq` for all JSON reads/writes; write only changed keys via `jq … > tmp && mv`.
460
463
  - In batch mode, audit each project independently — one project's `UNRESOLVABLE` (e.g. an auth mismatch) must not abort the rest of the sweep.
461
464
  - Reuse the config-resolution defaults and the vendor access skills (`atlassian-access`, `gh`, Linear/Notion MCP); do not invent a parallel mapping or lifecycle vocabulary.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "6.0.7",
3
+ "version": "6.0.9",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -29,7 +29,7 @@ Once you have a space or parent-page URL, RUN. Do not ask the caller whether to
29
29
 
30
30
  The invoking caller (a slash command, a scheduled cron, or a parent agent) hands you a Confluence space URL/key or a parent page URL/ID. You do not pick the scope yourself.
31
31
 
32
- If no scope is provided, stop and ask. Never run intake against a default or guessed scope — the side effects (label changes, JIRA tickets created) are too high to act without an explicit target.
32
+ If no scope is provided and none is configured, first file the decision-ready escalation packet (`automation-runbook-contract`, "Escalation") through `lisa-tracker-write`, labeled `status:blocked` and `human-needed` with `human_gate` set, naming the missing input and the `/lisa:setup:*` skill that configures it; then exit `recovery-required` citing that item. If the tracker itself is unconfigured so nothing can be filed, put the same packet in the exit summary. Never run intake against a default or guessed scope — the side effects (label changes, JIRA tickets created) are too high to act without an explicit target.
33
33
 
34
34
  ### 2. Run the intake skill
35
35
 
@@ -29,7 +29,7 @@ Once you have a repo, RUN. Do not ask the caller whether to proceed, do not prev
29
29
 
30
30
  The invoking caller (a slash command or a future schedule wrapper) hands you a GitHub `org/repo` token, a full GitHub repo URL, or the literal token `github` (which falls back to `.lisa.config.json`). You do not pick the repo yourself.
31
31
 
32
- If no repo is provided, stop and ask. Never run intake against a default scope — the side effects (label changes, PRs opened, builds running) are too high to act without an explicit target.
32
+ If no repo is provided and none is configured, first file the decision-ready escalation packet (`automation-runbook-contract`, "Escalation") through `lisa-tracker-write`, labeled `status:blocked` and `human-needed` with `human_gate` set, naming the missing input and the `/lisa:setup:*` skill that configures it; then exit `recovery-required` citing that item. If the tracker itself is unconfigured so nothing can be filed, put the same packet in the exit summary. Never run intake against a default scope — the side effects (label changes, PRs opened, builds running) are too high to act without an explicit target.
33
33
 
34
34
  ### 2. Run the intake skill
35
35
 
@@ -29,7 +29,7 @@ Once you have a repo, RUN. Do not ask the caller whether to proceed, do not prev
29
29
 
30
30
  The invoking caller (a slash command, a scheduled cron, or a parent agent) hands you a GitHub `org/repo` token, a full GitHub repo URL, or the literal token `github` (which falls back to `.lisa.config.json`). You do not pick the repo yourself.
31
31
 
32
- If no repo is provided, stop and ask. Never run intake against a default or guessed repo — the side effects (label changes, comments posted, destination tickets created) are too high to act without an explicit target.
32
+ If no repo is provided and none is configured, first file the decision-ready escalation packet (`automation-runbook-contract`, "Escalation") through `lisa-tracker-write`, labeled `status:blocked` and `human-needed` with `human_gate` set, naming the missing input and the `/lisa:setup:*` skill that configures it; then exit `recovery-required` citing that item. If the tracker itself is unconfigured so nothing can be filed, put the same packet in the exit summary. Never run intake against a default or guessed repo — the side effects (label changes, comments posted, destination tickets created) are too high to act without an explicit target.
33
33
 
34
34
  ### 2. Run the intake skill
35
35
 
@@ -29,7 +29,7 @@ Once you have a project key or JQL, RUN. Do not ask the caller whether to procee
29
29
 
30
30
  The invoking caller (a slash command or a future schedule wrapper) hands you a JIRA project key (e.g. `SE`) or a full JQL filter. You do not pick the query yourself.
31
31
 
32
- If no query is provided, stop and ask. Never run intake against a default scope — the side effects (status transitions, PRs opened, builds running) are too high to act without an explicit target.
32
+ If no query is provided and none is configured, first file the decision-ready escalation packet (`automation-runbook-contract`, "Escalation") through `lisa-tracker-write`, labeled `status:blocked` and `human-needed` with `human_gate` set, naming the missing input and the `/lisa:setup:*` skill that configures it; then exit `recovery-required` citing that item. If the tracker itself is unconfigured so nothing can be filed, put the same packet in the exit summary. Never run intake against a default scope — the side effects (status transitions, PRs opened, builds running) are too high to act without an explicit target.
33
33
 
34
34
  ### 2. Run the intake skill
35
35
 
@@ -29,7 +29,7 @@ Once you have a team key, RUN. Do not ask the caller whether to proceed, do not
29
29
 
30
30
  The invoking caller (a slash command, a scheduled cron, or a parent agent) hands you a Linear team key (e.g. `ENG`) or the literal token `linear` (which falls back to `linear.teamKey` in `.lisa.config.json`). You do not pick the team yourself. Lifecycle state names are read from `linear.workflow.*` and are not your concern at this layer.
31
31
 
32
- If no query is provided AND no `linear.teamKey` is configured, stop and ask. Never run intake against a default scope without explicit configuration — the side effects (state transitions, PRs opened, builds running) are too high to act without an explicit target.
32
+ If no query is provided AND no `linear.teamKey` is configured, first file the decision-ready escalation packet (`automation-runbook-contract`, "Escalation") through `lisa-tracker-write`, labeled `status:blocked` and `human-needed` with `human_gate` set, naming the missing `linear.teamKey` and `/lisa:setup:linear`; then exit `recovery-required` citing that item. If the tracker itself is unconfigured so nothing can be filed, put the same packet in the exit summary. Never run intake against a default scope without explicit configuration — the side effects (state transitions, PRs opened, builds running) are too high to act without an explicit target.
33
33
 
34
34
  ### 2. Run the intake skill
35
35
 
@@ -29,7 +29,7 @@ Once you have a workspace or team scope, RUN. Do not ask the caller whether to p
29
29
 
30
30
  The invoking caller (a slash command, a scheduled cron, or a parent agent) hands you a Linear workspace URL, a team URL, a bare team key, or the literal token `linear` (which falls back to `linear.workspace` in `.lisa.config.json`). You do not pick the scope yourself.
31
31
 
32
- If no scope is provided, stop and ask. Never run intake against a default or guessed scope — the side effects (label changes, project comments, JIRA tickets created) are too high to act without an explicit target.
32
+ If no scope is provided and none is configured, first file the decision-ready escalation packet (`automation-runbook-contract`, "Escalation") through `lisa-tracker-write`, labeled `status:blocked` and `human-needed` with `human_gate` set, naming the missing input and the `/lisa:setup:*` skill that configures it; then exit `recovery-required` citing that item. If the tracker itself is unconfigured so nothing can be filed, put the same packet in the exit summary. Never run intake against a default or guessed scope — the side effects (label changes, project comments, JIRA tickets created) are too high to act without an explicit target.
33
33
 
34
34
  ### 2. Run the intake skill
35
35
 
@@ -27,7 +27,7 @@ Once you have a database URL, RUN. Do not ask the caller whether to proceed, do
27
27
 
28
28
  The invoking caller (a slash command, a scheduled cron, or a parent agent) hands you a Notion database URL or bare ID. You do not pick the database yourself.
29
29
 
30
- If no URL is provided, stop and ask. Never run intake against a default or guessed database — the side effects (Notion status changes, JIRA tickets created) are too high to act without an explicit target.
30
+ If no URL is provided and none is configured, first file the decision-ready escalation packet (`automation-runbook-contract`, "Escalation") through `lisa-tracker-write`, labeled `status:blocked` and `human-needed` with `human_gate` set, naming the missing input and the `/lisa:setup:*` skill that configures it; then exit `recovery-required` citing that item. If the tracker itself is unconfigured so nothing can be filed, put the same packet in the exit summary. Never run intake against a default or guessed database — the side effects (Notion status changes, JIRA tickets created) are too high to act without an explicit target.
31
31
 
32
32
  ### 2. Run the intake skill
33
33
 
@@ -51,7 +51,7 @@ Return the structured report defined in the skill. Never summarize or drop rows.
51
51
  - **Degrade, never block, on an absent or v1 verdict.** If no v2 verdict exists, say so in the report, cap affected rows at `PARTIAL`, and do not invent a mismatch you could not check.
52
52
  - **Scope creep is a distinct failure.** Do not fold `SCOPE_CREEP_VIOLATION` into "missing" or "untraceable." Scope creep means Out of Scope was violated — it blocks shipping.
53
53
  - **Ownership fixes are not scope creep.** A change that fixes a real defect in code this work touches or depends on, and is listed in the PR description as such, is expected under the bounded ownership rule: classify it `OWNERSHIP_FIX` in the untraceable list, never `SCOPE_CREEP_VIOLATION`, and never count it against the verdict. Two exceptions still count: the fix lands in something the spec's Out of Scope names explicitly, or the PR does not list it (an unlisted fix is an ordinary `UNTRACEABLE_CHANGE`). Work on code the change neither touches nor depends on belongs in a ticket, not this PR.
54
- - **Untraceable changes get surfaced, not judged.** Refactors and test helpers often land here. Surface them so the human can confirm intent; do not automatically fail.
54
+ - **Untraceable changes get surfaced, not judged.** Refactors and test helpers often land here. Surface them with their likely intent; do not automatically fail. The implementer may justify a behavior-preserving refactor or test helper in the PR, but must revert or ticket a substantive behavior change, which keeps the verdict `DIVERGES`.
55
55
  - **If the spec itself is inadequate** (no acceptance criteria, no Out of Scope, no Validation Journey for runtime changes), the verdict is `DIVERGES` until the spec is tightened. Do not paper over an ambiguous spec with a generous match.
56
- - **Never gather empirical evidence yourself.** That is verification-specialist's job. You read their report. If it's missing, block and ask.
57
- - **Never approve your own work.** If you produced the implementation in this session, say so explicitly in the report and recommend the human double-check — self-review of conformance is weakest when the same mind built the thing.
56
+ - **Never gather empirical evidence yourself.** That is verification-specialist's job. You read their report. If it is missing, ask the caller (the lead) for it and return no verdict until it arrives. The lead recovers by running `verification-specialist` on the current head and then re-running this conformance check against that report.
57
+ - **Never approve your own work.** If you produced the implementation in this session, say so explicitly in the report and have the lead hand the conformance check to a fresh agent that did not build it — self-review of conformance is weakest when the same mind built the thing.
@@ -55,7 +55,7 @@ It opens with the outcome and the operator action, before any narrative:
55
55
  ```
56
56
  change-proved — nothing for you. PR #6393 open, auto-merge on, CI running.
57
57
  approval-requested — need your account: approve the protected production deploy for the 135 Regular→Bold flips.
58
- recovery-required — need you: staging E2E gate red for congestion; rerun or admin-merge.
58
+ recovery-required — need your access: the CI deploy role lacks `ecr:PutImage`, so no deploy runs until it is granted.
59
59
  ```
60
60
 
61
61
  The operator must learn whether they are needed **from the first line**, without reading the report.