@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
@@ -35,17 +35,21 @@ The six classes, from most to least self-evidently trustworthy:
35
35
  Each class fixes five review inputs: capability owner, update cadence, detection
36
36
  evidence, replacement-cost threshold, and whether product/human ratification is
37
37
  required. Higher exposure and lower trust buy stronger evidence and mandatory
38
- ratification, not weaker: runtime-critical service clients always need human
38
+ ratification, not weaker. When sign-off is on (`dependencies.humanSignOff:
39
+ "default"` or `humanGate.mode: "strict"`), runtime-critical service clients always need human
39
40
  ratification to add or major-upgrade; temporary dependencies need it to live
40
41
  past their expiry date; thin wrappers need it to be kept rather than in-housed.
42
+ By default those same ratifications are the agent's, recorded in the entry.
41
43
 
42
- **Unless the project turns sign-off off.** When `.lisa.config.json` sets
43
- `dependencies.humanSignOff` to `"none"`, no ratification requirement or
44
- human-review trigger in this rule applies — see
44
+ **By default the agent ratifies.** `dependencies.humanSignOff` resolves to
45
+ `"none"` unless the project sets it, so no requirement below waits on a person:
46
+ the agent makes each ratification and human-review call itself and records its
47
+ reasoning in the dependency's entry, where a person can reverse it — see
45
48
  [When `dependencies.humanSignOff` is `"none"`](#when-dependencieshumansignoff-is-none).
46
49
  The effective value is printed in the session's `lisa-resolved-config` block.
47
- The default (`"default"`, or the key omitted) keeps every requirement below
48
- exactly as written.
50
+ A person ratifies, exactly as written below, only when the project sets
51
+ `dependencies.humanSignOff` to `"default"` or `humanGate.mode` to `"strict"`
52
+ (which makes `"default"` the fallback).
49
53
 
50
54
  Every class also names one **human-review trigger** — the observable event that
51
55
  takes the decision away from the agent. A class definition that cannot say what
@@ -178,7 +182,8 @@ that reaches users, their data, or money in production — payment SDKs, auth
178
182
  libraries, database drivers, service clients on the request path. Even a mature,
179
183
  well-run project lands in this class if a bad update reaches production, because
180
184
  maturity does not shrink blast radius. Trust here is bought with our own
181
- evidence and a human's signature, not the vendor's reputation.
185
+ evidence and a recorded ratification — the agent's by default, a human's
186
+ signature when sign-off is on — not the vendor's reputation.
182
187
 
183
188
  - **Capability owner:** a named accountable person, not a team.
184
189
  - **Update cadence:** re-judged at every version change. Versions are pinned
@@ -247,8 +252,10 @@ starts running in production or touching user data — whichever happens first.
247
252
 
248
253
  ## Ratification, summarized
249
254
 
250
- Ratification is not a formality; it is the point where a human owns the residual
251
- risk. Required for:
255
+ Ratification is not a formality; it is the point where someone owns the residual
256
+ risk — the agent by default, recording why in the entry, or a human when sign-off
257
+ is on (`dependencies.humanSignOff: "default"` or `humanGate.mode: "strict"`).
258
+ Required for:
252
259
 
253
260
  - **Runtime-critical service client** — to add, and for every major upgrade.
254
261
  - **Temporary/experimental dependency** — to extend past expiry or to promote.
@@ -263,9 +270,9 @@ radius do the work a human would otherwise have to do.
263
270
 
264
271
  ### When `dependencies.humanSignOff` is `"none"`
265
272
 
266
- A project whose owner has decided that no dependency should ever wait on a
267
- person's approval sets `"dependencies": { "humanSignOff": "none" }` in
268
- `.lisa.config.json`. Read the effective value from the
273
+ `"none"` is the default: a project gets it when it sets
274
+ `"dependencies": { "humanSignOff": "none" }` or leaves the key out under the
275
+ default `humanGate.mode` (`"access-only"`). Read the effective value from the
269
276
  `dependencies.humanSignOff` line of the session's `lisa-resolved-config` block.
270
277
  Under `"none"`:
271
278
 
@@ -283,12 +290,15 @@ Under `"none"`:
283
290
  replacement-cost requirements, and update the record entry in the same change.
284
291
  Turning sign-off off removes the human, not the evidence.
285
292
  - **Credential, paid-account, and license approvals are not covered.** A
286
- dependency that needs a new secret, a paid vendor account, or a license
287
- decision still raises that as its own human-needed reason; this setting does
288
- not waive it.
293
+ dependency that needs a new secret the agent cannot create or reach, a paid
294
+ vendor account, or a license signature still raises that as its own
295
+ human-needed reason, naming that access; this setting does not waive it.
289
296
 
290
- `"default"` — or no key at all — keeps every ratification requirement exactly as
291
- written above. Any other value is reported as invalid and treated as `"default"`.
297
+ `"default"` — set explicitly, or reached by leaving the key out under
298
+ `humanGate.mode: "strict"` — keeps every ratification requirement exactly as
299
+ written above. Any other value is reported as invalid and treated as `"default"`,
300
+ the stricter option, in either mode: a setting someone tried and mistyped fails
301
+ safe. Only an absent key gets the mode's default.
292
302
 
293
303
  ## Naming a class at planning time
294
304
 
@@ -300,7 +310,7 @@ unit proposing a material dependency with no named class.
300
310
 
301
311
  The class is what makes the rest of the ticket reviewable: it tells the reviewer
302
312
  which evidence to demand and whether a human has to ratify before the work
303
- starts (never, when `dependencies.humanSignOff` is `"none"`), rather than
313
+ starts (never, when `dependencies.humanSignOff` is `"none"`, the default), rather than
304
314
  discovering both at the end.
305
315
 
306
316
  Naming a class is not a formality either. If nobody can pick one, that is the
@@ -9,8 +9,8 @@ Finish authorized, worthwhile work in this session. Lisa exists to help projects
9
9
 
10
10
  Before turning an incidental finding into work, apply `do-it-now`'s **Worth doing** guidance. Act on concrete delivery failures, credible material security or data-loss risks, and recurring friction whose repair is worth its cost. Prefer the smallest sufficient fix, including simplifying or removing redundant machinery while preserving required behavior.
11
11
 
12
- **Decline unnecessary work.** Cosmetic preferences, speculative edge cases, and already adequate behavior need no ticket, new rule, or human approval. Briefly state the reason in the current report or discussion when relevant. A complete specification establishes buildability, not value. Group related small repairs into one bounded maintenance task when worthwhile.
12
+ **Decline unnecessary work.** Cosmetic preferences, speculative edge cases, and already adequate behavior need no ticket, new rule, or human approval. Say why briefly when relevant. A complete specification establishes buildability, not value. Group related small repairs into one bounded maintenance task when worthwhile.
13
13
 
14
- Complete the accepted scope; don't manufacture follow-ups. Human decisions and protected actions still wait at their exterior gate. Do the authorized preparation and explain what remains.
14
+ Complete the accepted scope; don't manufacture follow-ups. Human decisions and protected actions still wait at their exterior gate (by default, only acts you cannot access). Do the authorized preparation and explain what remains.
15
15
 
16
16
  Full guidance: [reference/do-it-now.md](do-it-now-reference.mdc).
@@ -44,8 +44,9 @@ each one:
44
44
  APIs (validator gate **F5 — Required external access provable**). An input the factory cannot
45
45
  execute never enters the factory.
46
46
  - **Discover-first duty**: intake tries to resolve gaps itself (alternate substrates, configured
47
- access layers, searching for the missing context). What it genuinely cannot resolve it rejects —
48
- `blocked` plus a human-needed marker, with clarifying questions or the exact missing access named.
47
+ access layers, searching for the missing context). A choice with a reasonable default it decides
48
+ and records on the item. What it genuinely cannot resolve — an act it lacks access to — it rejects:
49
+ `blocked` plus a human-needed marker, with the exact missing access named.
49
50
 
