@codyswann/lisa 4.109.2 → 4.110.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (492) hide show
  1. package/all/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
  2. package/all/copy-overwrite/scripts/lisa-hooks/block-direct-issue-create.sh +10 -5
  3. package/all/copy-overwrite/scripts/lisa-hooks/block-no-verify.sh +4 -3
  4. package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +2 -2
  5. package/all/create-only/.agents/rules/README.md +3 -2
  6. package/all/create-only/.lisa/ACCOUNTABILITY.md +16 -10
  7. package/all/create-only/.lisa/DEPENDENCY_DECISIONS.md +15 -12
  8. package/dist/codex/scripts/block-no-verify.sh +1 -1
  9. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  10. package/dist/core/lisa-owned-hash-ledger.js +18 -0
  11. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  12. package/dist/core/lisa.d.ts +4 -3
  13. package/dist/core/lisa.d.ts.map +1 -1
  14. package/dist/core/lisa.js +12 -5
  15. package/dist/core/lisa.js.map +1 -1
  16. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  17. package/dist/core/project-config-dependencies.d.ts +29 -8
  18. package/dist/core/project-config-dependencies.d.ts.map +1 -1
  19. package/dist/core/project-config-dependencies.js +55 -15
  20. package/dist/core/project-config-dependencies.js.map +1 -1
  21. package/dist/core/project-config-human-gate.d.ts +105 -0
  22. package/dist/core/project-config-human-gate.d.ts.map +1 -0
  23. package/dist/core/project-config-human-gate.js +178 -0
  24. package/dist/core/project-config-human-gate.js.map +1 -0
  25. package/dist/core/project-config-learnings.d.ts +28 -9
  26. package/dist/core/project-config-learnings.d.ts.map +1 -1
  27. package/dist/core/project-config-learnings.js +51 -13
  28. package/dist/core/project-config-learnings.js.map +1 -1
  29. package/dist/core/project-config.d.ts +13 -3
  30. package/dist/core/project-config.d.ts.map +1 -1
  31. package/dist/core/project-config.js +6 -2
  32. package/dist/core/project-config.js.map +1 -1
  33. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  34. package/dist/core/upstream-evidence-manifest.js +84 -69
  35. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  36. package/dist/opencode/plugin-templates/block-no-verify.sh +4 -3
  37. package/dist/opencode/plugin-templates/lisa-block-direct-issue-create.ts +10 -4
  38. package/dist/utils/usage-accounting.d.ts +13 -0
  39. package/dist/utils/usage-accounting.d.ts.map +1 -1
  40. package/dist/utils/usage-accounting.js +67 -4
  41. package/dist/utils/usage-accounting.js.map +1 -1
  42. package/dist/utils/usage-artifact-ref.d.ts +30 -0
  43. package/dist/utils/usage-artifact-ref.d.ts.map +1 -0
  44. package/dist/utils/usage-artifact-ref.js +55 -0
  45. package/dist/utils/usage-artifact-ref.js.map +1 -0
  46. package/package.json +4 -4
  47. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  49. package/plugins/lisa/.codex-plugin/scripts/blocker-edge-resolution.mjs +9 -5
  50. package/plugins/lisa/.codex-plugin/scripts/human-gate-act.mjs +278 -0
  51. package/plugins/lisa/.codex-plugin/scripts/intake-blocker-reprobe.mjs +215 -39
  52. package/plugins/lisa/.codex-plugin/scripts/ready-queue-order.mjs +9 -3
  53. package/plugins/lisa/.codex-plugin/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  54. package/plugins/lisa/.codex-plugin/skills/lisa-debrief-apply/SKILL.md +4 -4
  55. package/plugins/lisa/.codex-plugin/skills/lisa-debrief-apply/agents/openai.yaml +2 -2
  56. package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  57. package/plugins/lisa/.codex-plugin/skills/lisa-exploratory-qa/SKILL.md +23 -12
  58. package/plugins/lisa/.codex-plugin/skills/lisa-github-build-intake/SKILL.md +14 -9
  59. package/plugins/lisa/.codex-plugin/skills/lisa-github-to-tracker/SKILL.md +1 -1
  60. package/plugins/lisa/.codex-plugin/skills/lisa-github-write-issue/SKILL.md +2 -2
  61. package/plugins/lisa/.codex-plugin/skills/lisa-improve-harness/SKILL.md +24 -7
  62. package/plugins/lisa/.codex-plugin/skills/lisa-jira-build-intake/SKILL.md +14 -10
  63. package/plugins/lisa/.codex-plugin/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  64. package/plugins/lisa/.codex-plugin/skills/lisa-learnings-audit/SKILL.md +64 -32
  65. package/plugins/lisa/.codex-plugin/skills/lisa-linear-build-intake/SKILL.md +9 -9
  66. package/plugins/lisa/.codex-plugin/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  67. package/plugins/lisa/.codex-plugin/skills/lisa-linear-write-issue/SKILL.md +5 -5
  68. package/plugins/lisa/.codex-plugin/skills/lisa-monitor/SKILL.md +10 -4
  69. package/plugins/lisa/.codex-plugin/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  70. package/plugins/lisa/.codex-plugin/skills/lisa-persist-learning/SKILL.md +5 -5
  71. package/plugins/lisa/.codex-plugin/skills/lisa-project-ideation/SKILL.md +10 -4
  72. package/plugins/lisa/.codex-plugin/skills/lisa-repair-intake/SKILL.md +24 -13
  73. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/SKILL.md +19 -2
  74. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/references/runbook-template.md +8 -4
  75. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  76. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  77. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  78. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  79. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  80. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  81. package/plugins/lisa/.codex-plugin/skills/lisa-setup-automations/SKILL.md +7 -5
  82. package/plugins/lisa/.codex-plugin/skills/lisa-track/SKILL.md +3 -3
  83. package/plugins/lisa/.codex-plugin/skills/lisa-usage-accounting/SKILL.md +5 -1
  84. package/plugins/lisa/agents/learning-judge.md +5 -5
  85. package/plugins/lisa/agents/skill-evaluator.md +4 -4
  86. package/plugins/lisa/commands/debrief/apply.md +1 -1
  87. package/plugins/lisa/commands/learnings/audit.md +2 -2
  88. package/plugins/lisa/commands/persist-learning.md +1 -1
  89. package/plugins/lisa/hooks/block-direct-issue-create.sh +10 -5
  90. package/plugins/lisa/hooks/block-no-verify.agy.sh +1 -1
  91. package/plugins/lisa/hooks/block-no-verify.sh +4 -3
  92. package/plugins/lisa/hooks/inject-resolved-config.mjs +236 -14
  93. package/plugins/lisa/hooks/threshold-ratchet.mjs +4 -2
  94. package/plugins/lisa/rules/eager/base-rules.md +1 -1
  95. package/plugins/lisa/rules/eager/do-it-now.md +2 -2
  96. package/plugins/lisa/rules/eager/learnings-ladder.md +1 -1
  97. package/plugins/lisa/rules/eager/security-audit-handling.md +5 -5
  98. package/plugins/lisa/rules/reference/automation-runbook-contract.md +37 -22
  99. package/plugins/lisa/rules/reference/base-rules.md +1 -1
  100. package/plugins/lisa/rules/reference/config-resolution.md +7 -6
  101. package/plugins/lisa/rules/reference/dependency-trust-classes.md +28 -18
  102. package/plugins/lisa/rules/reference/factory-model.md +17 -8
  103. package/plugins/lisa/rules/reference/intent-routing.md +3 -3
  104. package/plugins/lisa/rules/reference/learnings-ladder.md +1 -1
  105. package/plugins/lisa/rules/reference/promotion-contract.md +5 -2
  106. package/plugins/lisa/rules/reference/ready-role-filing.md +32 -22
  107. package/plugins/lisa/rules/reference/security-audit-handling.md +9 -6
  108. package/plugins/lisa/rules/reference/usage-accounting.md +29 -1
  109. package/plugins/lisa/scripts/blocker-edge-resolution.mjs +9 -5
  110. package/plugins/lisa/scripts/human-gate-act.mjs +104 -8
  111. package/plugins/lisa/scripts/human-gate-lift.mjs +14 -7
  112. package/plugins/lisa/scripts/intake-blocker-reprobe.mjs +215 -39
  113. package/plugins/lisa/scripts/ready-queue-order.mjs +9 -3
  114. package/plugins/lisa/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  115. package/plugins/lisa/skills/lisa-debrief-apply/SKILL.md +3 -3
  116. package/plugins/lisa/skills/lisa-debrief-apply/agents/openai.yaml +2 -2
  117. package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  118. package/plugins/lisa/skills/lisa-exploratory-qa/SKILL.md +23 -12
  119. package/plugins/lisa/skills/lisa-github-build-intake/SKILL.md +14 -9
  120. package/plugins/lisa/skills/lisa-github-to-tracker/SKILL.md +1 -1
  121. package/plugins/lisa/skills/lisa-github-write-issue/SKILL.md +2 -2
  122. package/plugins/lisa/skills/lisa-improve-harness/SKILL.md +24 -7
  123. package/plugins/lisa/skills/lisa-jira-build-intake/SKILL.md +14 -10
  124. package/plugins/lisa/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  125. package/plugins/lisa/skills/lisa-learnings-audit/SKILL.md +64 -32
  126. package/plugins/lisa/skills/lisa-linear-build-intake/SKILL.md +9 -9
  127. package/plugins/lisa/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  128. package/plugins/lisa/skills/lisa-linear-write-issue/SKILL.md +5 -5
  129. package/plugins/lisa/skills/lisa-monitor/SKILL.md +10 -4
  130. package/plugins/lisa/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  131. package/plugins/lisa/skills/lisa-persist-learning/SKILL.md +5 -5
  132. package/plugins/lisa/skills/lisa-project-ideation/SKILL.md +10 -4
  133. package/plugins/lisa/skills/lisa-repair-intake/SKILL.md +24 -13
  134. package/plugins/lisa/skills/lisa-session-manager/SKILL.md +19 -2
  135. package/plugins/lisa/skills/lisa-session-manager/references/runbook-template.md +8 -4
  136. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  137. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  138. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  139. package/plugins/lisa/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  140. package/plugins/lisa/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  141. package/plugins/lisa/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  142. package/plugins/lisa/skills/lisa-setup-automations/SKILL.md +7 -5
  143. package/plugins/lisa/skills/lisa-track/SKILL.md +3 -3
  144. package/plugins/lisa/skills/lisa-usage-accounting/SKILL.md +5 -1
  145. package/plugins/lisa-agy/agents/learning-judge.md +5 -5
  146. package/plugins/lisa-agy/agents/skill-evaluator.md +4 -4
  147. package/plugins/lisa-agy/commands/lisa/debrief/apply.md +1 -1
  148. package/plugins/lisa-agy/commands/lisa/learnings/audit.md +2 -2
  149. package/plugins/lisa-agy/commands/lisa/persist-learning.md +1 -1
  150. package/plugins/lisa-agy/hooks/block-direct-issue-create.sh +10 -5
  151. package/plugins/lisa-agy/hooks/block-no-verify.agy.sh +1 -1
  152. package/plugins/lisa-agy/plugin.json +1 -1
  153. package/plugins/lisa-agy/scripts/blocker-edge-resolution.mjs +9 -5
  154. package/plugins/lisa-agy/scripts/human-gate-act.mjs +104 -8
  155. package/plugins/lisa-agy/scripts/human-gate-lift.mjs +14 -7
  156. package/plugins/lisa-agy/scripts/intake-blocker-reprobe.mjs +215 -39
  157. package/plugins/lisa-agy/scripts/ready-queue-order.mjs +9 -3
  158. package/plugins/lisa-agy/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  159. package/plugins/lisa-agy/skills/lisa-debrief-apply/SKILL.md +3 -3
  160. package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  161. package/plugins/lisa-agy/skills/lisa-exploratory-qa/SKILL.md +23 -12
  162. package/plugins/lisa-agy/skills/lisa-github-build-intake/SKILL.md +14 -9
  163. package/plugins/lisa-agy/skills/lisa-github-to-tracker/SKILL.md +1 -1
  164. package/plugins/lisa-agy/skills/lisa-github-write-issue/SKILL.md +2 -2
  165. package/plugins/lisa-agy/skills/lisa-improve-harness/SKILL.md +24 -7
  166. package/plugins/lisa-agy/skills/lisa-jira-build-intake/SKILL.md +14 -10
  167. package/plugins/lisa-agy/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  168. package/plugins/lisa-agy/skills/lisa-learnings-audit/SKILL.md +64 -32
  169. package/plugins/lisa-agy/skills/lisa-linear-build-intake/SKILL.md +9 -9
  170. package/plugins/lisa-agy/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  171. package/plugins/lisa-agy/skills/lisa-linear-write-issue/SKILL.md +5 -5
  172. package/plugins/lisa-agy/skills/lisa-monitor/SKILL.md +10 -4
  173. package/plugins/lisa-agy/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  174. package/plugins/lisa-agy/skills/lisa-persist-learning/SKILL.md +5 -5
  175. package/plugins/lisa-agy/skills/lisa-project-ideation/SKILL.md +10 -4
  176. package/plugins/lisa-agy/skills/lisa-repair-intake/SKILL.md +24 -13
  177. package/plugins/lisa-agy/skills/lisa-session-manager/SKILL.md +19 -2
  178. package/plugins/lisa-agy/skills/lisa-session-manager/references/runbook-template.md +8 -4
  179. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  180. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  181. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  182. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  183. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  184. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  185. package/plugins/lisa-agy/skills/lisa-setup-automations/SKILL.md +7 -5
  186. package/plugins/lisa-agy/skills/lisa-track/SKILL.md +3 -3
  187. package/plugins/lisa-agy/skills/lisa-usage-accounting/SKILL.md +5 -1
  188. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  189. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  190. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  191. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  192. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  193. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  194. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  195. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  196. package/plugins/lisa-copilot/agents/learning-judge.agent.md +5 -5
  197. package/plugins/lisa-copilot/agents/skill-evaluator.agent.md +4 -4
  198. package/plugins/lisa-copilot/commands/lisa/debrief/apply.md +1 -1
  199. package/plugins/lisa-copilot/commands/lisa/learnings/audit.md +2 -2
  200. package/plugins/lisa-copilot/commands/lisa/persist-learning.md +1 -1
  201. package/plugins/lisa-copilot/hooks/block-direct-issue-create.sh +10 -5
  202. package/plugins/lisa-copilot/hooks/block-no-verify.sh +4 -3
  203. package/plugins/lisa-copilot/hooks/inject-resolved-config.mjs +236 -14
  204. package/plugins/lisa-copilot/hooks/threshold-ratchet.mjs +4 -2
  205. package/plugins/lisa-copilot/rules/eager/base-rules.md +1 -1
  206. package/plugins/lisa-copilot/rules/eager/do-it-now.md +2 -2
  207. package/plugins/lisa-copilot/rules/eager/learnings-ladder.md +1 -1
  208. package/plugins/lisa-copilot/rules/eager/security-audit-handling.md +5 -5
  209. package/plugins/lisa-copilot/rules/reference/automation-runbook-contract.md +37 -22
  210. package/plugins/lisa-copilot/rules/reference/base-rules.md +1 -1
  211. package/plugins/lisa-copilot/rules/reference/config-resolution.md +7 -6
  212. package/plugins/lisa-copilot/rules/reference/dependency-trust-classes.md +28 -18
  213. package/plugins/lisa-copilot/rules/reference/factory-model.md +17 -8
  214. package/plugins/lisa-copilot/rules/reference/intent-routing.md +3 -3
  215. package/plugins/lisa-copilot/rules/reference/learnings-ladder.md +1 -1
  216. package/plugins/lisa-copilot/rules/reference/promotion-contract.md +5 -2
  217. package/plugins/lisa-copilot/rules/reference/ready-role-filing.md +32 -22
  218. package/plugins/lisa-copilot/rules/reference/security-audit-handling.md +9 -6
  219. package/plugins/lisa-copilot/rules/reference/usage-accounting.md +29 -1
  220. package/plugins/lisa-copilot/scripts/blocker-edge-resolution.mjs +9 -5
  221. package/plugins/lisa-copilot/scripts/human-gate-act.mjs +104 -8
  222. package/plugins/lisa-copilot/scripts/human-gate-lift.mjs +14 -7
  223. package/plugins/lisa-copilot/scripts/intake-blocker-reprobe.mjs +215 -39
  224. package/plugins/lisa-copilot/scripts/ready-queue-order.mjs +9 -3
  225. package/plugins/lisa-copilot/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  226. package/plugins/lisa-copilot/skills/lisa-debrief-apply/SKILL.md +3 -3
  227. package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  228. package/plugins/lisa-copilot/skills/lisa-exploratory-qa/SKILL.md +23 -12
  229. package/plugins/lisa-copilot/skills/lisa-github-build-intake/SKILL.md +14 -9
  230. package/plugins/lisa-copilot/skills/lisa-github-to-tracker/SKILL.md +1 -1
  231. package/plugins/lisa-copilot/skills/lisa-github-write-issue/SKILL.md +2 -2
  232. package/plugins/lisa-copilot/skills/lisa-improve-harness/SKILL.md +24 -7
  233. package/plugins/lisa-copilot/skills/lisa-jira-build-intake/SKILL.md +14 -10
  234. package/plugins/lisa-copilot/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  235. package/plugins/lisa-copilot/skills/lisa-learnings-audit/SKILL.md +64 -32
  236. package/plugins/lisa-copilot/skills/lisa-linear-build-intake/SKILL.md +9 -9
  237. package/plugins/lisa-copilot/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  238. package/plugins/lisa-copilot/skills/lisa-linear-write-issue/SKILL.md +5 -5
  239. package/plugins/lisa-copilot/skills/lisa-monitor/SKILL.md +10 -4
  240. package/plugins/lisa-copilot/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  241. package/plugins/lisa-copilot/skills/lisa-persist-learning/SKILL.md +5 -5
  242. package/plugins/lisa-copilot/skills/lisa-project-ideation/SKILL.md +10 -4
  243. package/plugins/lisa-copilot/skills/lisa-repair-intake/SKILL.md +24 -13
  244. package/plugins/lisa-copilot/skills/lisa-session-manager/SKILL.md +19 -2
  245. package/plugins/lisa-copilot/skills/lisa-session-manager/references/runbook-template.md +8 -4
  246. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  247. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  248. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  249. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  250. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  251. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  252. package/plugins/lisa-copilot/skills/lisa-setup-automations/SKILL.md +7 -5
  253. package/plugins/lisa-copilot/skills/lisa-track/SKILL.md +3 -3
  254. package/plugins/lisa-copilot/skills/lisa-usage-accounting/SKILL.md +5 -1
  255. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  256. package/plugins/lisa-cursor/agents/learning-judge.md +5 -5
  257. package/plugins/lisa-cursor/agents/skill-evaluator.md +4 -4
  258. package/plugins/lisa-cursor/commands/lisa/debrief/apply.md +1 -1
  259. package/plugins/lisa-cursor/commands/lisa/learnings/audit.md +2 -2
  260. package/plugins/lisa-cursor/commands/lisa/persist-learning.md +1 -1
  261. package/plugins/lisa-cursor/hooks/block-direct-issue-create.sh +10 -5
  262. package/plugins/lisa-cursor/hooks/block-no-verify.sh +4 -3
  263. package/plugins/lisa-cursor/hooks/inject-resolved-config.mjs +236 -14
  264. package/plugins/lisa-cursor/hooks/threshold-ratchet.mjs +4 -2
  265. package/plugins/lisa-cursor/rules/automation-runbook-contract-reference.mdc +37 -22
  266. package/plugins/lisa-cursor/rules/base-rules-reference.mdc +1 -1
  267. package/plugins/lisa-cursor/rules/base-rules.mdc +1 -1
  268. package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +7 -6
  269. package/plugins/lisa-cursor/rules/dependency-trust-classes-reference.mdc +28 -18
  270. package/plugins/lisa-cursor/rules/do-it-now.mdc +2 -2
  271. package/plugins/lisa-cursor/rules/factory-model-reference.mdc +17 -8
  272. package/plugins/lisa-cursor/rules/intent-routing-reference.mdc +3 -3
  273. package/plugins/lisa-cursor/rules/learnings-ladder-reference.mdc +1 -1
  274. package/plugins/lisa-cursor/rules/learnings-ladder.mdc +1 -1
  275. package/plugins/lisa-cursor/rules/promotion-contract-reference.mdc +5 -2
  276. package/plugins/lisa-cursor/rules/ready-role-filing-reference.mdc +32 -22
  277. package/plugins/lisa-cursor/rules/security-audit-handling-reference.mdc +9 -6
  278. package/plugins/lisa-cursor/rules/security-audit-handling.mdc +5 -5
  279. package/plugins/lisa-cursor/rules/usage-accounting-reference.mdc +29 -1
  280. package/plugins/lisa-cursor/scripts/blocker-edge-resolution.mjs +9 -5
  281. package/plugins/lisa-cursor/scripts/human-gate-act.mjs +104 -8
  282. package/plugins/lisa-cursor/scripts/human-gate-lift.mjs +14 -7
  283. package/plugins/lisa-cursor/scripts/intake-blocker-reprobe.mjs +215 -39
  284. package/plugins/lisa-cursor/scripts/ready-queue-order.mjs +9 -3
  285. package/plugins/lisa-cursor/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  286. package/plugins/lisa-cursor/skills/lisa-debrief-apply/SKILL.md +3 -3
  287. package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  288. package/plugins/lisa-cursor/skills/lisa-exploratory-qa/SKILL.md +23 -12
  289. package/plugins/lisa-cursor/skills/lisa-github-build-intake/SKILL.md +14 -9
  290. package/plugins/lisa-cursor/skills/lisa-github-to-tracker/SKILL.md +1 -1
  291. package/plugins/lisa-cursor/skills/lisa-github-write-issue/SKILL.md +2 -2
  292. package/plugins/lisa-cursor/skills/lisa-improve-harness/SKILL.md +24 -7
  293. package/plugins/lisa-cursor/skills/lisa-jira-build-intake/SKILL.md +14 -10
  294. package/plugins/lisa-cursor/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  295. package/plugins/lisa-cursor/skills/lisa-learnings-audit/SKILL.md +64 -32
  296. package/plugins/lisa-cursor/skills/lisa-linear-build-intake/SKILL.md +9 -9
  297. package/plugins/lisa-cursor/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  298. package/plugins/lisa-cursor/skills/lisa-linear-write-issue/SKILL.md +5 -5
  299. package/plugins/lisa-cursor/skills/lisa-monitor/SKILL.md +10 -4
  300. package/plugins/lisa-cursor/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  301. package/plugins/lisa-cursor/skills/lisa-persist-learning/SKILL.md +5 -5
  302. package/plugins/lisa-cursor/skills/lisa-project-ideation/SKILL.md +10 -4
  303. package/plugins/lisa-cursor/skills/lisa-repair-intake/SKILL.md +24 -13
  304. package/plugins/lisa-cursor/skills/lisa-session-manager/SKILL.md +19 -2
  305. package/plugins/lisa-cursor/skills/lisa-session-manager/references/runbook-template.md +8 -4
  306. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  307. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  308. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  309. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  310. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  311. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  312. package/plugins/lisa-cursor/skills/lisa-setup-automations/SKILL.md +7 -5
  313. package/plugins/lisa-cursor/skills/lisa-track/SKILL.md +3 -3
  314. package/plugins/lisa-cursor/skills/lisa-usage-accounting/SKILL.md +5 -1
  315. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  316. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  317. package/plugins/lisa-devin/agents/learning-judge.md +5 -5
  318. package/plugins/lisa-devin/agents/skill-evaluator.md +4 -4
  319. package/plugins/lisa-devin/hooks/block-direct-issue-create.sh +10 -5
  320. package/plugins/lisa-devin/hooks/block-no-verify.sh +4 -3
  321. package/plugins/lisa-devin/hooks/inject-resolved-config.mjs +236 -14
  322. package/plugins/lisa-devin/hooks/threshold-ratchet.mjs +4 -2
  323. package/plugins/lisa-devin/rules/eager/base-rules.md +1 -1
  324. package/plugins/lisa-devin/rules/eager/do-it-now.md +2 -2
  325. package/plugins/lisa-devin/rules/eager/learnings-ladder.md +1 -1
  326. package/plugins/lisa-devin/rules/eager/security-audit-handling.md +5 -5
  327. package/plugins/lisa-devin/rules/reference/automation-runbook-contract.md +37 -22
  328. package/plugins/lisa-devin/rules/reference/base-rules.md +1 -1
  329. package/plugins/lisa-devin/rules/reference/config-resolution.md +7 -6
  330. package/plugins/lisa-devin/rules/reference/dependency-trust-classes.md +28 -18
  331. package/plugins/lisa-devin/rules/reference/factory-model.md +17 -8
  332. package/plugins/lisa-devin/rules/reference/intent-routing.md +3 -3
  333. package/plugins/lisa-devin/rules/reference/learnings-ladder.md +1 -1
  334. package/plugins/lisa-devin/rules/reference/promotion-contract.md +5 -2
  335. package/plugins/lisa-devin/rules/reference/ready-role-filing.md +32 -22
  336. package/plugins/lisa-devin/rules/reference/security-audit-handling.md +9 -6
  337. package/plugins/lisa-devin/rules/reference/usage-accounting.md +29 -1
  338. package/plugins/lisa-devin/scripts/blocker-edge-resolution.mjs +9 -5
  339. package/plugins/lisa-devin/scripts/human-gate-act.mjs +104 -8
  340. package/plugins/lisa-devin/scripts/human-gate-lift.mjs +14 -7
  341. package/plugins/lisa-devin/scripts/intake-blocker-reprobe.mjs +215 -39
  342. package/plugins/lisa-devin/scripts/ready-queue-order.mjs +9 -3
  343. package/plugins/lisa-devin/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  344. package/plugins/lisa-devin/skills/lisa-debrief-apply/SKILL.md +3 -3
  345. package/plugins/lisa-devin/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  346. package/plugins/lisa-devin/skills/lisa-exploratory-qa/SKILL.md +23 -12
  347. package/plugins/lisa-devin/skills/lisa-github-build-intake/SKILL.md +14 -9
  348. package/plugins/lisa-devin/skills/lisa-github-to-tracker/SKILL.md +1 -1
  349. package/plugins/lisa-devin/skills/lisa-github-write-issue/SKILL.md +2 -2
  350. package/plugins/lisa-devin/skills/lisa-improve-harness/SKILL.md +24 -7
  351. package/plugins/lisa-devin/skills/lisa-jira-build-intake/SKILL.md +14 -10
  352. package/plugins/lisa-devin/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  353. package/plugins/lisa-devin/skills/lisa-learnings-audit/SKILL.md +64 -32
  354. package/plugins/lisa-devin/skills/lisa-linear-build-intake/SKILL.md +9 -9
  355. package/plugins/lisa-devin/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  356. package/plugins/lisa-devin/skills/lisa-linear-write-issue/SKILL.md +5 -5
  357. package/plugins/lisa-devin/skills/lisa-monitor/SKILL.md +10 -4
  358. package/plugins/lisa-devin/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  359. package/plugins/lisa-devin/skills/lisa-persist-learning/SKILL.md +5 -5
  360. package/plugins/lisa-devin/skills/lisa-project-ideation/SKILL.md +10 -4
  361. package/plugins/lisa-devin/skills/lisa-repair-intake/SKILL.md +24 -13
  362. package/plugins/lisa-devin/skills/lisa-session-manager/SKILL.md +19 -2
  363. package/plugins/lisa-devin/skills/lisa-session-manager/references/runbook-template.md +8 -4
  364. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  365. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  366. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  367. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  368. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  369. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  370. package/plugins/lisa-devin/skills/lisa-setup-automations/SKILL.md +7 -5
  371. package/plugins/lisa-devin/skills/lisa-track/SKILL.md +3 -3
  372. package/plugins/lisa-devin/skills/lisa-usage-accounting/SKILL.md +5 -1
  373. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  374. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  375. package/plugins/lisa-expo-agy/plugin.json +1 -1
  376. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  377. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  378. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  379. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  380. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  381. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  382. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  383. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  384. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  385. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  386. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  387. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  388. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  389. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  390. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  391. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  392. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  393. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  394. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  395. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  396. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  397. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  398. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  399. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  400. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  401. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  402. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  403. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  404. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  405. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  406. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  407. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  408. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  409. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  410. package/plugins/lisa-rails-agy/plugin.json +1 -1
  411. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  412. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  413. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  414. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  415. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  416. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  417. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  418. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  419. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  420. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  421. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  422. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  423. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  424. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  425. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  426. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  427. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  428. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  429. package/plugins/src/base/agents/learning-judge.md +5 -5
  430. package/plugins/src/base/agents/skill-evaluator.md +4 -4
  431. package/plugins/src/base/commands/debrief/apply.md +1 -1
  432. package/plugins/src/base/commands/learnings/audit.md +2 -2
  433. package/plugins/src/base/commands/persist-learning.md +1 -1
  434. package/plugins/src/base/hooks/block-direct-issue-create.sh +10 -5
  435. package/plugins/src/base/hooks/block-no-verify.agy.sh +1 -1
  436. package/plugins/src/base/hooks/block-no-verify.sh +4 -3
  437. package/plugins/src/base/hooks/inject-resolved-config.mjs +236 -14
  438. package/plugins/src/base/hooks/threshold-ratchet.mjs +4 -2
  439. package/plugins/src/base/rules/eager/base-rules.md +1 -1
  440. package/plugins/src/base/rules/eager/do-it-now.md +2 -2
  441. package/plugins/src/base/rules/eager/learnings-ladder.md +1 -1
  442. package/plugins/src/base/rules/eager/security-audit-handling.md +5 -5
  443. package/plugins/src/base/rules/reference/automation-runbook-contract.md +37 -22
  444. package/plugins/src/base/rules/reference/base-rules.md +1 -1
  445. package/plugins/src/base/rules/reference/config-resolution.md +7 -6
  446. package/plugins/src/base/rules/reference/dependency-trust-classes.md +28 -18
  447. package/plugins/src/base/rules/reference/factory-model.md +17 -8
  448. package/plugins/src/base/rules/reference/intent-routing.md +3 -3
  449. package/plugins/src/base/rules/reference/learnings-ladder.md +1 -1
  450. package/plugins/src/base/rules/reference/promotion-contract.md +5 -2
  451. package/plugins/src/base/rules/reference/ready-role-filing.md +32 -22
  452. package/plugins/src/base/rules/reference/security-audit-handling.md +9 -6
  453. package/plugins/src/base/rules/reference/usage-accounting.md +29 -1
  454. package/plugins/src/base/scripts/blocker-edge-resolution.mjs +9 -5
  455. package/plugins/src/base/scripts/human-gate-act.mjs +104 -8
  456. package/plugins/src/base/scripts/human-gate-lift.mjs +14 -7
  457. package/plugins/src/base/scripts/intake-blocker-reprobe.mjs +215 -39
  458. package/plugins/src/base/scripts/ready-queue-order.mjs +9 -3
  459. package/plugins/src/base/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
  460. package/plugins/src/base/skills/lisa-debrief-apply/SKILL.md +3 -3
  461. package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
  462. package/plugins/src/base/skills/lisa-exploratory-qa/SKILL.md +23 -12
  463. package/plugins/src/base/skills/lisa-github-build-intake/SKILL.md +14 -9
  464. package/plugins/src/base/skills/lisa-github-to-tracker/SKILL.md +1 -1
  465. package/plugins/src/base/skills/lisa-github-write-issue/SKILL.md +2 -2
  466. package/plugins/src/base/skills/lisa-improve-harness/SKILL.md +24 -7
  467. package/plugins/src/base/skills/lisa-jira-build-intake/SKILL.md +14 -10
  468. package/plugins/src/base/skills/lisa-jira-write-ticket/SKILL.md +4 -4
  469. package/plugins/src/base/skills/lisa-learnings-audit/SKILL.md +64 -32
  470. package/plugins/src/base/skills/lisa-linear-build-intake/SKILL.md +9 -9
  471. package/plugins/src/base/skills/lisa-linear-to-tracker/SKILL.md +1 -1
  472. package/plugins/src/base/skills/lisa-linear-write-issue/SKILL.md +5 -5
  473. package/plugins/src/base/skills/lisa-monitor/SKILL.md +10 -4
  474. package/plugins/src/base/skills/lisa-notion-to-tracker/SKILL.md +1 -1
  475. package/plugins/src/base/skills/lisa-persist-learning/SKILL.md +5 -5
  476. package/plugins/src/base/skills/lisa-project-ideation/SKILL.md +10 -4
  477. package/plugins/src/base/skills/lisa-repair-intake/SKILL.md +24 -13
  478. package/plugins/src/base/skills/lisa-session-manager/SKILL.md +19 -2
  479. package/plugins/src/base/skills/lisa-session-manager/references/runbook-template.md +8 -4
  480. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
  481. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
  482. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
  483. package/plugins/src/base/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
  484. package/plugins/src/base/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
  485. package/plugins/src/base/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
  486. package/plugins/src/base/skills/lisa-setup-automations/SKILL.md +7 -5
  487. package/plugins/src/base/skills/lisa-track/SKILL.md +3 -3
  488. package/plugins/src/base/skills/lisa-usage-accounting/SKILL.md +5 -1
  489. package/rails/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
  490. package/typescript/copy-contents/.husky/pre-commit +3 -2
  491. package/typescript/copy-overwrite/.github/GITHUB_ACTIONS.md +2 -1
  492. package/typescript/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
