@codyswann/lisa 7.1.5 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (661) hide show
  1. package/all/copy-overwrite/scripts/check-npm-publish-landed.mjs +0 -2
  2. package/all/copy-overwrite/scripts/lib/push-timing.mjs +3 -6
  3. package/all/copy-overwrite/scripts/lisa-enforcement-fallback.sh +31 -32
  4. package/all/copy-overwrite/scripts/lisa-hooks/block-managed-file-edits.sh +201 -20
  5. package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +3 -2
  6. package/dist/cli/admit-cmd.d.ts.map +1 -1
  7. package/dist/cli/admit-cmd.js +16 -10
  8. package/dist/cli/admit-cmd.js.map +1 -1
  9. package/dist/cli/apply.d.ts.map +1 -1
  10. package/dist/cli/apply.js +2 -2
  11. package/dist/cli/apply.js.map +1 -1
  12. package/dist/cli/check-cmd.d.ts.map +1 -1
  13. package/dist/cli/check-cmd.js +8 -4
  14. package/dist/cli/check-cmd.js.map +1 -1
  15. package/dist/cli/doctor-coderabbit.js +2 -2
  16. package/dist/cli/doctor-coderabbit.js.map +1 -1
  17. package/dist/cli/doctor-readiness-supply-chain-python.d.ts +5 -1
  18. package/dist/cli/doctor-readiness-supply-chain-python.d.ts.map +1 -1
  19. package/dist/cli/doctor-readiness-supply-chain-python.js +44 -10
  20. package/dist/cli/doctor-readiness-supply-chain-python.js.map +1 -1
  21. package/dist/cli/doctor-readiness.js +2 -2
  22. package/dist/cli/doctor-readiness.js.map +1 -1
  23. package/dist/cli/doctor-worker-journey.js +2 -2
  24. package/dist/cli/doctor-worker-journey.js.map +1 -1
  25. package/dist/cli/doctor.d.ts.map +1 -1
  26. package/dist/cli/doctor.js +7 -4
  27. package/dist/cli/doctor.js.map +1 -1
  28. package/dist/cli/file-upstream-cmd.d.ts.map +1 -1
  29. package/dist/cli/file-upstream-cmd.js +20 -25
  30. package/dist/cli/file-upstream-cmd.js.map +1 -1
  31. package/dist/cli/gh-cli.d.ts +2 -2
  32. package/dist/cli/gh-cli.d.ts.map +1 -1
  33. package/dist/cli/gh-cli.js +13 -6
  34. package/dist/cli/gh-cli.js.map +1 -1
  35. package/dist/cli/health-cmd.d.ts.map +1 -1
  36. package/dist/cli/health-cmd.js +7 -19
  37. package/dist/cli/health-cmd.js.map +1 -1
  38. package/dist/cli/lisa-test-run-jest-merge.js +5 -5
  39. package/dist/cli/lisa-test-run-jest-merge.js.map +1 -1
  40. package/dist/cli/lisa-test-run.js +8 -4
  41. package/dist/cli/lisa-test-run.js.map +1 -1
  42. package/dist/cli/pr-landing.js +2 -2
  43. package/dist/cli/pr-landing.js.map +1 -1
  44. package/dist/cli/update-check.d.ts.map +1 -1
  45. package/dist/cli/update-check.js +7 -4
  46. package/dist/cli/update-check.js.map +1 -1
  47. package/dist/cli/update-cmd.d.ts.map +1 -1
  48. package/dist/cli/update-cmd.js +7 -4
  49. package/dist/cli/update-cmd.js.map +1 -1
  50. package/dist/cli/worktree-ownership.d.ts.map +1 -1
  51. package/dist/cli/worktree-ownership.js +3 -3
  52. package/dist/cli/worktree-ownership.js.map +1 -1
  53. package/dist/codex/hooks-catalog.d.ts +151 -0
  54. package/dist/codex/hooks-catalog.d.ts.map +1 -0
  55. package/dist/codex/hooks-catalog.js +315 -0
  56. package/dist/codex/hooks-catalog.js.map +1 -0
  57. package/dist/codex/hooks-compatibility.d.ts +14 -0
  58. package/dist/codex/hooks-compatibility.d.ts.map +1 -0
  59. package/dist/codex/hooks-compatibility.js +196 -0
  60. package/dist/codex/hooks-compatibility.js.map +1 -0
  61. package/dist/codex/hooks-installer.d.ts +2 -49
  62. package/dist/codex/hooks-installer.d.ts.map +1 -1
  63. package/dist/codex/hooks-installer.js +5 -546
  64. package/dist/codex/hooks-installer.js.map +1 -1
  65. package/dist/codex/hooks-source-links.d.ts +11 -0
  66. package/dist/codex/hooks-source-links.d.ts.map +1 -0
  67. package/dist/codex/hooks-source-links.js +74 -0
  68. package/dist/codex/hooks-source-links.js.map +1 -0
  69. package/dist/codex/scripts/block-migration-edits.sh +2 -2
  70. package/dist/codex/scripts/block-suppress-directives.sh +3 -3
  71. package/dist/codex/scripts/format-on-edit.sh +2 -2
  72. package/dist/codex/scripts/lint-on-edit.sh +2 -2
  73. package/dist/codex/scripts/lisa-edit-gate.sh +19 -15
  74. package/dist/codex/scripts/rubocop-on-edit.sh +2 -2
  75. package/dist/codex/scripts/sg-scan-on-edit.sh +2 -2
  76. package/dist/configs/coverage-scope.d.ts +0 -23
  77. package/dist/configs/coverage-scope.d.ts.map +1 -1
  78. package/dist/configs/coverage-scope.js +2 -3
  79. package/dist/configs/coverage-scope.js.map +1 -1
  80. package/dist/configs/eslint/base.d.ts +2 -113
  81. package/dist/configs/eslint/base.d.ts.map +1 -1
  82. package/dist/configs/eslint/base.js +2 -165
  83. package/dist/configs/eslint/base.js.map +1 -1
  84. package/dist/configs/eslint/cdk.d.ts.map +1 -1
  85. package/dist/configs/eslint/cdk.js +82 -66
  86. package/dist/configs/eslint/cdk.js.map +1 -1
  87. package/dist/configs/eslint/expo-overrides.d.ts +103 -0
  88. package/dist/configs/eslint/expo-overrides.d.ts.map +1 -0
  89. package/dist/configs/eslint/expo-overrides.js +187 -0
  90. package/dist/configs/eslint/expo-overrides.js.map +1 -0
  91. package/dist/configs/eslint/expo.d.ts +2 -7
  92. package/dist/configs/eslint/expo.d.ts.map +1 -1
  93. package/dist/configs/eslint/expo.js +186 -258
  94. package/dist/configs/eslint/expo.js.map +1 -1
  95. package/dist/configs/eslint/nestjs.d.ts.map +1 -1
  96. package/dist/configs/eslint/nestjs.js +86 -70
  97. package/dist/configs/eslint/nestjs.js.map +1 -1
  98. package/dist/configs/eslint/process-environment-bans.d.ts +41 -0
  99. package/dist/configs/eslint/process-environment-bans.d.ts.map +1 -0
  100. package/dist/configs/eslint/process-environment-bans.js +50 -0
  101. package/dist/configs/eslint/process-environment-bans.js.map +1 -0
  102. package/dist/configs/eslint/shared-rules.d.ts +130 -0
  103. package/dist/configs/eslint/shared-rules.d.ts.map +1 -0
  104. package/dist/configs/eslint/shared-rules.js +233 -0
  105. package/dist/configs/eslint/shared-rules.js.map +1 -0
  106. package/dist/configs/eslint/typescript.d.ts.map +1 -1
  107. package/dist/configs/eslint/typescript.js +2 -4
  108. package/dist/configs/eslint/typescript.js.map +1 -1
  109. package/dist/configs/vitest/base.d.ts +2 -2
  110. package/dist/configs/vitest/base.d.ts.map +1 -1
  111. package/dist/configs/vitest/base.js +5 -5
  112. package/dist/configs/vitest/base.js.map +1 -1
  113. package/dist/configs/vitest/coverage-reports-directory.d.ts.map +1 -1
  114. package/dist/configs/vitest/coverage-reports-directory.js +3 -2
  115. package/dist/configs/vitest/coverage-reports-directory.js.map +1 -1
  116. package/dist/configs/vitest/refusal-announcement.js +2 -2
  117. package/dist/configs/vitest/refusal-announcement.js.map +1 -1
  118. package/dist/core/admission-lock.js +2 -3
  119. package/dist/core/admission-lock.js.map +1 -1
  120. package/dist/core/admission-state.d.ts.map +1 -1
  121. package/dist/core/admission-state.js +11 -5
  122. package/dist/core/admission-state.js.map +1 -1
  123. package/dist/core/admission.d.ts.map +1 -1
  124. package/dist/core/admission.js +2 -2
  125. package/dist/core/admission.js.map +1 -1
  126. package/dist/core/bootstrap-environment.d.ts.map +1 -1
  127. package/dist/core/bootstrap-environment.js +8 -5
  128. package/dist/core/bootstrap-environment.js.map +1 -1
  129. package/dist/core/downstream-names.d.ts.map +1 -1
  130. package/dist/core/downstream-names.js +48 -47
  131. package/dist/core/downstream-names.js.map +1 -1
  132. package/dist/core/effectiveness-store.d.ts.map +1 -1
  133. package/dist/core/effectiveness-store.js +3 -5
  134. package/dist/core/effectiveness-store.js.map +1 -1
  135. package/dist/core/gate-declaration-drift.d.ts.map +1 -1
  136. package/dist/core/gate-declaration-drift.js +46 -27
  137. package/dist/core/gate-declaration-drift.js.map +1 -1
  138. package/dist/core/kane-cli-process.d.ts.map +1 -1
  139. package/dist/core/kane-cli-process.js +46 -33
  140. package/dist/core/kane-cli-process.js.map +1 -1
  141. package/dist/core/kane-cli.d.ts.map +1 -1
  142. package/dist/core/kane-cli.js +3 -4
  143. package/dist/core/kane-cli.js.map +1 -1
  144. package/dist/core/lisa-agent-emit-extra.d.ts +75 -0
  145. package/dist/core/lisa-agent-emit-extra.d.ts.map +1 -0
  146. package/dist/core/lisa-agent-emit-extra.js +231 -0
  147. package/dist/core/lisa-agent-emit-extra.js.map +1 -0
  148. package/dist/core/lisa-agent-emit.d.ts +79 -0
  149. package/dist/core/lisa-agent-emit.d.ts.map +1 -0
  150. package/dist/core/lisa-agent-emit.js +224 -0
  151. package/dist/core/lisa-agent-emit.js.map +1 -0
  152. package/dist/core/lisa-deletions.d.ts +116 -0
  153. package/dist/core/lisa-deletions.d.ts.map +1 -0
  154. package/dist/core/lisa-deletions.js +316 -0
  155. package/dist/core/lisa-deletions.js.map +1 -0
  156. package/dist/core/lisa-file-results.d.ts +58 -0
  157. package/dist/core/lisa-file-results.d.ts.map +1 -0
  158. package/dist/core/lisa-file-results.js +173 -0
  159. package/dist/core/lisa-file-results.js.map +1 -0
  160. package/dist/core/lisa-maintenance.d.ts +139 -0
  161. package/dist/core/lisa-maintenance.d.ts.map +1 -0
  162. package/dist/core/lisa-maintenance.js +324 -0
  163. package/dist/core/lisa-maintenance.js.map +1 -0
  164. package/dist/core/lisa-owned-hash-ledger.d.ts +7 -5
  165. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  166. package/dist/core/lisa-owned-hash-ledger.js +44 -6036
  167. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  168. package/dist/core/lisa-owned-hash-ledger.json +6021 -0
  169. package/dist/core/lisa-plugin-sync.d.ts +96 -0
  170. package/dist/core/lisa-plugin-sync.d.ts.map +1 -0
  171. package/dist/core/lisa-plugin-sync.js +216 -0
  172. package/dist/core/lisa-plugin-sync.js.map +1 -0
  173. package/dist/core/lisa-plugins.d.ts +42 -0
  174. package/dist/core/lisa-plugins.d.ts.map +1 -0
  175. package/dist/core/lisa-plugins.js +155 -0
  176. package/dist/core/lisa-plugins.js.map +1 -0
  177. package/dist/core/lisa-state.d.ts +202 -0
  178. package/dist/core/lisa-state.d.ts.map +1 -0
  179. package/dist/core/lisa-state.js +205 -0
  180. package/dist/core/lisa-state.js.map +1 -0
  181. package/dist/core/lisa-summary-stats.d.ts +74 -0
  182. package/dist/core/lisa-summary-stats.d.ts.map +1 -0
  183. package/dist/core/lisa-summary-stats.js +189 -0
  184. package/dist/core/lisa-summary-stats.js.map +1 -0
  185. package/dist/core/lisa-summary.d.ts +34 -0
  186. package/dist/core/lisa-summary.d.ts.map +1 -0
  187. package/dist/core/lisa-summary.js +144 -0
  188. package/dist/core/lisa-summary.js.map +1 -0
  189. package/dist/core/lisa-templates.d.ts +98 -0
  190. package/dist/core/lisa-templates.d.ts.map +1 -0
  191. package/dist/core/lisa-templates.js +251 -0
  192. package/dist/core/lisa-templates.js.map +1 -0
  193. package/dist/core/lisa.d.ts +14 -903
  194. package/dist/core/lisa.d.ts.map +1 -1
  195. package/dist/core/lisa.js +30 -2275
  196. package/dist/core/lisa.js.map +1 -1
  197. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  198. package/dist/core/plugin-command.d.ts.map +1 -1
  199. package/dist/core/plugin-command.js +117 -61
  200. package/dist/core/plugin-command.js.map +1 -1
  201. package/dist/core/template-ownership.d.ts.map +1 -1
  202. package/dist/core/template-ownership.js +0 -1
  203. package/dist/core/template-ownership.js.map +1 -1
  204. package/dist/core/upstream-attribution-body.d.ts +4 -11
  205. package/dist/core/upstream-attribution-body.d.ts.map +1 -1
  206. package/dist/core/upstream-attribution-body.js +61 -373
  207. package/dist/core/upstream-attribution-body.js.map +1 -1
  208. package/dist/core/upstream-attribution-fields.d.ts +40 -0
  209. package/dist/core/upstream-attribution-fields.d.ts.map +1 -0
  210. package/dist/core/upstream-attribution-fields.js +167 -0
  211. package/dist/core/upstream-attribution-fields.js.map +1 -0
  212. package/dist/core/upstream-attribution-files.d.ts +15 -0
  213. package/dist/core/upstream-attribution-files.d.ts.map +1 -0
  214. package/dist/core/upstream-attribution-files.js +156 -0
  215. package/dist/core/upstream-attribution-files.js.map +1 -0
  216. package/dist/core/upstream-attribution-guards.d.ts +80 -0
  217. package/dist/core/upstream-attribution-guards.d.ts.map +1 -0
  218. package/dist/core/upstream-attribution-guards.js +284 -0
  219. package/dist/core/upstream-attribution-guards.js.map +1 -0
  220. package/dist/core/upstream-evidence-manifest.d.ts +1 -1
  221. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  222. package/dist/core/upstream-evidence-manifest.js +67 -30435
  223. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  224. package/dist/core/upstream-evidence-manifest.json +30518 -0
  225. package/dist/health/agentic-contract.d.ts +94 -0
  226. package/dist/health/agentic-contract.d.ts.map +1 -0
  227. package/dist/health/agentic-contract.js +2 -0
  228. package/dist/health/agentic-contract.js.map +1 -0
  229. package/dist/health/agentic-evidence.d.ts +16 -0
  230. package/dist/health/agentic-evidence.d.ts.map +1 -0
  231. package/dist/health/agentic-evidence.js +213 -0
  232. package/dist/health/agentic-evidence.js.map +1 -0
  233. package/dist/health/agentic.d.ts +11 -74
  234. package/dist/health/agentic.d.ts.map +1 -1
  235. package/dist/health/agentic.js +42 -216
  236. package/dist/health/agentic.js.map +1 -1
  237. package/dist/health/deadline.d.ts +4 -1
  238. package/dist/health/deadline.d.ts.map +1 -1
  239. package/dist/health/deadline.js +4 -3
  240. package/dist/health/deadline.js.map +1 -1
  241. package/dist/health/deterministic-inputs.d.ts.map +1 -1
  242. package/dist/health/deterministic-inputs.js +3 -11
  243. package/dist/health/deterministic-inputs.js.map +1 -1
  244. package/dist/health/deterministic-probes.d.ts +52 -0
  245. package/dist/health/deterministic-probes.d.ts.map +1 -0
  246. package/dist/health/deterministic-probes.js +142 -0
  247. package/dist/health/deterministic-probes.js.map +1 -0
  248. package/dist/health/deterministic.d.ts +2 -25
  249. package/dist/health/deterministic.d.ts.map +1 -1
  250. package/dist/health/deterministic.js +14 -106
  251. package/dist/health/deterministic.js.map +1 -1
  252. package/dist/health/finding-utils.d.ts +4 -3
  253. package/dist/health/finding-utils.d.ts.map +1 -1
  254. package/dist/health/finding-utils.js +4 -4
  255. package/dist/health/finding-utils.js.map +1 -1
  256. package/dist/health/governance-probes.d.ts +29 -24
  257. package/dist/health/governance-probes.d.ts.map +1 -1
  258. package/dist/health/governance-probes.js +29 -25
  259. package/dist/health/governance-probes.js.map +1 -1
  260. package/dist/health/hook-inspection.d.ts +4 -3
  261. package/dist/health/hook-inspection.d.ts.map +1 -1
  262. package/dist/health/hook-inspection.js +17 -11
  263. package/dist/health/hook-inspection.js.map +1 -1
  264. package/dist/health/plugin-inspection.d.ts +6 -4
  265. package/dist/health/plugin-inspection.d.ts.map +1 -1
  266. package/dist/health/plugin-inspection.js +10 -9
  267. package/dist/health/plugin-inspection.js.map +1 -1
  268. package/dist/health/prepare.js +24 -8
  269. package/dist/health/prepare.js.map +1 -1
  270. package/dist/health/project-probes.d.ts +14 -7
  271. package/dist/health/project-probes.d.ts.map +1 -1
  272. package/dist/health/project-probes.js +14 -9
  273. package/dist/health/project-probes.js.map +1 -1
  274. package/dist/health/ruleset-compare.d.ts +30 -0
  275. package/dist/health/ruleset-compare.d.ts.map +1 -0
  276. package/dist/health/ruleset-compare.js +143 -0
  277. package/dist/health/ruleset-compare.js.map +1 -0
  278. package/dist/health/ruleset-config-checks.d.ts +66 -0
  279. package/dist/health/ruleset-config-checks.d.ts.map +1 -0
  280. package/dist/health/ruleset-config-checks.js +190 -0
  281. package/dist/health/ruleset-config-checks.js.map +1 -0
  282. package/dist/health/ruleset-expected.d.ts +39 -0
  283. package/dist/health/ruleset-expected.d.ts.map +1 -0
  284. package/dist/health/ruleset-expected.js +181 -0
  285. package/dist/health/ruleset-expected.js.map +1 -0
  286. package/dist/health/ruleset-gh.d.ts +85 -0
  287. package/dist/health/ruleset-gh.d.ts.map +1 -0
  288. package/dist/health/ruleset-gh.js +177 -0
  289. package/dist/health/ruleset-gh.js.map +1 -0
  290. package/dist/health/ruleset-inspection.d.ts +13 -117
  291. package/dist/health/ruleset-inspection.d.ts.map +1 -1
  292. package/dist/health/ruleset-inspection.js +8 -738
  293. package/dist/health/ruleset-inspection.js.map +1 -1
  294. package/dist/health/ruleset-normalize.d.ts +32 -0
  295. package/dist/health/ruleset-normalize.d.ts.map +1 -0
  296. package/dist/health/ruleset-normalize.js +160 -0
  297. package/dist/health/ruleset-normalize.js.map +1 -0
  298. package/dist/health/template-compose.d.ts +9 -0
  299. package/dist/health/template-compose.d.ts.map +1 -0
  300. package/dist/health/template-compose.js +105 -0
  301. package/dist/health/template-compose.js.map +1 -0
  302. package/dist/health/template-inspection.d.ts +5 -52
  303. package/dist/health/template-inspection.d.ts.map +1 -1
  304. package/dist/health/template-inspection.js +13 -435
  305. package/dist/health/template-inspection.js.map +1 -1
  306. package/dist/health/template-plan.d.ts +33 -0
  307. package/dist/health/template-plan.d.ts.map +1 -0
  308. package/dist/health/template-plan.js +154 -0
  309. package/dist/health/template-plan.js.map +1 -0
  310. package/dist/health/template-shape.d.ts +19 -0
  311. package/dist/health/template-shape.d.ts.map +1 -0
  312. package/dist/health/template-shape.js +122 -0
  313. package/dist/health/template-shape.js.map +1 -0
  314. package/dist/health/workflow-excerpt.d.ts +15 -0
  315. package/dist/health/workflow-excerpt.d.ts.map +1 -0
  316. package/dist/health/workflow-excerpt.js +88 -0
  317. package/dist/health/workflow-excerpt.js.map +1 -0
  318. package/dist/health/workflow-inputs-inspection.d.ts +16 -0
  319. package/dist/health/workflow-inputs-inspection.d.ts.map +1 -0
  320. package/dist/health/workflow-inputs-inspection.js +116 -0
  321. package/dist/health/workflow-inputs-inspection.js.map +1 -0
  322. package/dist/opencode/plugin-templates/block-managed-file-edits.sh +201 -20
  323. package/dist/standards/capture.d.ts.map +1 -1
  324. package/dist/standards/capture.js +73 -25
  325. package/dist/standards/capture.js.map +1 -1
  326. package/dist/standards/contract.d.ts.map +1 -1
  327. package/dist/standards/contract.js +26 -9
  328. package/dist/standards/contract.js.map +1 -1
  329. package/dist/standards/git-state.d.ts.map +1 -1
  330. package/dist/standards/git-state.js +2 -2
  331. package/dist/standards/git-state.js.map +1 -1
  332. package/dist/standards/registry-checks.d.ts +34 -0
  333. package/dist/standards/registry-checks.d.ts.map +1 -0
  334. package/dist/standards/registry-checks.js +137 -0
  335. package/dist/standards/registry-checks.js.map +1 -0
  336. package/dist/standards/registry.d.ts +3 -13
  337. package/dist/standards/registry.d.ts.map +1 -1
  338. package/dist/standards/registry.js +105 -194
  339. package/dist/standards/registry.js.map +1 -1
  340. package/dist/standards/storage.js +8 -10
  341. package/dist/standards/storage.js.map +1 -1
  342. package/dist/strategies/deduplicate-arrays.d.ts +18 -0
  343. package/dist/strategies/deduplicate-arrays.d.ts.map +1 -0
  344. package/dist/strategies/deduplicate-arrays.js +25 -0
  345. package/dist/strategies/deduplicate-arrays.js.map +1 -0
  346. package/dist/strategies/package-lisa-detect.d.ts +10 -0
  347. package/dist/strategies/package-lisa-detect.d.ts.map +1 -0
  348. package/dist/strategies/package-lisa-detect.js +178 -0
  349. package/dist/strategies/package-lisa-detect.js.map +1 -0
  350. package/dist/strategies/package-lisa-direct-floors.d.ts +16 -0
  351. package/dist/strategies/package-lisa-direct-floors.d.ts.map +1 -0
  352. package/dist/strategies/package-lisa-direct-floors.js +37 -0
  353. package/dist/strategies/package-lisa-direct-floors.js.map +1 -0
  354. package/dist/strategies/package-lisa-host-pins.d.ts +43 -0
  355. package/dist/strategies/package-lisa-host-pins.d.ts.map +1 -0
  356. package/dist/strategies/package-lisa-host-pins.js +254 -0
  357. package/dist/strategies/package-lisa-host-pins.js.map +1 -0
  358. package/dist/strategies/package-lisa-manifest-guards.d.ts +59 -0
  359. package/dist/strategies/package-lisa-manifest-guards.d.ts.map +1 -0
  360. package/dist/strategies/package-lisa-manifest-guards.js +234 -0
  361. package/dist/strategies/package-lisa-manifest-guards.js.map +1 -0
  362. package/dist/strategies/package-lisa-pin-alignment.d.ts +34 -0
  363. package/dist/strategies/package-lisa-pin-alignment.d.ts.map +1 -0
  364. package/dist/strategies/package-lisa-pin-alignment.js +106 -0
  365. package/dist/strategies/package-lisa-pin-alignment.js.map +1 -0
  366. package/dist/strategies/package-lisa-script-notes.d.ts +19 -0
  367. package/dist/strategies/package-lisa-script-notes.d.ts.map +1 -0
  368. package/dist/strategies/package-lisa-script-notes.js +145 -0
  369. package/dist/strategies/package-lisa-script-notes.js.map +1 -0
  370. package/dist/strategies/package-lisa-template-apply.d.ts +53 -0
  371. package/dist/strategies/package-lisa-template-apply.d.ts.map +1 -0
  372. package/dist/strategies/package-lisa-template-apply.js +216 -0
  373. package/dist/strategies/package-lisa-template-apply.js.map +1 -0
  374. package/dist/strategies/package-lisa-template-merge.d.ts +42 -0
  375. package/dist/strategies/package-lisa-template-merge.d.ts.map +1 -0
  376. package/dist/strategies/package-lisa-template-merge.js +202 -0
  377. package/dist/strategies/package-lisa-template-merge.js.map +1 -0
  378. package/dist/strategies/package-lisa-types.d.ts +5 -0
  379. package/dist/strategies/package-lisa-types.d.ts.map +1 -1
  380. package/dist/strategies/package-lisa.d.ts +1 -195
  381. package/dist/strategies/package-lisa.d.ts.map +1 -1
  382. package/dist/strategies/package-lisa.js +27 -1333
  383. package/dist/strategies/package-lisa.js.map +1 -1
  384. package/dist/strategies/tagged-merge-sections.d.ts +68 -0
  385. package/dist/strategies/tagged-merge-sections.d.ts.map +1 -0
  386. package/dist/strategies/tagged-merge-sections.js +113 -0
  387. package/dist/strategies/tagged-merge-sections.js.map +1 -0
  388. package/dist/strategies/tagged-merge.d.ts +1 -90
  389. package/dist/strategies/tagged-merge.d.ts.map +1 -1
  390. package/dist/strategies/tagged-merge.js +19 -190
  391. package/dist/strategies/tagged-merge.js.map +1 -1
  392. package/dist/utils/bounded-stream.d.ts +30 -0
  393. package/dist/utils/bounded-stream.d.ts.map +1 -0
  394. package/dist/utils/bounded-stream.js +63 -0
  395. package/dist/utils/bounded-stream.js.map +1 -0
  396. package/dist/utils/fibonacci.d.ts +3 -3
  397. package/dist/utils/fibonacci.d.ts.map +1 -1
  398. package/dist/utils/fibonacci.js +48 -10
  399. package/dist/utils/fibonacci.js.map +1 -1
  400. package/dist/utils/memo.d.ts +25 -0
  401. package/dist/utils/memo.d.ts.map +1 -0
  402. package/dist/utils/memo.js +32 -0
  403. package/dist/utils/memo.js.map +1 -0
  404. package/dist/utils/postinstall-trampoline.d.ts.map +1 -1
  405. package/dist/utils/postinstall-trampoline.js +3 -20
  406. package/dist/utils/postinstall-trampoline.js.map +1 -1
  407. package/dist/utils/process-environment.d.ts +42 -0
  408. package/dist/utils/process-environment.d.ts.map +1 -0
  409. package/dist/utils/process-environment.js +52 -0
  410. package/dist/utils/process-environment.js.map +1 -0
  411. package/dist/utils/resolve-executable.d.ts +89 -0
  412. package/dist/utils/resolve-executable.d.ts.map +1 -0
  413. package/dist/utils/resolve-executable.js +224 -0
  414. package/dist/utils/resolve-executable.js.map +1 -0
  415. package/dist/utils/shell-command-line.d.ts +9 -0
  416. package/dist/utils/shell-command-line.d.ts.map +1 -0
  417. package/dist/utils/shell-command-line.js +43 -0
  418. package/dist/utils/shell-command-line.js.map +1 -0
  419. package/dist/utils/usage-accounting-totals.d.ts +19 -0
  420. package/dist/utils/usage-accounting-totals.d.ts.map +1 -0
  421. package/dist/utils/usage-accounting-totals.js +145 -0
  422. package/dist/utils/usage-accounting-totals.js.map +1 -0
  423. package/dist/utils/usage-accounting.d.ts +2 -14
  424. package/dist/utils/usage-accounting.d.ts.map +1 -1
  425. package/dist/utils/usage-accounting.js +2 -169
  426. package/dist/utils/usage-accounting.js.map +1 -1
  427. package/eslint-plugin-code-organization/__tests__/enforce-statement-order-react-violations.test.js +213 -0
  428. package/eslint-plugin-code-organization/__tests__/enforce-statement-order-valid.test.js +251 -0
  429. package/eslint-plugin-code-organization/__tests__/enforce-statement-order-violations.test.js +222 -0
  430. package/eslint-plugin-code-organization/__tests__/statement-order-tester.js +42 -0
  431. package/eslint-plugin-code-organization/rules/enforce-statement-order.js +6 -8
  432. package/expo/copy-overwrite/jest.setup.ts +11 -10
  433. package/expo/create-only/scripts/zap-baseline.sh +6 -18
  434. package/harper-fabric/create-only/scripts/zap-baseline.sh +7 -9
  435. package/nestjs/create-only/scripts/zap-baseline.sh +6 -7
  436. package/package.json +4 -4
  437. package/phaser/copy-overwrite/.husky/pre-push.verify +2 -0
  438. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  439. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  440. package/plugins/lisa/.codex-plugin/skills/lisa-setup-remote-env/assets/session-start.sh +18 -5
  441. package/plugins/lisa/hooks/block-managed-file-edits.sh +201 -20
  442. package/plugins/lisa/hooks/block-masked-exit-status.sh +1 -1
  443. package/plugins/lisa/hooks/block-no-verify.agy.sh +1 -1
  444. package/plugins/lisa/hooks/enforce-verification-gate.sh +1 -2
  445. package/plugins/lisa/hooks/ticket-sync-reminder.sh +2 -17
  446. package/plugins/lisa/hooks/track-plan-sessions.sh +7 -131
  447. package/plugins/lisa/scripts/remote-agent-aws-setup.sh +3 -1
  448. package/plugins/lisa/skills/lisa-setup-remote-env/assets/session-start.sh +18 -5
  449. package/plugins/lisa-agy/hooks/block-managed-file-edits.sh +201 -20
  450. package/plugins/lisa-agy/hooks/block-no-verify.agy.sh +1 -1
  451. package/plugins/lisa-agy/plugin.json +1 -1
  452. package/plugins/lisa-agy/scripts/remote-agent-aws-setup.sh +3 -1
  453. package/plugins/lisa-agy/skills/lisa-setup-remote-env/assets/session-start.sh +18 -5
  454. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  455. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  456. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  457. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  458. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  459. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  460. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  461. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  462. package/plugins/lisa-copilot/hooks/block-managed-file-edits.sh +201 -20
  463. package/plugins/lisa-copilot/hooks/block-masked-exit-status.sh +1 -1
  464. package/plugins/lisa-copilot/hooks/enforce-verification-gate.sh +1 -2
  465. package/plugins/lisa-copilot/scripts/remote-agent-aws-setup.sh +3 -1
  466. package/plugins/lisa-copilot/skills/lisa-setup-remote-env/assets/session-start.sh +18 -5
  467. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  468. package/plugins/lisa-cursor/hooks/block-managed-file-edits.sh +201 -20
  469. package/plugins/lisa-cursor/hooks/block-masked-exit-status.sh +1 -1
  470. package/plugins/lisa-cursor/hooks/enforce-verification-gate.sh +1 -2
  471. package/plugins/lisa-cursor/scripts/remote-agent-aws-setup.sh +3 -1
  472. package/plugins/lisa-cursor/skills/lisa-setup-remote-env/assets/session-start.sh +18 -5
  473. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  474. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  475. package/plugins/lisa-devin/hooks/block-managed-file-edits.sh +201 -20
  476. package/plugins/lisa-devin/hooks/block-masked-exit-status.sh +1 -1
  477. package/plugins/lisa-devin/hooks/enforce-verification-gate.sh +1 -2
  478. package/plugins/lisa-devin/scripts/remote-agent-aws-setup.sh +3 -1
  479. package/plugins/lisa-devin/skills/lisa-setup-remote-env/assets/session-start.sh +18 -5
  480. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  481. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  482. package/plugins/lisa-expo/.codex-plugin/skills/building-native-ui/references/webgpu-three.md +19 -9
  483. package/plugins/lisa-expo/.codex-plugin/skills/expo-tailwind-setup/SKILL.md +15 -4
  484. package/plugins/lisa-expo/skills/building-native-ui/references/webgpu-three.md +19 -9
  485. package/plugins/lisa-expo/skills/expo-tailwind-setup/SKILL.md +15 -4
  486. package/plugins/lisa-expo-agy/plugin.json +1 -1
  487. package/plugins/lisa-expo-agy/skills/building-native-ui/references/webgpu-three.md +19 -9
  488. package/plugins/lisa-expo-agy/skills/expo-tailwind-setup/SKILL.md +15 -4
  489. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  490. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/webgpu-three.md +19 -9
  491. package/plugins/lisa-expo-copilot/skills/expo-tailwind-setup/SKILL.md +15 -4
  492. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  493. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/webgpu-three.md +19 -9
  494. package/plugins/lisa-expo-cursor/skills/expo-tailwind-setup/SKILL.md +15 -4
  495. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  496. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  497. package/plugins/lisa-expo-devin/skills/building-native-ui/references/webgpu-three.md +19 -9
  498. package/plugins/lisa-expo-devin/skills/expo-tailwind-setup/SKILL.md +15 -4
  499. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  500. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  501. package/plugins/lisa-harper-fabric/hooks/block-generated-artifact-edits.sh +196 -11
  502. package/plugins/lisa-harper-fabric/hooks/enforce-config-extensions.sh +1 -1
  503. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  504. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  505. package/plugins/lisa-harper-fabric-copilot/hooks/block-generated-artifact-edits.sh +196 -11
  506. package/plugins/lisa-harper-fabric-copilot/hooks/enforce-config-extensions.sh +1 -1
  507. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  508. package/plugins/lisa-harper-fabric-cursor/hooks/block-generated-artifact-edits.sh +196 -11
  509. package/plugins/lisa-harper-fabric-cursor/hooks/enforce-config-extensions.sh +1 -1
  510. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  511. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  512. package/plugins/lisa-harper-fabric-devin/hooks/block-generated-artifact-edits.sh +196 -11
  513. package/plugins/lisa-harper-fabric-devin/hooks/enforce-config-extensions.sh +1 -1
  514. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  515. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  516. package/plugins/lisa-nestjs/.codex-plugin/skills/nestjs-rules/SKILL.md +39 -26
  517. package/plugins/lisa-nestjs/.codex-plugin/skills/typeorm-patterns/references/observability-patterns.md +18 -58
  518. package/plugins/lisa-nestjs/hooks/block-migration-edits.sh +1 -1
  519. package/plugins/lisa-nestjs/hooks/lisa-edit-gate.sh +19 -15
  520. package/plugins/lisa-nestjs/skills/nestjs-rules/SKILL.md +39 -26
  521. package/plugins/lisa-nestjs/skills/typeorm-patterns/references/observability-patterns.md +18 -58
  522. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  523. package/plugins/lisa-nestjs-agy/skills/nestjs-rules/SKILL.md +39 -26
  524. package/plugins/lisa-nestjs-agy/skills/typeorm-patterns/references/observability-patterns.md +18 -58
  525. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  526. package/plugins/lisa-nestjs-copilot/hooks/block-migration-edits.sh +1 -1
  527. package/plugins/lisa-nestjs-copilot/hooks/lisa-edit-gate.sh +19 -15
  528. package/plugins/lisa-nestjs-copilot/skills/nestjs-rules/SKILL.md +39 -26
  529. package/plugins/lisa-nestjs-copilot/skills/typeorm-patterns/references/observability-patterns.md +18 -58
  530. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  531. package/plugins/lisa-nestjs-cursor/hooks/block-migration-edits.sh +1 -1
  532. package/plugins/lisa-nestjs-cursor/hooks/lisa-edit-gate.sh +19 -15
  533. package/plugins/lisa-nestjs-cursor/skills/nestjs-rules/SKILL.md +39 -26
  534. package/plugins/lisa-nestjs-cursor/skills/typeorm-patterns/references/observability-patterns.md +18 -58
  535. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  536. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  537. package/plugins/lisa-nestjs-devin/hooks/block-migration-edits.sh +1 -1
  538. package/plugins/lisa-nestjs-devin/hooks/lisa-edit-gate.sh +19 -15
  539. package/plugins/lisa-nestjs-devin/skills/nestjs-rules/SKILL.md +39 -26
  540. package/plugins/lisa-nestjs-devin/skills/typeorm-patterns/references/observability-patterns.md +18 -58
  541. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  542. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  543. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  544. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  545. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  546. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  547. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  548. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  549. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  550. package/plugins/lisa-rails/hooks/lisa-edit-gate.sh +19 -15
  551. package/plugins/lisa-rails/hooks/rubocop-on-edit.sh +2 -2
  552. package/plugins/lisa-rails/hooks/sg-scan-on-edit.sh +3 -3
  553. package/plugins/lisa-rails-agy/plugin.json +1 -1
  554. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  555. package/plugins/lisa-rails-copilot/hooks/lisa-edit-gate.sh +19 -15
  556. package/plugins/lisa-rails-copilot/hooks/rubocop-on-edit.sh +2 -2
  557. package/plugins/lisa-rails-copilot/hooks/sg-scan-on-edit.sh +3 -3
  558. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  559. package/plugins/lisa-rails-cursor/hooks/lisa-edit-gate.sh +19 -15
  560. package/plugins/lisa-rails-cursor/hooks/rubocop-on-edit.sh +2 -2
  561. package/plugins/lisa-rails-cursor/hooks/sg-scan-on-edit.sh +3 -3
  562. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  563. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  564. package/plugins/lisa-rails-devin/hooks/lisa-edit-gate.sh +19 -15
  565. package/plugins/lisa-rails-devin/hooks/rubocop-on-edit.sh +2 -2
  566. package/plugins/lisa-rails-devin/hooks/sg-scan-on-edit.sh +3 -3
  567. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  568. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  569. package/plugins/lisa-typescript/hooks/block-suppress-directives.sh +2 -2
  570. package/plugins/lisa-typescript/hooks/format-on-edit.sh +2 -2
  571. package/plugins/lisa-typescript/hooks/lint-on-edit.sh +2 -2
  572. package/plugins/lisa-typescript/hooks/lisa-edit-gate.sh +19 -15
  573. package/plugins/lisa-typescript/hooks/sg-scan-on-edit.sh +3 -3
  574. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  575. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  576. package/plugins/lisa-typescript-copilot/hooks/block-suppress-directives.sh +2 -2
  577. package/plugins/lisa-typescript-copilot/hooks/format-on-edit.sh +2 -2
  578. package/plugins/lisa-typescript-copilot/hooks/lint-on-edit.sh +2 -2
  579. package/plugins/lisa-typescript-copilot/hooks/lisa-edit-gate.sh +19 -15
  580. package/plugins/lisa-typescript-copilot/hooks/sg-scan-on-edit.sh +3 -3
  581. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  582. package/plugins/lisa-typescript-cursor/hooks/block-suppress-directives.sh +2 -2
  583. package/plugins/lisa-typescript-cursor/hooks/format-on-edit.sh +2 -2
  584. package/plugins/lisa-typescript-cursor/hooks/lint-on-edit.sh +2 -2
  585. package/plugins/lisa-typescript-cursor/hooks/lisa-edit-gate.sh +19 -15
  586. package/plugins/lisa-typescript-cursor/hooks/sg-scan-on-edit.sh +3 -3
  587. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  588. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  589. package/plugins/lisa-typescript-devin/hooks/block-suppress-directives.sh +2 -2
  590. package/plugins/lisa-typescript-devin/hooks/format-on-edit.sh +2 -2
  591. package/plugins/lisa-typescript-devin/hooks/lint-on-edit.sh +2 -2
  592. package/plugins/lisa-typescript-devin/hooks/lisa-edit-gate.sh +19 -15
  593. package/plugins/lisa-typescript-devin/hooks/sg-scan-on-edit.sh +3 -3
  594. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  595. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  596. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  597. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  598. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  599. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  600. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  601. package/plugins/src/base/hooks/block-managed-file-edits.sh +201 -20
  602. package/plugins/src/base/hooks/block-masked-exit-status.sh +1 -1
  603. package/plugins/src/base/hooks/block-no-verify.agy.sh +1 -1
  604. package/plugins/src/base/hooks/enforce-verification-gate.sh +1 -2
  605. package/plugins/src/base/hooks/ticket-sync-reminder.sh +2 -17
  606. package/plugins/src/base/hooks/track-plan-sessions.sh +7 -131
  607. package/plugins/src/base/scripts/remote-agent-aws-setup.sh +3 -1
  608. package/plugins/src/base/skills/lisa-setup-remote-env/assets/session-start.sh +18 -5
  609. package/plugins/src/expo/skills/building-native-ui/references/webgpu-three.md +19 -9
  610. package/plugins/src/expo/skills/expo-tailwind-setup/SKILL.md +15 -4
  611. package/plugins/src/harper-fabric/hooks/block-generated-artifact-edits.sh +196 -11
  612. package/plugins/src/harper-fabric/hooks/enforce-config-extensions.sh +1 -1
  613. package/plugins/src/nestjs/hooks/block-migration-edits.sh +1 -1
  614. package/plugins/src/nestjs/hooks/lisa-edit-gate.sh +19 -15
  615. package/plugins/src/nestjs/skills/nestjs-rules/SKILL.md +39 -26
  616. package/plugins/src/nestjs/skills/typeorm-patterns/references/observability-patterns.md +18 -58
  617. package/plugins/src/rails/hooks/lisa-edit-gate.sh +19 -15
  618. package/plugins/src/rails/hooks/rubocop-on-edit.sh +2 -2
  619. package/plugins/src/rails/hooks/sg-scan-on-edit.sh +3 -3
  620. package/plugins/src/typescript/hooks/block-suppress-directives.sh +2 -2
  621. package/plugins/src/typescript/hooks/format-on-edit.sh +2 -2
  622. package/plugins/src/typescript/hooks/lint-on-edit.sh +2 -2
  623. package/plugins/src/typescript/hooks/lisa-edit-gate.sh +19 -15
  624. package/plugins/src/typescript/hooks/sg-scan-on-edit.sh +3 -3
  625. package/scripts/build-plugins.sh +1 -1
  626. package/scripts/check-derived-artifacts.mjs +2 -2
  627. package/scripts/check-generated-artifact-merge-coverage.mjs +45 -4
  628. package/scripts/check-orphan-test-processes.mjs +0 -1
  629. package/scripts/check-self-dependency-pin.mjs +0 -2
  630. package/scripts/claude-remote-setup.sh +12 -7
  631. package/scripts/cleanup-amplify-branches.sh +0 -1
  632. package/scripts/generate-export-surface.mjs +131 -61
  633. package/scripts/generate-lisa-owned-hash-ledger.mjs +87 -102
  634. package/scripts/generate-upstream-evidence-manifest.mjs +56 -49
  635. package/scripts/github-status-check.sh +5 -25
  636. package/scripts/install-claude-plugins.sh +10 -8
  637. package/scripts/lib/merge-generated-json.mjs +274 -0
  638. package/scripts/lib/upstream-manifest-staleness.mjs +38 -34
  639. package/scripts/lib/upstream-public-commits.mjs +35 -18
  640. package/scripts/lisa-commit-and-pr-local.sh +1 -1
  641. package/scripts/lisa-enforcement-fallback.sh +31 -32
  642. package/scripts/lisa-github-environments.sh +5 -1
  643. package/scripts/lisa-github-repo-settings.sh +5 -1
  644. package/scripts/lisa-github-repo-setup.sh +1 -2
  645. package/scripts/lisa-github-rulesets.sh +8 -8
  646. package/scripts/lisa-remote-env/session-start.sh +18 -5
  647. package/scripts/lisa-rollback-release.mjs +0 -2
  648. package/scripts/lisa-update-local.sh +1 -1
  649. package/scripts/merge-generated-artifact.mjs +18 -6
  650. package/scripts/raise-self-dependency-pin.mjs +0 -2
  651. package/scripts/run-artifact-checks.mjs +1 -1
  652. package/scripts/verify-packed-learnings-contract.mjs +36 -3
  653. package/scripts/verify-self-pin-raise.mjs +0 -2
  654. package/typescript/copy-contents/.husky/commit-msg +8 -2
  655. package/typescript/copy-contents/.husky/post-checkout +2 -0
  656. package/typescript/copy-contents/.husky/post-merge +2 -0
  657. package/typescript/copy-contents/.husky/pre-commit +10 -3
  658. package/typescript/copy-contents/.husky/pre-push +29 -16
  659. package/typescript/copy-contents/.husky/prepare-commit-msg +2 -0
  660. package/typescript/create-only/.husky/pre-push.local +2 -0
  661. package/eslint-plugin-code-organization/__tests__/enforce-statement-order.test.js +0 -643
