@codyswann/lisa 8.4.0 → 8.6.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 (297) hide show
  1. package/all/copy-overwrite/scripts/lib/private-key-redaction.d.mts +4 -0
  2. package/all/copy-overwrite/scripts/lib/private-key-redaction.mjs +59 -0
  3. package/all/copy-overwrite/scripts/lib/push-timing.mjs +2 -0
  4. package/all/copy-overwrite/scripts/lisa-gates.mjs +90 -7
  5. package/all/copy-overwrite/scripts/lisa-hooks/block-direct-issue-create.sh +4 -1
  6. package/all/copy-overwrite/scripts/lisa-hooks/worktree-binding-guard.mjs +56 -1
  7. package/all/copy-overwrite/scripts/lisa-run-gates.mjs +71 -20
  8. package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +3 -3
  9. package/dist/cli/gate-report-assemble.d.ts +7 -1
  10. package/dist/cli/gate-report-assemble.d.ts.map +1 -1
  11. package/dist/cli/gate-report-assemble.js +16 -1
  12. package/dist/cli/gate-report-assemble.js.map +1 -1
  13. package/dist/cli/gate-report-cells.d.ts +1 -1
  14. package/dist/cli/gate-report-cells.d.ts.map +1 -1
  15. package/dist/cli/gate-report-cells.js +6 -5
  16. package/dist/cli/gate-report-cells.js.map +1 -1
  17. package/dist/cli/gate-report-registry.d.ts +3 -0
  18. package/dist/cli/gate-report-registry.d.ts.map +1 -1
  19. package/dist/cli/gate-report-registry.js.map +1 -1
  20. package/dist/cli/gate-report-types.d.ts +5 -0
  21. package/dist/cli/gate-report-types.d.ts.map +1 -1
  22. package/dist/cli/gate-report.d.ts.map +1 -1
  23. package/dist/cli/gate-report.js +2 -5
  24. package/dist/cli/gate-report.js.map +1 -1
  25. package/dist/controls/attest-record.d.ts.map +1 -1
  26. package/dist/controls/attest-record.js +9 -3
  27. package/dist/controls/attest-record.js.map +1 -1
  28. package/dist/controls/audit-report-markdown.d.ts.map +1 -1
  29. package/dist/controls/audit-report-markdown.js +7 -0
  30. package/dist/controls/audit-report-markdown.js.map +1 -1
  31. package/dist/controls/carrier-agent-checkout.d.ts +6 -0
  32. package/dist/controls/carrier-agent-checkout.d.ts.map +1 -0
  33. package/dist/controls/carrier-agent-checkout.js +101 -0
  34. package/dist/controls/carrier-agent-checkout.js.map +1 -0
  35. package/dist/controls/carrier-agent-files.d.ts.map +1 -1
  36. package/dist/controls/carrier-agent-files.js +2 -1
  37. package/dist/controls/carrier-agent-files.js.map +1 -1
  38. package/dist/controls/carrier-agent-program.d.ts +0 -16
  39. package/dist/controls/carrier-agent-program.d.ts.map +1 -1
  40. package/dist/controls/carrier-agent-program.js +17 -14
  41. package/dist/controls/carrier-agent-program.js.map +1 -1
  42. package/dist/controls/carrier-agent-script.d.ts +2 -0
  43. package/dist/controls/carrier-agent-script.d.ts.map +1 -1
  44. package/dist/controls/carrier-agent-script.js +3 -1
  45. package/dist/controls/carrier-agent-script.js.map +1 -1
  46. package/dist/controls/carrier-agent-settings.d.ts +20 -0
  47. package/dist/controls/carrier-agent-settings.d.ts.map +1 -1
  48. package/dist/controls/carrier-agent-settings.js +91 -15
  49. package/dist/controls/carrier-agent-settings.js.map +1 -1
  50. package/dist/controls/carrier-edits.d.ts +1 -1
  51. package/dist/controls/carrier-edits.d.ts.map +1 -1
  52. package/dist/controls/carrier-edits.js +13 -3
  53. package/dist/controls/carrier-edits.js.map +1 -1
  54. package/dist/controls/carrier-manager-file.d.ts.map +1 -1
  55. package/dist/controls/carrier-manager-file.js +25 -2
  56. package/dist/controls/carrier-manager-file.js.map +1 -1
  57. package/dist/controls/carrier-owned-files.d.ts +4 -1
  58. package/dist/controls/carrier-owned-files.d.ts.map +1 -1
  59. package/dist/controls/carrier-owned-files.js +18 -3
  60. package/dist/controls/carrier-owned-files.js.map +1 -1
  61. package/dist/controls/carrier-runner-files.d.ts.map +1 -1
  62. package/dist/controls/carrier-runner-files.js +6 -4
  63. package/dist/controls/carrier-runner-files.js.map +1 -1
  64. package/dist/controls/carriers.d.ts.map +1 -1
  65. package/dist/controls/carriers.js +24 -7
  66. package/dist/controls/carriers.js.map +1 -1
  67. package/dist/controls/checks-binding.d.ts.map +1 -1
  68. package/dist/controls/checks-binding.js +13 -7
  69. package/dist/controls/checks-binding.js.map +1 -1
  70. package/dist/controls/commands/attest-before-enforce.d.ts.map +1 -1
  71. package/dist/controls/commands/attest-before-enforce.js +4 -5
  72. package/dist/controls/commands/attest-before-enforce.js.map +1 -1
  73. package/dist/controls/commands/attest-workspace.d.ts.map +1 -1
  74. package/dist/controls/commands/attest-workspace.js +3 -1
  75. package/dist/controls/commands/attest-workspace.js.map +1 -1
  76. package/dist/controls/commands/proof-check.js +1 -1
  77. package/dist/controls/commands/proof-check.js.map +1 -1
  78. package/dist/controls/commands/reconcile.d.ts.map +1 -1
  79. package/dist/controls/commands/reconcile.js +6 -6
  80. package/dist/controls/commands/reconcile.js.map +1 -1
  81. package/dist/controls/enforce-entry-outcome.d.ts +2 -1
  82. package/dist/controls/enforce-entry-outcome.d.ts.map +1 -1
  83. package/dist/controls/enforce-entry-outcome.js +17 -15
  84. package/dist/controls/enforce-entry-outcome.js.map +1 -1
  85. package/dist/controls/enforce-points.d.ts +2 -0
  86. package/dist/controls/enforce-points.d.ts.map +1 -1
  87. package/dist/controls/enforce-points.js +7 -2
  88. package/dist/controls/enforce-points.js.map +1 -1
  89. package/dist/controls/enforce-report.d.ts.map +1 -1
  90. package/dist/controls/enforce-report.js +6 -1
  91. package/dist/controls/enforce-report.js.map +1 -1
  92. package/dist/controls/enforce-summary.d.ts.map +1 -1
  93. package/dist/controls/enforce-summary.js +3 -1
  94. package/dist/controls/enforce-summary.js.map +1 -1
  95. package/dist/controls/evidence-redact.d.ts.map +1 -1
  96. package/dist/controls/evidence-redact.js +11 -6
  97. package/dist/controls/evidence-redact.js.map +1 -1
  98. package/dist/controls/gates-declaration.d.ts.map +1 -1
  99. package/dist/controls/gates-declaration.js +6 -1
  100. package/dist/controls/gates-declaration.js.map +1 -1
  101. package/dist/controls/proof-copy-preparation.d.ts +33 -0
  102. package/dist/controls/proof-copy-preparation.d.ts.map +1 -0
  103. package/dist/controls/proof-copy-preparation.js +159 -0
  104. package/dist/controls/proof-copy-preparation.js.map +1 -0
  105. package/dist/controls/proof-copy-prepared-state.d.ts +33 -0
  106. package/dist/controls/proof-copy-prepared-state.d.ts.map +1 -0
  107. package/dist/controls/proof-copy-prepared-state.js +117 -0
  108. package/dist/controls/proof-copy-prepared-state.js.map +1 -0
  109. package/dist/controls/proof-copy-workspace.d.ts.map +1 -1
  110. package/dist/controls/proof-copy-workspace.js +17 -4
  111. package/dist/controls/proof-copy-workspace.js.map +1 -1
  112. package/dist/controls/proof-copy.d.ts +5 -0
  113. package/dist/controls/proof-copy.d.ts.map +1 -1
  114. package/dist/controls/proof-copy.js +17 -15
  115. package/dist/controls/proof-copy.js.map +1 -1
  116. package/dist/controls/proof-patch.d.ts +12 -0
  117. package/dist/controls/proof-patch.d.ts.map +1 -1
  118. package/dist/controls/proof-patch.js +28 -0
  119. package/dist/controls/proof-patch.js.map +1 -1
  120. package/dist/controls/proof-preparation-declaration.d.ts +15 -0
  121. package/dist/controls/proof-preparation-declaration.d.ts.map +1 -0
  122. package/dist/controls/proof-preparation-declaration.js +57 -0
  123. package/dist/controls/proof-preparation-declaration.js.map +1 -0
  124. package/dist/controls/proof-tools.d.ts +7 -4
  125. package/dist/controls/proof-tools.d.ts.map +1 -1
  126. package/dist/controls/proof-tools.js +1 -1
  127. package/dist/controls/proof-tools.js.map +1 -1
  128. package/dist/controls/pull-request-executor.d.ts +1 -1
  129. package/dist/controls/pull-request-executor.d.ts.map +1 -1
  130. package/dist/controls/pull-request-executor.js +6 -3
  131. package/dist/controls/pull-request-executor.js.map +1 -1
  132. package/dist/controls/reconcile-agent-hooks.d.ts +16 -0
  133. package/dist/controls/reconcile-agent-hooks.d.ts.map +1 -0
  134. package/dist/controls/reconcile-agent-hooks.js +125 -0
  135. package/dist/controls/reconcile-agent-hooks.js.map +1 -0
  136. package/dist/controls/reconcile-carrier-points.d.ts.map +1 -1
  137. package/dist/controls/reconcile-carrier-points.js +15 -8
  138. package/dist/controls/reconcile-carrier-points.js.map +1 -1
  139. package/dist/controls/reconcile-findings.d.ts.map +1 -1
  140. package/dist/controls/reconcile-findings.js +17 -3
  141. package/dist/controls/reconcile-findings.js.map +1 -1
  142. package/dist/controls/reconcile-hook-lines.d.ts +2 -1
  143. package/dist/controls/reconcile-hook-lines.d.ts.map +1 -1
  144. package/dist/controls/reconcile-hook-lines.js +6 -4
  145. package/dist/controls/reconcile-hook-lines.js.map +1 -1
  146. package/dist/controls/reconcile-hooks.d.ts +10 -0
  147. package/dist/controls/reconcile-hooks.d.ts.map +1 -1
  148. package/dist/controls/reconcile-hooks.js +3 -3
  149. package/dist/controls/reconcile-hooks.js.map +1 -1
  150. package/dist/controls/reconcile-points.d.ts +9 -5
  151. package/dist/controls/reconcile-points.d.ts.map +1 -1
  152. package/dist/controls/reconcile-points.js +100 -2
  153. package/dist/controls/reconcile-points.js.map +1 -1
  154. package/dist/controls/reconcile-result.d.ts.map +1 -1
  155. package/dist/controls/reconcile-result.js +4 -2
  156. package/dist/controls/reconcile-result.js.map +1 -1
  157. package/dist/controls/reconcile-types.d.ts +16 -5
  158. package/dist/controls/reconcile-types.d.ts.map +1 -1
  159. package/dist/controls/reconcile-types.js +1 -0
  160. package/dist/controls/reconcile-types.js.map +1 -1
  161. package/dist/controls/reconcile.d.ts.map +1 -1
  162. package/dist/controls/reconcile.js +37 -9
  163. package/dist/controls/reconcile.js.map +1 -1
  164. package/dist/controls/register-drift.d.ts.map +1 -1
  165. package/dist/controls/register-drift.js +4 -3
  166. package/dist/controls/register-drift.js.map +1 -1
  167. package/dist/controls/secret-scan.d.ts.map +1 -1
  168. package/dist/controls/secret-scan.js +7 -5
  169. package/dist/controls/secret-scan.js.map +1 -1
  170. package/dist/controls/secret-shapes.d.ts +7 -7
  171. package/dist/controls/secret-shapes.d.ts.map +1 -1
  172. package/dist/controls/secret-shapes.js +7 -18
  173. package/dist/controls/secret-shapes.js.map +1 -1
  174. package/dist/controls/shipped-parts.d.ts +7 -0
  175. package/dist/controls/shipped-parts.d.ts.map +1 -1
  176. package/dist/controls/shipped-parts.js +17 -0
  177. package/dist/controls/shipped-parts.js.map +1 -1
  178. package/dist/controls/unmapped-gate-evidence.d.ts +9 -0
  179. package/dist/controls/unmapped-gate-evidence.d.ts.map +1 -0
  180. package/dist/controls/unmapped-gate-evidence.js +16 -0
  181. package/dist/controls/unmapped-gate-evidence.js.map +1 -0
  182. package/dist/controls/verdict-summary.d.ts +8 -0
  183. package/dist/controls/verdict-summary.d.ts.map +1 -1
  184. package/dist/controls/verdict-summary.js +22 -0
  185. package/dist/controls/verdict-summary.js.map +1 -1
  186. package/dist/core/lisa-owned-hash-ledger.json +58 -0
  187. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  188. package/dist/core/upstream-evidence-manifest.json +74 -16
  189. package/package.json +4 -4
  190. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  191. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  192. package/plugins/lisa/.codex-plugin/skills/lisa-attest/SKILL.md +18 -2
  193. package/plugins/lisa/.codex-plugin/skills/lisa-configure/SKILL.md +19 -6
  194. package/plugins/lisa/.codex-plugin/skills/lisa-enforce/SKILL.md +7 -9
  195. package/plugins/lisa/.codex-plugin/skills/lisa-enforce/references/pull-request-executor.md +84 -13
  196. package/plugins/lisa/hooks/block-direct-issue-create.sh +4 -1
  197. package/plugins/lisa/hooks/worktree-binding-guard.mjs +56 -1
  198. package/plugins/lisa/skills/lisa-attest/SKILL.md +18 -2
  199. package/plugins/lisa/skills/lisa-configure/SKILL.md +19 -6
  200. package/plugins/lisa/skills/lisa-enforce/SKILL.md +7 -9
  201. package/plugins/lisa/skills/lisa-enforce/references/pull-request-executor.md +84 -13
  202. package/plugins/lisa-agy/hooks/block-direct-issue-create.sh +4 -1
  203. package/plugins/lisa-agy/plugin.json +1 -1
  204. package/plugins/lisa-agy/skills/lisa-attest/SKILL.md +18 -2
  205. package/plugins/lisa-agy/skills/lisa-configure/SKILL.md +19 -6
  206. package/plugins/lisa-agy/skills/lisa-enforce/SKILL.md +7 -9
  207. package/plugins/lisa-agy/skills/lisa-enforce/references/pull-request-executor.md +84 -13
  208. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  209. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  210. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  211. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  212. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  213. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  214. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  215. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  216. package/plugins/lisa-copilot/hooks/block-direct-issue-create.sh +4 -1
  217. package/plugins/lisa-copilot/hooks/worktree-binding-guard.mjs +56 -1
  218. package/plugins/lisa-copilot/skills/lisa-attest/SKILL.md +18 -2
  219. package/plugins/lisa-copilot/skills/lisa-configure/SKILL.md +19 -6
  220. package/plugins/lisa-copilot/skills/lisa-enforce/SKILL.md +7 -9
  221. package/plugins/lisa-copilot/skills/lisa-enforce/references/pull-request-executor.md +84 -13
  222. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  223. package/plugins/lisa-cursor/hooks/block-direct-issue-create.sh +4 -1
  224. package/plugins/lisa-cursor/hooks/worktree-binding-guard.mjs +56 -1
  225. package/plugins/lisa-cursor/skills/lisa-attest/SKILL.md +18 -2
  226. package/plugins/lisa-cursor/skills/lisa-configure/SKILL.md +19 -6
  227. package/plugins/lisa-cursor/skills/lisa-enforce/SKILL.md +7 -9
  228. package/plugins/lisa-cursor/skills/lisa-enforce/references/pull-request-executor.md +84 -13
  229. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  230. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  231. package/plugins/lisa-devin/hooks/block-direct-issue-create.sh +4 -1
  232. package/plugins/lisa-devin/hooks/worktree-binding-guard.mjs +56 -1
  233. package/plugins/lisa-devin/skills/lisa-attest/SKILL.md +18 -2
  234. package/plugins/lisa-devin/skills/lisa-configure/SKILL.md +19 -6
  235. package/plugins/lisa-devin/skills/lisa-enforce/SKILL.md +7 -9
  236. package/plugins/lisa-devin/skills/lisa-enforce/references/pull-request-executor.md +84 -13
  237. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  238. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  239. package/plugins/lisa-expo-agy/plugin.json +1 -1
  240. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  241. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  242. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  243. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  244. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  245. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  246. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  247. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  248. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  249. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  250. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  251. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  252. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  253. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  254. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  255. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  256. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  257. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  258. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  259. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  260. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  261. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  262. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  263. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  264. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  265. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  266. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  267. package/plugins/lisa-rails-agy/plugin.json +1 -1
  268. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  269. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  270. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  271. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  272. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  273. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  274. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  275. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  276. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  277. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  278. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  279. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  280. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  281. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  282. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  283. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  284. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  285. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  286. package/plugins/src/base/hooks/block-direct-issue-create.sh +4 -1
  287. package/plugins/src/base/hooks/worktree-binding-guard.mjs +56 -1
  288. package/plugins/src/base/skills/lisa-attest/SKILL.md +18 -2
  289. package/plugins/src/base/skills/lisa-configure/SKILL.md +19 -6
  290. package/plugins/src/base/skills/lisa-enforce/SKILL.md +7 -9
  291. package/plugins/src/base/skills/lisa-enforce/references/pull-request-executor.md +84 -13
  292. package/rails/copy-overwrite/lefthook.yml +13 -1
  293. package/rails/copy-overwrite/scripts/lisa-rails-registry-env.sh +24 -0
  294. package/rails/copy-overwrite/scripts/lisa-rails-registry-gates.sh +32 -0
  295. package/scripts/lib/phrase-tests/redact.mjs +3 -8
  296. package/scripts/two-channel-couplings.json +1 -1
  297. package/typescript/copy-overwrite/.prettierignore +1 -0