@@ -54,7 +54,7 @@ It opens with the outcome and the operator action, before any narrative:
54
54
 
55
55
  ```
56
56
  change-proved — nothing for you. PR #6393 open, auto-merge on, CI running.
57
- approval-requested — need a decision: ship the 135 Regular→Bold flips, or hold for design sign-off?
57
+ approval-requested — need your account: approve the protected production deploy for the 135 Regular→Bold flips.
58
58
  recovery-required — need you: staging E2E gate red for congestion; rerun or admin-merge.
59
59
  ```
60
60
 
@@ -79,22 +79,24 @@ Health and operator action are **orthogonal** — a healthy run can still need a
79
79
  action: review the proposed item and flip it ready when you want it built.
80
80
  - `change-proved` — the loop made a change and proved it with evidence. **Healthy.** Operator
81
81
  action: none (informational).
82
- - `approval-requested` — the loop reached a boundary it may not cross alone. **Healthy.** Operator
82
+ - `approval-requested` — the loop reached a boundary it may not cross alone: an act it lacks access
83
+ to, or one the project's `humanGate.mode: "strict"` reserves. **Healthy.** Operator
83
84
  action: answer the approval question.
84
85
  - `recovery-required` — the loop itself could not complete (access, tooling, or substrate broken)
85
86
  and escalated a decision-ready packet. **Not healthy.** Operator action: restore the named
