@codyswann/lisa 4.109.2 → 4.110.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 (492) hide show
  1. package/all/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
  2. package/all/copy-overwrite/scripts/lisa-hooks/block-direct-issue-create.sh +10 -5
  3. package/all/copy-overwrite/scripts/lisa-hooks/block-no-verify.sh +4 -3
  4. package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +2 -2
  5. package/all/create-only/.agents/rules/README.md +3 -2
  6. package/all/create-only/.lisa/ACCOUNTABILITY.md +16 -10
  7. package/all/create-only/.lisa/DEPENDENCY_DECISIONS.md +15 -12
  8. package/dist/codex/scripts/block-no-verify.sh +1 -1
  9. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  10. package/dist/core/lisa-owned-hash-ledger.js +18 -0
  11. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  12. package/dist/core/lisa.d.ts +4 -3
  13. package/dist/core/lisa.d.ts.map +1 -1
  14. package/dist/core/lisa.js +12 -5
  15. package/dist/core/lisa.js.map +1 -1
  16. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  17. package/dist/core/project-config-dependencies.d.ts +29 -8
  18. package/dist/core/project-config-dependencies.d.ts.map +1 -1
  19. package/dist/core/project-config-dependencies.js +55 -15
  20. package/dist/core/project-config-dependencies.js.map +1 -1
  21. package/dist/core/project-config-human-gate.d.ts +105 -0
  22. package/dist/core/project-config-human-gate.d.ts.map +1 -0
  23. package/dist/core/project-config-human-gate.js +178 -0
  24. package/dist/core/project-config-human-gate.js.map +1 -0
  25. package/dist/core/project-config-learnings.d.ts +28 -9
  26. package/dist/core/project-config-learnings.d.ts.map +1 -1
  27. package/dist/core/project-config-learnings.js +51 -13
  28. package/dist/core/project-config-learnings.js.map +1 -1
  29. package/dist/core/project-config.d.ts +13 -3
  30. package/dist/core/project-config.d.ts.map +1 -1
  31. package/dist/core/project-config.js +6 -2
  32. package/dist/core/project-config.js.map +1 -1
  33. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  34. package/dist/core/upstream-evidence-manifest.js +84 -69
  35. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  36. package/dist/opencode/plugin-templates/block-no-verify.sh +4 -3
  37. package/dist/opencode/plugin-templates/lisa-block-direct-issue-create.ts +10 -4
  38. package/dist/utils/usage-accounting.d.ts +13 -0
  39. package/dist/utils/usage-accounting.d.ts.map +1 -1
  40. package/dist/utils/usage-accounting.js +67 -4
  41. package/dist/utils/usage-accounting.js.map +1 -1
  42. package/dist/utils/usage-artifact-ref.d.ts +30 -0
  43. package/dist/utils/usage-artifact-ref.d.ts.map +1 -0
  44. package/dist/utils/usage-artifact-ref.js +55 -0
  45. package/dist/utils/usage-artifact-ref.js.map +1 -0
  46. package/package.json +4 -4
  47. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  49. package/plugins/lisa/.codex-plugin/scripts/blocker-edge-resolution.mjs +9 -5
  50. package/plugins/lisa/.codex-plugin/scripts/human-gate-act.mjs +278 -0
  51. package/plugins/lisa/.codex-plugin/scripts/intake-blocker-reprobe.mjs +215 -39
  52. package/plugins/lisa/.codex-plugin/scripts/ready-queue-order.mjs +9 -3
  53. package/plugins/lisa/.codex-plugin/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  54. package/plugins/lisa/.codex-plugin/skills/lisa-debrief-apply/SKILL.md +4 -4
  55. package/plugins/lisa/.codex-plugin/skills/lisa-debrief-apply/agents/openai.yaml +2 -2
  56. package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  57. package/plugins/lisa/.codex-plugin/skills/lisa-exploratory-qa/SKILL.md +23 -12
  58. package/plugins/lisa/.codex-plugin/skills/lisa-github-build-intake/SKILL.md +14 -9
  59. package/plugins/lisa/.codex-plugin/skills/lisa-github-to-tracker/SKILL.md +1 -1
  60. package/plugins/lisa/.codex-plugin/skills/lisa-github-write-issue/SKILL.md +2 -2
  61. package/plugins/lisa/.codex-plugin/skills/lisa-improve-harness/SKILL.md +24 -7
  62. package/plugins/lisa/.codex-plugin/skills/lisa-jira-build-intake/SKILL.md +14 -10
  63. package/plugins/lisa/.codex-plugin/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  64. package/plugins/lisa/.codex-plugin/skills/lisa-learnings-audit/SKILL.md +64 -32
  65. package/plugins/lisa/.codex-plugin/skills/lisa-linear-build-intake/SKILL.md +9 -9
  66. package/plugins/lisa/.codex-plugin/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  67. package/plugins/lisa/.codex-plugin/skills/lisa-linear-write-issue/SKILL.md +5 -5
  68. package/plugins/lisa/.codex-plugin/skills/lisa-monitor/SKILL.md +10 -4
  69. package/plugins/lisa/.codex-plugin/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  70. package/plugins/lisa/.codex-plugin/skills/lisa-persist-learning/SKILL.md +5 -5
  71. package/plugins/lisa/.codex-plugin/skills/lisa-project-ideation/SKILL.md +10 -4
  72. package/plugins/lisa/.codex-plugin/skills/lisa-repair-intake/SKILL.md +24 -13
  73. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/SKILL.md +19 -2
  74. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/references/runbook-template.md +8 -4
  75. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  76. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  77. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  78. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  79. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  80. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  81. package/plugins/lisa/.codex-plugin/skills/lisa-setup-automations/SKILL.md +7 -5
  82. package/plugins/lisa/.codex-plugin/skills/lisa-track/SKILL.md +3 -3
  83. package/plugins/lisa/.codex-plugin/skills/lisa-usage-accounting/SKILL.md +5 -1
  84. package/plugins/lisa/agents/learning-judge.md +5 -5
  85. package/plugins/lisa/agents/skill-evaluator.md +4 -4
  86. package/plugins/lisa/commands/debrief/apply.md +1 -1
  87. package/plugins/lisa/commands/learnings/audit.md +2 -2
  88. package/plugins/lisa/commands/persist-learning.md +1 -1
  89. package/plugins/lisa/hooks/block-direct-issue-create.sh +10 -5
  90. package/plugins/lisa/hooks/block-no-verify.agy.sh +1 -1
  91. package/plugins/lisa/hooks/block-no-verify.sh +4 -3
  92. package/plugins/lisa/hooks/inject-resolved-config.mjs +236 -14
  93. package/plugins/lisa/hooks/threshold-ratchet.mjs +4 -2
  94. package/plugins/lisa/rules/eager/base-rules.md +1 -1
  95. package/plugins/lisa/rules/eager/do-it-now.md +2 -2
  96. package/plugins/lisa/rules/eager/learnings-ladder.md +1 -1
  97. package/plugins/lisa/rules/eager/security-audit-handling.md +5 -5
  98. package/plugins/lisa/rules/reference/automation-runbook-contract.md +37 -22
  99. package/plugins/lisa/rules/reference/base-rules.md +1 -1
  100. package/plugins/lisa/rules/reference/config-resolution.md +7 -6
  101. package/plugins/lisa/rules/reference/dependency-trust-classes.md +28 -18
  102. package/plugins/lisa/rules/reference/factory-model.md +17 -8
  103. package/plugins/lisa/rules/reference/intent-routing.md +3 -3
  104. package/plugins/lisa/rules/reference/learnings-ladder.md +1 -1
  105. package/plugins/lisa/rules/reference/promotion-contract.md +5 -2
  106. package/plugins/lisa/rules/reference/ready-role-filing.md +32 -22
  107. package/plugins/lisa/rules/reference/security-audit-handling.md +9 -6
  108. package/plugins/lisa/rules/reference/usage-accounting.md +29 -1
  109. package/plugins/lisa/scripts/blocker-edge-resolution.mjs +9 -5
  110. package/plugins/lisa/scripts/human-gate-act.mjs +104 -8
  111. package/plugins/lisa/scripts/human-gate-lift.mjs +14 -7
  112. package/plugins/lisa/scripts/intake-blocker-reprobe.mjs +215 -39
  113. package/plugins/lisa/scripts/ready-queue-order.mjs +9 -3
  114. package/plugins/lisa/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  115. package/plugins/lisa/skills/lisa-debrief-apply/SKILL.md +3 -3
  116. package/plugins/lisa/skills/lisa-debrief-apply/agents/openai.yaml +2 -2
  117. package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  118. package/plugins/lisa/skills/lisa-exploratory-qa/SKILL.md +23 -12
  119. package/plugins/lisa/skills/lisa-github-build-intake/SKILL.md +14 -9
  120. package/plugins/lisa/skills/lisa-github-to-tracker/SKILL.md +1 -1
  121. package/plugins/lisa/skills/lisa-github-write-issue/SKILL.md +2 -2
  122. package/plugins/lisa/skills/lisa-improve-harness/SKILL.md +24 -7
  123. package/plugins/lisa/skills/lisa-jira-build-intake/SKILL.md +14 -10
  124. package/plugins/lisa/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  125. package/plugins/lisa/skills/lisa-learnings-audit/SKILL.md +64 -32
  126. package/plugins/lisa/skills/lisa-linear-build-intake/SKILL.md +9 -9
  127. package/plugins/lisa/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  128. package/plugins/lisa/skills/lisa-linear-write-issue/SKILL.md +5 -5
  129. package/plugins/lisa/skills/lisa-monitor/SKILL.md +10 -4
  130. package/plugins/lisa/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  131. package/plugins/lisa/skills/lisa-persist-learning/SKILL.md +5 -5
  132. package/plugins/lisa/skills/lisa-project-ideation/SKILL.md +10 -4
  133. package/plugins/lisa/skills/lisa-repair-intake/SKILL.md +24 -13
  134. package/plugins/lisa/skills/lisa-session-manager/SKILL.md +19 -2
  135. package/plugins/lisa/skills/lisa-session-manager/references/runbook-template.md +8 -4
  136. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  137. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  138. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  139. package/plugins/lisa/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  140. package/plugins/lisa/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  141. package/plugins/lisa/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  142. package/plugins/lisa/skills/lisa-setup-automations/SKILL.md +7 -5
  143. package/plugins/lisa/skills/lisa-track/SKILL.md +3 -3
  144. package/plugins/lisa/skills/lisa-usage-accounting/SKILL.md +5 -1
  145. package/plugins/lisa-agy/agents/learning-judge.md +5 -5
  146. package/plugins/lisa-agy/agents/skill-evaluator.md +4 -4
  147. package/plugins/lisa-agy/commands/lisa/debrief/apply.md +1 -1
  148. package/plugins/lisa-agy/commands/lisa/learnings/audit.md +2 -2
  149. package/plugins/lisa-agy/commands/lisa/persist-learning.md +1 -1
  150. package/plugins/lisa-agy/hooks/block-direct-issue-create.sh +10 -5
  151. package/plugins/lisa-agy/hooks/block-no-verify.agy.sh +1 -1
  152. package/plugins/lisa-agy/plugin.json +1 -1
  153. package/plugins/lisa-agy/scripts/blocker-edge-resolution.mjs +9 -5
  154. package/plugins/lisa-agy/scripts/human-gate-act.mjs +104 -8
  155. package/plugins/lisa-agy/scripts/human-gate-lift.mjs +14 -7
  156. package/plugins/lisa-agy/scripts/intake-blocker-reprobe.mjs +215 -39
  157. package/plugins/lisa-agy/scripts/ready-queue-order.mjs +9 -3
  158. package/plugins/lisa-agy/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  159. package/plugins/lisa-agy/skills/lisa-debrief-apply/SKILL.md +3 -3
  160. package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  161. package/plugins/lisa-agy/skills/lisa-exploratory-qa/SKILL.md +23 -12
  162. package/plugins/lisa-agy/skills/lisa-github-build-intake/SKILL.md +14 -9
  163. package/plugins/lisa-agy/skills/lisa-github-to-tracker/SKILL.md +1 -1
  164. package/plugins/lisa-agy/skills/lisa-github-write-issue/SKILL.md +2 -2
  165. package/plugins/lisa-agy/skills/lisa-improve-harness/SKILL.md +24 -7
  166. package/plugins/lisa-agy/skills/lisa-jira-build-intake/SKILL.md +14 -10
  167. package/plugins/lisa-agy/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  168. package/plugins/lisa-agy/skills/lisa-learnings-audit/SKILL.md +64 -32
  169. package/plugins/lisa-agy/skills/lisa-linear-build-intake/SKILL.md +9 -9
  170. package/plugins/lisa-agy/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  171. package/plugins/lisa-agy/skills/lisa-linear-write-issue/SKILL.md +5 -5
  172. package/plugins/lisa-agy/skills/lisa-monitor/SKILL.md +10 -4
  173. package/plugins/lisa-agy/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  174. package/plugins/lisa-agy/skills/lisa-persist-learning/SKILL.md +5 -5
  175. package/plugins/lisa-agy/skills/lisa-project-ideation/SKILL.md +10 -4
  176. package/plugins/lisa-agy/skills/lisa-repair-intake/SKILL.md +24 -13
  177. package/plugins/lisa-agy/skills/lisa-session-manager/SKILL.md +19 -2
  178. package/plugins/lisa-agy/skills/lisa-session-manager/references/runbook-template.md +8 -4
  179. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  180. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  181. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  182. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  183. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  184. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  185. package/plugins/lisa-agy/skills/lisa-setup-automations/SKILL.md +7 -5
  186. package/plugins/lisa-agy/skills/lisa-track/SKILL.md +3 -3
  187. package/plugins/lisa-agy/skills/lisa-usage-accounting/SKILL.md +5 -1
  188. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  189. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  190. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  191. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  192. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  193. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  194. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  195. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  196. package/plugins/lisa-copilot/agents/learning-judge.agent.md +5 -5
  197. package/plugins/lisa-copilot/agents/skill-evaluator.agent.md +4 -4
  198. package/plugins/lisa-copilot/commands/lisa/debrief/apply.md +1 -1
  199. package/plugins/lisa-copilot/commands/lisa/learnings/audit.md +2 -2
  200. package/plugins/lisa-copilot/commands/lisa/persist-learning.md +1 -1
  201. package/plugins/lisa-copilot/hooks/block-direct-issue-create.sh +10 -5
  202. package/plugins/lisa-copilot/hooks/block-no-verify.sh +4 -3
  203. package/plugins/lisa-copilot/hooks/inject-resolved-config.mjs +236 -14
  204. package/plugins/lisa-copilot/hooks/threshold-ratchet.mjs +4 -2
  205. package/plugins/lisa-copilot/rules/eager/base-rules.md +1 -1
  206. package/plugins/lisa-copilot/rules/eager/do-it-now.md +2 -2
  207. package/plugins/lisa-copilot/rules/eager/learnings-ladder.md +1 -1
  208. package/plugins/lisa-copilot/rules/eager/security-audit-handling.md +5 -5
  209. package/plugins/lisa-copilot/rules/reference/automation-runbook-contract.md +37 -22
  210. package/plugins/lisa-copilot/rules/reference/base-rules.md +1 -1
  211. package/plugins/lisa-copilot/rules/reference/config-resolution.md +7 -6
  212. package/plugins/lisa-copilot/rules/reference/dependency-trust-classes.md +28 -18
  213. package/plugins/lisa-copilot/rules/reference/factory-model.md +17 -8
  214. package/plugins/lisa-copilot/rules/reference/intent-routing.md +3 -3
  215. package/plugins/lisa-copilot/rules/reference/learnings-ladder.md +1 -1
  216. package/plugins/lisa-copilot/rules/reference/promotion-contract.md +5 -2
  217. package/plugins/lisa-copilot/rules/reference/ready-role-filing.md +32 -22
  218. package/plugins/lisa-copilot/rules/reference/security-audit-handling.md +9 -6
  219. package/plugins/lisa-copilot/rules/reference/usage-accounting.md +29 -1
  220. package/plugins/lisa-copilot/scripts/blocker-edge-resolution.mjs +9 -5
  221. package/plugins/lisa-copilot/scripts/human-gate-act.mjs +104 -8
  222. package/plugins/lisa-copilot/scripts/human-gate-lift.mjs +14 -7
  223. package/plugins/lisa-copilot/scripts/intake-blocker-reprobe.mjs +215 -39
  224. package/plugins/lisa-copilot/scripts/ready-queue-order.mjs +9 -3
  225. package/plugins/lisa-copilot/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  226. package/plugins/lisa-copilot/skills/lisa-debrief-apply/SKILL.md +3 -3
  227. package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  228. package/plugins/lisa-copilot/skills/lisa-exploratory-qa/SKILL.md +23 -12
  229. package/plugins/lisa-copilot/skills/lisa-github-build-intake/SKILL.md +14 -9
  230. package/plugins/lisa-copilot/skills/lisa-github-to-tracker/SKILL.md +1 -1
  231. package/plugins/lisa-copilot/skills/lisa-github-write-issue/SKILL.md +2 -2
  232. package/plugins/lisa-copilot/skills/lisa-improve-harness/SKILL.md +24 -7
  233. package/plugins/lisa-copilot/skills/lisa-jira-build-intake/SKILL.md +14 -10
  234. package/plugins/lisa-copilot/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  235. package/plugins/lisa-copilot/skills/lisa-learnings-audit/SKILL.md +64 -32
  236. package/plugins/lisa-copilot/skills/lisa-linear-build-intake/SKILL.md +9 -9
  237. package/plugins/lisa-copilot/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  238. package/plugins/lisa-copilot/skills/lisa-linear-write-issue/SKILL.md +5 -5
  239. package/plugins/lisa-copilot/skills/lisa-monitor/SKILL.md +10 -4
  240. package/plugins/lisa-copilot/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  241. package/plugins/lisa-copilot/skills/lisa-persist-learning/SKILL.md +5 -5
  242. package/plugins/lisa-copilot/skills/lisa-project-ideation/SKILL.md +10 -4
  243. package/plugins/lisa-copilot/skills/lisa-repair-intake/SKILL.md +24 -13
  244. package/plugins/lisa-copilot/skills/lisa-session-manager/SKILL.md +19 -2
  245. package/plugins/lisa-copilot/skills/lisa-session-manager/references/runbook-template.md +8 -4
  246. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  247. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  248. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  249. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  250. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  251. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  252. package/plugins/lisa-copilot/skills/lisa-setup-automations/SKILL.md +7 -5
  253. package/plugins/lisa-copilot/skills/lisa-track/SKILL.md +3 -3
  254. package/plugins/lisa-copilot/skills/lisa-usage-accounting/SKILL.md +5 -1
  255. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  256. package/plugins/lisa-cursor/agents/learning-judge.md +5 -5
  257. package/plugins/lisa-cursor/agents/skill-evaluator.md +4 -4
  258. package/plugins/lisa-cursor/commands/lisa/debrief/apply.md +1 -1
  259. package/plugins/lisa-cursor/commands/lisa/learnings/audit.md +2 -2
  260. package/plugins/lisa-cursor/commands/lisa/persist-learning.md +1 -1
  261. package/plugins/lisa-cursor/hooks/block-direct-issue-create.sh +10 -5
  262. package/plugins/lisa-cursor/hooks/block-no-verify.sh +4 -3
  263. package/plugins/lisa-cursor/hooks/inject-resolved-config.mjs +236 -14
  264. package/plugins/lisa-cursor/hooks/threshold-ratchet.mjs +4 -2
  265. package/plugins/lisa-cursor/rules/automation-runbook-contract-reference.mdc +37 -22
  266. package/plugins/lisa-cursor/rules/base-rules-reference.mdc +1 -1
  267. package/plugins/lisa-cursor/rules/base-rules.mdc +1 -1
  268. package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +7 -6
  269. package/plugins/lisa-cursor/rules/dependency-trust-classes-reference.mdc +28 -18
  270. package/plugins/lisa-cursor/rules/do-it-now.mdc +2 -2
  271. package/plugins/lisa-cursor/rules/factory-model-reference.mdc +17 -8
  272. package/plugins/lisa-cursor/rules/intent-routing-reference.mdc +3 -3
  273. package/plugins/lisa-cursor/rules/learnings-ladder-reference.mdc +1 -1
  274. package/plugins/lisa-cursor/rules/learnings-ladder.mdc +1 -1
  275. package/plugins/lisa-cursor/rules/promotion-contract-reference.mdc +5 -2
  276. package/plugins/lisa-cursor/rules/ready-role-filing-reference.mdc +32 -22
  277. package/plugins/lisa-cursor/rules/security-audit-handling-reference.mdc +9 -6
  278. package/plugins/lisa-cursor/rules/security-audit-handling.mdc +5 -5
  279. package/plugins/lisa-cursor/rules/usage-accounting-reference.mdc +29 -1
  280. package/plugins/lisa-cursor/scripts/blocker-edge-resolution.mjs +9 -5
  281. package/plugins/lisa-cursor/scripts/human-gate-act.mjs +104 -8
  282. package/plugins/lisa-cursor/scripts/human-gate-lift.mjs +14 -7
  283. package/plugins/lisa-cursor/scripts/intake-blocker-reprobe.mjs +215 -39
  284. package/plugins/lisa-cursor/scripts/ready-queue-order.mjs +9 -3
  285. package/plugins/lisa-cursor/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  286. package/plugins/lisa-cursor/skills/lisa-debrief-apply/SKILL.md +3 -3
  287. package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  288. package/plugins/lisa-cursor/skills/lisa-exploratory-qa/SKILL.md +23 -12
  289. package/plugins/lisa-cursor/skills/lisa-github-build-intake/SKILL.md +14 -9
  290. package/plugins/lisa-cursor/skills/lisa-github-to-tracker/SKILL.md +1 -1
  291. package/plugins/lisa-cursor/skills/lisa-github-write-issue/SKILL.md +2 -2
  292. package/plugins/lisa-cursor/skills/lisa-improve-harness/SKILL.md +24 -7
  293. package/plugins/lisa-cursor/skills/lisa-jira-build-intake/SKILL.md +14 -10
  294. package/plugins/lisa-cursor/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  295. package/plugins/lisa-cursor/skills/lisa-learnings-audit/SKILL.md +64 -32
  296. package/plugins/lisa-cursor/skills/lisa-linear-build-intake/SKILL.md +9 -9
  297. package/plugins/lisa-cursor/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  298. package/plugins/lisa-cursor/skills/lisa-linear-write-issue/SKILL.md +5 -5
  299. package/plugins/lisa-cursor/skills/lisa-monitor/SKILL.md +10 -4
  300. package/plugins/lisa-cursor/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  301. package/plugins/lisa-cursor/skills/lisa-persist-learning/SKILL.md +5 -5
  302. package/plugins/lisa-cursor/skills/lisa-project-ideation/SKILL.md +10 -4
  303. package/plugins/lisa-cursor/skills/lisa-repair-intake/SKILL.md +24 -13
  304. package/plugins/lisa-cursor/skills/lisa-session-manager/SKILL.md +19 -2
  305. package/plugins/lisa-cursor/skills/lisa-session-manager/references/runbook-template.md +8 -4
  306. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  307. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  308. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  309. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  310. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  311. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  312. package/plugins/lisa-cursor/skills/lisa-setup-automations/SKILL.md +7 -5
  313. package/plugins/lisa-cursor/skills/lisa-track/SKILL.md +3 -3
  314. package/plugins/lisa-cursor/skills/lisa-usage-accounting/SKILL.md +5 -1
  315. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  316. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  317. package/plugins/lisa-devin/agents/learning-judge.md +5 -5
  318. package/plugins/lisa-devin/agents/skill-evaluator.md +4 -4
  319. package/plugins/lisa-devin/hooks/block-direct-issue-create.sh +10 -5
  320. package/plugins/lisa-devin/hooks/block-no-verify.sh +4 -3
  321. package/plugins/lisa-devin/hooks/inject-resolved-config.mjs +236 -14
  322. package/plugins/lisa-devin/hooks/threshold-ratchet.mjs +4 -2
  323. package/plugins/lisa-devin/rules/eager/base-rules.md +1 -1
  324. package/plugins/lisa-devin/rules/eager/do-it-now.md +2 -2
  325. package/plugins/lisa-devin/rules/eager/learnings-ladder.md +1 -1
  326. package/plugins/lisa-devin/rules/eager/security-audit-handling.md +5 -5
  327. package/plugins/lisa-devin/rules/reference/automation-runbook-contract.md +37 -22
  328. package/plugins/lisa-devin/rules/reference/base-rules.md +1 -1
  329. package/plugins/lisa-devin/rules/reference/config-resolution.md +7 -6
  330. package/plugins/lisa-devin/rules/reference/dependency-trust-classes.md +28 -18
  331. package/plugins/lisa-devin/rules/reference/factory-model.md +17 -8
  332. package/plugins/lisa-devin/rules/reference/intent-routing.md +3 -3
  333. package/plugins/lisa-devin/rules/reference/learnings-ladder.md +1 -1
  334. package/plugins/lisa-devin/rules/reference/promotion-contract.md +5 -2
  335. package/plugins/lisa-devin/rules/reference/ready-role-filing.md +32 -22
  336. package/plugins/lisa-devin/rules/reference/security-audit-handling.md +9 -6
  337. package/plugins/lisa-devin/rules/reference/usage-accounting.md +29 -1
  338. package/plugins/lisa-devin/scripts/blocker-edge-resolution.mjs +9 -5
  339. package/plugins/lisa-devin/scripts/human-gate-act.mjs +104 -8
  340. package/plugins/lisa-devin/scripts/human-gate-lift.mjs +14 -7
  341. package/plugins/lisa-devin/scripts/intake-blocker-reprobe.mjs +215 -39
  342. package/plugins/lisa-devin/scripts/ready-queue-order.mjs +9 -3
  343. package/plugins/lisa-devin/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  344. package/plugins/lisa-devin/skills/lisa-debrief-apply/SKILL.md +3 -3
  345. package/plugins/lisa-devin/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  346. package/plugins/lisa-devin/skills/lisa-exploratory-qa/SKILL.md +23 -12
  347. package/plugins/lisa-devin/skills/lisa-github-build-intake/SKILL.md +14 -9
  348. package/plugins/lisa-devin/skills/lisa-github-to-tracker/SKILL.md +1 -1
  349. package/plugins/lisa-devin/skills/lisa-github-write-issue/SKILL.md +2 -2
  350. package/plugins/lisa-devin/skills/lisa-improve-harness/SKILL.md +24 -7
  351. package/plugins/lisa-devin/skills/lisa-jira-build-intake/SKILL.md +14 -10
  352. package/plugins/lisa-devin/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  353. package/plugins/lisa-devin/skills/lisa-learnings-audit/SKILL.md +64 -32
  354. package/plugins/lisa-devin/skills/lisa-linear-build-intake/SKILL.md +9 -9
  355. package/plugins/lisa-devin/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  356. package/plugins/lisa-devin/skills/lisa-linear-write-issue/SKILL.md +5 -5
  357. package/plugins/lisa-devin/skills/lisa-monitor/SKILL.md +10 -4
  358. package/plugins/lisa-devin/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  359. package/plugins/lisa-devin/skills/lisa-persist-learning/SKILL.md +5 -5
  360. package/plugins/lisa-devin/skills/lisa-project-ideation/SKILL.md +10 -4
  361. package/plugins/lisa-devin/skills/lisa-repair-intake/SKILL.md +24 -13
  362. package/plugins/lisa-devin/skills/lisa-session-manager/SKILL.md +19 -2
  363. package/plugins/lisa-devin/skills/lisa-session-manager/references/runbook-template.md +8 -4
  364. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  365. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  366. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  367. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  368. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  369. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  370. package/plugins/lisa-devin/skills/lisa-setup-automations/SKILL.md +7 -5
  371. package/plugins/lisa-devin/skills/lisa-track/SKILL.md +3 -3
  372. package/plugins/lisa-devin/skills/lisa-usage-accounting/SKILL.md +5 -1
  373. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  374. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  375. package/plugins/lisa-expo-agy/plugin.json +1 -1
  376. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  377. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  378. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  379. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  380. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  381. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  382. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  383. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  384. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  385. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  386. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  387. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  388. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  389. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  390. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  391. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  392. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  393. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  394. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  395. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  396. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  397. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  398. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  399. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  400. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  401. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  402. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  403. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  404. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  405. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  406. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  407. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  408. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  409. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  410. package/plugins/lisa-rails-agy/plugin.json +1 -1
  411. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  412. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  413. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  414. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  415. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  416. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  417. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  418. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  419. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  420. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  421. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  422. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  423. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  424. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  425. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  426. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  427. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  428. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  429. package/plugins/src/base/agents/learning-judge.md +5 -5
  430. package/plugins/src/base/agents/skill-evaluator.md +4 -4
  431. package/plugins/src/base/commands/debrief/apply.md +1 -1
  432. package/plugins/src/base/commands/learnings/audit.md +2 -2
  433. package/plugins/src/base/commands/persist-learning.md +1 -1
  434. package/plugins/src/base/hooks/block-direct-issue-create.sh +10 -5
  435. package/plugins/src/base/hooks/block-no-verify.agy.sh +1 -1
  436. package/plugins/src/base/hooks/block-no-verify.sh +4 -3
  437. package/plugins/src/base/hooks/inject-resolved-config.mjs +236 -14
  438. package/plugins/src/base/hooks/threshold-ratchet.mjs +4 -2
  439. package/plugins/src/base/rules/eager/base-rules.md +1 -1
  440. package/plugins/src/base/rules/eager/do-it-now.md +2 -2
  441. package/plugins/src/base/rules/eager/learnings-ladder.md +1 -1
  442. package/plugins/src/base/rules/eager/security-audit-handling.md +5 -5
  443. package/plugins/src/base/rules/reference/automation-runbook-contract.md +37 -22
  444. package/plugins/src/base/rules/reference/base-rules.md +1 -1
  445. package/plugins/src/base/rules/reference/config-resolution.md +7 -6
  446. package/plugins/src/base/rules/reference/dependency-trust-classes.md +28 -18
  447. package/plugins/src/base/rules/reference/factory-model.md +17 -8
  448. package/plugins/src/base/rules/reference/intent-routing.md +3 -3
  449. package/plugins/src/base/rules/reference/learnings-ladder.md +1 -1
  450. package/plugins/src/base/rules/reference/promotion-contract.md +5 -2
  451. package/plugins/src/base/rules/reference/ready-role-filing.md +32 -22
  452. package/plugins/src/base/rules/reference/security-audit-handling.md +9 -6
  453. package/plugins/src/base/rules/reference/usage-accounting.md +29 -1
  454. package/plugins/src/base/scripts/blocker-edge-resolution.mjs +9 -5
  455. package/plugins/src/base/scripts/human-gate-act.mjs +104 -8
  456. package/plugins/src/base/scripts/human-gate-lift.mjs +14 -7
  457. package/plugins/src/base/scripts/intake-blocker-reprobe.mjs +215 -39
  458. package/plugins/src/base/scripts/ready-queue-order.mjs +9 -3
  459. package/plugins/src/base/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  460. package/plugins/src/base/skills/lisa-debrief-apply/SKILL.md +3 -3
  461. package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  462. package/plugins/src/base/skills/lisa-exploratory-qa/SKILL.md +23 -12
  463. package/plugins/src/base/skills/lisa-github-build-intake/SKILL.md +14 -9
  464. package/plugins/src/base/skills/lisa-github-to-tracker/SKILL.md +1 -1
  465. package/plugins/src/base/skills/lisa-github-write-issue/SKILL.md +2 -2
  466. package/plugins/src/base/skills/lisa-improve-harness/SKILL.md +24 -7
  467. package/plugins/src/base/skills/lisa-jira-build-intake/SKILL.md +14 -10
  468. package/plugins/src/base/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  469. package/plugins/src/base/skills/lisa-learnings-audit/SKILL.md +64 -32
  470. package/plugins/src/base/skills/lisa-linear-build-intake/SKILL.md +9 -9
  471. package/plugins/src/base/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  472. package/plugins/src/base/skills/lisa-linear-write-issue/SKILL.md +5 -5
  473. package/plugins/src/base/skills/lisa-monitor/SKILL.md +10 -4
  474. package/plugins/src/base/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  475. package/plugins/src/base/skills/lisa-persist-learning/SKILL.md +5 -5
  476. package/plugins/src/base/skills/lisa-project-ideation/SKILL.md +10 -4
  477. package/plugins/src/base/skills/lisa-repair-intake/SKILL.md +24 -13
  478. package/plugins/src/base/skills/lisa-session-manager/SKILL.md +19 -2
  479. package/plugins/src/base/skills/lisa-session-manager/references/runbook-template.md +8 -4
  480. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  481. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  482. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  483. package/plugins/src/base/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  484. package/plugins/src/base/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  485. package/plugins/src/base/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  486. package/plugins/src/base/skills/lisa-setup-automations/SKILL.md +7 -5
  487. package/plugins/src/base/skills/lisa-track/SKILL.md +3 -3
  488. package/plugins/src/base/skills/lisa-usage-accounting/SKILL.md +5 -1
  489. package/rails/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
  490. package/typescript/copy-contents/.husky/pre-commit +3 -2
  491. package/typescript/copy-overwrite/.github/GITHUB_ACTIONS.md +2 -1
  492. package/typescript/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