@@ -1,12 +1,11 @@
1
- # The pull-request executor on a platform other than GitHub
1
+ # Writing a repository's pull-request executor
2
2
 
3
- Part of the enforce step. Follow this when the repository is hosted somewhere other than GitHub and
4
- its gates declaration checks anything at the pull-request moment.
3
+ Part of the enforce step. Follow this when the gates declaration checks something at the
4
+ pull-request moment and the repository needs a workflow to run it.
5
5
 
6
6
  The pull-request executor is the file the hosting platform runs when someone proposes a change. It
7
- runs the gates, and a failing gate stops the change from being merged. For a repository on GitHub,
8
- Lisa ships that file. For a repository anywhere else, nothing ships: you write it, to the contract
9
- below.
7
+ runs the gates and reports a failure to the platform when a required gate fails. Lisa's supported
8
+ GitHub stacks ship a pull-request caller. A repository without that workflow can supply its own.
10
9
 
11
10
  Lisa did not write the file you produce and has never seen it refuse a change. So the control
12
11
  register marks every rule that file runs as **unproved**, and keeps it that way until the attest
@@ -37,8 +36,10 @@ Work out which platform hosts the repository from where it is pushed to and wher
37
36
  requests are opened. If you cannot tell, do not guess: write nothing, and return `blocked` with the