86
87
  capability, then close the escalation item.
87
88
  - `policy-obsolete` — the loop's own retirement policy (the retirement condition written in its
88
- runbook) tripped, so it proposed its own teardown. **Healthy.** Operator action: approve the
89
- teardown, decline it (close the proposal as **Not planned**; the loop keeps running at cadence),
90
- or re-cadence it.
89
+ runbook) tripped, so it proposed its own teardown. **Healthy.** Operator action: none by default
90
+ (the proposal files build-ready and the factory performs it; close it as **Not planned** to
91
+ reverse); under `humanGate.mode: "strict"`, approve the teardown, decline it (close the proposal
92
+ as **Not planned**; the loop keeps running at cadence), or re-cadence it.
91
93
 
92
94
  ## A run outcome is NOT a work-item lifecycle terminal state (CRITICAL)
93
95
 
94
96
  A **run outcome** describes the LOOP ITERATION. A **terminal state** describes a TICKET — Lisa
95
97
  already uses that phrase for work-item lifecycles (`lisa-intake`: "`Blocked` is a valid terminal
96
98
  state of the downstream lifecycles"). The two vocabularies never merge in an operator-facing report.
97
- A healthy cycle that routes a work item to `Blocked` with clarifying questions is
99
+ A healthy cycle that routes a work item to `Blocked` naming the access it lacks is
98
100
  `candidate-proposed` — it produced something — so it is **never `nothing-needed`**, which is
99
101
  reserved for runs that found nothing at all, and **never `recovery-required`**, which means the
100
102
  loop itself is broken, not that a work item was blocked.
@@ -146,7 +148,7 @@ non-technical operator can read (`factory-model` rule 5).
146
148
  | Candidate selection | The query or filter that decides what this run acts on, and the bound on how many. |
147
149
  | Scope/bounds | What the loop will never touch, and the cap that keeps one run finite. |
148
150
  | Proof | What the loop must observe before claiming it changed anything — the evidence it records. |
149
- | Autonomous-vs-approval boundary | The named line: what it does alone, and the first thing on the other side that requires a human. |
151
+ | Autonomous-vs-approval boundary | The named line: what it does alone, and the first thing on the other side that requires a human — an act the loop lacks access to, named as such. |
150
152
  | Escalation | What it files when it cannot proceed — always the decision-ready packet below. |
151
153
  | Recovery | What a human or the next run does to get the loop working again after `recovery-required`. |
152
154
  | Next-run state | What the next run can observe from this one, derived from durable surfaces (tracker, records) rather than in-process memory. |
@@ -178,9 +180,11 @@ Proof
178
180
  a claim of "done" without that evidence is not made.
179
181
 
180
182
  Autonomous-vs-approval boundary
181
- Alone: claim, plan, implement, open the PR, drive it to merge. Requires a human: anything that
182
- needs a protected deployment approval, and any item whose requirements it cannot resolve — that
183
- becomes a blocked work item with clarifying questions, not a guess.
183
+ Alone: claim, plan, implement, open the PR, drive it to merge, and decide any requirement with a
184
+ reasonable default, recording the decision on the item. Requires a human: a protected deployment
185
+ approval that must come from a person's account, and any item that needs access the loop lacks
186
+ (a credential, an interactive login, a paid account) — that becomes a blocked work item naming
187
+ that access, not a guess.
184
188
 
185
189
  Escalation
186
190
  When the loop itself cannot proceed (tracker credentials revoked, queue unreadable), it files the
@@ -218,9 +222,9 @@ only `recovery-required` means the machinery itself is broken.
218
222
  | `nothing-needed` | The loop ran end to end and found nothing to act on. | Healthy — **no operator action** | None. | What was scanned, how much was seen, and "nothing to propose". |
219
223
  | `candidate-proposed` | The loop proposed work — a ticket, PRD, or recommendation — for a human or a downstream factory. | Healthy | Review the proposed item and flip it ready when you want it built. | What was proposed and where to find it (item refs). |
220
224
  | `change-proved` | The loop made a change and proved it with evidence. | Healthy | None — informational. | What changed and the evidence that proves it. |
221
- | `approval-requested` | The loop reached its autonomous/approval boundary and asked a human. | Healthy | Answer the approval question. | What is waiting, on whom, and what happens if nobody answers. |
225
+ | `approval-requested` | The loop reached its autonomous/approval boundary (an act it lacks access to) and asked a human. | Healthy | Answer the approval question. | What is waiting, on whom, and what happens if nobody answers. |
222
226
  | `recovery-required` | The loop itself could not complete: access, tooling, or substrate is broken. | **Not healthy** — needs a human | Restore the named capability, then close the escalation item. | What broke, and the escalation item to act on. |
223
- | `policy-obsolete` | The loop's own retirement policy — the retirement condition written in its runbook — tripped, so it proposed its own teardown. | Healthy | Decide: approve the teardown, decline it (close the proposal as **Not planned**; the loop continues at cadence), or re-cadence it. | Why it looks obsolete and the teardown-proposal item. |
227
+ | `policy-obsolete` | The loop's own retirement policy — the retirement condition written in its runbook — tripped, so it proposed its own teardown. | Healthy | None by default: under `humanGate.mode: "access-only"` the proposal files build-ready naming the chosen action, and the factory run that claims it performs it — reverse it by closing the proposal as **Not planned**. Under `"strict"`: decide — approve the teardown, decline it (close the proposal as **Not planned**; the loop continues at cadence), or re-cadence it. | Why it looks obsolete and the teardown-proposal item. |
224
228
 
225
229
  ### Exemplar one-line summaries
226
230
 
@@ -283,8 +287,8 @@ This is the highest-risk seam in the contract, so it is stated explicitly.
283
287
  `prd-lifecycle-rollup`).