@@ -1,365 +1,18 @@
1
- /** Safe read-only template ownership and conformance inspection. */
2
- /* eslint-disable jsdoc/require-param-description, jsdoc/require-returns, max-lines -- ownership planning and exact comparators stay colocated */
3
- import { lstat, readFile } from "node:fs/promises";
4
- import * as fse from "fs-extra";
5
- import path from "node:path";
6
- import { CDK_APP_MARKER } from "../core/cdk-preset-adoption.js";
7
- import { PROJECT_TYPE_HIERARCHY, PROJECT_TYPE_ORDER, } from "../core/config.js";
8
- import { decideTemplateOwnership, pendingDeletionPaths, } from "../core/template-ownership.js";
9
- import { resolveLegacyProjectLearningsFile, resolveProjectLearningsFile, } from "../core/project-config.js";
10
- import { mergeCopyContents } from "../strategies/copy-contents.js";
11
- import { mergeTemplateJson } from "../strategies/merge.js";
12
- import { PackageLisaStrategy } from "../strategies/package-lisa.js";
13
- import { TaggedMergeStrategy } from "../strategies/tagged-merge.js";
14
- import { listFilesRecursive } from "../utils/file-operations.js";
15
- import { matchesAnyPattern, parseIgnorePatterns, } from "../utils/ignore-patterns.js";
16
- import { diffStaleKeys, extractCallerJobs, extractDeclaredInputs, findUnparsedLisaCallerLines, } from "../../scripts/lib/reusable-workflow-contract.mjs";
17
- import { projectPathKind, readProjectFile, readProjectJsonObject, readProjectText, } from "./read-only-fs.js";
18
- const COPY_OVERWRITE = "copy-overwrite";
19
- const COPY_CONTENTS = "copy-contents";
20
- const CREATE_ONLY = "create-only";
21
- const MANAGED = "managed";
22
- const HOOKS = "hooks";
23
- const WORKFLOWS = "workflows";
24
- const HARPER_APP = "harper-app";
25
- const LISA_WORKFLOW_OWNER = "codyswanngt";
26
- const LISA_WORKFLOW_REPO = "lisa";
27
- const STRATEGIES = [
28
- COPY_OVERWRITE,
29
- COPY_CONTENTS,
30
- CREATE_ONLY,
31
- "merge",
32
- "tagged-merge",
33
- ];
34
- const MAX_TEMPLATE_BYTES = 1024 * 1024;
35
- const PROJECT_LEARNINGS_SOURCE = path.join(".lisa", "PROJECT_LEARNINGS.md");
36
- /**
37
- * Resolve whether a caller contract is shipped by Lisa, local, or external.
38
- * @param owner
39
- * @param repo
40
- * @param config
41
- */
42
- function workflowContractOwner(owner, repo, config) {
43
- if (owner === null && repo === null)
44
- return "project";
45
- const normalizedOwner = owner?.toLowerCase();
46
- const normalizedRepo = repo?.toLowerCase();
47
- if (normalizedOwner === LISA_WORKFLOW_OWNER &&
48
- normalizedRepo === LISA_WORKFLOW_REPO) {
49
- return "lisa";
50
- }
51
- const github = config.github;
52
- if (github === null || typeof github !== "object" || Array.isArray(github)) {
53
- return undefined;
54
- }
55
- const configuredOwner = Reflect.get(github, "org");
56
- const configuredRepo = Reflect.get(github, "repo");
57
- return typeof configuredOwner === "string" &&
58
- typeof configuredRepo === "string" &&
59
- normalizedOwner === configuredOwner.toLowerCase() &&
60
- normalizedRepo === configuredRepo.toLowerCase()
61
- ? "project"
62
- : undefined;
63
- }
64
- /**
65
- * Read a safe file signal, rejecting unsafe path types.
66
- * @param root
67
- * @param relativePath
68
- */
69
- async function fileSignal(root, relativePath) {
70
- const kind = await projectPathKind(root, relativePath);
71
- if (kind === "directory")
72
- throw new Error("Project signal is not a file");
73
- return kind === "file";
74
- }
75
- /**
76
- * Return dependency maps from a safe package document.
77
- * @param packageJson
78
- */
79
- function dependencyNames(packageJson) {
80
- if (packageJson === undefined)
81
- return [];
82
- return ["dependencies", "devDependencies"].flatMap(field => {
83
- const value = packageJson[field];
84
- return value !== null && typeof value === "object" && !Array.isArray(value)
85
- ? Object.keys(value)
86
- : [];
87
- });
88
- }
89
- /**
90
- * Expand detected types using Lisa's canonical hierarchy and ordering.
91
- * @param types
92
- */
93
- function expandTypes(types) {
94
- const expanded = new Set([
95
- ...types,
96
- ...[...types].flatMap(type => {
97
- const parent = PROJECT_TYPE_HIERARCHY[type];
98
- return parent === undefined ? [] : [parent];
99
- }),
100
- ]);
101
- return PROJECT_TYPE_ORDER.filter(type => expanded.has(type));
102
- }
103
- /**
104
- * Detect project types using only confined, bounded project reads.
105
- * @param projectRoot - Canonical host project root
106
- * @returns Safe project shape
107
- */
108
- // eslint-disable-next-line sonarjs/cognitive-complexity -- explicit signals keep stack detection auditable
109
- export async function detectHealthProjectShape(projectRoot) {
110
- const packageJson = await readProjectJsonObject(projectRoot, "package.json");
111
- const dependencies = dependencyNames(packageJson);
112
- const hasDependency = (name) => dependencies.includes(name);
113
- const hasPrefix = (prefix) => dependencies.some(name => name.startsWith(prefix));
114
- const [tsconfig, app, eas, nest, cdk, railsBin, railsApp, harperConfig, harperSchema,] = await Promise.all([
115
- fileSignal(projectRoot, "tsconfig.json"),
116
- fileSignal(projectRoot, "app.json"),
117
- fileSignal(projectRoot, "eas.json"),
118
- fileSignal(projectRoot, "nest-cli.json"),
119
- fileSignal(projectRoot, CDK_APP_MARKER),
120
- fileSignal(projectRoot, path.join("bin", "rails")),
121
- fileSignal(projectRoot, path.join("config", "application.rb")),
122
- fileSignal(projectRoot, path.join(HARPER_APP, "config.yaml")),
123
- fileSignal(projectRoot, path.join(HARPER_APP, "schema.graphql")),
124
- ]);
125
- const harperText = harperConfig
126
- ? await readProjectText(projectRoot, path.join(HARPER_APP, "config.yaml"))
127
- : undefined;
128
- const harperSignals = harperText?.includes("graphqlSchema:") === true &&
129
- harperText.includes("jsResource:") &&
130
- harperText.includes("static:");
131
- const harper = harperConfig &&
132
- harperSchema &&
133
- (harperSignals || hasDependency("harperdb"));
134
- const publishable = packageJson !== undefined &&
135
- packageJson.private !== true &&
136
- ["main", "bin", "exports", "files"].some(field => Object.hasOwn(packageJson, field));
137
- const detected = new Set([
138
- ...(tsconfig || hasDependency("typescript") ? ["typescript"] : []),
139
- ...(app || eas || hasDependency("expo") ? ["expo"] : []),
140
- ...(nest || hasPrefix("@nestjs") ? ["nestjs"] : []),
141
- ...(cdk ? ["cdk"] : []),
142
- ...(harper ? ["harper-fabric"] : []),
143
- ...(hasDependency("phaser") ? ["phaser"] : []),
144
- ...(publishable ? ["npm-package"] : []),
145
- ...(railsBin || railsApp ? ["rails"] : []),
146
- ]);
147
- return { types: expandTypes(detected), packageJson };
148
- }
149
- /**
150
- * Backward-compatible type-only detector surface.
151
- * @param projectRoot
152
- */
153
- export async function detectHealthProjectTypes(projectRoot) {
154
- return (await detectHealthProjectShape(projectRoot)).types;
155
- }
156
- /**
157
- * Normalize a template destination exactly as apply does.
158
- * @param relativePath
159
- * @param strategy
160
- * @param type
161
- * @param learningsFile
162
- */
163
- function destinationFor(relativePath, strategy, type, learningsFile) {
164
- if (type === "all" &&
165
- strategy === CREATE_ONLY &&
166
- relativePath === PROJECT_LEARNINGS_SOURCE) {
167
- return learningsFile;
168
- }
169
- if (strategy === COPY_CONTENTS &&
170
- path.basename(relativePath) === "gitignore") {
171
- return path.join(path.dirname(relativePath), ".gitignore");
172
- }
173
- return relativePath;
174
- }
175
- /**
176
- * Collect all trusted template candidates.
177
- * @param lisaRoot
178
- * @param types
179
- * @param learningsFile
180
- */
181
- async function collectCandidates(lisaRoot, types, learningsFile) {
182
- const groups = await Promise.all(["all", ...types].flatMap(type => STRATEGIES.map(async (strategy) => {
183
- const directory = path.join(lisaRoot, type, strategy);
184
- if (!(await fse.pathExists(directory)))
185
- return [];
186
- return (await listFilesRecursive(directory)).map(source => {
187
- const relativePath = path.relative(directory, source);
188
- return {
189
- type,
190
- strategy,
191
- source,
192
- destination: destinationFor(relativePath, strategy, type, learningsFile),
193
- };
194
- });
195
- })));
196
- return groups.flat();
197
- }
198
- /**
199
- * Resolve most-specific path ownership for one strategy.
200
- * @param candidates
201
- * @param strategy
202
- */
203
- function owners(candidates, strategy) {
204
- return new Map(candidates
205
- .filter(candidate => candidate.strategy === strategy)
206
- .map(candidate => [candidate.destination, candidate.type]));
207
- }
208
- /**
209
- * Read pending deletion paths from trusted Lisa manifests.
210
- * @param lisaRoot
211
- * @param types
212
- */
213
- async function pendingDeletions(lisaRoot, types) {
214
- const all = await Promise.all(["all", ...types].map(async (type) => {
215
- try {
216
- const parsed = JSON.parse(await readFile(path.join(lisaRoot, type, "deletions.json"), "utf8"));
217
- return pendingDeletionPaths(parsed).map(item => path.normalize(item));
218
- }
219
- catch {
220
- return [];
221
- }
222
- }));
223
- return new Set(all.flat());
224
- }
225
- /**
226
- * Build the exact applicable template plan without touching the host.
227
- * @param lisaRoot
228
- * @param projectRoot
229
- * @param types
230
- * @param config
231
- */
232
- export async function applicableCandidates(lisaRoot, projectRoot, types, config) {
233
- const projectConfig = config;
234
- const learningsFile = path.normalize(resolveProjectLearningsFile(projectConfig));
235
- const candidates = await collectCandidates(lisaRoot, types, learningsFile);
236
- const createOwners = owners(candidates, CREATE_ONLY);
237
- const overwriteOwners = owners(candidates, COPY_OVERWRITE);
238
- const deletions = await pendingDeletions(lisaRoot, types);
239
- const ignoreText = await readProjectText(projectRoot, ".lisaignore");
240
- const ignorePatterns = parseIgnorePatterns(ignoreText ?? "");
241
- const canonicalLearning = candidates.some(candidate => candidate.type === "all" &&
242
- candidate.strategy === CREATE_ONLY &&
243
- candidate.destination === learningsFile);
244
- const legacyFile = path.normalize(resolveLegacyProjectLearningsFile(projectConfig));
245
- const suppressLearning = canonicalLearning &&
246
- legacyFile !== learningsFile &&
247
- (await projectPathKind(projectRoot, legacyFile)) === "file" &&
248
- (await projectPathKind(projectRoot, learningsFile)) === "missing";
249
- const orderedTypes = ["all", ...types];
250
- return candidates.filter(candidate => decideTemplateOwnership({
251
- relativePath: candidate.destination,
252
- strategy: candidate.strategy,
253
- currentType: candidate.type,
254
- orderedTypes,
255
- ignored: matchesAnyPattern(candidate.destination, ignorePatterns),
256
- pendingDeletion: deletions.has(path.normalize(candidate.destination)),
257
- projectLearningsPath: canonicalLearning ? learningsFile : undefined,
258
- suppressLearningsSeed: suppressLearning,
259
- createOnlyOwner: createOwners.get(candidate.destination),
260
- copyOverwriteOwner: overwriteOwners.get(candidate.destination),
261
- }).process);
262
- }
263
1
  /**
264
- * Classify a template destination into its health finding.
265
- * @param relativePath
2
+ * Safe read-only template ownership and conformance inspection. Detection,
3
+ * planning, composition and workflow-input comparison live in sibling modules;
4
+ * this module keeps the category inspections and the stable import surface.
5
+ * @module health/template-inspection
266
6
  */