38
37
  question "Which platform hosts this repository's pull requests?".
39
38
 
40
- - **GitHub:** stop. Nothing here applies. Lisa's own workflows are the executor, and this flow never
41
- adds, edits or removes a file under `.github/workflows/`.
39
+ - **GitHub:** read the pull-request workflow and check whether Lisa's workflow already runs these
40
+ declared gates. If it does, leave it in place. When the repository needs a workflow, use an
41
+ existing host-owned workflow or add `.github/workflows/lisa-declared-controls.yml`. Use the
42
+ GitHub instructions in step 2 and record `platform: "github"` on the declarations.
42
43
  - **Any other platform:** carry on.
43
44
 
44
45
  ## Step 1: find the executor the register names
@@ -68,7 +69,7 @@ A gate says where its pull-request executor is on its `pull-request` entry in th
68
69
 
69
70
  | Key | Meaning |
70
71
  | --- | --- |
71
- | `platform` | The hosting platform's name in lower-case letters and digits, with hyphens between words: `gitlab`, `bitbucket`, `azure-devops`. `github` is the one platform Lisa ships the file for. Anything else is a platform Lisa did not write the executor for. |
72
+ | `platform` | The hosting platform's name in lower-case letters and digits, with hyphens between words, such as `github`, `gitlab`, `bitbucket` or `azure-devops`. |
72
73
  | `path` | The file, written from the repository root with `/` between folders. One spelling only: no leading `./`, no trailing `/`, no `..`, no absolute path. |