284
288
 
285
289
  They never merge in an operator-facing report. A perfectly healthy cycle that routes a work item to
286
- `Blocked` — because the item's requirements are unresolvable and a human must answer — is
287
- `candidate-proposed`: the run produced something (a blocked item carrying clarifying questions), so
290
+ `Blocked` — because the item needs an act the agent lacks access to, such as a credential — is
291
+ `candidate-proposed`: the run produced something (a blocked item naming the missing access), so
288
292
  it is **never `nothing-needed`**, which is reserved for runs that found nothing at all, and **never
289
293
  `recovery-required`**, which means the machinery is broken. Conflating a blocked work item with a
290
294
  broken loop would paint healthy intake cycles permanently red and train operators to ignore the
@@ -310,7 +314,7 @@ from the accidental non-ready filing that rule exists to catch.
310
314
  | Work already attempted | What the loop tried on its own before escalating, so nobody repeats it. |
311
315
  | Evidence | Links to the runs, items, logs, or records that show the problem (the evidence packet from the evidence PRD is the carrier; this contract names it and defines no evidence formats). |
312
316
  | Risk of inaction | What degrades or stops if nobody acts, and how soon. |
313
- | Smallest unresolved choice | The single smallest decision a human must make — one question, not a list — stated with **named options** (or as a yes/no), and what the loop will do with each answer. |
317
+ | Smallest unresolved choice | The single smallest act or decision a human must make to restore the missing access — one question, not a list — stated with **named options** (or as a yes/no), and what the loop will do with each answer. |
314
318
  | How to answer | The mechanical response path: comment on the item, flip a label, or close it — so the operator never has to guess how to reply. |