50
51
  ## The loops
51
52
 
@@ -65,12 +66,19 @@ quality control. Projects opt into human triage by passing `false`.
65
66
 
66
67
  ## Where humans stand
67
68
 
68
- Humans act only at explicit exterior gates:
69
+ An agent performs every act it has access to perform. Humans act only at explicit exterior gates:
69
70
 
70
71
  - flipping a draft they chose to hold back to `prd-ready` / `status:ready`,
71
- - approving protected deployments (`github.environments.require_approval`),
72
- - reviewing low-confidence learning PRs (auto-merge off, unless the project sets `learnings.lowConfidence: "auto-merge"`),
73
- - answering what intake rejected and raised.
72
+ - approving protected deployments (`github.environments.require_approval`), because the required
73
+ reviewer must be a person's account,
74
+ - performing an act the agent lacks access to: an interactive login, creating a credential it cannot
75
+ reach, spending money, a legal signature, or an action only a person's account can take — the
76
+ gate names that access (`ready-role-filing`, "What a human gate is"),
77
+ - reviewing low-confidence learning PRs, only when the project sets `learnings.lowConfidence:
78
+ "human-triage"` or `humanGate.mode: "strict"` (otherwise they merge through the normal gates).
79
+
80
+ Everything else the agent decides, records on the work item, and leaves for a person to reverse.
81
+ `humanGate.mode: "strict"` restores the wider gate for a project that wants it.
74
82
 
75
83
  Inside a flow, never pause to ask a human whether to proceed — the invocation was the authorization.
76
84
  Headless discipline follows: no interactive prompts, idempotent re-runs, clean exits on empty
@@ -104,8 +112,9 @@ the unattended guessing the gates exist to prevent.
104
112
 
105
113
  Everything else Lisa installs — skills, hooks, quality checks, guardrails, CI gates, rulesets —
106
114
  exists to enforce enterprise-grade quality and verification standards that keep the software
107
- maintainable. Never weaken a gate to get work through it; fix the work, or raise the
108
- risk-acceptance decision to a human.
115
+ maintainable. Never weaken a gate to get work through it; fix the work, or accept the
116
+ risk yourself with the reasoning and an expiry recorded on the work item, so a person can reverse
117
+ it (`humanGate.mode: "strict"` hands risk acceptance to a human).
109
118
 
110
119
  Every supported coding agent is a first-class factory operator: Claude Code, Codex, Cursor,
111
120
  OpenCode, Antigravity (agy), Copilot. Behavior stays in parity across them, and anything persisted
@@ -229,11 +229,11 @@ Sequence:
229
229
  - **Missing tool access** — an agent lacked a tool, credential, environment, or permission the work required
230
230
 
231
231
  The three knowledge categories (recurring gotcha, process friction, convention drift) persist to the committed learnings ledger through the executable contract — never to machine-local memory, host rules (`.agents/rules/`), or `AGENTS.md`.
232
- 4. **Produce the human-triage document** — a markdown file with one row per candidate learning showing: category, summary, evidence (links to the source ticket comment / PR comment / commit), recommended persistence destination, and a checkbox-style disposition field the human will mark (Accept / Reject / Defer). Surface step-1 anomalies (work items missing PRs, etc.) in a separate section. The document is exhaustive — it lists every candidate, even ones the synthesizer rates low confidence — because the human, not the agent, decides what is worth keeping.
232
+ 4. **Produce the human-triage document** — a markdown file with one row per candidate learning showing: category, summary, evidence (links to the source ticket comment / PR comment / commit), recommended persistence destination, and a checkbox-style disposition field (Accept / Reject / Defer). Surface step-1 anomalies (work items missing PRs, etc.) in a separate section. The document is exhaustive — it lists every candidate, even ones the synthesizer rates low confidence — so whoever dispositions it sees everything.
233
233
  5. **Record Debrief usage on the triage document** — invoke `lisa-usage-accounting` against the generated markdown artifact so the document carries its own direct `debrief` usage entry in the canonical `## Lisa Usage` section. If runtime usage is unavailable, write the entry with `source: unavailable` and nullable token/cost fields rather than skipping it.