73
74
 
74
75
  `executor` is accepted on the `pull-request` entry only, and only in the entry's long form (an
@@ -155,7 +156,77 @@ how the file is spelled.
155
156
  result which of them you could confirm and which you could not; never report this requirement
156
157
  as met on the strength of the file alone.
157
158
 
158
- ### Examples
159
+ ### GitHub repositories with their own workflow
160
+
161
+ In each declaration the workflow runs, name its exact repository path in `executor` and set
162
+ `caller_chain` to a stable label such as `["Declared Controls"]`. Use the planner's `context`
163
+ as the GitHub job name. It comes from the same declaration that `lisa controls protect` reads,
164
+ so the reported check and the required check have the same name. Install the project's toolchain
165
+ and dependencies in the check job before running the gate.
166
+
167
+ Use the repository's real workflow path and protected branch.
168
+
169
+ Example only, using `.github/workflows/lisa-declared-controls.yml` to protect `main`.
170
+
171
+ ```yaml
172
+ name: Run declared controls
173
+ on:
174
+ pull_request:
175
+ branches: [main]
176
+ types: [opened, synchronize, reopened, edited]
177
+ permissions:
178
+ contents: read
179
+ jobs:
180
+ plan:
181
+ runs-on: ubuntu-latest
182
+ outputs:
183
+ legs: ${{ steps.plan.outputs.legs }}
184
+ steps:
185
+ - uses: actions/checkout@v6
186
+ with:
187
+ persist-credentials: false
188
+ - uses: actions/setup-node@v6
189
+ with:
190
+ node-version: '24'
191
+ - name: Plan declared pull-request checks
192
+ id: plan
193
+ shell: bash
194
+ run: |
195
+ legs=$(node scripts/lisa-gates.mjs legs --moment=pull-request --host-workflow=.github/workflows/lisa-declared-controls.yml --json)
196
+ printf 'legs=%s\n' "$legs" >> "$GITHUB_OUTPUT"
197
+ check:
198
+ needs: plan
199
+ if: needs.plan.outputs.legs != '[]'
200
+ strategy:
201
+ fail-fast: false
202
+ matrix:
203
+ include: ${{ fromJSON(needs.plan.outputs.legs) }}
204
+ name: ${{ matrix.context }}
205
+ runs-on: ubuntu-latest
206
+ timeout-minutes: ${{ matrix.timeout }}
207
+ steps:
208
+ - uses: actions/checkout@v6
209
+ with:
210
+ persist-credentials: false
211
+ fetch-depth: 0
212
+ - uses: actions/setup-node@v6
213
+ with:
214
+ node-version: '24'
215
+ - name: Run this gate's declared parts
216
+ if: matrix.action == 'run'
217
+ env:
218
+ GATE_ID: ${{ matrix.gate }}
219
+ run: node scripts/lisa-run-gates.mjs --moment=pull-request --builtins=none --parts=all --gate="$GATE_ID"
220
+ - name: Fail when the declaration has no prover
221
+ if: matrix.action == 'unproved'
222
+ run: exit 1
223
+ ```
224
+
225
+ Each required gate gets one job, including when it has several folder-scoped parts. All of its
226
+ parts are eligible to run and a failed required part fails that job. After GitHub reports the
227
+ jobs, verify their names against `lisa controls protect` before changing merge settings.
228
+
229
+ ### Other platform examples
159
230
 