315
319
 
316
320
  The wording requirement is binding: a **non-technical operator must be able to act on the packet
@@ -335,14 +339,25 @@ BOTH hold:
335
339
  When both hold, the run ends `policy-obsolete` and files **exactly ONE marker-deduped**
336
340
  teardown-proposal item — matched on the marker, never the title — carrying the date-filtered search
337
341
  result and this run's summary as evidence, and proposing either a longer cadence or
338
- `lisa-tear-down-automations`. The loop **keeps running at its normal cadence** until an operator
339
- flips that proposal one of three ways: **approve** it (`lisa-tear-down-automations` runs and the
340
- registration goes away), **decline** it (close the proposal as **Not planned** — closing it as
342
+ `lisa-tear-down-automations`. Who decides depends on `humanGate.mode`:
343
+
344
+ - **`"access-only"` (default)** — the loop picks the action from the evidence (tear down or
345
+ re-cadence) and files the proposal **build-ready** (`status:ready`, no `human-needed`), naming that
346
+ action and its reasoning. The factory run that claims it performs it — `lisa-tear-down-automations`
347
+ to **approve** the teardown, or `lisa-setup-automations` to **re-cadence** it — and holds the item,
348
+ naming the access, only if it cannot reach the scheduler. A person reverses it by closing the
349
+ proposal as **Not planned** before it is claimed.
350
+ - **`"strict"`** — the proposal files `status:blocked` + `human-needed` and is human-owned: an
351
+ operator flips it one of three ways: **approve** it (`lisa-tear-down-automations` runs and the
352
+ registration goes away), **decline** it, or **re-cadence** it (register it at the longer cadence
353
+ instead of tearing it down).
354
+
355
+ In both modes a **decline** is closing the proposal as **Not planned** — closing it as
341
356
  **Completed** leaves a later re-file open, per `rejection-detection`'s proposal rejection memory;
342
- either way the loop simply continues), or
343
- **re-cadence** it (register it at the longer cadence instead of tearing it down). Retirement is a
344
- recommendation like any other, **never a self-executed exit**: a loop never deletes its own
345
- registration, and a proposal nobody answers changes nothing.
357
+ either way the loop simply continues. The loop **keeps running at its normal cadence** until the
358
+ proposal is acted on. Retirement is a recommendation like any other,
359
+ **never a self-executed exit**: a loop never deletes its own registration mid-run, and a proposal nobody acts on changes
360
+ nothing.
346
361
 
