@codyswann/lisa 4.109.1 → 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 (591) hide show
  1. package/all/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
  2. package/all/copy-overwrite/scripts/lib/completion-proof-github.mjs +58 -3
  3. package/all/copy-overwrite/scripts/lib/completion-proof-publisher.mjs +58 -141
  4. package/all/copy-overwrite/scripts/lib/evidence-prune-records.mjs +57 -11
  5. package/all/copy-overwrite/scripts/lib/evidence-release-capacity.mjs +228 -0
  6. package/all/copy-overwrite/scripts/lib/npm-update-helper-inventory.mjs +1 -0
  7. package/all/copy-overwrite/scripts/lisa-hooks/block-direct-issue-create.sh +10 -5
  8. package/all/copy-overwrite/scripts/lisa-hooks/block-no-verify.sh +4 -3
  9. package/all/copy-overwrite/scripts/lisa-work-item.mjs +16 -15
  10. package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +16 -6
  11. package/all/create-only/.agents/rules/README.md +3 -2
  12. package/all/create-only/.lisa/ACCOUNTABILITY.md +16 -10
  13. package/all/create-only/.lisa/DEPENDENCY_DECISIONS.md +15 -12
  14. package/dist/codex/scripts/block-no-verify.sh +1 -1
  15. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  16. package/dist/core/lisa-owned-hash-ledger.js +56 -0
  17. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  18. package/dist/core/lisa.d.ts +4 -3
  19. package/dist/core/lisa.d.ts.map +1 -1
  20. package/dist/core/lisa.js +12 -5
  21. package/dist/core/lisa.js.map +1 -1
  22. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  23. package/dist/core/project-config-dependencies.d.ts +29 -8
  24. package/dist/core/project-config-dependencies.d.ts.map +1 -1
  25. package/dist/core/project-config-dependencies.js +55 -15
  26. package/dist/core/project-config-dependencies.js.map +1 -1
  27. package/dist/core/project-config-human-gate.d.ts +105 -0
  28. package/dist/core/project-config-human-gate.d.ts.map +1 -0
  29. package/dist/core/project-config-human-gate.js +178 -0
  30. package/dist/core/project-config-human-gate.js.map +1 -0
  31. package/dist/core/project-config-learnings.d.ts +28 -9
  32. package/dist/core/project-config-learnings.d.ts.map +1 -1
  33. package/dist/core/project-config-learnings.js +51 -13
  34. package/dist/core/project-config-learnings.js.map +1 -1
  35. package/dist/core/project-config.d.ts +13 -3
  36. package/dist/core/project-config.d.ts.map +1 -1
  37. package/dist/core/project-config.js +6 -2
  38. package/dist/core/project-config.js.map +1 -1
  39. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  40. package/dist/core/upstream-evidence-manifest.js +111 -89
  41. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  42. package/dist/opencode/plugin-templates/block-no-verify.sh +4 -3
  43. package/dist/opencode/plugin-templates/lisa-block-direct-issue-create.ts +10 -4
  44. package/dist/utils/usage-accounting.d.ts +13 -0
  45. package/dist/utils/usage-accounting.d.ts.map +1 -1
  46. package/dist/utils/usage-accounting.js +67 -4
  47. package/dist/utils/usage-accounting.js.map +1 -1
  48. package/dist/utils/usage-artifact-ref.d.ts +30 -0
  49. package/dist/utils/usage-artifact-ref.d.ts.map +1 -0
  50. package/dist/utils/usage-artifact-ref.js +55 -0
  51. package/dist/utils/usage-artifact-ref.js.map +1 -0
  52. package/package.json +4 -4
  53. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  55. package/plugins/lisa/.codex-plugin/scripts/blocker-edge-resolution.mjs +9 -5
  56. package/plugins/lisa/.codex-plugin/scripts/human-gate-act.mjs +278 -0
  57. package/plugins/lisa/.codex-plugin/scripts/intake-blocker-reprobe.mjs +215 -39
  58. package/plugins/lisa/.codex-plugin/scripts/ready-queue-order.mjs +9 -3
  59. package/plugins/lisa/.codex-plugin/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  60. package/plugins/lisa/.codex-plugin/skills/lisa-debrief-apply/SKILL.md +4 -4
  61. package/plugins/lisa/.codex-plugin/skills/lisa-debrief-apply/agents/openai.yaml +2 -2
  62. package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  63. package/plugins/lisa/.codex-plugin/skills/lisa-exploratory-qa/SKILL.md +23 -12
  64. package/plugins/lisa/.codex-plugin/skills/lisa-github-build-intake/SKILL.md +14 -9
  65. package/plugins/lisa/.codex-plugin/skills/lisa-github-evidence/SKILL.md +7 -3
  66. package/plugins/lisa/.codex-plugin/skills/lisa-github-to-tracker/SKILL.md +1 -1
  67. package/plugins/lisa/.codex-plugin/skills/lisa-github-write-issue/SKILL.md +2 -2
  68. package/plugins/lisa/.codex-plugin/skills/lisa-improve-harness/SKILL.md +24 -7
  69. package/plugins/lisa/.codex-plugin/skills/lisa-jira-build-intake/SKILL.md +14 -10
  70. package/plugins/lisa/.codex-plugin/skills/lisa-jira-evidence/SKILL.md +10 -7
  71. package/plugins/lisa/.codex-plugin/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
  72. package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/SKILL.md +1 -1
  73. package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
  74. package/plugins/lisa/.codex-plugin/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  75. package/plugins/lisa/.codex-plugin/skills/lisa-learnings-audit/SKILL.md +64 -32
  76. package/plugins/lisa/.codex-plugin/skills/lisa-linear-build-intake/SKILL.md +9 -9
  77. package/plugins/lisa/.codex-plugin/skills/lisa-linear-evidence/SKILL.md +1 -1
  78. package/plugins/lisa/.codex-plugin/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  79. package/plugins/lisa/.codex-plugin/skills/lisa-linear-write-issue/SKILL.md +5 -5
  80. package/plugins/lisa/.codex-plugin/skills/lisa-monitor/SKILL.md +10 -4
  81. package/plugins/lisa/.codex-plugin/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  82. package/plugins/lisa/.codex-plugin/skills/lisa-persist-learning/SKILL.md +5 -5
  83. package/plugins/lisa/.codex-plugin/skills/lisa-project-ideation/SKILL.md +10 -4
  84. package/plugins/lisa/.codex-plugin/skills/lisa-repair-intake/SKILL.md +24 -13
  85. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/SKILL.md +19 -2
  86. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/references/runbook-template.md +8 -4
  87. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  88. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  89. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  90. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  91. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  92. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  93. package/plugins/lisa/.codex-plugin/skills/lisa-setup-automations/SKILL.md +7 -5
  94. package/plugins/lisa/.codex-plugin/skills/lisa-track/SKILL.md +3 -3
  95. package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
  96. package/plugins/lisa/.codex-plugin/skills/lisa-usage-accounting/SKILL.md +5 -1
  97. package/plugins/lisa/agents/learning-judge.md +5 -5
  98. package/plugins/lisa/agents/skill-evaluator.md +4 -4
  99. package/plugins/lisa/commands/debrief/apply.md +1 -1
  100. package/plugins/lisa/commands/learnings/audit.md +2 -2
  101. package/plugins/lisa/commands/persist-learning.md +1 -1
  102. package/plugins/lisa/hooks/block-direct-issue-create.sh +10 -5
  103. package/plugins/lisa/hooks/block-no-verify.agy.sh +1 -1
  104. package/plugins/lisa/hooks/block-no-verify.sh +4 -3
  105. package/plugins/lisa/hooks/inject-resolved-config.mjs +236 -14
  106. package/plugins/lisa/hooks/threshold-ratchet.mjs +4 -2
  107. package/plugins/lisa/rules/eager/base-rules.md +1 -1
  108. package/plugins/lisa/rules/eager/do-it-now.md +2 -2
  109. package/plugins/lisa/rules/eager/learnings-ladder.md +1 -1
  110. package/plugins/lisa/rules/eager/security-audit-handling.md +5 -5
  111. package/plugins/lisa/rules/reference/automation-runbook-contract.md +37 -22
  112. package/plugins/lisa/rules/reference/base-rules.md +1 -1
  113. package/plugins/lisa/rules/reference/config-resolution.md +7 -6
  114. package/plugins/lisa/rules/reference/dependency-trust-classes.md +28 -18
  115. package/plugins/lisa/rules/reference/factory-model.md +17 -8
  116. package/plugins/lisa/rules/reference/intent-routing.md +3 -3
  117. package/plugins/lisa/rules/reference/learnings-ladder.md +1 -1
  118. package/plugins/lisa/rules/reference/promotion-contract.md +5 -2
  119. package/plugins/lisa/rules/reference/ready-role-filing.md +32 -22
  120. package/plugins/lisa/rules/reference/security-audit-handling.md +9 -6
  121. package/plugins/lisa/rules/reference/usage-accounting.md +29 -1
  122. package/plugins/lisa/scripts/blocker-edge-resolution.mjs +9 -5
  123. package/plugins/lisa/scripts/human-gate-act.mjs +104 -8
  124. package/plugins/lisa/scripts/human-gate-lift.mjs +14 -7
  125. package/plugins/lisa/scripts/intake-blocker-reprobe.mjs +215 -39
  126. package/plugins/lisa/scripts/ready-queue-order.mjs +9 -3
  127. package/plugins/lisa/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  128. package/plugins/lisa/skills/lisa-debrief-apply/SKILL.md +3 -3
  129. package/plugins/lisa/skills/lisa-debrief-apply/agents/openai.yaml +2 -2
  130. package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  131. package/plugins/lisa/skills/lisa-exploratory-qa/SKILL.md +23 -12
  132. package/plugins/lisa/skills/lisa-github-build-intake/SKILL.md +14 -9
  133. package/plugins/lisa/skills/lisa-github-evidence/SKILL.md +7 -3
  134. package/plugins/lisa/skills/lisa-github-to-tracker/SKILL.md +1 -1
  135. package/plugins/lisa/skills/lisa-github-write-issue/SKILL.md +2 -2
  136. package/plugins/lisa/skills/lisa-improve-harness/SKILL.md +24 -7
  137. package/plugins/lisa/skills/lisa-jira-build-intake/SKILL.md +14 -10
  138. package/plugins/lisa/skills/lisa-jira-evidence/SKILL.md +10 -7
  139. package/plugins/lisa/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
  140. package/plugins/lisa/skills/lisa-jira-journey/SKILL.md +1 -1
  141. package/plugins/lisa/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
  142. package/plugins/lisa/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  143. package/plugins/lisa/skills/lisa-learnings-audit/SKILL.md +64 -32
  144. package/plugins/lisa/skills/lisa-linear-build-intake/SKILL.md +9 -9
  145. package/plugins/lisa/skills/lisa-linear-evidence/SKILL.md +1 -1
  146. package/plugins/lisa/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  147. package/plugins/lisa/skills/lisa-linear-write-issue/SKILL.md +5 -5
  148. package/plugins/lisa/skills/lisa-monitor/SKILL.md +10 -4
  149. package/plugins/lisa/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  150. package/plugins/lisa/skills/lisa-persist-learning/SKILL.md +5 -5
  151. package/plugins/lisa/skills/lisa-project-ideation/SKILL.md +10 -4
  152. package/plugins/lisa/skills/lisa-repair-intake/SKILL.md +24 -13
  153. package/plugins/lisa/skills/lisa-session-manager/SKILL.md +19 -2
  154. package/plugins/lisa/skills/lisa-session-manager/references/runbook-template.md +8 -4
  155. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  156. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  157. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  158. package/plugins/lisa/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  159. package/plugins/lisa/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  160. package/plugins/lisa/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  161. package/plugins/lisa/skills/lisa-setup-automations/SKILL.md +7 -5
  162. package/plugins/lisa/skills/lisa-track/SKILL.md +3 -3
  163. package/plugins/lisa/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
  164. package/plugins/lisa/skills/lisa-usage-accounting/SKILL.md +5 -1
  165. package/plugins/lisa-agy/agents/learning-judge.md +5 -5
  166. package/plugins/lisa-agy/agents/skill-evaluator.md +4 -4
  167. package/plugins/lisa-agy/commands/lisa/debrief/apply.md +1 -1
  168. package/plugins/lisa-agy/commands/lisa/learnings/audit.md +2 -2
  169. package/plugins/lisa-agy/commands/lisa/persist-learning.md +1 -1
  170. package/plugins/lisa-agy/hooks/block-direct-issue-create.sh +10 -5
  171. package/plugins/lisa-agy/hooks/block-no-verify.agy.sh +1 -1
  172. package/plugins/lisa-agy/plugin.json +1 -1
  173. package/plugins/lisa-agy/scripts/blocker-edge-resolution.mjs +9 -5
  174. package/plugins/lisa-agy/scripts/human-gate-act.mjs +104 -8
  175. package/plugins/lisa-agy/scripts/human-gate-lift.mjs +14 -7
  176. package/plugins/lisa-agy/scripts/intake-blocker-reprobe.mjs +215 -39
  177. package/plugins/lisa-agy/scripts/ready-queue-order.mjs +9 -3
  178. package/plugins/lisa-agy/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  179. package/plugins/lisa-agy/skills/lisa-debrief-apply/SKILL.md +3 -3
  180. package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  181. package/plugins/lisa-agy/skills/lisa-exploratory-qa/SKILL.md +23 -12
  182. package/plugins/lisa-agy/skills/lisa-github-build-intake/SKILL.md +14 -9
  183. package/plugins/lisa-agy/skills/lisa-github-evidence/SKILL.md +7 -3
  184. package/plugins/lisa-agy/skills/lisa-github-to-tracker/SKILL.md +1 -1
  185. package/plugins/lisa-agy/skills/lisa-github-write-issue/SKILL.md +2 -2
  186. package/plugins/lisa-agy/skills/lisa-improve-harness/SKILL.md +24 -7
  187. package/plugins/lisa-agy/skills/lisa-jira-build-intake/SKILL.md +14 -10
  188. package/plugins/lisa-agy/skills/lisa-jira-evidence/SKILL.md +10 -7
  189. package/plugins/lisa-agy/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
  190. package/plugins/lisa-agy/skills/lisa-jira-journey/SKILL.md +1 -1
  191. package/plugins/lisa-agy/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
  192. package/plugins/lisa-agy/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  193. package/plugins/lisa-agy/skills/lisa-learnings-audit/SKILL.md +64 -32
  194. package/plugins/lisa-agy/skills/lisa-linear-build-intake/SKILL.md +9 -9
  195. package/plugins/lisa-agy/skills/lisa-linear-evidence/SKILL.md +1 -1
  196. package/plugins/lisa-agy/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  197. package/plugins/lisa-agy/skills/lisa-linear-write-issue/SKILL.md +5 -5
  198. package/plugins/lisa-agy/skills/lisa-monitor/SKILL.md +10 -4
  199. package/plugins/lisa-agy/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  200. package/plugins/lisa-agy/skills/lisa-persist-learning/SKILL.md +5 -5
  201. package/plugins/lisa-agy/skills/lisa-project-ideation/SKILL.md +10 -4
  202. package/plugins/lisa-agy/skills/lisa-repair-intake/SKILL.md +24 -13
  203. package/plugins/lisa-agy/skills/lisa-session-manager/SKILL.md +19 -2
  204. package/plugins/lisa-agy/skills/lisa-session-manager/references/runbook-template.md +8 -4
  205. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  206. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  207. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  208. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  209. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  210. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  211. package/plugins/lisa-agy/skills/lisa-setup-automations/SKILL.md +7 -5
  212. package/plugins/lisa-agy/skills/lisa-track/SKILL.md +3 -3
  213. package/plugins/lisa-agy/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
  214. package/plugins/lisa-agy/skills/lisa-usage-accounting/SKILL.md +5 -1
  215. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  216. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  217. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  218. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  219. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  220. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  221. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  222. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  223. package/plugins/lisa-copilot/agents/learning-judge.agent.md +5 -5
  224. package/plugins/lisa-copilot/agents/skill-evaluator.agent.md +4 -4
  225. package/plugins/lisa-copilot/commands/lisa/debrief/apply.md +1 -1
  226. package/plugins/lisa-copilot/commands/lisa/learnings/audit.md +2 -2
  227. package/plugins/lisa-copilot/commands/lisa/persist-learning.md +1 -1
  228. package/plugins/lisa-copilot/hooks/block-direct-issue-create.sh +10 -5
  229. package/plugins/lisa-copilot/hooks/block-no-verify.sh +4 -3
  230. package/plugins/lisa-copilot/hooks/inject-resolved-config.mjs +236 -14
  231. package/plugins/lisa-copilot/hooks/threshold-ratchet.mjs +4 -2
  232. package/plugins/lisa-copilot/rules/eager/base-rules.md +1 -1
  233. package/plugins/lisa-copilot/rules/eager/do-it-now.md +2 -2
  234. package/plugins/lisa-copilot/rules/eager/learnings-ladder.md +1 -1
  235. package/plugins/lisa-copilot/rules/eager/security-audit-handling.md +5 -5
  236. package/plugins/lisa-copilot/rules/reference/automation-runbook-contract.md +37 -22
  237. package/plugins/lisa-copilot/rules/reference/base-rules.md +1 -1
  238. package/plugins/lisa-copilot/rules/reference/config-resolution.md +7 -6
  239. package/plugins/lisa-copilot/rules/reference/dependency-trust-classes.md +28 -18
  240. package/plugins/lisa-copilot/rules/reference/factory-model.md +17 -8
  241. package/plugins/lisa-copilot/rules/reference/intent-routing.md +3 -3
  242. package/plugins/lisa-copilot/rules/reference/learnings-ladder.md +1 -1
  243. package/plugins/lisa-copilot/rules/reference/promotion-contract.md +5 -2
  244. package/plugins/lisa-copilot/rules/reference/ready-role-filing.md +32 -22
  245. package/plugins/lisa-copilot/rules/reference/security-audit-handling.md +9 -6
  246. package/plugins/lisa-copilot/rules/reference/usage-accounting.md +29 -1
  247. package/plugins/lisa-copilot/scripts/blocker-edge-resolution.mjs +9 -5
  248. package/plugins/lisa-copilot/scripts/human-gate-act.mjs +104 -8
  249. package/plugins/lisa-copilot/scripts/human-gate-lift.mjs +14 -7
  250. package/plugins/lisa-copilot/scripts/intake-blocker-reprobe.mjs +215 -39
  251. package/plugins/lisa-copilot/scripts/ready-queue-order.mjs +9 -3
  252. package/plugins/lisa-copilot/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  253. package/plugins/lisa-copilot/skills/lisa-debrief-apply/SKILL.md +3 -3
  254. package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  255. package/plugins/lisa-copilot/skills/lisa-exploratory-qa/SKILL.md +23 -12
  256. package/plugins/lisa-copilot/skills/lisa-github-build-intake/SKILL.md +14 -9
  257. package/plugins/lisa-copilot/skills/lisa-github-evidence/SKILL.md +7 -3
  258. package/plugins/lisa-copilot/skills/lisa-github-to-tracker/SKILL.md +1 -1
  259. package/plugins/lisa-copilot/skills/lisa-github-write-issue/SKILL.md +2 -2
  260. package/plugins/lisa-copilot/skills/lisa-improve-harness/SKILL.md +24 -7
  261. package/plugins/lisa-copilot/skills/lisa-jira-build-intake/SKILL.md +14 -10
  262. package/plugins/lisa-copilot/skills/lisa-jira-evidence/SKILL.md +10 -7
  263. package/plugins/lisa-copilot/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
  264. package/plugins/lisa-copilot/skills/lisa-jira-journey/SKILL.md +1 -1
  265. package/plugins/lisa-copilot/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
  266. package/plugins/lisa-copilot/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  267. package/plugins/lisa-copilot/skills/lisa-learnings-audit/SKILL.md +64 -32
  268. package/plugins/lisa-copilot/skills/lisa-linear-build-intake/SKILL.md +9 -9
  269. package/plugins/lisa-copilot/skills/lisa-linear-evidence/SKILL.md +1 -1
  270. package/plugins/lisa-copilot/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  271. package/plugins/lisa-copilot/skills/lisa-linear-write-issue/SKILL.md +5 -5
  272. package/plugins/lisa-copilot/skills/lisa-monitor/SKILL.md +10 -4
  273. package/plugins/lisa-copilot/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  274. package/plugins/lisa-copilot/skills/lisa-persist-learning/SKILL.md +5 -5
  275. package/plugins/lisa-copilot/skills/lisa-project-ideation/SKILL.md +10 -4
  276. package/plugins/lisa-copilot/skills/lisa-repair-intake/SKILL.md +24 -13
  277. package/plugins/lisa-copilot/skills/lisa-session-manager/SKILL.md +19 -2
  278. package/plugins/lisa-copilot/skills/lisa-session-manager/references/runbook-template.md +8 -4
  279. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  280. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  281. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  282. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  283. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  284. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  285. package/plugins/lisa-copilot/skills/lisa-setup-automations/SKILL.md +7 -5
  286. package/plugins/lisa-copilot/skills/lisa-track/SKILL.md +3 -3
  287. package/plugins/lisa-copilot/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
  288. package/plugins/lisa-copilot/skills/lisa-usage-accounting/SKILL.md +5 -1
  289. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  290. package/plugins/lisa-cursor/agents/learning-judge.md +5 -5
  291. package/plugins/lisa-cursor/agents/skill-evaluator.md +4 -4
  292. package/plugins/lisa-cursor/commands/lisa/debrief/apply.md +1 -1
  293. package/plugins/lisa-cursor/commands/lisa/learnings/audit.md +2 -2
  294. package/plugins/lisa-cursor/commands/lisa/persist-learning.md +1 -1
  295. package/plugins/lisa-cursor/hooks/block-direct-issue-create.sh +10 -5
  296. package/plugins/lisa-cursor/hooks/block-no-verify.sh +4 -3
  297. package/plugins/lisa-cursor/hooks/inject-resolved-config.mjs +236 -14
  298. package/plugins/lisa-cursor/hooks/threshold-ratchet.mjs +4 -2
  299. package/plugins/lisa-cursor/rules/automation-runbook-contract-reference.mdc +37 -22
  300. package/plugins/lisa-cursor/rules/base-rules-reference.mdc +1 -1
  301. package/plugins/lisa-cursor/rules/base-rules.mdc +1 -1
  302. package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +7 -6
  303. package/plugins/lisa-cursor/rules/dependency-trust-classes-reference.mdc +28 -18
  304. package/plugins/lisa-cursor/rules/do-it-now.mdc +2 -2
  305. package/plugins/lisa-cursor/rules/factory-model-reference.mdc +17 -8
  306. package/plugins/lisa-cursor/rules/intent-routing-reference.mdc +3 -3
  307. package/plugins/lisa-cursor/rules/learnings-ladder-reference.mdc +1 -1
  308. package/plugins/lisa-cursor/rules/learnings-ladder.mdc +1 -1
  309. package/plugins/lisa-cursor/rules/promotion-contract-reference.mdc +5 -2
  310. package/plugins/lisa-cursor/rules/ready-role-filing-reference.mdc +32 -22
  311. package/plugins/lisa-cursor/rules/security-audit-handling-reference.mdc +9 -6
  312. package/plugins/lisa-cursor/rules/security-audit-handling.mdc +5 -5
  313. package/plugins/lisa-cursor/rules/usage-accounting-reference.mdc +29 -1
  314. package/plugins/lisa-cursor/scripts/blocker-edge-resolution.mjs +9 -5
  315. package/plugins/lisa-cursor/scripts/human-gate-act.mjs +104 -8
  316. package/plugins/lisa-cursor/scripts/human-gate-lift.mjs +14 -7
  317. package/plugins/lisa-cursor/scripts/intake-blocker-reprobe.mjs +215 -39
  318. package/plugins/lisa-cursor/scripts/ready-queue-order.mjs +9 -3
  319. package/plugins/lisa-cursor/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  320. package/plugins/lisa-cursor/skills/lisa-debrief-apply/SKILL.md +3 -3
  321. package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  322. package/plugins/lisa-cursor/skills/lisa-exploratory-qa/SKILL.md +23 -12
  323. package/plugins/lisa-cursor/skills/lisa-github-build-intake/SKILL.md +14 -9
  324. package/plugins/lisa-cursor/skills/lisa-github-evidence/SKILL.md +7 -3
  325. package/plugins/lisa-cursor/skills/lisa-github-to-tracker/SKILL.md +1 -1
  326. package/plugins/lisa-cursor/skills/lisa-github-write-issue/SKILL.md +2 -2
  327. package/plugins/lisa-cursor/skills/lisa-improve-harness/SKILL.md +24 -7
  328. package/plugins/lisa-cursor/skills/lisa-jira-build-intake/SKILL.md +14 -10
  329. package/plugins/lisa-cursor/skills/lisa-jira-evidence/SKILL.md +10 -7
  330. package/plugins/lisa-cursor/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
  331. package/plugins/lisa-cursor/skills/lisa-jira-journey/SKILL.md +1 -1
  332. package/plugins/lisa-cursor/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
  333. package/plugins/lisa-cursor/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  334. package/plugins/lisa-cursor/skills/lisa-learnings-audit/SKILL.md +64 -32
  335. package/plugins/lisa-cursor/skills/lisa-linear-build-intake/SKILL.md +9 -9
  336. package/plugins/lisa-cursor/skills/lisa-linear-evidence/SKILL.md +1 -1
  337. package/plugins/lisa-cursor/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  338. package/plugins/lisa-cursor/skills/lisa-linear-write-issue/SKILL.md +5 -5
  339. package/plugins/lisa-cursor/skills/lisa-monitor/SKILL.md +10 -4
  340. package/plugins/lisa-cursor/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  341. package/plugins/lisa-cursor/skills/lisa-persist-learning/SKILL.md +5 -5
  342. package/plugins/lisa-cursor/skills/lisa-project-ideation/SKILL.md +10 -4
  343. package/plugins/lisa-cursor/skills/lisa-repair-intake/SKILL.md +24 -13
  344. package/plugins/lisa-cursor/skills/lisa-session-manager/SKILL.md +19 -2
  345. package/plugins/lisa-cursor/skills/lisa-session-manager/references/runbook-template.md +8 -4
  346. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  347. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  348. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  349. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  350. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  351. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  352. package/plugins/lisa-cursor/skills/lisa-setup-automations/SKILL.md +7 -5
  353. package/plugins/lisa-cursor/skills/lisa-track/SKILL.md +3 -3
  354. package/plugins/lisa-cursor/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
  355. package/plugins/lisa-cursor/skills/lisa-usage-accounting/SKILL.md +5 -1
  356. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  357. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  358. package/plugins/lisa-devin/agents/learning-judge.md +5 -5
  359. package/plugins/lisa-devin/agents/skill-evaluator.md +4 -4
  360. package/plugins/lisa-devin/hooks/block-direct-issue-create.sh +10 -5
  361. package/plugins/lisa-devin/hooks/block-no-verify.sh +4 -3
  362. package/plugins/lisa-devin/hooks/inject-resolved-config.mjs +236 -14
  363. package/plugins/lisa-devin/hooks/threshold-ratchet.mjs +4 -2
  364. package/plugins/lisa-devin/rules/eager/base-rules.md +1 -1
  365. package/plugins/lisa-devin/rules/eager/do-it-now.md +2 -2
  366. package/plugins/lisa-devin/rules/eager/learnings-ladder.md +1 -1
  367. package/plugins/lisa-devin/rules/eager/security-audit-handling.md +5 -5
  368. package/plugins/lisa-devin/rules/reference/automation-runbook-contract.md +37 -22
  369. package/plugins/lisa-devin/rules/reference/base-rules.md +1 -1
  370. package/plugins/lisa-devin/rules/reference/config-resolution.md +7 -6
  371. package/plugins/lisa-devin/rules/reference/dependency-trust-classes.md +28 -18
  372. package/plugins/lisa-devin/rules/reference/factory-model.md +17 -8
  373. package/plugins/lisa-devin/rules/reference/intent-routing.md +3 -3
  374. package/plugins/lisa-devin/rules/reference/learnings-ladder.md +1 -1
  375. package/plugins/lisa-devin/rules/reference/promotion-contract.md +5 -2
  376. package/plugins/lisa-devin/rules/reference/ready-role-filing.md +32 -22
  377. package/plugins/lisa-devin/rules/reference/security-audit-handling.md +9 -6
  378. package/plugins/lisa-devin/rules/reference/usage-accounting.md +29 -1
  379. package/plugins/lisa-devin/scripts/blocker-edge-resolution.mjs +9 -5
  380. package/plugins/lisa-devin/scripts/human-gate-act.mjs +104 -8
  381. package/plugins/lisa-devin/scripts/human-gate-lift.mjs +14 -7
  382. package/plugins/lisa-devin/scripts/intake-blocker-reprobe.mjs +215 -39
  383. package/plugins/lisa-devin/scripts/ready-queue-order.mjs +9 -3
  384. package/plugins/lisa-devin/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  385. package/plugins/lisa-devin/skills/lisa-debrief-apply/SKILL.md +3 -3
  386. package/plugins/lisa-devin/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  387. package/plugins/lisa-devin/skills/lisa-exploratory-qa/SKILL.md +23 -12
  388. package/plugins/lisa-devin/skills/lisa-github-build-intake/SKILL.md +14 -9
  389. package/plugins/lisa-devin/skills/lisa-github-evidence/SKILL.md +7 -3
  390. package/plugins/lisa-devin/skills/lisa-github-to-tracker/SKILL.md +1 -1
  391. package/plugins/lisa-devin/skills/lisa-github-write-issue/SKILL.md +2 -2
  392. package/plugins/lisa-devin/skills/lisa-improve-harness/SKILL.md +24 -7
  393. package/plugins/lisa-devin/skills/lisa-jira-build-intake/SKILL.md +14 -10
  394. package/plugins/lisa-devin/skills/lisa-jira-evidence/SKILL.md +10 -7
  395. package/plugins/lisa-devin/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
  396. package/plugins/lisa-devin/skills/lisa-jira-journey/SKILL.md +1 -1
  397. package/plugins/lisa-devin/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
  398. package/plugins/lisa-devin/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  399. package/plugins/lisa-devin/skills/lisa-learnings-audit/SKILL.md +64 -32
  400. package/plugins/lisa-devin/skills/lisa-linear-build-intake/SKILL.md +9 -9
  401. package/plugins/lisa-devin/skills/lisa-linear-evidence/SKILL.md +1 -1
  402. package/plugins/lisa-devin/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  403. package/plugins/lisa-devin/skills/lisa-linear-write-issue/SKILL.md +5 -5
  404. package/plugins/lisa-devin/skills/lisa-monitor/SKILL.md +10 -4
  405. package/plugins/lisa-devin/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  406. package/plugins/lisa-devin/skills/lisa-persist-learning/SKILL.md +5 -5
  407. package/plugins/lisa-devin/skills/lisa-project-ideation/SKILL.md +10 -4
  408. package/plugins/lisa-devin/skills/lisa-repair-intake/SKILL.md +24 -13
  409. package/plugins/lisa-devin/skills/lisa-session-manager/SKILL.md +19 -2
  410. package/plugins/lisa-devin/skills/lisa-session-manager/references/runbook-template.md +8 -4
  411. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  412. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  413. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  414. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  415. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  416. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  417. package/plugins/lisa-devin/skills/lisa-setup-automations/SKILL.md +7 -5
  418. package/plugins/lisa-devin/skills/lisa-track/SKILL.md +3 -3
  419. package/plugins/lisa-devin/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
  420. package/plugins/lisa-devin/skills/lisa-usage-accounting/SKILL.md +5 -1
  421. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  422. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  423. package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/SKILL.md +11 -5
  424. package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +21 -2
  425. package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/SKILL.md +1 -1
  426. package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/scripts/generate-templates.py +10 -5
  427. package/plugins/lisa-expo/skills/jira-evidence/SKILL.md +11 -5
  428. package/plugins/lisa-expo/skills/jira-evidence/scripts/post-evidence.sh +21 -2
  429. package/plugins/lisa-expo/skills/jira-journey/SKILL.md +1 -1
  430. package/plugins/lisa-expo/skills/jira-journey/scripts/generate-templates.py +10 -5
  431. package/plugins/lisa-expo-agy/plugin.json +1 -1
  432. package/plugins/lisa-expo-agy/skills/jira-evidence/SKILL.md +11 -5
  433. package/plugins/lisa-expo-agy/skills/jira-evidence/scripts/post-evidence.sh +21 -2
  434. package/plugins/lisa-expo-agy/skills/jira-journey/SKILL.md +1 -1
  435. package/plugins/lisa-expo-agy/skills/jira-journey/scripts/generate-templates.py +10 -5
  436. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  437. package/plugins/lisa-expo-copilot/skills/jira-evidence/SKILL.md +11 -5
  438. package/plugins/lisa-expo-copilot/skills/jira-evidence/scripts/post-evidence.sh +21 -2
  439. package/plugins/lisa-expo-copilot/skills/jira-journey/SKILL.md +1 -1
  440. package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/generate-templates.py +10 -5
  441. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  442. package/plugins/lisa-expo-cursor/skills/jira-evidence/SKILL.md +11 -5
  443. package/plugins/lisa-expo-cursor/skills/jira-evidence/scripts/post-evidence.sh +21 -2
  444. package/plugins/lisa-expo-cursor/skills/jira-journey/SKILL.md +1 -1
  445. package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/generate-templates.py +10 -5
  446. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  447. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  448. package/plugins/lisa-expo-devin/skills/jira-evidence/SKILL.md +11 -5
  449. package/plugins/lisa-expo-devin/skills/jira-evidence/scripts/post-evidence.sh +21 -2
  450. package/plugins/lisa-expo-devin/skills/jira-journey/SKILL.md +1 -1
  451. package/plugins/lisa-expo-devin/skills/jira-journey/scripts/generate-templates.py +10 -5
  452. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  453. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  454. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  455. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  456. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  457. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  458. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  459. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  460. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  461. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  462. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  463. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  464. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  465. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  466. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  467. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  468. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  469. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  470. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  471. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  472. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  473. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  474. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  475. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  476. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  477. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  478. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  479. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  480. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  481. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  482. package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/SKILL.md +11 -5
  483. package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +21 -2
  484. package/plugins/lisa-rails/skills/jira-evidence/SKILL.md +11 -5
  485. package/plugins/lisa-rails/skills/jira-evidence/scripts/post-evidence.sh +21 -2
  486. package/plugins/lisa-rails-agy/plugin.json +1 -1
  487. package/plugins/lisa-rails-agy/skills/jira-evidence/SKILL.md +11 -5
  488. package/plugins/lisa-rails-agy/skills/jira-evidence/scripts/post-evidence.sh +21 -2
  489. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  490. package/plugins/lisa-rails-copilot/skills/jira-evidence/SKILL.md +11 -5
  491. package/plugins/lisa-rails-copilot/skills/jira-evidence/scripts/post-evidence.sh +21 -2
  492. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  493. package/plugins/lisa-rails-cursor/skills/jira-evidence/SKILL.md +11 -5
  494. package/plugins/lisa-rails-cursor/skills/jira-evidence/scripts/post-evidence.sh +21 -2
  495. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  496. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  497. package/plugins/lisa-rails-devin/skills/jira-evidence/SKILL.md +11 -5
  498. package/plugins/lisa-rails-devin/skills/jira-evidence/scripts/post-evidence.sh +21 -2
  499. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  500. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  501. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  502. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  503. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  504. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  505. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  506. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  507. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  508. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  509. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  510. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  511. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  512. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  513. package/plugins/src/base/agents/learning-judge.md +5 -5
  514. package/plugins/src/base/agents/skill-evaluator.md +4 -4
  515. package/plugins/src/base/commands/debrief/apply.md +1 -1
  516. package/plugins/src/base/commands/learnings/audit.md +2 -2
  517. package/plugins/src/base/commands/persist-learning.md +1 -1
  518. package/plugins/src/base/hooks/block-direct-issue-create.sh +10 -5
  519. package/plugins/src/base/hooks/block-no-verify.agy.sh +1 -1
  520. package/plugins/src/base/hooks/block-no-verify.sh +4 -3
  521. package/plugins/src/base/hooks/inject-resolved-config.mjs +236 -14
  522. package/plugins/src/base/hooks/threshold-ratchet.mjs +4 -2
  523. package/plugins/src/base/rules/eager/base-rules.md +1 -1
  524. package/plugins/src/base/rules/eager/do-it-now.md +2 -2
  525. package/plugins/src/base/rules/eager/learnings-ladder.md +1 -1
  526. package/plugins/src/base/rules/eager/security-audit-handling.md +5 -5
  527. package/plugins/src/base/rules/reference/automation-runbook-contract.md +37 -22
  528. package/plugins/src/base/rules/reference/base-rules.md +1 -1
  529. package/plugins/src/base/rules/reference/config-resolution.md +7 -6
  530. package/plugins/src/base/rules/reference/dependency-trust-classes.md +28 -18
  531. package/plugins/src/base/rules/reference/factory-model.md +17 -8
  532. package/plugins/src/base/rules/reference/intent-routing.md +3 -3
  533. package/plugins/src/base/rules/reference/learnings-ladder.md +1 -1
  534. package/plugins/src/base/rules/reference/promotion-contract.md +5 -2
  535. package/plugins/src/base/rules/reference/ready-role-filing.md +32 -22
  536. package/plugins/src/base/rules/reference/security-audit-handling.md +9 -6
  537. package/plugins/src/base/rules/reference/usage-accounting.md +29 -1
  538. package/plugins/src/base/scripts/blocker-edge-resolution.mjs +9 -5
  539. package/plugins/src/base/scripts/human-gate-act.mjs +104 -8
  540. package/plugins/src/base/scripts/human-gate-lift.mjs +14 -7
  541. package/plugins/src/base/scripts/intake-blocker-reprobe.mjs +215 -39
  542. package/plugins/src/base/scripts/ready-queue-order.mjs +9 -3
  543. package/plugins/src/base/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  544. package/plugins/src/base/skills/lisa-debrief-apply/SKILL.md +3 -3
  545. package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  546. package/plugins/src/base/skills/lisa-exploratory-qa/SKILL.md +23 -12
  547. package/plugins/src/base/skills/lisa-github-build-intake/SKILL.md +14 -9
  548. package/plugins/src/base/skills/lisa-github-evidence/SKILL.md +7 -3
  549. package/plugins/src/base/skills/lisa-github-to-tracker/SKILL.md +1 -1
  550. package/plugins/src/base/skills/lisa-github-write-issue/SKILL.md +2 -2
  551. package/plugins/src/base/skills/lisa-improve-harness/SKILL.md +24 -7
  552. package/plugins/src/base/skills/lisa-jira-build-intake/SKILL.md +14 -10
  553. package/plugins/src/base/skills/lisa-jira-evidence/SKILL.md +10 -7
  554. package/plugins/src/base/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
  555. package/plugins/src/base/skills/lisa-jira-journey/SKILL.md +1 -1
  556. package/plugins/src/base/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
  557. package/plugins/src/base/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  558. package/plugins/src/base/skills/lisa-learnings-audit/SKILL.md +64 -32
  559. package/plugins/src/base/skills/lisa-linear-build-intake/SKILL.md +9 -9
  560. package/plugins/src/base/skills/lisa-linear-evidence/SKILL.md +1 -1
  561. package/plugins/src/base/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  562. package/plugins/src/base/skills/lisa-linear-write-issue/SKILL.md +5 -5
  563. package/plugins/src/base/skills/lisa-monitor/SKILL.md +10 -4
  564. package/plugins/src/base/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  565. package/plugins/src/base/skills/lisa-persist-learning/SKILL.md +5 -5
  566. package/plugins/src/base/skills/lisa-project-ideation/SKILL.md +10 -4
  567. package/plugins/src/base/skills/lisa-repair-intake/SKILL.md +24 -13
  568. package/plugins/src/base/skills/lisa-session-manager/SKILL.md +19 -2
  569. package/plugins/src/base/skills/lisa-session-manager/references/runbook-template.md +8 -4
  570. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  571. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  572. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  573. package/plugins/src/base/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  574. package/plugins/src/base/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  575. package/plugins/src/base/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  576. package/plugins/src/base/skills/lisa-setup-automations/SKILL.md +7 -5
  577. package/plugins/src/base/skills/lisa-track/SKILL.md +3 -3
  578. package/plugins/src/base/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
  579. package/plugins/src/base/skills/lisa-usage-accounting/SKILL.md +5 -1
  580. package/plugins/src/expo/skills/jira-evidence/SKILL.md +11 -5
  581. package/plugins/src/expo/skills/jira-evidence/scripts/post-evidence.sh +21 -2
  582. package/plugins/src/expo/skills/jira-journey/SKILL.md +1 -1
  583. package/plugins/src/expo/skills/jira-journey/scripts/generate-templates.py +10 -5
  584. package/plugins/src/rails/skills/jira-evidence/SKILL.md +11 -5
  585. package/plugins/src/rails/skills/jira-evidence/scripts/post-evidence.sh +21 -2
  586. package/rails/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
  587. package/scripts/two-channel-couplings.json +1 -1
  588. package/typescript/copy-contents/.husky/pre-commit +3 -2
  589. package/typescript/copy-overwrite/.github/GITHUB_ACTIONS.md +2 -1
  590. package/typescript/copy-overwrite/.prettierignore +1 -0
  591. package/typescript/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