@@ -21,8 +21,10 @@
21
21
  * documented entries autonomously, and doctor readiness (B5) audits that
22
22
  * every entry carries a written decision.
23
23
  *
24
- * Human override: `.lisa.config.json` → `thresholdRatchet.allow` entries
25
- * ({ file, key, reason, until }). Honored ONLY from the baseline side (HEAD /
24
+ * Documented exception: `.lisa.config.json` → `thresholdRatchet.allow`
25
+ * entries ({ file, key, reason, until }). An agent records one, with its
26
+ * reason, only when the regression is justified; a person can reverse it by
27
+ * removing the entry. Honored ONLY from the baseline side (HEAD /
26
28
  * merge-base), never from the change under review — an agent cannot grant
27
29
  * itself an exception in the same change that weakens a gate. `key: "*"`
28
30
  * allows every key in the file, and reports as file-wide so it is not mistaken
@@ -464,11 +464,16 @@ FILE IT THE SANCTIONED WAY — one of these three, always explicit:
464
464
  write, and claims it. Complete means the \`work-item-definition-of-ready\`
465
465
  bar — reproduction, observed-versus-expected, Gherkin acceptance criteria.
466
466
 
467
- 2. A person must perform an act an agent cannot: supply a credential only
468
- they hold, approve spend, open an external account, give a legal or
469
- compliance sign-off, or act in a system the agent cannot reach. A choice
470
- with a reasonable default is NOT that: decide it, record the decision on
471
- the item, and use 1. Otherwise route the same way but pass
467
+ 2. A person must perform an act the agent lacks access to: complete an
468
+ interactive login or supply a credential only they hold, approve spend,
469
+ open an external account, sign a legal agreement (contract, BAA, DPA,
470
+ license), act from an account only a person holds (such as a protected
471
+ deployment approval), act in a system the agent cannot reach, release a
472
+ hold the operator explicitly asked for, or edit a file the project says
473
+ only people write. A choice with a reasonable default is NOT that, and
474
+ neither is a compliance judgement or naming an owner (unless
475
+ humanGate.mode is "strict"): decide it, record the decision on the item,
476
+ and use 1. Otherwise route the same way but pass
472
477
  \`human_gate: "<the act a person must perform>"\` in place of
473
478
  \`build_ready: true\` — the two are mutually exclusive. The leaf is filed
474
479
  into the default backlog role, outside the lane build-intake claims from,
@@ -2277,9 +2277,10 @@ Blocked: this command bypasses pre-commit/pre-push hooks (--no-verify or its
2277
2277
  short form -n, HUSKY=0, or core.hooksPath disabling). `git commit -n` and a
2278
2278
  cluster such as `-nm "msg"` skip pre-commit exactly as completely as the long
2279
2279
  flag. Fix the underlying issue (security audit, lint,
2280
- typecheck, tests, formatting) instead. If a fix is genuinely impossible, ask the
2281
- user to make the risk-acceptance decision and add a specific documented ignore;
2282
- never bypass the hook.
2280
+ typecheck, tests, formatting) instead. If a fix is genuinely impossible, make
2281
+ the risk-acceptance decision yourself: add a specific documented ignore with its
2282
+ reason and an expiry (under humanGate.mode strict, ask the user to make that
2283
+ decision instead); never bypass the hook.
2283
2284
  EOF
2284
2285
  exit 2
2285
2286
  fi
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "members": {
22
22
  "check-threshold-ratchet.mjs": {
23
- "sha256": "d4afc90ba8faf10925fff5fb0d6cd0ace22df2eaa0ec609ee969d0ec84092299",
23
+ "sha256": "3dcfd3a63d067337d0b287e4df13c0f97106f293db7a460e183654065ca57246",
24
24
  "staticImports": [
25
25
  "node:child_process",
26
26
  "node:fs",
@@ -1488,7 +1488,7 @@
1488
1488
  "children": []
1489
1489
  },
1490
1490
  "package/plugins/lisa/scripts/intake-blocker-reprobe.mjs": {
1491
- "sha256": "5685dbb6bc5f559c0c7bc5881827b0b40c7a5cf90bc7f5d8360c526399c30a29",
1491
+ "sha256": "b656658c87821bc080e251acfd757ac5aa651ebaabb5961692f0ab73f945b769",
1492
1492
  "staticImports": [
1493
1493
  "package/plugins/lisa/scripts/intake-prework-denominator.mjs"
1494
1494
  ],
@@ -18,8 +18,9 @@ second approval. Preserve unrelated rules and the operator's intended meaning.
18
18
  - Machine-captured learnings do **not** belong here either. They land in the
19
19
  learnings ledger (`.lisa/PROJECT_LEARNINGS.md` by default) through the
20
20
  executable contract, and only the gardener (`/lisa:learnings:audit`) ever
21
- proposes a promotion out of it — as a human-gated tracker ticket, never a
22
- silent agent rewrite.
21
+ proposes a promotion out of it — as a tracker ticket, never a silent agent
22
+ rewrite. A promotion that would change this directory is human-gated, because
23
+ this directory is human-authored.
23
24
  - An incidental finding is not permission to add or change a standing rule.
24
25
  Decline one-off trivia and rules whose maintenance costs exceed their value.
25
26
 
@@ -20,9 +20,12 @@ Because the alternative resolves to nobody. "The team owns it" is a sentence tha
20
20
  sounds like an answer and produces silence at 3am. A name in a file, reviewed
21
21
  when people change roles, is the smallest thing that works.
22
22
 
23
- An agent must not fill this file in. Assigning accountability is a decision a
24
- person makes about people, and a record an agent wrote about who is answerable is
25
- not a record of anything.
23
+ An agent may draft and fill this file in from the evidence it can reach —
24
+ `CODEOWNERS`, the repository's commit history, and the operators the project
25
+ configures (`sessionManager.operatorIds` in `.lisa.config.json`) — and notes
26
+ beside each name where it came from. A person can override any entry by editing
27
+ it, and a person's edit always wins. A project that wants only people to assign
28
+ accountability sets `"humanGate": { "mode": "strict" }` in `.lisa.config.json`.
26
29
 
27
30
  ## Accountable parties
28
31
 
@@ -42,13 +45,16 @@ gap until it is reassigned, not a formality to catch up on later.
42
45
 
43
46
  Some decisions dispose of an obligation rather than satisfying it: accepting a
44
47
  vulnerability with no fix, loosening a quality threshold, declaring a requirement
45
- inapplicable, dismissing a class of finding. Those need a person with the
46
- authority to make them — and the record has to say who, what, why, and until
47
- when.
48
-
49
- An agent may neither accept a risk nor author the record accepting it. An
50
- acceptance an agent can write for itself is not a control; it is a bypass with
51
- better paperwork.
48
+ inapplicable, dismissing a class of finding. Those need someone with standing
49
+ to make them — and the record has to say who, what, why, and until when.
50
+
51
+ By default the agent working the item has that standing. It may accept a risk
52
+ and record the acceptance itself, as long as the log row says what was accepted,
53
+ the agent's reasoning, and an expiry. That record is what keeps it a decision
54
+ rather than a bypass: anyone can read why, and a person can reverse it at any
55
+ time by editing the row or setting its Status to `revoked`. Under
56
+ `"humanGate": { "mode": "strict" }`, only a person listed below may accept a
57
+ risk.
52
58
 
53
59
  | Who | May accept | Scope limit | Reviewed |
54
60
  | --- | --- | --- | --- |
@@ -60,16 +60,17 @@ and are called out as such; do not go looking for them in this repository.
60
60
  ecosystem primitive, fast-moving standard implementation, build/development
61
61
  tool, runtime-critical service client, thin wrapper suitable for in-house
62
62
  ownership, and temporary/experimental dependency. Sign-off rules differ by
63
- class and by moment: a **runtime-critical service client** needs a human
64
- sign-off to be added and at every major upgrade; a **temporary/experimental
63
+ class and by moment: a **runtime-critical service client** needs sign-off to
64
+ be added and at every major upgrade; a **temporary/experimental
65
65
  dependency** needs none to be added — moving fast is the point — but must
66
66
  carry a written expiry date no more than one quarter out and a named exit, and
67
- then needs sign-off to extend past that date or to promote it. A project that
68
- wants no dependency to wait on a person (the `dependencies.humanSignOff`
69
- setting) sets
70
- `"dependencies": { "humanSignOff": "none" }` in `.lisa.config.json`; every
71
- sign-off above is then dropped, while the trust class and its evidence are
72
- still required. The full
67
+ then needs sign-off to extend past that date or to promote it. **By default
68
+ your coding agent gives that sign-off itself**: it ratifies the dependency,
69
+ writes its reasoning into the entry, and a person can reverse it by editing
70
+ the entry. A person signs off instead only when `.lisa.config.json` sets
71
+ `"humanGate": { "mode": "strict" }` or
72
+ `"dependencies": { "humanSignOff": "default" }`. In every setting the trust
73
+ class and its evidence are still required. The full
73
74
  definitions, with the evidence each class demands, are at
74
75
  `node_modules/@codyswann/lisa/plugins/lisa/rules/reference/dependency-trust-classes.md`.
75
76
  Your coding agent already has these loaded, so "which trust class is this, and
@@ -119,9 +120,9 @@ and it is exactly why the escalations below matter.
119
120
 
120
121
  ## When to escalate
121
122
 
122
- Reading an entry should end in a decision. Raise these to an owner rather than
123
- letting them sit — each one means the project is carrying a risk nobody has
124
- accepted on purpose:
123
+ Reading an entry should end in a decision. Resolve these rather than letting
124
+ them sit — each one means the project is carrying a risk nobody has accepted on
125
+ purpose:
125
126
 
126
127
  - **Nothing would catch a bad update.** The detection-evidence field says
127
128
  "nothing would catch it". We are trusting the dependency blind.
@@ -137,7 +138,9 @@ the answer was bad.
137
138
 
138
139
  When `dependencies.humanSignOff` is `"none"`, the agent resolves the
139
140
  escalation itself — reclassify, replace, remove, or accept — and records the decision and
140
- its reason in the entry.
141
+ its reason in the entry. That is the default; a person can reverse the decision
142
+ by editing the entry. Under `humanGate.mode: "strict"` or `humanSignOff: "default"`,
143
+ the escalation goes to the accountable owner instead.
141
144
 
142
145
  ## What each field means
143
146
 
@@ -2151,7 +2151,7 @@ then
2151
2151
  "hookSpecificOutput": {
2152
2152
  "hookEventName": "PreToolUse",
2153
2153
  "permissionDecision": "deny",
2154
- "permissionDecisionReason": "Blocked: this command bypasses pre-commit/pre-push hooks (--no-verify or its short form -n, HUSKY=0, or core.hooksPath disabling). `git commit -n` and a cluster such as `-nm \"msg\"` skip pre-commit exactly as completely as the long flag. Fix the underlying issue (security audit, lint, typecheck, tests, formatting) instead. If a fix is genuinely impossible, ask the user to make the risk-acceptance decision and add a specific documented ignore; never bypass the hook."
2154
+ "permissionDecisionReason": "Blocked: this command bypasses pre-commit/pre-push hooks (--no-verify or its short form -n, HUSKY=0, or core.hooksPath disabling). `git commit -n` and a cluster such as `-nm \"msg\"` skip pre-commit exactly as completely as the long flag. Fix the underlying issue (security audit, lint, typecheck, tests, formatting) instead. If a fix is genuinely impossible, make the risk-acceptance decision yourself: add a specific documented ignore with its reason and an expiry (under humanGate.mode strict, ask the user to make that decision instead); never bypass the hook."
2155
2155
  }