347
362
  ## Never block, always degrade
348
363
 
@@ -55,7 +55,7 @@ Git Discipline:
55
55
  - Prefix git push with `GIT_SSH_COMMAND="ssh -o ServerAliveInterval=30 -o ServerAliveCountMax=5"`.
56
56
  - Never commit directly to an environment branch (dev, staging, main).
57
57
  - Never use --no-verify or attempt to bypass a git hook.
58
- - When a pre-commit, pre-push, CI, or other quality gate fails, fix the root cause first: upgrade the vulnerable dependency, fix the lint/type/test failure, remove the secret, or repair the failing check. If a fix is genuinely impossible, ask the user to make the risk-acceptance decision and add a narrow, documented ignore for the specific failing rule or advisory. Never use `--no-verify`, hook environment switches, blanket ignores, or threshold reductions as a substitute for fixing the gate.
58
+ - When a pre-commit, pre-push, CI, or other quality gate fails, fix the root cause first: upgrade the vulnerable dependency, fix the lint/type/test failure, remove the secret, or repair the failing check. If a fix is genuinely impossible, make the risk-acceptance decision yourself, record the reasoning, and add a narrow, documented ignore for the specific failing rule or advisory. Under `humanGate.mode: "strict"`, ask the user to make that decision instead. Never use `--no-verify`, hook environment switches, blanket ignores, or threshold reductions as a substitute for fixing the gate.
59
59
  - Never bypass branch protection. Never use `--admin`, `--force`, or any other flag to merge a PR that has failing CI checks. If CI fails, fix it. If you cannot fix it, escalate to the human. There are zero exceptions. "Green in CI" is the definition of done — not "green locally." A PR is not complete until CI passes on the actual PR branch.