267
- function categoryFor(relativePath) {
268
- const normalized = relativePath.split(path.sep).join("/");
269
- if (normalized === "lefthook.yml" || normalized.startsWith(".husky/")) {
270
- return HOOKS;
271
- }
272
- if (normalized.startsWith(".github/workflows/"))
273
- return WORKFLOWS;
274
- return MANAGED;
275
- }
276
- /**
277
- * Decode trusted or safely captured bytes as strict UTF-8.
278
- * @param bytes
279
- */
280
- function decode(bytes) {
281
- return new TextDecoder("utf-8", { fatal: true }).decode(bytes);
282
- }
283
- /**
284
- * Canonicalize JSON object key order while preserving array order.
285
- * @param value
286
- */
287
- function canonicalJson(value) {
288
- if (Array.isArray(value))
289
- return value.map(canonicalJson);
290
- if (value !== null && typeof value === "object") {
291
- return Object.fromEntries(Object.entries(value)
292
- .sort(([left], [right]) => left.localeCompare(right))
293
- .map(([key, item]) => [key, canonicalJson(item)]));
294
- }
295
- return value;
296
- }
297
- /**
298
- * Apply one candidate to an in-memory destination in factory order.
299
- * @param current
300
- * @param candidate
301
- */
302
- async function composeCandidate(current, candidate) {
303
- const sourceStat = await lstat(candidate.source);
304
- if (!sourceStat.isFile() || sourceStat.size > MAX_TEMPLATE_BYTES) {
305
- throw new Error("Unsafe health template source");
306
- }
307
- const source = await readFile(candidate.source);
308
- const executable = current.requiresExecutable || (sourceStat.mode & 0o100) !== 0;
309
- if (candidate.strategy === COPY_OVERWRITE) {
310
- return {
311
- bytes: source,
312
- comparison: "bytes",
313
- requiresExecutable: executable,
314
- };
315
- }
316
- if (candidate.strategy === COPY_CONTENTS) {
317
- return {
318
- bytes: Buffer.from(mergeCopyContents(decode(source), decode(current.bytes))),
319
- comparison: "bytes",
320
- requiresExecutable: executable,
321
- };
322
- }
323
- const sourceJson = JSON.parse(decode(source));
324
- const targetJson = JSON.parse(decode(current.bytes));
325
- const merged = candidate.strategy === "merge"
326
- ? mergeTemplateJson(sourceJson, targetJson)
327
- : new TaggedMergeStrategy().mergeJson(sourceJson, targetJson);
328
- return {
329
- bytes: Buffer.from(JSON.stringify(merged, null, 2)),
330
- comparison: "json",
331
- requiresExecutable: executable,
332
- };
333
- }
334
- /**
335
- * Compare one final composed destination against its captured host state.
336
- * @param projectRoot
337
- * @param candidates
338
- */
339
- async function destinationConforms(projectRoot, candidates) {
340
- const first = candidates[0];
341
- if (first === undefined)
342
- return true;
343
- const target = await readProjectFile(projectRoot, first.destination);
344
- if (target === undefined)
345
- return false;
346
- const initial = {
347
- bytes: target.bytes,
348
- comparison: "bytes",
349
- requiresExecutable: false,
350
- };
351
- const planned = await candidates.reduce(async (state, candidate) => composeCandidate(await state, candidate), Promise.resolve(initial));
352
- const normalizedDestination = first.destination.split(path.sep).join("/");
353
- if (normalizedDestination.startsWith(".husky/") &&
354
- planned.requiresExecutable &&
355
- (target.mode & 0o100) === 0) {
356
- return false;
357
- }
358
- if (planned.comparison === "bytes")
359
- return planned.bytes.equals(target.bytes);
360
- return (JSON.stringify(canonicalJson(JSON.parse(decode(planned.bytes)))) ===
361
- JSON.stringify(canonicalJson(JSON.parse(decode(target.bytes)))));
362
- }
7
+ import path from "node:path";
8
+ import { PackageLisaStrategy } from "../strategies/package-lisa.js";
9
+ import { projectPathKind, readProjectJsonObject } from "./read-only-fs.js";
10
+ import { destinationConforms } from "./template-compose.js";
11
+ import { applicableCandidates, categoryFor, CREATE_ONLY, WORKFLOWS, } from "./template-plan.js";
12
+ import { detectHealthProjectTypes } from "./template-shape.js";
13
+ export { applicableCandidates, } from "./template-plan.js";
14
+ export { detectHealthProjectShape, detectHealthProjectTypes, } from "./template-shape.js";
15
+ export { inspectWorkflowInputs } from "./workflow-inputs-inspection.js";
363
16
  /**
364
17
  * Inspect one category using Lisa's shared ownership and pure comparators.
365
18
  * @param lisaRoot - Lisa package root
@@ -401,80 +54,6 @@ export async function inspectCreateOnlyWorkflows(lisaRoot, projectRoot, types, c
401
54
  .filter((item) => item !== undefined)
402
55
  .sort((left, right) => left.localeCompare(right));
403
56
  }
404
- /**
405
- * Read a reusable workflow's declared inputs from whichever side owns it.
406
- * @param lisaRoot - Lisa package root
407
- * @param projectRoot - Canonical host root
408
- * @param contractOwner - Which repository ships the reusable workflow
409
- * @param reusableFile - Basename of the reusable workflow
410
- * @returns Declared input names, or null when the contract is unreadable
411
- */
412
- async function declaredWorkflowInputs(lisaRoot, projectRoot, contractOwner, reusableFile) {
413
- if (contractOwner === "lisa") {
414
- return readFile(path.join(lisaRoot, ".github", WORKFLOWS, path.basename(reusableFile)), "utf8")
415
- .then(content => extractDeclaredInputs(content))
416
- .catch(() => null);
417
- }
418
- return readProjectText(projectRoot, path.join(".github", WORKFLOWS, reusableFile))
419
- .then(content => content === undefined ? null : extractDeclaredInputs(content))
420
- .catch(() => null);
421
- }
422
- /**
423
- * Compare one caller file's reusable-workflow jobs with their contracts.
424
- *
425
- * A Lisa `uses:` line the shared parser cannot read is reported as unknown
426
- * rather than skipped (CodySwannGT/lisa#4641): skipping it made `ci.workflows`
427
- * pass on every pinned host having compared nothing.
428
- * @param lisaRoot - Lisa package root
429
- * @param projectRoot - Canonical host root
430
- * @param destination - Caller path relative to the host root
431
- * @param caller - Caller file text
432
- * @param config - Safe project config
433
- * @returns Stale and unknown caller descriptions for this file
434
- */
435
- async function inspectCallerFile(lisaRoot, projectRoot, destination, caller, config) {
436
- const file = destination.split(path.sep).join("/");
437
- const unparsed = findUnparsedLisaCallerLines(caller).map(entry => `${file} line ${entry.line} (unreadable uses line)`);
438
- const jobs = await Promise.all(extractCallerJobs(caller).map(async (job) => {
439
- const label = `${file}#${job.reusableFile}`;
440
- const contractOwner = workflowContractOwner(job.owner, job.repo, config);
441
- const declared = contractOwner === undefined
442
- ? null
443
- : await declaredWorkflowInputs(lisaRoot, projectRoot, contractOwner, job.reusableFile);
444
- return declared === null
445
- ? { stale: [], unknown: [label] }
446
- : {
447
- stale: diffStaleKeys(job.withKeys, declared).map(key => `${label}:${key}`),
448
- unknown: [],
449
- };
450
- }));
451
- return {
452
- stale: jobs.flatMap(job => job.stale),
453
- unknown: [...jobs.flatMap(job => job.unknown), ...unparsed],
454
- };
455
- }
456
- /**
457
- * Inspect applicable create-only workflow caller inputs against shipped contracts.
458
- * @param lisaRoot - Lisa package root
459
- * @param projectRoot - Canonical host root
460
- * @param types - Canonically ordered types
461
- * @param config - Safe project config
462
- * @returns Stale and unknown caller descriptions
463
- */
464
- export async function inspectWorkflowInputs(lisaRoot, projectRoot, types, config = {}) {
465
- const candidates = (await applicableCandidates(lisaRoot, projectRoot, types, config)).filter(candidate => categoryFor(candidate.destination) === WORKFLOWS);
466
- const files = await Promise.all(candidates.map(async (candidate) => {
467
- const caller = await readProjectText(projectRoot, candidate.destination);
468
- return caller === undefined
469
- ? { stale: [], unknown: [] }
470
- : inspectCallerFile(lisaRoot, projectRoot, candidate.destination, caller, config);
471
- }));
472
- const sortedUnique = (items) => [...new Set(items)].sort((left, right) => left.localeCompare(right));
473
- return {
474
- stale: sortedUnique(files.flatMap(file => file.stale)),
475
- unknown: sortedUnique(files.flatMap(file => file.unknown)),
476
- };
477
- }
478
57
  /**
479
58
  * Inspect package.json through the exact pure package-lisa planner.
480
59
  * @param lisaRoot - Lisa package root
@@ -491,5 +70,4 @@ export async function packageJsonConforms(lisaRoot, projectRoot, types, packageJ
491
70
  const planned = await new PackageLisaStrategy().planPackageJson({ ...safePackage }, safeTypes, lisaRoot, false, projectRoot);
492
71
  return (JSON.stringify(planned, null, 2) === JSON.stringify(safePackage, null, 2));
493
72
  }
494
- /* eslint-enable jsdoc/require-param-description, jsdoc/require-returns, max-lines -- restore repository defaults */
495
73
  //# sourceMappingURL=template-inspection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"template-inspection.js","sourceRoot":"","sources":["../../src/health/template-inspection.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,iJAAiJ;AACjJ,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EACL,sBAAsB,EACtB,kBAAkB,GAGnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,iCAAiC,EACjC,2BAA2B,GAE5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,C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A8B,EAC9B,WAA+C;IAE/C,MAAM,WAAW,GACf,WAAW,IAAI,CAAC,MAAM,qBAAqB,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC,CAAC;IAC5E,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5C,MAAM,SAAS,GAAG,KAAK,IAAI,CAAC,MAAM,wBAAwB,CAAC,WAAW,CAAC,CAAC,CAAC;IACzE,MAAM,OAAO,GAAG,MAAM,IAAI,mBAAmB,EAAE,CAAC,eAAe,CAC7D,EAAE,GAAG,WAAW,EAAE,EAClB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,WAAW,CACZ,CAAC;IACF,OAAO,CACL,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC,CAC1E,CAAC;AACJ,CAAC"}