2156
2156
  }'
2157
2157
  fi
@@ -1 +1 @@
1
- {"version":3,"file":"lisa-owned-hash-ledger.d.ts","sourceRoot":"","sources":["../../src/core/lisa-owned-hash-ledger.ts"],"names":[],"mappings":"AACA,6EAA6E;AAE7E;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAC3C,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAo9EjC,CAAC;AAEH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CACpD,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAu3EjC,CAAC"}
1
+ {"version":3,"file":"lisa-owned-hash-ledger.d.ts","sourceRoot":"","sources":["../../src/core/lisa-owned-hash-ledger.ts"],"names":[],"mappings":"AACA,6EAA6E;AAE7E;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAC3C,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CA69EjC,CAAC;AAEH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CACpD,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAg4EjC,CAAC"}
@@ -454,6 +454,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
454
454
  "scripts/check-threshold-ratchet.mjs": Object.freeze([
455
455
  "04f660131bf50864239eb09cbf4d9555e53921254f6ab45ff2b85c173e160901",
456
456
  "1e46e6ca651e87e7814a4f486af5784ed2f7a8a48eadcaa7d3fef26e380929f9",
457
+ "3dcfd3a63d067337d0b287e4df13c0f97106f293db7a460e183654065ca57246",
457
458
  "46b7c2213112306af9702c910a9bcf485ea0b46154e46f0afe8fb8b5b0ba6c08",
458
459
  "47bc8b91e38535e694f43d9d3b76c4589ae2796e4ce9e875ab6b09a273e0c93a",
459
460
  "49dee610439f4f21aecb0420a0cc72f5d3595a36f2489970053096190b9909c4",
@@ -1595,12 +1596,14 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
1595
1596
  "8e1a04254f214c7de4ac252f0aec0f520aae617b87c7b306df6f08c6d2e8cf76",
1596
1597
  "942f5bb0360ab56a082a2ca66a7a43ee5db2e336a25478c9600d59dd7192d8cd",
1597
1598
  "99d33488d2ae8617a6a680f8d54ec5cb1ed3fbdebd8950145cad78c879cbfae8",
1599
+ "a95275e20783d55b5fba612c19034b5c765220a7a542cc88f93b699d513b84b3",
1598
1600
  "ae15912552e4151f745f7df6901a935cdc8a7ee70a798793bff870362e4a62ba",
1599
1601
  "b0693e6c7c73638ce9044c402b80999cebc0e2ada68dbb65dc94f810b732f3e7",
1600
1602
  "d3d8598080c3b4512957588d6d280facca2da6bf18a5a985b1f2c0d53a7c34aa",
1601
1603
  "d4e30aef1d633eb22844bcc0eec82fcabece640272dc1b1d72ce02d48e3170d5",
1602
1604
  "ea9e3e7d9d228b71a9c53801e22ef18cf56ab38f331fdd9883a6f8585da8b83c",
1603
1605
  "f2654941598c9841cc5a8f4362a181ac1ea2c028a7a4671e7d269b5fb6547914",
1606
+ "f3ae97053fc7c81a1b3c87000e4124616e55b7366a3efb8786ec5e3ba0242330",
1604
1607
  "fd25f6aa8a8b93a3b362e2946e470fb5869ffe3b93273b97b0f8fb5ec700c6db",
1605
1608
  ]),