60
60
  - **Never use plain `git push --force`.** When a history rewrite is explicitly approved, use `--force-with-lease`; prefer the explicit SHA-bound form `--force-with-lease=<ref>:<sha>`, such as `git push --force-with-lease=refs/heads/<branch>:<approved-sha> origin HEAD:refs/heads/<branch>`, where `<approved-sha>` is the exact remote tip the approval covered.
61
61
  - **History-rewrite approval is SHA-scoped, not durable.** Record the remote ref and exact SHA the authorization covers. If the remote ref moves or the lease rejects, the approval is void: stop and obtain fresh confirmation for the new remote state. Never re-derive consent from the earlier approval or treat a fresh fetch as renewing authorization for a different SHA; do not retry with an updated implicit lease or plain `--force`.
@@ -42,7 +42,7 @@ Do not begin with blockers, ambiguities, access requirements, or unanswered ques
42
42
  ## Git Discipline
43
43
 
44
44
  - **Never use `--no-verify`** or bypass any git hook.
45
- - When a hook or quality gate fails, fix the root cause first. If no fix is genuinely possible, ask the user to make the risk-acceptance decision and add a specific documented ignore; never use a blanket bypass.
45
+ - When a hook or quality gate fails, fix the root cause first. If no fix is possible, accept the risk yourself, record why (strict mode: ask the user), and add a specific documented ignore; never a blanket bypass.
46
46
  - **Never bypass branch protection** — no `--admin`, `--force`, no merging a PR with failing CI. "Green in CI" is the definition of done.
47
47
  - Never commit directly to environment branches (`dev`, `staging`, `main`).
48
48
  - **Never use plain `git push --force`.** When a history rewrite is explicitly approved, use `--force-with-lease`; prefer the SHA-bound form `--force-with-lease=<ref>:<sha>`, where `<sha>` is the exact remote tip the approval covered.
@@ -282,11 +282,12 @@ fi
282
282
  | `source` | no | — | Default PRD source for batch skills (`/lisa:intake`) and arg-less single-PRD skills. One of `"notion"`, `"confluence"`, `"linear"`, `"github"`, `"jira"`. Explicit URLs/keys passed to a skill always win over `source`; this is a default, not a lock. |
283
283
  | ~~`projectRulesFile`~~ | — | — | **Retired.** Host-authored rules now live in the fixed, agent-neutral directory `.agents/rules/` — not a configurable file. An existing key is still parsed and preserved so installed projects keep applying, but nothing serves rules from it. See **Host rules** below. |
284
284
  | `learnings.file` | no | `.lisa/PROJECT_LEARNINGS.md` | Safe repo-relative Markdown path for the machine-managed learnings ledger, overriding the `.lisa/` default. Rejected if it resolves inside any auto-loaded rules tree (`.claude/rules`, `.cursor/rules`, `.github/instructions`, `.agents/rules`) — the ledger must stay out of eager context. |
285
- | `learnings.lowConfidence` | no | `human-triage` | How `lisa-persist-learning` submits a low-confidence learning PR. `human-triage` keeps auto-merge off and labels it `learning:needs-triage` for a human to merge or close. `auto-merge` submits it like a high-confidence PR, merging through the project's normal gates, labeled `learning:low-confidence`; `lisa-learnings-audit` then re-reviews those entries first. Any other value is rejected. |
285
+ | `learnings.lowConfidence` | no | `auto-merge` (`human-triage` when `humanGate.mode` is `"strict"`) | How `lisa-persist-learning` submits a low-confidence learning PR. `human-triage` keeps auto-merge off and labels it `learning:needs-triage` for a human to merge or close. `auto-merge` submits it like a high-confidence PR, merging through the project's normal gates, labeled `learning:low-confidence`; `lisa-learnings-audit` then re-reviews those entries first. Any other value is rejected by `lisa apply`; the session's `lisa-resolved-config` block reports it as invalid and treats it as `human-triage`, the stricter option. |
286
286
  | `health.schedule` | no | `off` | Health cadence contract: `off`, `daily`, or `weekly`. `lisa sync` populates the default with `_lisaSync.populated` provenance and rejects values outside this closed vocabulary. Runtime results live only at the gitignored `.lisa/health/latest.json`, never in either config file. |
287
287
  | `usage` | no | — | Optional token/cost pricing metadata consumed by the `usage-accounting` rule. Missing pricing never blocks a lifecycle flow; Lisa records token counts with `estimated_cost: null` when no trustworthy price source is configured. |