234
- 6. **Stop and hand the document to the human.** Debrief does NOT persist accepted learnings itself. The human triages, marks dispositions, and runs the **`/lisa:debrief:apply`** command (skill: `debrief-apply`) to route the accepted items to their destinations.
234
+ 6. **Disposition, then apply.** Debrief does NOT persist accepted learnings itself. Under the default `humanGate.mode: "access-only"`, the agent marks each row's disposition with a one-line reason from its evidence and runs the **`/lisa:debrief:apply`** command (skill: `debrief-apply`) to route the accepted items to their destinations; agent-marked rows persist at `low` confidence. Under `"strict"`, stop and hand the document to the human, who triages, marks dispositions, and runs `/lisa:debrief:apply`.
235
235
 
236
- Output: A triage-ready learnings document covering every work item and PR in the initiative, with structured evidence and disposition fields. Persistence is deferred to `debrief-apply`, which the human invokes after triage.
236
+ Output: A triage-ready learnings document covering every work item and PR in the initiative, with structured evidence and disposition fields. Persistence is deferred to `debrief-apply`, invoked after triage (by the agent under access-only, by the human under strict).
237
237
 
238
238
  ## Sub-flows
239
239
 
@@ -40,7 +40,7 @@ Work down the list and stop at the first honest yes:
40
40
  The division is deliberate and it is what keeps knowledge surfaces from silently growing:
41
41
 
42
42
  - **You capture.** Record the learning through `lisa-persist-learning`, with its provenance and evidence. That is the whole of a session's authority here.
43
- - **The gardener promotes.** `/lisa:learnings:audit` — available as an opt-in weekly automation via `lisa-setup-automations` — audits the ledger, rules trees, skills, and wiki, routes candidates through the `skill-evaluator`, and files **human-gated tracker tickets** for promotions, demotions, and retirements. A human approves each one.
43
+ - **The gardener promotes.** `/lisa:learnings:audit` — available as an opt-in weekly automation via `lisa-setup-automations` — audits the ledger, rules trees, skills, and wiki, routes candidates through the `skill-evaluator`, and files **tracker tickets** for promotions, demotions, and retirements. By default they file build-ready: the gardener decides, records its evidence and reasoning on the ticket, and a person can reverse it. A ticket is human-gated only when its change lands on a human-authored surface (below) or the project sets `humanGate.mode: "strict"`.
44
44
  - **Nothing hand-appends.** Never write a learning directly into `AGENTS.md`, a host rules file, or the human decree surface. Those are human-authored, and an automated append to them is exactly the accretion this ladder exists to stop.
45
45
 
46
46
  Promotion tickets are themselves governed: `promotion-contract` requires an EXECUTABLE-CONTROL promotion to be atomic — enable the control, fix the existing violation population, ship a remediation-teaching diagnostic, and delete the superseded prose, all in one PR. Promote-without-remove double-pays forever.
@@ -18,6 +18,6 @@ When you learn something durable, route it by **what it costs to carry**, not by
18
18
 
19
19
  **Take the cheapest rung that actually works.** Anything a machine can decide is EXECUTABLE-CONTROL. KEEP-IN-LEDGER is the default landing zone. EAGER-RULE is earned only by evidence of repeated misses despite the knowledge already being reachable, and the tier is demotion-biased — every session pays for it.
20
20
 
21
- **You capture; you do not promote.** Record the learning through `lisa-persist-learning`. The gardener (`/lisa:learnings:audit`, an opt-in weekly automation) routes candidates through the `skill-evaluator` and files human-gated promotion tickets. Never hand-append a learning to `AGENTS.md` or a host rules file.
21
+ **You capture; you do not promote.** Record the learning through `lisa-persist-learning`. The gardener (`/lisa:learnings:audit`, an opt-in weekly automation) routes candidates through the `skill-evaluator` and files promotion tickets (human-gated only for human-authored targets or strict `humanGate.mode`). Never hand-append a learning to `AGENTS.md` or a host rules file.
22
22
 
23
23
  Full prose: [reference/learnings-ladder.md](learnings-ladder-reference.mdc).