@@ -0,0 +1,33 @@
1
+ import type { CopyStrategy, ProjectType } from "../core/config.js";
2
+ export declare const COPY_OVERWRITE = "copy-overwrite";
3
+ export declare const COPY_CONTENTS = "copy-contents";
4
+ export declare const CREATE_ONLY = "create-only";
5
+ declare const MANAGED = "managed";
6
+ declare const HOOKS = "hooks";
7
+ export declare const WORKFLOWS = "workflows";
8
+ /** Template categories reported by separate deterministic findings. */
9
+ export type ManagedTemplateCategory = typeof MANAGED | typeof HOOKS | typeof WORKFLOWS;
10
+ /** One applicable template after Lisa ownership filters. */
11
+ export interface TemplateCandidate {
12
+ readonly type: string;
13
+ readonly strategy: CopyStrategy;
14
+ readonly source: string;
15
+ readonly destination: string;
16
+ }
17
+ /**
18
+ * Build the exact applicable template plan without touching the host.
19
+ * @param lisaRoot - Lisa package root holding the shipped templates
20
+ * @param projectRoot - Canonical host project root
21
+ * @param types - Detected project stack types
22
+ * @param config - Safe project config
23
+ * @returns The templates apply would process
24
+ */
25
+ export declare function applicableCandidates(lisaRoot: string, projectRoot: string, types: readonly ProjectType[], config: Readonly<Record<string, unknown>>): Promise<readonly TemplateCandidate[]>;
26
+ /**
27
+ * Classify a template destination into its health finding.
28
+ * @param relativePath - Project-relative path
29
+ * @returns The category whose finding reports the path
30
+ */
31
+ export declare function categoryFor(relativePath: string): ManagedTemplateCategory;
32
+ export {};
33
+ //# sourceMappingURL=template-plan.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-plan.d.ts","sourceRoot":"","sources":["../../src/health/template-plan.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAiBnE,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,QAAA,MAAM,OAAO,YAAY,CAAC;AAC1B,QAAA,MAAM,KAAK,UAAU,CAAC;AACtB,eAAO,MAAM,SAAS,cAAc,CAAC;AAUrC,uEAAuE;AACvE,MAAM,MAAM,uBAAuB,GAC/B,OAAO,OAAO,GACd,OAAO,KAAK,GACZ,OAAO,SAAS,CAAC;AAErB,4DAA4D;AAC5D,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,YAAY,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AA+GD;;;;;;;GAOG;AACH,wBAAsB,oBAAoB,CACxC,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,SAAS,WAAW,EAAE,EAC7B,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACxC,OAAO,CAAC,SAAS,iBAAiB,EAAE,CAAC,CAyCvC;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,YAAY,EAAE,MAAM,GAAG,uBAAuB,CAOzE"}