288
- | `dependencies.humanSignOff` | no | `"default"` | Whether dependency decisions wait on a person. `"default"` keeps every ratification requirement in `dependency-trust-classes`; `"none"` drops all of them — the trust class and its per-class evidence are still required, and credential, paid-account, and license approvals are unaffected. Any other value is reported as invalid (in `lisa apply` output and the session's `lisa-resolved-config` block) and treated as `"default"`. |
289
- | `humanGate.humanOnly` | no | `[]` | Decision classes this project reserves for a person, such as `["pricing"]`. A `human_gate` reason naming one (as a whole word) is accepted by the writers and never lifted by the sweeps. Absent, only acts an agent cannot perform qualify as a human gate. `.lisa.config.local.json` replaces the list when it sets one. Read by `scripts/human-gate-act.mjs`; see `ready-role-filing`, "What a human gate is". |
288
+ | `dependencies.humanSignOff` | no | `"none"` (`"default"` when `humanGate.mode` is `"strict"`) | Whether dependency decisions wait on a person. `"default"` keeps every ratification requirement in `dependency-trust-classes`; `"none"` has the agent ratify instead and record its reasoning in the dependency's entry — the trust class and its per-class evidence are still required, and credential, paid-account, and license approvals are unaffected. Any other value is reported as invalid (in `lisa apply` output and the session's `lisa-resolved-config` block) and treated as `"default"`, the stricter option. |
289
+ | `humanGate.mode` | no | `"access-only"` | How wide the human gate is. `"access-only"`: an agent performs every act it has access to perform, and only an act it lacks access to (an interactive login, a credential it cannot create or reach, spending money, a legal signature, an action only a person's account can take, or a hold the operator asked for) is a human gate. `"strict"` restores the older, wider gate: a compliance sign-off, naming an accountable person, and the calls Lisa's policy used to reserve for a person (learnings promotion, harness interventions, automation retirement, exploratory-QA findings) count as human gates again, and the defaults of `dependencies.humanSignOff` and `learnings.lowConfidence` become `"default"` and `"human-triage"`. A value either key sets explicitly always wins over the mode. A value that is present but invalid fails safe: it is reported and treated as the stricter option (an invalid local value first falls back to a valid value in `.lisa.config.json`); an absent value gets the mode's default. An invalid `humanGate.mode` is therefore treated as `"strict"`. Read by `scripts/human-gate-act.mjs`; see `ready-role-filing`, "What a human gate is". |
290
+ | `humanGate.humanOnly` | no | `[]` | Decision classes this project reserves for a person, such as `["pricing"]`, in either mode. A `human_gate` reason naming one (as a whole word) is accepted by the writers and never lifted by the sweeps. Absent, only the acts `humanGate.mode` names qualify as a human gate. `.lisa.config.local.json` replaces the list when it sets one. Read by `scripts/human-gate-act.mjs`; see `ready-role-filing`, "What a human gate is". |
290
291
  | `wiki` | no | — | Wiki location for the `wiki-knowledge-source` rule. Omit for a local in-repo wiki (`wiki/`). See **Wiki source** below. |
291
292
  | `sessionManager` | no | — (opt-in) | Local session manager: polls the Ready queue, runs each item in a fresh background Claude Code session, and relays questions over a per-project Telegram bot when one is configured (optional). Absent means the manager is not used; `lisa sync` never populates it. Written by `/lisa:setup:session-manager`. See **Session manager (`sessionManager`)** below. |
292
293
 
@@ -599,7 +600,7 @@ A **marker** is an additive label applied *alongside* a lifecycle role, not a st
599
600
 
600
601
  | Marker | What it means | JIRA default | GitHub/Linear default |
601
602
  |---|---|---|---|
602
- | `human_needed` | Applied with `blocked` when — **after the agent has drafted every authorable missing section via the `pre-flight-autofill` procedure** — the block still requires a human to confirm the drafted assumptions or supply something no agent can invent: real missing credentials, access/permissions, or an irreducible product/scoping decision. | `Human Needed` (label) | `human-needed` (label) |
603
+ | `human_needed` | Applied with `blocked` when — **after the agent has drafted every authorable missing section via the `pre-flight-autofill` procedure** — the block still needs an act the agent lacks access to (a credential it cannot reach, an interactive login, an access grant, spending money, a legal signature, an action only a person's account can take) or a hold the operator explicitly asked for. A product or scoping choice is not one: the agent decides it and records the decision. Under `humanGate.mode: "strict"` an irreducible product/scoping decision also qualifies. | `Human Needed` (label) | `human-needed` (label) |
603
604
  | `spec_defect` | Applied with `blocked` when the thing holding the item is the item's **own specification** — an acceptance criterion that cannot be satisfied as written, a field naming an environment or surface the project does not have, a validation journey demanding something the project cannot produce. **Human-applied only.** No agent sets it, because judging a criterion unbuildable is a product call, and the agent that wrote a bad criterion is the least likely to know it did. | `Spec Defect` (label) | `blocked:spec-defect` (label) |
604
605
  | `wrongly_escalated` | A **ruling** that an earlier escalation to a human was wrong: the hold asked a person for a decision an agent could have made. Applied by a human, or by an agent at an operator's direction — who applied it does not matter. It is a classification, not a release: it moves no lane and needs no release authorization. The session manager's overruled-escalation sweep captures each labeled item once as a `wrongly-escalated` learning candidate (CodySwannGT/lisa#4657). Resolved from `jira.labels.wrongly_escalated`, `github.labels.build.wrongly_escalated` or `linear.labels.build.wrongly_escalated`. | `wrongly-escalated-to-human` (label) | `wrongly-escalated-to-human` (label) |
605
606
 
@@ -612,9 +613,9 @@ Resolution keys:
612
613
  - Linear: `linear.labels.build.human_needed` (default `human-needed`). Applied as a Linear **label**, for the same reason as JIRA — an Issue holds exactly one workflow state but any number of labels, so an additive marker cannot be a state. The `blocked` **state** still drives the lifecycle; `human_needed` is the marker on top of it. This is the only build-lane key left in `linear.labels`.
613
614
  - `spec_defect` resolves the same way on each vendor — `jira.labels.spec_defect` (default `Spec Defect`), `github.labels.build.spec_defect` and `linear.labels.build.spec_defect` (default `blocked:spec-defect`).
614
615
 
615
- **When to apply it.** There are two application sites. The first is **at filing**: a leaf filed with a `human_gate` reason under `ready-role-filing` carries the `[lisa-human-gate]` body marker *and* this label, so the hold is legible to a path that reads bodies and to a path that reads labels alike. Such an item sits in no lifecycle role at all rather than in `blocked`, which is the one case where this marker stands beside no role — and it is deliberate: a hold recorded on only one surface is a half-armed gate, and the label-keyed sweeps promoted exactly that population into the build queue (#3805). The second site is a **block a human must clear**: apply `human_needed` only when a human must act before the item can move — the pre-flight gate failures that bounce a ticket back to its reporter are exactly this case, but **only after** the agent has run the `pre-flight-autofill` draft-then-block procedure (drafting the authorable gaps — acceptance criteria, validation journey, repository, relationship search, etc. — into the ticket as labeled assumptions). What then remains for the human is to **confirm those assumptions** or supply a genuinely human-only input (real missing credentials, an irreducible product/scoping decision). The marker means "a human must confirm or decide," not "a human must author from scratch."
616
+ **When to apply it.** There are two application sites. The first is **at filing**: a leaf filed with a `human_gate` reason under `ready-role-filing` carries the `[lisa-human-gate]` body marker *and* this label, so the hold is legible to a path that reads bodies and to a path that reads labels alike. Such an item sits in no lifecycle role at all rather than in `blocked`, which is the one case where this marker stands beside no role — and it is deliberate: a hold recorded on only one surface is a half-armed gate, and the label-keyed sweeps promoted exactly that population into the build queue (#3805). The second site is a **block a human must clear**: apply `human_needed` only when a human must act before the item can move — the pre-flight gate failures that bounce a ticket back to its reporter are exactly this case, but **only after** the agent has run the `pre-flight-autofill` draft-then-block procedure (drafting the authorable gaps — acceptance criteria, validation journey, repository, relationship search, etc. — into the ticket as labeled assumptions). The agent adopts those drafted assumptions as its decisions and records them; what remains for a human is only an act the agent lacks access to (a real missing credential, a login, an access grant) or an operator's explicit hold. The marker means "a person must perform a named act," not "a human must author from scratch" — and not "a human must confirm the agent's choices".
616
617
 
617
- **Why `spec_defect` is separate from `human_needed`.** Both name a hold a person must clear, but they are different asks and the rollup must not merge them. `human_needed` waits on an input from *outside* the item — a credential, an access grant, a product decision — and the item's own text is fine. `spec_defect` waits on the item's text being *rewritten*, and no external event will ever supply that. An item carrying `spec_defect` will sit forever until somebody edits it; that is exactly the class that accumulated silently when the rollup rendered both as plain `blocked` (issue #3045: 32 identical hold comments over six weeks on one Epic). Where both markers are present, `spec_defect` wins — it is the more specific record, and the only one carrying a judgment nothing else can supply.
618
+ **Why `spec_defect` is separate from `human_needed`.** Both name a hold a person must clear, but they are different asks and the rollup must not merge them. `human_needed` waits on an act from *outside* the item — a credential, an access grant, an operator's hold — and the item's own text is fine. `spec_defect` waits on the item's text being *rewritten*, and no external event will ever supply that. An item carrying `spec_defect` will sit forever until somebody edits it; that is exactly the class that accumulated silently when the rollup rendered both as plain `blocked` (issue #3045: 32 identical hold comments over six weeks on one Epic). Where both markers are present, `spec_defect` wins — it is the more specific record, and the only one carrying a judgment nothing else can supply.
618
619
 
619
620
  **Nothing infers `spec_defect`.** It is never derived from prose, a title, or a failed gate. A `blocked` item carrying neither marker and no open `is blocked by` link classifies as **`unknown`**, and the rollup says so and asks a person to decide — an honest `unknown` beats a confident wrong answer, and auto-reclassifying would turn a human product call into a guess.
620
621
 
@@ -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