@@ -30,8 +30,11 @@ When a learnings-ladder promotion ticket (PRD #1729) is implemented — turning
30
30
  prose learning, rule section, or ledger entry into an **executable control**
31
31
  (lint, ast-grep, type constraint, test, hook, or `package.lisa.json` force) —
32
32
  the implementing PR is governed by this contract. The gardener
33
- (`lisa-learnings-audit`) files the tickets; a human gates them by flipping
34
- `status:ready`; the factory implements them like any other work item. This rule
33
+ (`lisa-learnings-audit`) files the tickets build-ready by default, with its
34
+ evidence and reasoning on each so a person can reverse it (a human gates them by
35
+ flipping `status:ready` only under `humanGate.mode: "strict"`, or when the
36
+ change lands on a human-authored surface); the factory implements them like any
37
+ other work item. This rule
35
38
  is what makes the resulting PR reviewable **by rule, not by reviewer taste**.
36
39
 
37
40
  ## The atomic promote-and-delete contract
@@ -33,7 +33,7 @@ Filed, not ready, and no `human_gate` is the **incomplete handoff** case — wri
33
33
 
34
34
  ## The named exception
35
35
 
36
- `lisa-exploratory-qa` files findings not-ready **by design** — its findings are candidate defects whose product significance a human should judge. It is the named human-gate exception, not drift: it pairs `ready=false` with an explicit `human_gate` reason. The sibling `e2e-coverage-gaps` skills are the contrast (a missing test is not a product question, so they file build-ready).
36
+ `lisa-exploratory-qa` is the named human-gate exception **only under `humanGate.mode: "strict"`**. There it files findings not-ready by design, because a person judges their product significance, and it pairs `ready=false` with an explicit `human_gate` reason. Under the default `"access-only"` mode `ready` defaults to true: the agent judges significance itself, records that judgement on each finding in a `Decision:` line, and files a worthwhile, complete finding `build_ready: true`; a person can reverse it. An operator who passes `ready=false` is placing an explicit operator hold, filed with its own `human_gate` reason. The sibling `e2e-coverage-gaps` skills are the contrast (a missing test is not a product question, so they file build-ready).
37
37
 
38
38
  `lisa-repair-intake` sweeps for open items that are neither in the ready role nor marked `[lisa-human-gate]`, and surfaces them rather than promoting them.
39
39
 
@@ -105,20 +105,21 @@ One string, defined in one rule, read by the guard and stamped by the writers
105
105
 
106
106
  A human gate is for an **act an agent cannot perform**. It is not for "a pending product call": almost any open choice can be read as one, and reading it that way held plain decisions for a person whose answer was nearly always "you decide" — nine in one week in one portfolio repository, every one overruled, and three more filed hours after the operator's standing direction was recorded (CodySwannGT/lisa#4658). Each false gate costs an operator interruption and stalls the work until someone notices.
107
107
 
108
- The acts that qualify:
108
+ The acts that qualify are the ones an agent **lacks access to** perform. Each gate's text must name that access:
109
109
 
110
- | Act | Examples |
111
- |---|---|
112
- | Supply a credential only a person holds | an API key, password, private key, MFA code |
113
- | Spend money | a paid plan, a purchase, budget approval |
114
- | Open an external account | a vendor or provider account in a person's or the company's name |
115
- | Give a legal or compliance sign-off | HIPAA/GDPR/SOC 2, a contract, approval for a protected deployment |
116
- | Name an accountable person | an owner or approver who answers for the result |
117
- | Act in a system the agent cannot reach | physical hardware, an on-site step, granting an access the agent lacks |
118
- | A call Lisa's own policy reserves for a person | exploratory-QA findings (the named exception below), learnings promotion/demotion, harness interventions, automation retirement, a hold the operator explicitly asked for |
119
- | A decision class this project declared human-only | `humanGate.humanOnly` in `.lisa.config.json` |
120
-
121
- **Everything else is a decision.** The agent decides and records: it picks the reasonable default, writes the decision on the item (a `Decision:` line saying what was chosen and why), and files it `build_ready: true`. A reviewer who disagrees changes the item; nobody had to be interrupted first.
110
+ | Act id | Act the agent lacks access to | Examples |
111
+ |---|---|---|
112
+ | `credential` | Complete a login or supply a credential only a person holds | an interactive SSO, OAuth or MFA login; an API key created in a vendor console; a password or private key only a person holds; a secret store the agent cannot write |
113
+ | `spend` | Spend money | a paid plan, a purchase, a paid-account upgrade |
114
+ | `external-account` | Open an external account | a vendor or provider account in a person's or the company's name |
115
+ | `legal-signoff` | Sign a legal agreement on the company's behalf | a contract, BAA or DPA, license acceptance |
116
+ | `person-only-account` | Act from an account only a person holds | a protected-deployment required reviewer, a ruleset approval that must come from a person |
117
+ | `unreachable-system` | Act in a system the agent cannot reach | granting the agent an access it lacks, admin rights, an on-site or hardware step |
118
+ | `operator-hold` | Honour a hold the operator explicitly asked for | the operator said to hold this item, or passed `ready=false` to a filing skill |
119
+ | `human-authored-surface` | Edit a file the project says only people write (the authorship rule, not missing access; held in both modes) | a promotion, demotion or retirement that lands in a host's `.agents/rules/`, `PROJECT_RULES.md` or `AGENTS.md` |
120
+ | `project-policy` | A decision class this project declared human-only | `humanGate.humanOnly` in `.lisa.config.json` |
121
+
122
+ **Everything else is a decision.** That includes acts older wording reserved for a person: a product, scoping or design call; accepting a risk; a compliance judgement; naming an accountable owner from the evidence available; promoting or demoting a learning; a harness intervention; retiring an automation; judging an exploratory-QA finding's significance; picking an epic or parent; ratifying a dependency; and a threshold-ratchet exception. The agent decides and records: it picks the reasonable default, writes the decision on the item (a `Decision:` line saying what was chosen and why), and files it `build_ready: true`. A person who disagrees reverses it on the item; nobody had to be interrupted first.
122
123
 
123
124
  **The reason must name the act.** `human_gate: "role-split-triage"` names a topic and is refused; `human_gate: "the production payment-provider secret key only the founder holds"` names an act and is accepted. The check is executable, and every writer runs it before stamping a hold:
124
125
 
@@ -136,7 +137,16 @@ A project that wants a decision class to stay human-only declares it, rather tha
136
137
  { "humanGate": { "humanOnly": ["pricing", "hiring"] } }
137
138
  ```
138
139
 
139
- A reason naming a declared class (as a whole word) is accepted. `.lisa.config.local.json` replaces the list when it sets one. Nothing widens the gate implicitly.
140
+ A reason naming a declared class (as a whole word) is accepted, in either mode. `.lisa.config.local.json` replaces the list when it sets one. Nothing widens the gate implicitly.
141
+
142
+ ### A project can choose the stricter gate
143
+
144
+ `humanGate.mode` sets how wide the gate is. `"access-only"` (the default) is the table above. A project that wants a person in more decisions sets `{ "humanGate": { "mode": "strict" } }`, which restores the older gate:
145
+
146
+ - three more acts count as human gates again: `compliance-signoff` (a HIPAA, GDPR or SOC 2 approval), `accountable-person` (naming an accountable person), and `lisa-policy` (a call Lisa's own policy used to reserve for a person: exploratory-QA findings, learnings promotion and demotion, harness interventions, automation retirement);
147
+ - `dependencies.humanSignOff` defaults to `"default"` (a person ratifies) instead of `"none"`, and `learnings.lowConfidence` defaults to `"human-triage"` instead of `"auto-merge"`.
148
+
149
+ A key the project sets explicitly always wins over the mode. The effective values are printed in the session's `lisa-resolved-config` block.
140
150
 
141
151
  ### Existing invalid holds are lifted, with no person involved
142
152
 
@@ -146,9 +156,9 @@ Holds filed under the old wording keep stalling items, and an operator should ne
146
156
  - removes the `human_needed` marker label;
147
157
  - moves the item to the build-ready role (unless it has since moved to another lifecycle lane).
148
158
 
149
- This is not a forged human release. A release records a person's answer, so it must come from a trusted human. A lift records that the hold was invalid under this contract, so there is nothing for a person to authorize. Its authority comes from re-classifying the hold rather than from who wrote the comment: a lift comment naming a valid hold discharges nothing. Valid holds (a credential, spend, a sign-off) are untouched and still wait for their act. A label-only hold (an access block, a blocked verdict) declares no reason to judge and is never lifted.
159
+ This is not a forged human release. A release records a person's answer, so it must come from a trusted human. A lift records that the hold was invalid under this contract, so there is nothing for a person to authorize. Its authority comes from re-classifying the hold rather than from who wrote the comment: a lift comment naming a valid hold discharges nothing. Valid holds (a credential, spend, a signature) are untouched and still wait for their act. A label-only hold (an access block, a blocked verdict) declares no reason to judge and is never lifted.
150
160
 
151
- Every reader of the hold verdict passes the project's `humanOnly` classes (`humanGate.humanOnly`) alongside `comments` and `trustedHumanActorIds` (`classifyReadyCandidate`, `classifyPreWorkCandidate`, `planHumanGateReconciliation`, `planHumanGateRelease`, `planLabelNormalization`, `planHumanGateLift`). A reader that omits it judges a project-declared hold as invalid, so a lift comment naming that hold would discharge it there.
161
+ Every reader of the hold verdict passes the project's `humanGateMode` (`humanGate.mode`) and `humanOnly` classes (`humanGate.humanOnly`) alongside `comments` and `trustedHumanActorIds` (`classifyReadyCandidate`, `classifyPreWorkCandidate`, `planHumanGateReconciliation`, `planHumanGateRelease`, `planLabelNormalization`, `planHumanGateLift`). A reader that omits either judges a hold that setting makes valid as invalid, so a lift comment naming that hold would discharge it there. `node scripts/human-gate-act.mjs policy` prints the effective `{ "mode", "humanOnly" }`; an invalid mode fails safe to `"strict"` and is reported on stderr.
152
162
 
153
163
  ## Complete defects found during other work are filed build-ready
154
164
 
@@ -160,15 +170,15 @@ The same explicitness applies in the other direction. A filing that genuinely ne
160
170
 
161
171
  A ticket a worker has to file **while building** a dispatched item, because that item was mis-scoped, mis-split, or depends on work nobody filed, is filed exactly as above. It is also evidence that planning let a gap through, and it is routed as such: the filer sends one `planning-miss` candidate through `lisa-persist-learning`, with the item being built (never the new ticket) as `triggering_issue` and the check planning should have run as the rule. `lisa-implement` owns the step and its exclusions (outages, credentials, tool access, flaky tools, and decisions planning flagged as human gates); the judge decides whether it really was a miss. The signal never delays or changes the filing.
162
172
 
163
- ## The named exception: `lisa-exploratory-qa`
173
+ ## The named exception: `lisa-exploratory-qa` (strict mode)
164
174
 
165
- `lisa-exploratory-qa` files its findings **not** build-ready by default, and that is **correct** — it is the named human-gate exception under this rule, not drift to be repaired.
175
+ Under `humanGate.mode: "strict"`, `lisa-exploratory-qa` files its findings **not** build-ready, and that is **correct** — it is the named human-gate exception under this rule, not drift to be repaired. Exploratory QA is a first-time-user experience pass, and in strict mode a person judges each finding's product significance. Its `ready=false` is therefore paired with an explicit `human_gate` reason and stamped with `[lisa-human-gate]` — an explicit human-gate marker, never a bare omission.
166
176
 
167
- Exploratory QA is a first-time-user experience pass. Its findings are *candidate* defects and usability observations whose product significance a human should judge; auto-readying them would push judgment work into the build queue, which is precisely the failure the gate model exists to prevent. Its `ready=false` is therefore paired with an explicit `human_gate` reason and stamped with `[lisa-human-gate]` — an explicit human-gate marker, never a bare omission.
177
+ Under the default `"access-only"` mode the agent makes that significance call itself. It records its judgement on each finding in a `Decision:` line (why it matters, or why it was dropped), files a worthwhile, complete finding `build_ready: true`, and a person can reverse it. An operator-passed `ready=false` is an `operator-hold`, not this exception.
168
178
 
169
179
  The sibling `e2e-coverage-gaps` skills are the contrast: a missing automated test is not a product question, so they file `build_ready: true` by default.
170
180
 
171
- Other legitimate human-gate filings follow the same shape — `lisa-learnings-audit` promotion/demotion tickets, `lisa-improve-harness` intervention proposals, automation-retirement proposals, and provisioning tickets for access a human must grant. Each declares its `human_gate` reason rather than relying on a default.
181
+ Other legitimate human-gate filings follow the same shape. In either mode: provisioning tickets for access the agent lacks (a credential, a login, an access grant), and a promotion ticket whose change lands on a surface declared human-authored (a host's `.agents/rules/`, `PROJECT_RULES.md` or `AGENTS.md`), which no agent writes — an authorship rule, not an access gate. Under `strict` only: `lisa-learnings-audit` promotion/demotion tickets, `lisa-improve-harness` intervention proposals and automation-retirement proposals. Each declares its `human_gate` reason rather than relying on a default.
172
182
 
173
183
  ## This rule is enforced, not merely stated
174
184
 
@@ -226,7 +236,7 @@ Two limits, stated rather than implied, because a control that documents its own
226
236
 
227
237
  ## Recovery
228
238
 
229
- `lisa-repair-intake` sweeps for the failure this rule prevents: recently filed items that are open, not in the configured ready role, and carrying **no** `[lisa-human-gate]` marker. Each is an incomplete handoff — surfaced with its filing context so an operator can promote it or gate it deliberately. The sweep reports rather than guesses: it never silently promotes an item into the queue, because a filing whose readiness nobody declared is exactly the input the gate model says a human should see.
239
+ `lisa-repair-intake` sweeps for the failure this rule prevents: recently filed items that are open, not in the configured ready role, and carrying **no** `[lisa-human-gate]` marker. Each is an incomplete handoff — surfaced with its filing context so it can be promoted or gated deliberately: by the agent acting on the report, which records its reason on the item, or by an operator under `humanGate.mode: "strict"`. The sweep reports rather than guesses: it never silently promotes an item into the queue, because a filing whose readiness nobody declared needs a deliberate, recorded decision rather than a default.
230
240
 
231
241
  ## Related
232
242
 
@@ -5,7 +5,7 @@ alwaysApply: false
5
5
 
6
6
  # Security Audit Handling
7
7
 
8
- If `git push` fails because the pre-push hook reports security vulnerabilities, work the decision ladder below **autonomously**. Only one rung pauses to ask a human. Never use `--no-verify`, `HUSKY=0`, `core.hooksPath`, or any other hook bypass to skip the security audit.
8
+ If `git push` fails because the pre-push hook reports security vulnerabilities, work the decision ladder below **autonomously**. No rung pauses for a human unless the project sets `humanGate.mode: "strict"`. Never use `--no-verify`, `HUSKY=0`, `core.hooksPath`, or any other hook bypass to skip the security audit.
9
9
 
10
10
  ## The decision ladder
11
11
 
@@ -14,10 +14,10 @@ The remediation for any high/critical advisory is a simple, ordered decision —
14
14
  1. **Update the offending package** to a patched version.
15
15
  2. **If that's not possible**, force a resolution/override on the vulnerable leaf package.
16
16
  3. **If that's not possible**, evaluate whether the advisory actually affects the project.
17
- 4. **If it affects the project** (and 1 and 2 weren't possible), ask a human what to do.
17
+ 4. **If it affects the project** (and 1 and 2 weren't possible), decide yourself: mitigate it, or accept the risk with your reasoning and an expiry recorded. Under `humanGate.mode: "strict"`, ask a human instead.
18
18
  5. **If it doesn't affect the project**, add it to the ignore list yourself.
19
19
 
20
- Steps 1, 2, 3, and 5 are autonomous. Do not stop and ask the user except at step 4, and only after you have genuinely attempted steps 1 and 2 and performed the step-3 evaluation.
20
+ Every step is autonomous by default. Take step 4 only after you have genuinely attempted steps 1 and 2 and performed the step-3 evaluation; under `strict`, it is the one step that asks the user.
21
21
 
22
22
  ## Node.js Projects (GHSA advisories)
23
23
 
@@ -26,7 +26,10 @@ Steps 1, 2, 3, and 5 are autonomous. Do not stop and ask the user except at step
26
26
  3. **Step 1 — update:** If a patched version exists and is compatible, add a resolution/override in `package.json` to force the patched version (add to **both** `resolutions` and `overrides`), run the package manager install to regenerate the lockfile, commit, and retry the push.
27
27
  4. **Step 2 — force override:** If no straight upgrade lands the patched version but a compatible patched version exists somewhere on the graph, pin it via `resolutions` + `overrides` on the **leaf** package (see "Override the vulnerable package, not its parent" below), regenerate the lockfile, commit, and retry.
28
28
  5. **Step 3 — evaluate impact:** If neither an upgrade nor an override is possible (no fixed version exists, or every compatible pin breaks a dependent), determine whether the vulnerability actually affects this project. Consider: is the vulnerable code path reachable from this project's usage? Does it process untrusted input? Is the dependency runtime, or dev/build-only? Record the conclusion.
29
- 6. **Step 4 — escalate:** If the evaluation shows the vulnerability **does** affect the project and neither step 1 nor step 2 was possible, ask the user what to do. This is the only step that pauses for a human.
29
+ 6. **Step 4 — decide:** If the evaluation shows the vulnerability **does** affect the project and neither step 1 nor step 2 was possible, make the call yourself and record it on the work item so a person can reverse it:
30
+ - **Mitigate** if you can: replace or remove the vulnerable package, or guard the reachable code path so untrusted input cannot reach it, then retry.
31
+ - **Otherwise accept the risk**: add an exclusion entry (as in step 5) whose `reason` records the impact, why no fix or mitigation is possible now, and an expiry date, and file a build-ready follow-up work item to remove the exclusion when a fix ships.
32
+ - Under `humanGate.mode: "strict"`, ask the user what to do instead. That is the only step that pauses for a human in strict mode.
30
33
  7. **Step 5 — ignore:** If the evaluation shows the vulnerability **does not** affect the project, add an exclusion entry to `audit.ignore.local.json` yourself, in the format `{"id": "GHSA-xxx", "package": "pkg-name", "reason": "<impact evaluation: why this advisory does not affect this project>"}`, then commit and retry the push. No human approval is required for this step — the `reason` field is the record of your evaluation.
31
34
  - **Scope the exclusion to the copy you evaluated.** An entry with only `id` (and `package`) hides the advisory for every copy of the package, including one a production dependency pulls in later. Two optional fields narrow it, and every field present must hold together:
32
35
  - `versions` — a semver range the excused installed copies must fall inside, such as `">=3.0.0 <4.0.0"`.
@@ -54,7 +57,7 @@ If any of these checks fail, the override is "not possible" for the purposes of
54
57
  ### Never
55
58
 
56
59
  - Never add a blanket audit bypass or lower the configured audit level.
57
- - Never jump to step 4 (ask a human) before genuinely attempting steps 1–3.
60
+ - Never jump to step 4 (decide or, under `strict`, ask a human) before genuinely attempting steps 1–3.
58
61
  - Never add a step-5 ignore entry without an impact evaluation recorded in its `reason`.
59
62
 
60
63
  ## Rails Projects (bundler-audit)
@@ -66,4 +69,4 @@ Same ladder, bundler mechanics:
66
69
  3. **Step 1 — update:** If a patched version exists:
67
70
  - **Direct dependency** (in Gemfile): update its version constraint, run `bundle update <gem>`, commit, retry.
68
71
  - **Transitive dependency** (only in Gemfile.lock): run `bundle update <gem>` to pull the patched version without changing the Gemfile, commit the lockfile change, retry.
69
- 4. **Steps 3–5 — no patch:** If no patched version exists, evaluate whether the advisory affects the project. If it **does** and no fix is possible, ask the user (step 4). If it **does not**, document the exception and retry (step 5).
72
+ 4. **Steps 3–5 — no patch:** If no patched version exists, evaluate whether the advisory affects the project. If it **does** and no fix is possible, decide it yourself (step 4; ask the user under `strict`). If it **does not**, document the exception and retry (step 5).
@@ -5,7 +5,7 @@ alwaysApply: true
5
5
 
6
6
  # Security Audit Handling (load-bearing)
7
7
 
8
- If `git push` fails because the pre-push hook reports security vulnerabilities, work the decision ladder below **autonomously**, stopping to ask the user only at the one rung that requires it. **Never use `--no-verify`**, `HUSKY=0`, `core.hooksPath`, or any other hook bypass to skip the security audit.
8
+ If `git push` fails because the pre-push hook reports security vulnerabilities, work the decision ladder below **autonomously**. **Never use `--no-verify`**, `HUSKY=0`, `core.hooksPath`, or any other hook bypass to skip the security audit.
9
9
 
10
10
  ## Decision ladder (do not skip rungs)
11
11
 
@@ -14,8 +14,8 @@ For each high/critical advisory the gate reports, take the **first** action that
14
14
  1. **Update the offending package.** Upgrade the actually-vulnerable leaf package to a patched compatible version, regenerate the lockfile, retry the gate. Done.
15
15
  2. **If an upgrade isn't possible** (no compatible patched version on the dependency graph): **force a resolution/override** on the vulnerable leaf package (both `resolutions` and `overrides`), regenerate the lockfile, retry. Done.
16
16
  3. **If an override isn't possible either** (would break a dependent, or no fixed version exists anywhere): **evaluate whether the advisory actually affects this project** — is the vulnerable code path reachable, does it process untrusted input, is it runtime vs. dev/build-only?
17
- 4. **If it does affect the project** and neither (1) nor (2) was possible: **ask a human** what to do. This is the only rung that pauses for a person.
18
- 5. **If it does not affect the project**: **add a documented exclusion yourself** to `audit.ignore.local.json` (`id`, `package`, `reason` = impact evaluation; dev-only copy: add `versions`, `paths`; see https://github.com/CodySwannGT/lisa/blob/main/docs/dependency-audit-exclusions.md), commit, retry. No human approval needed.
17
+ 4. **If it does affect the project** and neither (1) nor (2) was possible: **decide yourself**: mitigate, or accept it via step 5 with an expiry and a follow-up ticket. Strict `humanGate.mode` asks a human.
18
+ 5. **If it does not affect the project**: **add a documented exclusion yourself** to `audit.ignore.local.json` (`id`, `package`, `reason` = impact evaluation; dev-only copy: add `versions`, `paths`; see https://github.com/CodySwannGT/lisa/blob/main/docs/dependency-audit-exclusions.md), commit, retry.
19
19
 
20
20
  ## Core override rule
21
21
 
@@ -33,11 +33,11 @@ If those checks fail, the override is "not possible" — drop to step 3.
33
33
  ## Never
34
34
 
35
35
  - Never add a blanket audit bypass or lower the configured audit level.
36
- - Never escalate to a human (step 4) before genuinely attempting steps 1–3.
36
+ - Never take step 4 before genuinely attempting steps 1–3.
37
37
  - Never add an ignore entry (step 5) without an impact evaluation recorded in its `reason`. (`lisa doctor` flags an exclusion with no written decision; the audit itself does not read `reason`.)
38
38
 
39
39
  ## Rails (bundler-audit)
40
40
 
41
- Same ladder. Note advisory ID, gem, URL. (1) Direct dep with patch → update Gemfile constraint, `bundle update <gem>`, retry. (2) Transitive with patch → `bundle update <gem>` to bump the lockfile only, retry. (3) No patch → evaluate impact. (4) Affects the project → ask a human. (5) Doesn't affect → document the exception, retry.
41
+ Same ladder. Note advisory ID, gem, URL. (1) Direct dep with patch → update Gemfile constraint, `bundle update <gem>`, retry. (2) Transitive with patch → `bundle update <gem>` to bump the lockfile only, retry. (3) No patch → evaluate impact. (4) Affects it → step 4. (5) Doesn't affect → document the exception, retry.
42
42
 
43
43
  Full procedure with examples: [reference/security-audit-handling.md](security-audit-handling-reference.mdc).
@@ -79,9 +79,34 @@ Each direct usage entry records one logical Lisa run or sub-run on one artifact.
79
79
  | `currency` | ISO currency code when `cost` is known, otherwise `null`. |
80
80
  | `pricing_status` | `observed`, `estimated`, `missing`, or `unavailable`. |
81
81
  | `pricing_source` | Runtime billing source, config/pricing snapshot ref, or `null`. |
82
- | `artifact_ref` | Canonical ref of the artifact carrying the entry. |
82
+ | `artifact_ref` | Canonical ref of the artifact carrying the entry, in the per-provider grammar below. |
83
83
  | `parent_artifact_ref` | Canonical parent artifact ref when the entry is attached below a parent, otherwise empty. |
84
84
 
85
+ ### `artifact_ref` grammar
86
+
87
+ The completion proof finds a work item's Verify entry by its `artifact_ref`. Writers are required
88
+ to produce exactly one form per provider:
89
+
90
+ | Provider | Form | Example |
91
+ |---|---|---|
92
+ | GitHub | `github:<owner>/<repo>#<N>` | `github:acme/code#42` |
93
+ | Linear | `linear:<workspace>/<KEY-N>` | `linear:acme/ENG-11` |
94
+ | Jira | bare `<KEY-N>` | `ENG-11` |
95
+
96
+ The reader is a little more tolerant than the writer: it also accepts a bare `<KEY-N>` for Linear
97
+ (and `<owner>/<repo>#<N>` or the issue URL for GitHub). It never accepts a short `linear:<KEY-N>`,
98
+ and it compares case-sensitively against the uppercase issue identifier.
99
+
100
+ The Linear `<workspace>` must equal the `linear.workspace` key in `.lisa.config.json` exactly,
101
+ including case. The writer checks only the shape, not the value: it cannot see the config. The
102
+ writer (`renderLisaUsageEntryToken`, `renderLisaUsageSection`, `upsertLisaUsageSection`) refuses a
103
+ short `linear:<KEY-N>`, a lowercase key, a workspace containing `/` or whitespace, or any other
104
+ `linear:` ref that is not `linear:<workspace>/<KEY-N>`, with an error naming the required form: the
105
+ reader would otherwise reject that entry later as absent. Refs for other providers are written
106
+ unchanged. `renderLisaUsageSection` validates every entry it is given; `upsertLisaUsageSection`
107
+ validates only new entries, so a legacy short-form row already stored in a section is preserved on
108
+ rewrite, and upserting the qualified entry with the same `entry_id` repairs it.
109
+
85
110
  `entry_id` must be stable across rewrites of the same logical run. Rewriting an existing entry with the same `entry_id` updates it in place. A different run gets a different `entry_id` and is appended as a new direct entry.
86
111
 
87
112
  ## Source semantics
@@ -141,6 +166,9 @@ extension. Writers serialize an omitted value as `null` instead of `undefined`:
141
166
  <!-- lisa:usage-entry-measured-subset entry_id=<id> measured_subset_tokens=<n|null> -->
142
167
  ```
143
168
 
169
+ `artifact_ref=<ref>` carries the percent-encoded ref in the grammar above, for example
170
+ `artifact_ref=linear%3Aacme%2FENG-11`.
171
+
144
172
  The primary field order is fixed and deliberately matches the pre-measured-subset contract so
145
173
  legacy 17-field readers continue to enumerate entries. Current readers correlate the extension by
146
174
  its percent-encoded `entry_id`. They also accept the `@codyswann/lisa@2.222.0` transitional marker,
@@ -34,8 +34,10 @@
34
34
  * we needed is cancelled" into "we are unblocked", which is the same wrong-write
35
35
  * family as CodySwannGT/lisa#3479, where a reason-blind repair would have
36
36
  * stamped a production terminal on abandoned work. So an abandoned blocker
37
- * ESCALATES to a human rather than dissolving or silently holding forever:
38
- * somebody has to decide whether the dependent still makes sense.
37
+ * ESCALATES rather than dissolving or silently holding forever: someone has
38
+ * to decide whether the dependent still makes sense, and who decides follows
39
+ * `humanGate.mode` — the agent under `access-only`, a person under `strict`
40
+ * (see the session manager's `reconcile.mjs`).
39
41
  *
40
42
  * ## What this module does not decide
41
43
  *
@@ -77,8 +79,9 @@ export function resolveBlockerEdge(input = {}) {
77
79
 
78
80
  // Checked BEFORE containment, because an abandoned blocker whose branch
79
81
  // happens to contain some earlier commit of its own is still abandoned. The
80
- // question a human has to answer is whether the dependent still makes sense,
81
- // and a containment true would silently answer it for them.
82
+ // open question is whether the dependent still makes sense — answered by the
83
+ // agent or a person as `humanGate.mode` says — and a containment true would
84
+ // silently answer it for them.
82
85
  if (state === "closed" && reason === NOT_PLANNED) {
83
86
  return {
84
87
  action: "escalate",
@@ -86,7 +89,8 @@ export function resolveBlockerEdge(input = {}) {
86
89
  "the blocker was closed as NOT PLANNED, so the work this item depends on will never be " +
87
90
  "delivered. Dissolving the edge would read as 'unblocked' when nothing was built, and " +
88
91
  "holding it forever hides a decision somebody has to make: does this item still make sense " +
89
- "without its blocker? That is a human call, not a sweep's.",
92
+ "without its blocker? That is a decision to make and record, not one a sweep may " +
93
+ "round away; who makes it follows humanGate.mode.",
90
94
  };
91
95
  }
92
96