160
231
  These show the shape of a job that meets requirements 1 and 2 and is triggered as requirement 3
161
232
  asks. They are **examples only**. They are not complete pipelines, they are not the contract, and
@@ -208,8 +279,8 @@ register again without the mark.
208
279
 
209
280
  The register is generated from the declaration and the evidence file together. So after either one
210
281
  changes, `lisa controls register --check` fails until the register is written again, and it says
211
- when the status is what differs. An entry whose executor is on GitHub never carries the mark, and
212
- an entry with no mark is not thereby proved: the verdict says what was proved.
282
+ when the status is what differs. The mark applies to host-written workflows on GitHub as well.
283
+ Use the verdict to see what was proved.
213
284
 
214
285
  ## Step 4: return the result
215
286
 
@@ -228,7 +299,7 @@ file refuse a bad change and accept a good one. Name any requirement you could n
228
299
 
229
300
  ## What this flow never does
230
301
 
231
- - It never runs for a repository hosted on GitHub, and never touches `.github/workflows/`.
302
+ - It leaves the Lisa-shipped GitHub caller in place.
232
303
  - It never says a rule is proved, and never writes or edits evidence or the register by hand.
233
304
  - It never weakens the contract to get a pipeline to pass.
234
305
  - It never guesses the hosting platform.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Expo and React Native-specific skills, agents, rules, and MCP servers.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Harper/Fabric-specific Lisa rules for TypeScript component apps.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "NestJS-specific skills and a hand-written migration warning hook.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Ruby on Rails-specific skills and hooks for RuboCop and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "TypeScript-specific hooks for formatting, linting, and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "Distributable LLM Wiki kernel — ingest, query, lint, and maintain a git-native markdown knowledge base across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "8.4.0",