@@ -47,13 +47,17 @@ once it was posted on the item and read back there.
47
47
  ## Autonomous-vs-approval boundary
48
48
 
49
49
  Alone: claim, start workers, retry a stalled item with a fresh session, release a blocked item whose
50
- dependencies are all contained in its base branch. Requires the operator: any question a worker
51
- asks, any item whose repo is unclear, and any item that failed `stall.maxAttempts` times.
50
+ dependencies are all contained in its base branch, and decide a design, product or repo-route
51
+ question itself when the evidence supports a call, recording the choice and its reasoning on the
52
+ item. Requires the operator: an access gap the agent cannot close, a hold the operator explicitly
53
+ asked for, and any item that failed `stall.maxAttempts` times. Under `humanGate.mode: "strict"` every worker question, unclear repo and design or product
54
+ decision also requires the operator.
52
55
 
53
56
  ## Escalation
54
57
 
55
- When an item needs a human (a worker's question, an unclear repo, an item that failed
56
- `stall.maxAttempts` times, or a design or product decision), the manager marks it with the
58
+ When an item needs a human (a worker's question that needs access the agent lacks or an operator
59
+ hold, an item that failed `stall.maxAttempts` times, or — under `strict` only — any worker
60
+ question, unclear repo, or design or product decision), the manager marks it with the
57
61
  configured human-needed marker, posts the question on the item with how to answer it, records it