1606
1609
  "scripts/lisa-hooks/block-instruction-file-edits.sh": Object.freeze([
@@ -1672,6 +1675,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
1672
1675
  "91c3305c907ebd87fc71d48786e1bdf4f3c6c215af216a969c5cf0823ab31a24",
1673
1676
  "a3da9b87bbb086df3377c823677c73e42f6dfc7acdd5804ea94b2773298f96b9",
1674
1677
  "a6ed91576efebb6ba40cfa4e9d8a3e8566314909210ae8d5860be62a3feb4cff",
1678
+ "a7950ce0b4bcf78eb46e9a17053aca62eacab00376dcf4cdfe85cdae07d11db3",
1675
1679
  "aa95a84f9f9224914947a09b858535aa8bd052199ff64cb53768cf78fb69b687",
1676
1680
  "adea9d26bffcf1781e3b6675f2cf436b7c83f3f283790e77e54fdbd9276d17f0",
1677
1681
  "b9f299cb9d3ad75b71296376ae2c40eb207a3b2706dafdaa41fc586050a53aad",
@@ -2377,7 +2381,9 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
2377
2381
  "748e40364b55387fefcf61c5689fafd9f7bd09d452527c02f6214b06ba93530c",
2378
2382
  "75c49dc8534018d8b71eacf934eb5c675c2401e27b722c322bf5137f646d78b3",
2379
2383
  "78c00bc630304d220de75d288b94d2cdb0b12a7926a2c05536505c52b138e3a1",
2384
+ "7980805f54c2543e780d7e8ad12df2e978217e8ab1c9147bf4e3174b7dfb48f7",
2380
2385
  "79d41ce3eb5e6a2acf35dbe7a351b93f9d48631813c422814da4b8fed4717faa",
2386
+ "79f33906e7c883b1723cfd04e3c478ea48b9f79dd3e2050d5120a21ca6fd3e88",
2381
2387
  "7b1444433c16ae4b580ad71f908ae9788862b9f814d08c447c78f3dfd49226a4",
2382
2388
  "7b1d6bba391f105b9d53b91773fd207c9a5e9b5bfcd638e1e6b579d507279d7d",
2383
2389
  "7c8b9d5b8f7d77dbf520c1009497d041eeb9930103c7f52bfd8b04a4492eb023",
@@ -2405,6 +2411,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
2405
2411
  "a2a216b96bcdb31b1b0225ada0334be4033906323275035b6e356edf333bb5bd",
2406
2412
  "a5728c0c8ff8b085b75a84b0bcc06351a12ae62eb97962c30667e183629d94c7",
2407
2413
  "a6ddf4c8c4c28b4a42b3363ea3372c9b203114b831dbb92d453babe13a8fe31f",
2414
+ "a92d71d8edfb339648024ed24d105347dcebb4fbadc07c1061dba4038c6a1f7a",
2408
2415
  "a9f7aff4ca32e9dafbd9f242d0253da86df5b3a38c66dd2a275aa44c14f032f2",
2409
2416
  "ab1e4e2810b47e1c14db8386cf1175bf5b58f42000f784f440cb06b4ad4bab01",
2410
2417
  "b19c9073ac69315cffb122af22b82c1c5a59ab0838a464cb54150101cec3ef30",
@@ -2437,6 +2444,8 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
2437
2444
  "dca1c3f762f14ab3e5b43469da2e1d119d40c21943c57748a19d3e23e380498c",
2438
2445
  "e0d9dcc8bbb00e2c7528eddcfe6d9dbf974bcf75ecd61399a2ff3c7f21627db9",
2439
2446
  "e32628a9f832f681d084d51a80de8910ce1bee7e39f8306bb217e7b519242e6e",
2447
+ "e3a2f2cc28a4949486a92856d8373c202e3aeede4209aad19738ed2881bce33f",
2448
+ "e5a23977cbda1d99f3539f6c75cec4dd4fb3de0b29f6a36d395169a00f63b5da",
2440
2449
  "e5c773e09e6ce00c02300d29be403fadcee92e439fd6ae25e28c5f3c93af8ccc",
2441
2450
  "e6aa56958b9f2f0c1e52019cc7e22822df59f126953c1c7f395246e3c66f3c82",
2442
2451
  "e6c2ba2036e39587dd8cd01791dc24f7cf228796be59eea36514a3e1c2f758eb",
@@ -2967,6 +2976,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
2967
2976
  "scripts/check-threshold-ratchet.mjs": Object.freeze([
2968
2977
  "04f660131bf50864239eb09cbf4d9555e53921254f6ab45ff2b85c173e160901",
2969
2978
  "1e46e6ca651e87e7814a4f486af5784ed2f7a8a48eadcaa7d3fef26e380929f9",
2979
+ "3dcfd3a63d067337d0b287e4df13c0f97106f293db7a460e183654065ca57246",
2970
2980
  "46b7c2213112306af9702c910a9bcf485ea0b46154e46f0afe8fb8b5b0ba6c08",
2971
2981
  "47bc8b91e38535e694f43d9d3b76c4589ae2796e4ce9e875ab6b09a273e0c93a",
2972
2982
  "49dee610439f4f21aecb0420a0cc72f5d3595a36f2489970053096190b9909c4",
@@ -4060,12 +4070,14 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
4060
4070
  "8e1a04254f214c7de4ac252f0aec0f520aae617b87c7b306df6f08c6d2e8cf76",
4061
4071
  "942f5bb0360ab56a082a2ca66a7a43ee5db2e336a25478c9600d59dd7192d8cd",
4062
4072
  "99d33488d2ae8617a6a680f8d54ec5cb1ed3fbdebd8950145cad78c879cbfae8",
4073
+ "a95275e20783d55b5fba612c19034b5c765220a7a542cc88f93b699d513b84b3",
4063
4074
  "ae15912552e4151f745f7df6901a935cdc8a7ee70a798793bff870362e4a62ba",
4064
4075
  "b0693e6c7c73638ce9044c402b80999cebc0e2ada68dbb65dc94f810b732f3e7",
4065
4076
  "d3d8598080c3b4512957588d6d280facca2da6bf18a5a985b1f2c0d53a7c34aa",
4066
4077
  "d4e30aef1d633eb22844bcc0eec82fcabece640272dc1b1d72ce02d48e3170d5",
4067
4078
  "ea9e3e7d9d228b71a9c53801e22ef18cf56ab38f331fdd9883a6f8585da8b83c",
4068
4079
  "f2654941598c9841cc5a8f4362a181ac1ea2c028a7a4671e7d269b5fb6547914",
4080
+ "f3ae97053fc7c81a1b3c87000e4124616e55b7366a3efb8786ec5e3ba0242330",
4069
4081
  "fd25f6aa8a8b93a3b362e2946e470fb5869ffe3b93273b97b0f8fb5ec700c6db",
4070
4082
  ]),
4071
4083
  "scripts/lisa-hooks/block-instruction-file-edits.sh": Object.freeze([
@@ -4137,6 +4149,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
4137
4149
  "91c3305c907ebd87fc71d48786e1bdf4f3c6c215af216a969c5cf0823ab31a24",
4138
4150
  "a3da9b87bbb086df3377c823677c73e42f6dfc7acdd5804ea94b2773298f96b9",
4139
4151
  "a6ed91576efebb6ba40cfa4e9d8a3e8566314909210ae8d5860be62a3feb4cff",
4152
+ "a7950ce0b4bcf78eb46e9a17053aca62eacab00376dcf4cdfe85cdae07d11db3",
4140
4153
  "aa95a84f9f9224914947a09b858535aa8bd052199ff64cb53768cf78fb69b687",
4141
4154
  "adea9d26bffcf1781e3b6675f2cf436b7c83f3f283790e77e54fdbd9276d17f0",
4142
4155
  "b9f299cb9d3ad75b71296376ae2c40eb207a3b2706dafdaa41fc586050a53aad",
@@ -4817,7 +4830,9 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
4817
4830
  "748e40364b55387fefcf61c5689fafd9f7bd09d452527c02f6214b06ba93530c",
4818
4831
  "75c49dc8534018d8b71eacf934eb5c675c2401e27b722c322bf5137f646d78b3",
4819
4832
  "78c00bc630304d220de75d288b94d2cdb0b12a7926a2c05536505c52b138e3a1",
4833
+ "7980805f54c2543e780d7e8ad12df2e978217e8ab1c9147bf4e3174b7dfb48f7",
4820
4834
  "79d41ce3eb5e6a2acf35dbe7a351b93f9d48631813c422814da4b8fed4717faa",
4835
+ "79f33906e7c883b1723cfd04e3c478ea48b9f79dd3e2050d5120a21ca6fd3e88",
4821
4836
  "7b1444433c16ae4b580ad71f908ae9788862b9f814d08c447c78f3dfd49226a4",
4822
4837
  "7b1d6bba391f105b9d53b91773fd207c9a5e9b5bfcd638e1e6b579d507279d7d",
4823
4838
  "7c8b9d5b8f7d77dbf520c1009497d041eeb9930103c7f52bfd8b04a4492eb023",
@@ -4845,6 +4860,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
4845
4860
  "a2a216b96bcdb31b1b0225ada0334be4033906323275035b6e356edf333bb5bd",
4846
4861
  "a5728c0c8ff8b085b75a84b0bcc06351a12ae62eb97962c30667e183629d94c7",
4847
4862
  "a6ddf4c8c4c28b4a42b3363ea3372c9b203114b831dbb92d453babe13a8fe31f",
4863
+ "a92d71d8edfb339648024ed24d105347dcebb4fbadc07c1061dba4038c6a1f7a",
4848
4864
  "a9f7aff4ca32e9dafbd9f242d0253da86df5b3a38c66dd2a275aa44c14f032f2",
4849
4865
  "ab1e4e2810b47e1c14db8386cf1175bf5b58f42000f784f440cb06b4ad4bab01",
4850
4866
  "b19c9073ac69315cffb122af22b82c1c5a59ab0838a464cb54150101cec3ef30",
@@ -4877,6 +4893,8 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
4877
4893
  "dca1c3f762f14ab3e5b43469da2e1d119d40c21943c57748a19d3e23e380498c",
4878
4894
  "e0d9dcc8bbb00e2c7528eddcfe6d9dbf974bcf75ecd61399a2ff3c7f21627db9",
4879
4895
  "e32628a9f832f681d084d51a80de8910ce1bee7e39f8306bb217e7b519242e6e",
4896
+ "e3a2f2cc28a4949486a92856d8373c202e3aeede4209aad19738ed2881bce33f",
4897
+ "e5a23977cbda1d99f3539f6c75cec4dd4fb3de0b29f6a36d395169a00f63b5da",
4880
4898
  "e5c773e09e6ce00c02300d29be403fadcee92e439fd6ae25e28c5f3c93af8ccc",
4881
4899
  "e6aa56958b9f2f0c1e52019cc7e22822df59f126953c1c7f395246e3c66f3c82",
4882
4900
  "e6c2ba2036e39587dd8cd01791dc24f7cf228796be59eea36514a3e1c2f758eb",