3
+ "version": "8.6.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -726,11 +726,14 @@ HTTP_CLIS = {"curl", "http", "httpie", "wget"}
726
726
  # and permitting something we demonstrably cannot read. Deliberately narrower
727
727
  # than "mentions a tracker CLI" so an ordinary unparseable command
728
728
  # (`echo 'it's fine`) still passes.
729
+ # The GitHub collection can create an issue. A complete numeric member path
730
+ # identifies an existing issue. Keep the fallback for other route forms and
731
+ # for independent creation signatures appearing alongside a member path.
729
732
  UNPARSEABLE_CREATION = re.compile(
730
733
  r"\b(?:gh|jira|linear)\b[^\n]*?\bissue\b[^\n]*?\bcreate\b"
731
734
  r"|\bacli\b[^\n]*?\b(?:workitem|issue)s?\b[^\n]*?\bcreate\b"
732
735
  r"|\bcreateIssue\b|\bissueCreate\b"
733
- r"|repos/[^/\s]+/[^/\s]+/issues"
736
+ r"|repos/[^/\s]+/[^/\s]+/issues\b(?!/[0-9]+(?:$|[\s'\"`.,);?#]))"
734
737
  r"|atlassian\.net/rest/api/[^/\s]+/issue",
735
738
  re.IGNORECASE,
736
739
  )