58
62
  pending in the ledger, and keeps dispatching other items: one item waiting on a person never stops
59
63
  the queue. An item that failed `stall.maxAttempts` times also moves to the `blocked` role. With
@@ -11,6 +11,7 @@ import {
11
11
  AUTOMATION_RUN_OUTCOMES,
12
12
  recordAutomationRun,
13
13
  } from "../../../scripts/automation-run-record.mjs";
14
+ import { resolveHumanGatePolicy } from "../../../scripts/human-gate-act.mjs";
14
15
  import { idComparableValues } from "../../../scripts/operator-id-kinds.mjs";
15
16
  import {
16
17
  CliError,
@@ -240,6 +241,11 @@ export async function route(ctx) {
240
241
  * carried beside them would let the item's text vouch for itself. The
241
242
  * release check compares account ids only, so an `id:` entry reaches it as
242
243
  * its bare value and a `login:` entry not at all (#4623).
244
+ *
245
+ * The human-gate policy (`humanGate.mode`, `humanGate.humanOnly`) comes from
246
+ * config the same way, resolved local-then-global like
247
+ * `human-gate-act.mjs policy`, and any copy in the input is overwritten: the
248
+ * item must not be able to declare its own hold invalid (#4687).
243
249
  * @param {object} ctx - CLI context
244
250
  * @returns {Promise<{ json: object }>} `{action,reason,edges,gate}`
245
251
  */
@@ -255,9 +261,12 @@ export async function blockedPlan(ctx) {
255
261
  const trustedHumanActorIds = idComparableValues(
256
262
  project.config?.trustedAuthorIds
257
263
  );
264
+ const policy = resolveHumanGatePolicy(project.local, project.global);
258
265
  return {
259
266
  json: planBlockedRelease({
260
267
  ...input,
268
+ humanOnly: policy.humanOnly,
269
+ humanGateMode: policy.mode,
261
270
  // The configured label, so a Jira `Human Needed` hold is still a hold.
262
271
  humanNeededLabel:
263
272
  input.humanNeededLabel ?? humanNeededLabel(project, undefined),
@@ -38,6 +38,7 @@ import {
38
38
  loadProject,
39
39
  validOrAbsent,
40
40
  } from "./cli-runtime.mjs";
41
+ import { resolveHumanGatePolicy } from "../../../scripts/human-gate-act.mjs";
41
42
  import { readJsonFile } from "./json-input.mjs";
42
43
  import { readLedger } from "./ledger.mjs";
43
44
  import { blockingGapRepo, listSetupGaps } from "./ledger-setup-gaps.mjs";
@@ -185,11 +186,16 @@ export async function queue(ctx) {
185
186
  const ledger = await readLedger(ctx.root);
186
187
  const me = ctx.values.me ?? ledger.control.me ?? null;
187
188
  const operators = config?.operatorIds ?? [];
189
+ // Resolved local-then-global like `human-gate-act.mjs policy`, so a hold
190
+ // the project's mode keeps is never dispatched as Ready work (#4687).
191
+ const gatePolicy = resolveHumanGatePolicy(project.local, project.global);
188
192
  const policy = {
189
193
  me,
190
194
  operators,
191
195
  trustedAuthorIds: config?.trustedAuthorIds ?? undefined,
192
196
  humanNeededLabel: humanNeededLabel(project, tracker),
197
+ humanOnly: gatePolicy.humanOnly,
198
+ humanGateMode: gatePolicy.mode,
193
199
  };
194
200
  const waiting = pendingRefs(ledger);
195
201
  const gaps = ledger.control.setupGaps;
@@ -266,7 +266,7 @@ Per cycle
266
266
  Trusted hold releasers are sessionManager.trustedAuthorIds (none when
267
267
  unset; plain and id: entries, compared as ids; login: entries never
268
268
  release); trustedHumanActorIds in the input is ignored. stdout
269
- {action:release|keep|escalate|skip-human-gate,reason,edges,gate}.
269
+ {action:release|keep|decide|escalate|skip-human-gate,reason,edges,gate}.
270
270
  --ref fills pendingQuestion from the ledger.
271
271
  mark-plan <ref> --kind <kind> [--cause <cause>] [--item-label <l>]...
272
272
  STDIN: question or reason
@@ -212,7 +212,7 @@ function collectEvidence({ body, comments }) {
212
212
  */
213
213
  function draftRule(holdReasons) {
214
214
  const named = holdReasons.length > 0 ? ` (seen: ${holdReasons[0]})` : "";
215
- const rule = `Planning (filing): file human_gate only for an act no agent can perform, such as a credential, spend, an external account or a legal sign-off; make an open decision yourself${named}.`;
215
+ const rule = `Planning (filing): file human_gate only for an act no agent can perform, such as a login or credential, spend, an external account, a legal signature, an account only a person holds; make an open decision yourself${named}.`;
216
216
  return rule.length > 240 ? `${rule.slice(0, 238)}.` : rule;
217
217
  }
218
218
 
@@ -3,9 +3,16 @@
3
3
  * on a work item that cannot progress without a human, and how it reads the
4
4
  * human's answer back off the item. Pure: no I/O, no clock, no config reads.
5
5
  *
6
- * Four cases need a human: a worker's question, an ambiguous repo route, an
7
- * item `exhausted` after `stall.maxAttempts`, and a design or product
8
- * decision. In each the manager marks the item with the configured
6
+ * Four kinds of mark exist: a worker's question, an ambiguous repo route, an
7
+ * item `exhausted` after `stall.maxAttempts`, and a `decision`. An agent
8
+ * performs every act it has access to (CodySwannGT/lisa#4687), so a hold is
9
+ * only for an act the agent lacks access to (an interactive login, a
10
+ * credential it cannot reach, spending money, a legal signature, an action
11
+ * only a person's account can take) or a hold the operator asked for. A
12
+ * design or product choice the agent can make is decided and recorded, not
13
+ * marked, unless the project sets `humanGate.mode: "strict"`. The kind
14
+ * identifiers are stable on purpose: ledgers in use already carry them. When
15
+ * a mark is warranted the manager marks the item with the configured
9
16
  * human-needed marker, posts the question on the item with enough context to
10
17
  * answer it there, records it pending in the ledger, and keeps dispatching
11
18
  * other work. One item waiting on a person never stops the queue.
@@ -19,7 +26,10 @@
19
26
  * @module session-manager/human-needed
20
27
  */
21
28
 
22
- /** The four reasons an item can need a human. */
29
+ /**
30
+ * The four kinds of mark. Whether one is warranted follows `humanGate.mode`:
31
+ * under `access-only` only missing access or an operator hold needs a person.
32
+ */
23
33
  export const HUMAN_NEEDED_KINDS = Object.freeze([
24
34
  "worker-question",
25
35
  "repo-route",
@@ -165,7 +175,8 @@ const KIND_TITLES = {
165
175
  "worker-question": "the worker building it has a question",
166
176
  "repo-route": "it is not clear which repository it belongs to",
167
177
  exhausted: "every automatic attempt to build it stopped without finishing",
168
- decision: "it needs a design or product decision",
178
+ decision:
179
+ "it needs a person: an act the agent cannot perform, or a call this project keeps for a person",
169
180
  };
170
181
 
171
182
  /**
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  /**
3
3
  * The session manager's decision for one Blocked item: release it to Ready,
4
- * keep it, escalate it, or leave it to a human.
4
+ * keep it, hand a decision to the agent, escalate it, or leave it to a human.
5
5
  *
6
6
  * ## Why this composes rather than decides
7
7
  *
@@ -26,22 +26,85 @@
26
26
  */
27
27
 
28
28
  import { resolveBlockerEdges } from "../../../scripts/blocker-edge-resolution.mjs";
29
- import { humanGateVerdict } from "../../../scripts/intake-blocker-reprobe.mjs";
29
+ import {
30
+ humanGateVerdict,
31
+ isStrictHumanGateMode,
32
+ } from "../../../scripts/intake-blocker-reprobe.mjs";
30
33
 
31
34
  /** Every action the plan may return. */
32
35
  export const BLOCKED_RELEASE_ACTIONS = Object.freeze([
33
36
  "release",
34
37
  "keep",
38
+ "decide",
35
39
  "escalate",
36
40
  "skip-human-gate",
37
41
  ]);
38
42
 
43
+ /** `blockerReason` of a blocker closed as abandoned, as the edges carry it. */
44
+ const NOT_PLANNED = "not_planned";
45
+
46
+ /**
47
+ * The plan for an item with at least one escalating edge.
48
+ * @param {{decisions: {action: string, blockerReason?: unknown}[], escalations: number}} resolution
49
+ * The per-edge resolution
50
+ * @param {number} total How many edges the item has
51
+ * @param {{humanGateMode?: unknown}} input The plan input, for the mode
52
+ * @returns {{action: string, reason: string, edges: object[]}} The plan
53
+ */
54
+ function planEscalation(resolution, total, input) {
55
+ const escalated = resolution.decisions.filter(
56
+ one => one.action === "escalate"
57
+ );
58
+ const cancelled = escalated.filter(
59
+ one =>
60
+ String(one.blockerReason ?? "")
61
+ .trim()
62
+ .toLowerCase() === NOT_PLANNED
63
+ ).length;
64
+ const unknown = escalated.length - cancelled;
65
+ const strict = isStrictHumanGateMode(input.humanGateMode);
66
+ if (strict) {
67
+ return {
68
+ action: "escalate",
69
+ reason: `${resolution.escalations} of ${total} blocker edge(s) need a human decision.`,
70
+ edges: resolution.decisions,
71
+ };
72
+ }
73
+ if (unknown > 0) {
74
+ return {
75
+ action: "escalate",
76
+ reason:
77
+ `containment could not be computed for ${unknown} of ${total} blocker edge(s); ` +
78
+ "recompute it before judging this item.",
79
+ edges: resolution.decisions,
80
+ };
81
+ }
82
+ return {
83
+ action: "decide",
84
+ reason:
85
+ `${cancelled} of ${total} blocker edge(s) were closed as NOT PLANNED. No person is ` +
86
+ "needed: the agent that picks this item up decides whether to re-scope it, drop the " +
87
+ "edge, or close the item, and records a `Decision:` line on the item saying which " +
88
+ "and why.",
89
+ edges: resolution.decisions,
90
+ };
91
+ }
92
+
39
93
  /**
40
94
  * Plan what to do with one Blocked item.
41
95
  *
42
96
  * Precedence, first match wins: a held human gate (`skip-human-gate`), a
43
97
  * pending manager question (`keep`), no edges (`keep`), every edge dissolves
44
- * (`release`), any edge escalates (`escalate`), otherwise `keep`.
98
+ * (`release`), any edge escalates (`escalate`, or `decide` — see below),
99
+ * otherwise `keep`.
100
+ *
101
+ * A blocker closed NOT PLANNED leaves a decision: does this item still make
102
+ * sense without it? Under the default `humanGate.mode` (`access-only`) the
103
+ * agent makes it (CodySwannGT/lisa#4687): the plan returns `decide`, telling
104
+ * whoever picks the item up to re-scope it, drop the edge or close it, and to
105
+ * record a `Decision:` line. Under `strict` it stays `escalate`, a human relay.
106
+ * An edge whose containment could not be computed is never handed over as a
107
+ * decision in either mode: an unknown is a measurement to redo, not a call.
45
108
  *
46
109
  * `edges` carries the per-edge decisions — each input edge plus its `action`
47
110
  * and `reason` — so the caller can quote them in the explanatory tracker
@@ -52,6 +115,8 @@ export const BLOCKED_RELEASE_ACTIONS = Object.freeze([
52
115
  * comments?: unknown,
53
116
  * trustedHumanActorIds?: unknown,
54
117
  * humanNeededLabel?: unknown,
118
+ * humanOnly?: unknown,
119
+ * humanGateMode?: unknown,
55
120
  * edges?: readonly object[] | null | undefined,
56
121
  * pendingQuestion?: unknown,
57
122
  * }} [input] The item's hold surfaces, its judged edges, and the ledger question.
@@ -69,6 +134,13 @@ export function planBlockedRelease(input = {}) {
69
134
  comments: input.comments,
70
135
  trustedHumanActorIds: input.trustedHumanActorIds,
71
136
  humanNeededLabel: input.humanNeededLabel,
137
+ // The project's human-gate policy (CodySwannGT/lisa#4687): whether a hold
138
+ // is valid, and so whether a lift comment may discharge it, depends on
139
+ // `humanGate.mode` and `humanGate.humanOnly`. Omitted, a strict project's
140
+ // hold would be judged under access-only. The caller resolves both from
141
+ // config, never from the item.
142
+ humanOnly: input.humanOnly,
143
+ humanGateMode: input.humanGateMode,
72
144
  });
73
145
 
74
146
  if (gate.held) {
@@ -116,12 +188,7 @@ export function planBlockedRelease(input = {}) {
116
188
  }
117
189
 
118
190
  if (resolution.escalations > 0) {
119
- return {
120
- action: "escalate",
121
- reason: `${resolution.escalations} of ${edges.length} blocker edge(s) need a human decision.`,
122
- edges: resolution.decisions,
123
- gate,
124
- };
191
+ return { ...planEscalation(resolution, edges.length, input), gate };
125
192
  }
126
193
 
127
194
  return {
@@ -121,9 +121,10 @@ nothing announces it. `lisa-automation-status` must treat a stopped clock as a f
121
121
 
122
122
  - `learnings-audit` (default **false**) — opt-in: when `true`, additionally create the weekly
123
123
  `lisa-auto-<project>-learnings-audit` automation running `/lisa:learnings:audit` (the gardener —
124
- see "Optional automation" below). Default `false` because the gardener's output is human-gated
125
- tracker tickets: a project opts into the recurring audit stream deliberately rather than
126
- receiving recommendation tickets by surprise.
124
+ see "Optional automation" below). Default `false` because the gardener changes what the agents
125
+ believe — under the default `humanGate.mode: "access-only"` its tickets file build-ready, and
126
+ under `"strict"` they are human-gated: either way a project opts into the recurring audit stream
127
+ deliberately rather than receiving recommendation tickets by surprise.
127
128
 
128
129
  The defaults are autonomous by design — the factory model wants inputs flowing through the gates
129
130
  without a human between the loops and the pipeline. Pass `false` explicitly to opt a project into
@@ -201,7 +202,8 @@ For a Codex `rrule`: every 60 min → `FREQ=HOURLY;INTERVAL=1`; every 10 min →
201
202
  defaults above), additionally create `lisa-auto-<project>-learnings-audit`
202
203
  running `/lisa:learnings:audit` once a **week**. It audits the project's
203
204
  knowledge surfaces (learnings ledger, rules trees, skills, wiki) and files
204
- human-gated promote/demote/confirm/retire tickets per the
205
+ promote/demote/confirm/retire tickets — build-ready under the default
206
+ `humanGate.mode: "access-only"`, human-gated under `"strict"` — per the
205
207
  `lisa-learnings-audit` skill. Register at most ONE learnings-audit automation
206
208
  per project — the gardener's marker dedupe assumes a single scheduled runner
207
209
  and guarantees convergence (a transient duplicate from a concurrent run is
@@ -366,7 +368,7 @@ One line each; expand them into the operator's voice, keep the meaning.
366
368
  | **monitor** | Keeps production honest: observability regressions become tracked work instead of silent decay. | The connected observability providers, each through its access layer, plus this project's `monitor.gapTiers` config. | The regressions and coverage gaps this cycle surfaced, capped per run. | Only this project's own services and dashboards; it files findings, it never changes production. | Propose teardown when ALL THREE hold: a date-filtered tracker search finds nothing this loop filed within the trailing 30-day window (a small multiple of its daily cadence), AND this run found nothing, AND the project has no connected observability surfaces left — nothing to monitor. The third is a domain conjunct that only tightens the contract's two-part test: a quiet month on a healthy project is good news, not a reason to stop watching it. | `lisa-monitor/SKILL.md` |
367
369
  | **exploratory-prds** | Keeps the idea pipeline fed: the product's own gaps become PRDs when the PRD queue has room. | The PRD queue's pressure roles (the same ones `/lisa:queue-status` reports) and the project's own product surfaces. | One ideated PRD per run, and only when the pressure gate says the queue has capacity. | Never more than one PRD per run, and nothing at all while unresolved PRD pressure exists. | Propose teardown when ALL THREE hold: a date-filtered tracker search finds no PRD this loop ideated within the trailing 30-day window (a small multiple of its daily cadence), AND this run proposed nothing, AND no unresolved PRD pressure exists while the project has shipped no new surface to ideate against. The third is a domain conjunct that only tightens the contract's two-part test: a quiet month because the queue was full is the loop working, not the loop being obsolete. | `lisa-project-ideation/SKILL.md` |
368
370
  | **exploratory-bugs** | Keeps quality visible: bugs and usability problems get found by using the product, before a customer does. | The running application through its exploratory-qa surface, plus this project's existing bug queue for dedupe. | The findings of one exploratory session, capped per run and deduped against already-filed items. | Only this project's own app; it files tickets, it never changes product code. | Propose teardown when ALL THREE hold: a date-filtered tracker search finds no finding this loop filed within the trailing 30-day window (a small multiple of its daily cadence), AND this run found nothing, AND the project no longer ships an exploratory-qa command surface to explore. The third is a domain conjunct that only tightens the contract's two-part test: a quiet month on a product nobody broke is quality holding, not a reason to stop looking. | `lisa-exploratory-qa/SKILL.md` (the stack's own copy) |
369
- | **learnings-audit** | Keeps the project's knowledge true: stale, duplicated, or contradicted knowledge gets proposed for promotion, demotion, or retirement. | The learnings ledger, the rules trees, the skills, and the wiki — the project's knowledge surfaces. | The knowledge entries this audit judged stale, duplicated, or contradicted, capped per run. | It only proposes; every promote/demote/retire decision is a human-gated tracker ticket. | Propose teardown when BOTH hold: a date-filtered tracker search finds no `[lisa-gardener]` ticket created within the trailing six-week window (six runs at the weekly cadence), AND this run proposed nothing. | `lisa-learnings-audit/SKILL.md` |
371
+ | **learnings-audit** | Keeps the project's knowledge true: stale, duplicated, or contradicted knowledge gets proposed for promotion, demotion, or retirement. | The learnings ledger, the rules trees, the skills, and the wiki — the project's knowledge surfaces. | The knowledge entries this audit judged stale, duplicated, or contradicted, capped per run. | It only proposes: every promote/demote/retire decision is a tracker ticket, filed build-ready under the default `humanGate.mode: "access-only"` (human-gated under `"strict"`, or when the change lands on a human-authored surface). | Propose teardown when BOTH hold: a date-filtered tracker search finds no `[lisa-gardener]` ticket created within the trailing six-week window (six runs at the weekly cadence), AND this run proposed nothing. | `lisa-learnings-audit/SKILL.md` |
370
372
 
371
373
  **Retirement condition is mandatory and non-empty.** Every seeded runbook states one, and a loop
372
374
  that is structurally permanent says exactly that instead of leaving the section blank — an operator
@@ -47,7 +47,7 @@ For an existing incidental item, read its discussion, linked PRs and dependencie
47
47
  - an explicit reference matching the configured tracker (`KEY-123`, `org/repo#123` or issue URL, Linear team identifier);
48
48
  - an existing file path containing a specification (read the entire file, without offset/limit);
49
49
  - plain-text work description.
50
- 3. Detect the caller's readiness declaration, which is orthogonal to the classification above. Absent any declaration this is the default build-ready path. A caller deliberately holding the work because it needs an act an agent cannot perform (a credential only a person holds, spend, an external account, a legal or compliance sign-off, an accountable person, a system the agent cannot reach, or a project-declared human-only class) passes `human_gate: "<the act a person must perform>"`. A choice with a reasonable default is not a gate: decide it, record the decision on the item, and take the build-ready path (`ready-role-filing`, "What a human gate is"). The writer refuses a topic-only reason with exit 1 from `scripts/human-gate-act.mjs check`; the two declarations are mutually exclusive and a `human_gate` present but empty is a blocking error, because an unexplained hold is indistinguishable from an accident.
50
+ 3. Detect the caller's readiness declaration, which is orthogonal to the classification above. Absent any declaration this is the default build-ready path. A caller deliberately holding the work because it needs an act an agent cannot perform (an access act: `credential` (complete a login or supply a credential only a person holds), `spend`, `external-account`, `legal-signoff` (sign a legal agreement on the company's behalf), `person-only-account` (a protected deployment, a required reviewer, an account only a person holds), `unreachable-system`, or `operator-hold` (a hold the operator explicitly asked for); `human-authored-surface` (an edit to a surface declared human-authored, which no agent writes: an authorship rule, valid in both modes); or a decision class the project declared human-only (`humanGate.humanOnly`). Under `humanGate.mode: "strict"` the strict-only acts `compliance-signoff`, `accountable-person` and `lisa-policy` also count) passes `human_gate: "<the act a person must perform>"`. A choice with a reasonable default is not a gate: decide it, record the decision on the item, and take the build-ready path (`ready-role-filing`, "What a human gate is"). The writer refuses a topic-only reason with exit 1 from `scripts/human-gate-act.mjs check`; the two declarations are mutually exclusive and a `human_gate` present but empty is a blocking error, because an unexplained hold is indistinguishable from an accident.
51
51
  4. Preserve the full resolved specification for the caller. Do not treat a ticket-like token for a different provider/project as plain text; report the mismatch.
52
52
 
53
53
  ## Phase 2 — Resolve one live work item
@@ -97,7 +97,7 @@ Skip this step silently and return `route: implement` when the tracker is Jira o
97
97
  ### Hold check and claim
98
98
 
99
99
  The work item is **held** when the caller declared a `human_gate`, independently of any item history,
100
- or `classifyReadyCandidate({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly })` from the shipped
100
+ or `classifyReadyCandidate({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode })` from the shipped
101
101
  `scripts/intake-blocker-reprobe.mjs` returns `claimable: false`. Pass the complete live comment
102
102
  history so a matching `[lisa-human-gate-release]` discharges the historical body marker. Never
103
103
  reimplement heldness as a substring test or as the negation of `planHumanGateRelease().released`:
@@ -110,7 +110,7 @@ A held item stops the flow here, whatever roles or labels it carries. Do not inv
110
110
  and carry its reason verbatim in `gate_reason` (null for a keyless hold), then stop.
111
111
 
112
112
  For a discharged item, call
113
- `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels, alreadyNotified })`
113
+ `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, lifecycleLabels, alreadyNotified })`
114
114
  and apply only the returned actions before claiming. Keep the body marker as history; a release
115
115
  never overrides a new caller-declared hold or another eligibility check.
116
116
 
@@ -360,24 +360,43 @@ resolves to the current UTC year-month at publish time, so
360
360
  `pr-assets-{YYYY-MM}` rotates monthly and keeps each release under GitHub's
361
361
  1000-file limit. Names use letters, digits, `.`, `_` and `-`, at most 100
362
362
  characters; `{YYYY-MM}` is the only placeholder. The publisher creates a
363
- missing release (never marked Latest) and refuses, in plain words, when the
364
- release already holds 950 or more files rather than failing on GitHub's raw
365
- HTTP 422. `node scripts/lisa-work-item.mjs evidence-release` prints the
366
- resolved name; `--ensure` also creates it or refuses when it is nearly full.
363
+ missing release (never marked Latest). When the resolved release already
364
+ holds 950 or more files it rolls over to the next overflow release,
365
+ `<release>-2`, then `-3`, up to `-99`, creating and capacity-checking each one
366
+ the same way, instead of failing on GitHub's raw HTTP 422. If an upload still
367
+ hits GitHub's limit (another publisher filled the release meanwhile), it rolls
368
+ over once more and retries. It refuses, in plain words, only when every
369
+ overflow release of the period is full, or when the release name is too long
370
+ to take an overflow suffix (GitHub allows 100 characters), in which case it
371
+ names the full release. Its advice leads with pruning
372
+ (`node scripts/lisa-evidence-prune.mjs --release <release>`) when the release
373
+ already rotates, and suggests a rotating name only when it does not. Nothing is
374
+ ever deleted to make room.
375
+ `node scripts/lisa-work-item.mjs evidence-release` prints the period's first
376
+ release name without touching GitHub; `--ensure` also creates the release,
377
+ rolls over past full ones, and prints the release that has room.
367
378
 
368
379
  The validator accepts assets from the legacy `pr-assets` release, from any
369
380
  release matching the configured name or template, and from any name or
370
381
  template listed in `verification.completion.acceptedEvidenceReleases`, so
371
- proof published before a rename or rotation keeps validating. Only releases in
372
- the implementation repository are accepted.
382
+ proof published before a rename or rotation keeps validating. Each of those
383
+ names also accepts its `-2` … `-99` overflow releases, so proof in an overflow
384
+ release, or in an earlier period's release, keeps validating on `finish`. Only
385
+ releases in the implementation repository are accepted.
373
386
 
374
387
  `LISA_EVIDENCE_RELEASE` pins the concrete release for one run. Skills resolve
375
388
  it once with `evidence-release --ensure`, stop when that refuses, and pass the
376
389
  printed name inline (`LISA_EVIDENCE_RELEASE=<name>`) on every later command,
377
390
  because some agent runtimes start a new shell for each command and lose an
378
391
  exported value; that keeps links and uploads on the same release. It must be
379
- one of the accepted releases; `evidence-release --ensure` still creates and
380
- capacity-checks it.
392
+ one of the accepted releases. Every command honours it:
393
+ `evidence-release --ensure` creates and capacity-checks it, and
394
+ `publish-completion-proof` uploads the completion record to it and reads it
395
+ back from it. The publisher and `evidence-release` share one resolver, so the
396
+ release the publisher uploads to is always the one `evidence-release` prints in
397
+ the same environment. A pin is an exact choice: a full pinned release is
398
+ refused and never rolls over. Unset `LISA_EVIDENCE_RELEASE` to let Lisa roll
399
+ over, or pin a release that has room.
381
400
 
382
401
  Creating an evidence release is a real GitHub release: it fires `release`
383
402
  webhook and workflow events and adds a git tag of the same name. Workflows
@@ -43,7 +43,11 @@ child_refs:
43
43
  Required arguments:
44
44
 
45
45
  - `operation`: one of `record`, `rollup`, or `record_and_rollup`.
46
- - `artifact_ref`: canonical artifact identifier for the target being updated.
46
+ - `artifact_ref`: canonical artifact identifier for the target being updated, in the per-provider
47
+ grammar from the `usage-accounting` rule: `github:<owner>/<repo>#<N>`,
48
+ `linear:<workspace>/<KEY-N>` (workspace from `linear.workspace` in `.lisa.config.json`), or a bare
49
+ Jira `<KEY-N>`. The writer refuses a short `linear:<KEY-N>`: the completion proof would never
50
+ recognise it.
47
51
  - `artifact_kind`: the writable host surface (`github-issue`, `github-pr-comment`, `jira-ticket`,
48
52
  `linear-issue`, `notion-page`, `confluence-page`, `markdown-file`, or another caller-defined
49
53
  host string with a matching read/write adapter).
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.109.1",
3
+ "version": "4.110.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.109.1",
3
+ "version": "4.110.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -16,7 +16,7 @@ You are the quality bar between a claimed learning and the project learnings sur
16
16
  - Dropping is a valid, successful outcome — not a failure of the gate.
17
17
  - You judge the **truth and durability** of a claimed learning, not its plausibility. Plausibility without evidence is a drop.
18
18
 
19
- This gate is independent of (and composes with) the `skill-evaluator` ladder router: the router recommends the promotion destination — which rung of the ladder a presumed-valid learning should live on — feeding the gardener's human-gated tickets; this agent judges whether a claimed learning is true, caused the failure, and will recur. Callers must respect your verdict — do not override it.
19
+ This gate is independent of (and composes with) the `skill-evaluator` ladder router: the router recommends the promotion destination — which rung of the ladder a presumed-valid learning should live on — feeding the gardener's tickets (build-ready under the default `humanGate.mode: "access-only"`, human-gated under `"strict"`); this agent judges whether a claimed learning is true, caused the failure, and will recur. Callers must respect your verdict — do not override it.
20
20
 
21
21
  ## Candidate Input Schema
22
22
 
@@ -67,7 +67,7 @@ A missing, ambiguous, contradictory or undecided requirement is not always a one
67
67
 
68
68
  **The rule is the check planning should have run, never the answer.** Rewrite the candidate's `rule` as `Planning (<stage>): <check>` — e.g. `Planning (decomposition): an export ticket must name its report format before it is Ready.` — never `Exports use CSV.`, which only answers the one ticket and belongs on the item. A rule that only makes sense for this one item is not a check: drop it as `misunderstanding/spec-gap`. The `why` names the stage that let it through and quotes what the worker could not find. The prefix is load-bearing: planning skills select these entries from the bounded projection by it (`lisa-task-decomposition` step 0).
69
69
 
70
- **Recurrence never blocks a first occurrence.** A first-occurrence planning miss persists at `low` confidence, so by default its persistence PR waits for a human to merge it. That is a deliberate, bounded exception to Step 2's recurrence requirement. The hostile default exists because a plausible-but-wrong rule would reach every future session unattended; a `low` rule does not by default, because a human reads it at the gate first. A project that opts into `learnings.lowConfidence: "auto-merge"` accepts that a `low` rule lands unread, in exchange for the gardener re-reviewing those entries first. Meanwhile the signal is unusually strong and unusually rare: each occurrence already cost the human interruption the gate exists to prevent, so waiting for a second occurrence costs a second interruption and teaches nothing new. And the rule only adds a check to planning — a wrong one costs a planning question, not changed build behaviour. With recurrence evidence (another dispatched item that stopped on the same class of gap), Step 4 may grant `high`.
70
+ **Recurrence never blocks a first occurrence.** A first-occurrence planning miss persists at `low` confidence, and what happens to its persistence PR follows `learnings.lowConfidence`. That is a deliberate, bounded exception to Step 2's recurrence requirement. The hostile default exists because a plausible-but-wrong rule would reach every future session unattended. Under the default `humanGate.mode: "access-only"`, `learnings.lowConfidence` defaults to `"auto-merge"`: a `low` rule lands unread, in exchange for the gardener re-reviewing those entries first. Under `humanGate.mode: "strict"`, or when the project sets `learnings.lowConfidence: "human-triage"`, a `low` rule waits for a human to read it at the gate first. Meanwhile the signal is unusually strong and unusually rare: each occurrence already cost the human interruption the gate exists to prevent, so waiting for a second occurrence costs a second interruption and teaches nothing new. And the rule only adds a check to planning — a wrong one costs a planning question, not changed build behaviour. With recurrence evidence (another dispatched item that stopped on the same class of gap), Step 4 may grant `high`.
71
71
 
72
72
  ### Step 2.6: Overruled escalation (`signal: wrongly-escalated`)
73
73
 
@@ -79,7 +79,7 @@ A self-flagged human gate is the agent's own claim that a human is needed. When
79
79
 
80
80
  Step 2.5's dispatch condition does not apply (the item was held at filing, never dispatched), and neither does its flagged-human-gate exclusion. Step 1 does not short-circuit to `lisa-upstream` merely because the `human_gate` contract is Lisa-shipped: the ruling is about this project's escalations, and the rule is this project's filing check. Hand off upstream only when the evidence shows a shipped Lisa skill **instructed** the gate for this case.
81
81
 
82
- **The rule is the filing check, never the answer.** Rewrite it as `Planning (filing): <check>` — e.g. `Planning (filing): file human_gate only for an act no agent can perform (credential, spend, external account, legal sign-off); decide dispatch-order questions yourself.` — never the decision the human then made.
82
+ **The rule is the filing check, never the answer.** Rewrite it as `Planning (filing): <check>` — e.g. `Planning (filing): file human_gate only for an access act no agent can perform (credential, spend, external-account, legal-signoff, person-only-account, unreachable-system, operator-hold) or a human-authored surface; decide dispatch-order questions yourself.` — never the decision the human then made.
83
83
 
84
84
  **Confidence.** Several labeled items whose holds share the same gap pattern are recurrence: grant `high`. A single labeled item is `low`. Either way, the persistence PR never waits for a human: the human has already ruled, at the label, and the operator's position is that humans are involved only when an agent is actually stuck. `lisa-persist-learning` merges a `wrongly-escalated` learning through the project's normal gates at either confidence; if the call was wrong, the gardener retires the rule later.
85
85
 
@@ -100,7 +100,7 @@ When multiple classifications seem defensible, choose the one that does **not**
100
100
  ### Step 4: Confidence (durable-learning and planning-miss)
101
101
 
102
102
  - **`high`** — the causal story is unambiguous and the recurrence citations are directly on point. The persistence PR may merge through the project's normal gates unattended.
103
- - **`low`** — durable on the evidence, but the causal chain has an inferential step or the recurrence evidence is indirect. By default the persistence PR waits for a human (auto-merge off + `learning:needs-triage`). A project that sets `learnings.lowConfidence: "auto-merge"` instead merges it through its normal gates, labeled `learning:low-confidence` so the gardener re-reviews it first. A `wrongly-escalated` candidate never waits for a human, whatever this setting says (Step 2.6).
103
+ - **`low`** — durable on the evidence, but the causal chain has an inferential step or the recurrence evidence is indirect. Routing follows `learnings.lowConfidence`. Under `learnings.lowConfidence: "auto-merge"` — the default under `humanGate.mode: "access-only"` — the PR merges through the project's normal gates, labeled `learning:low-confidence` so the gardener re-reviews it first. Under `humanGate.mode: "strict"`, or when the project sets `"human-triage"`, the persistence PR waits for a human (auto-merge off + `learning:needs-triage`). A `wrongly-escalated` candidate never waits for a human, whatever this setting says (Step 2.6).
104
104
 
105
105
  Grade confidence on the evidence alone. The project's `learnings.lowConfidence` setting decides only what happens to a `low` PR; it never moves a candidate between `high` and `low`, so do not read it before grading.
106
106
 
@@ -151,7 +151,7 @@ Also echo back the candidate's `triggering_issue` so the caller can route withou
151
151
  ## Important Reminders
152
152
 
153
153
  1. **Most candidates DROP** — a session where you persist everything you saw is a failed gate, not a productive one.
154
- 2. **No recurrence citation, no durable-learning** — this is absolute; there are no exceptions for "obviously true" rules. A `planning-miss` is not a durable-learning: without recurrence it persists only at `low` (behind a human merge unless the project set `learnings.lowConfidence: "auto-merge"`), and the recurrence requirement never blocks a first occurrence of it.
154
+ 2. **No recurrence citation, no durable-learning** — this is absolute; there are no exceptions for "obviously true" rules. A `planning-miss` is not a durable-learning: without recurrence it persists only at `low` (auto-merged under the access-only default, behind a human merge when `learnings.lowConfidence` resolves to `"human-triage"`), and the recurrence requirement never blocks a first occurrence of it.
155
155
  3. **Cite what you relied on** — a verdict without `cited_evidence` is invalid; re-run the evaluation.
156
156
  4. **`lisa-upstream` never becomes a local rule** — classify and hand off; filing the upstream ticket is the caller's flow, not yours.
157
157
  5. **You classify; you do not write** — never touch the learnings surface, post comments, or open PRs. The caller (`lisa-persist-learning`) owns all side effects.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: skill-evaluator
3
- description: Six-rung ladder router for candidate learnings. Given a candidate (rule, why, provenance, evidence) it recommends a destination rung — EXECUTABLE-CONTROL | EAGER-RULE | SKILL | WIKI | KEEP-IN-LEDGER | RETIRE — and a scope (project | upstream), with a plain-language rationale and a drafted artifact. Advisory-only — it writes nothing and files nothing; the gardener turns its recommendations into human-gated tracker tickets. Use whenever a flow needs routing judgment about where a piece of knowledge should live.
3
+ description: Six-rung ladder router for candidate learnings. Given a candidate (rule, why, provenance, evidence) it recommends a destination rung — EXECUTABLE-CONTROL | EAGER-RULE | SKILL | WIKI | KEEP-IN-LEDGER | RETIRE — and a scope (project | upstream), with a plain-language rationale and a drafted artifact. Advisory-only — it writes nothing and files nothing; the gardener turns its recommendations into tracker tickets (build-ready under the default humanGate.mode access-only, human-gated under strict). Use whenever a flow needs routing judgment about where a piece of knowledge should live.
4
4
  ---
5
5
 
6
6
  # Ladder Router Agent (skill-evaluator)
@@ -32,7 +32,7 @@ You are **advisory-only**. You classify and draft; you never act:
32
32
 
33
33
  - You write nothing — no files created, edited, or deleted; no skills scaffolded; no rules appended; no wiki pages written.
34
34
  - You file nothing — no issues, no PRs, no comments.
35
- - Action belongs to the **gardener** (`lisa-learnings-audit`, #1735), your primary caller: it attaches your recommendation and drafted artifact to a tracker ticket that a human gates by flipping `status:ready`. The learner (LLG-2, #1731) is capture-only and no longer calls this agent.
35
+ - Action belongs to the **gardener** (`lisa-learnings-audit`, #1735), your primary caller: it attaches your recommendation and drafted artifact to a tracker ticket, filed build-ready under the default `humanGate.mode: "access-only"` and gated by a human flipping `status:ready` under `"strict"` (or when the change lands on a human-authored surface). The learner (LLG-2, #1731) is capture-only and no longer calls this agent.
36
36
 
37
37
  You are headless-safe: never prompt; if a candidate is unclassifiable, return KEEP-IN-LEDGER with a rationale naming what evidence is missing.
38
38
 
@@ -95,7 +95,7 @@ Recommend **EAGER-RULE** only on cited evidence of **repeated misses despite ret
95
95
  - **KEEP-IN-LEDGER** — the default landing zone: real but not yet proven broad/stable enough to promote. Probationary and expiring; the gardener revisits it with fresh evidence.
96
96
  - **RETIRE** — redundant (Step 0), stale (references files/flags/versions that no longer exist), or superseded. Retirement requires proof, not vibes.
97
97
 
98
- When two rungs seem defensible, choose the **cheaper** one (lower context cost) — promotion can happen later with more evidence; demotion of a wrongly-promoted rule costs a gardener cycle and a human decision.
98
+ When two rungs seem defensible, choose the **cheaper** one (lower context cost) — promotion can happen later with more evidence; demotion of a wrongly-promoted rule costs a gardener cycle (and, under `strict`, a human decision).
99
99
 
100
100
  ## Recommendation Output Contract
101
101
 
@@ -198,7 +198,7 @@ Never rely on a memorized inventory of skills, rules, or lints — hardcoded lis
198
198
  ## Important Reminders
199
199
 
200
200
  1. **Redundancy check (do first)** — a candidate with an existing mechanical owner routes to RETIRE citing that mechanical owner, before any other evaluation.
201
- 2. **Advisory-only, always** — you recommend; the gardener (#1735) files tickets; humans gate; the factory executes. You never touch a file or tracker.
201
+ 2. **Advisory-only, always** — you recommend; the gardener (#1735) files tickets; humans gate only under `strict` or for a human-authored surface; the factory executes. You never touch a file or tracker.
202
202
  3. **EXECUTABLE-CONTROL beats prose** — whenever a machine can check it, route it there, and always draft the remediation-teaching diagnostic (the context is relocated into the error message, not deleted).
203
203
  4. **The eager tier is earned, not defaulted** — demotion-biased; the default answer is NO without repeated-miss evidence.
204
204
  5. **When in doubt, route cheaper** — KEEP-IN-LEDGER is the honest default; promotion can come back with evidence.
@@ -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