@codyswann/lisa 8.7.1 → 8.9.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 (678) hide show
  1. package/README.md +21 -0
  2. package/all/copy-overwrite/scripts/lib/completion-authorization.mjs +54 -0
  3. package/all/copy-overwrite/scripts/lib/completion-proof-adapters.mjs +59 -0
  4. package/all/copy-overwrite/scripts/lib/completion-proof-markdown.mjs +1 -1
  5. package/all/copy-overwrite/scripts/lib/npm-update-helper-inventory.mjs +1 -0
  6. package/all/copy-overwrite/scripts/lib/release-switch.d.mts +91 -0
  7. package/all/copy-overwrite/scripts/lib/release-switch.mjs +1049 -0
  8. package/all/copy-overwrite/scripts/lisa-enforcement-fallback.sh +3 -3
  9. package/all/copy-overwrite/scripts/lisa-enforcement-freshness.mjs +1 -0
  10. package/all/copy-overwrite/scripts/lisa-gates.mjs +90 -5
  11. package/all/copy-overwrite/scripts/lisa-hooks/task-readiness-guard.sh +54 -0
  12. package/all/copy-overwrite/scripts/lisa-release-switch.mjs +203 -0
  13. package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +18 -5
  14. package/dist/cli/doctor-release-setting.d.ts +8 -0
  15. package/dist/cli/doctor-release-setting.d.ts.map +1 -0
  16. package/dist/cli/doctor-release-setting.js +71 -0
  17. package/dist/cli/doctor-release-setting.js.map +1 -0
  18. package/dist/cli/doctor.d.ts.map +1 -1
  19. package/dist/cli/doctor.js +2 -0
  20. package/dist/cli/doctor.js.map +1 -1
  21. package/dist/controls/before-enforce-observe.d.ts +1 -1
  22. package/dist/controls/before-enforce-observe.d.ts.map +1 -1
  23. package/dist/controls/before-enforce-observe.js +3 -7
  24. package/dist/controls/before-enforce-observe.js.map +1 -1
  25. package/dist/controls/before-enforce-workspace.d.ts.map +1 -1
  26. package/dist/controls/before-enforce-workspace.js +16 -1
  27. package/dist/controls/before-enforce-workspace.js.map +1 -1
  28. package/dist/controls/commands/proof-check.d.ts +1 -1
  29. package/dist/controls/commands/proof-check.d.ts.map +1 -1
  30. package/dist/controls/commands/proof-check.js +11 -11
  31. package/dist/controls/commands/seed.d.ts.map +1 -1
  32. package/dist/controls/commands/seed.js +14 -30
  33. package/dist/controls/commands/seed.js.map +1 -1
  34. package/dist/controls/proof-check-plan.d.ts +5 -6
  35. package/dist/controls/proof-check-plan.d.ts.map +1 -1
  36. package/dist/controls/proof-check-plan.js +11 -10
  37. package/dist/controls/proof-check-plan.js.map +1 -1
  38. package/dist/controls/proof-check-report.d.ts.map +1 -1
  39. package/dist/controls/proof-check-report.js +2 -4
  40. package/dist/controls/proof-check-report.js.map +1 -1
  41. package/dist/controls/proof-copy-source.d.ts +24 -0
  42. package/dist/controls/proof-copy-source.d.ts.map +1 -0
  43. package/dist/controls/proof-copy-source.js +60 -0
  44. package/dist/controls/proof-copy-source.js.map +1 -0
  45. package/dist/controls/proof-copy-wording.d.ts +10 -1
  46. package/dist/controls/proof-copy-wording.d.ts.map +1 -1
  47. package/dist/controls/proof-copy-wording.js +23 -2
  48. package/dist/controls/proof-copy-wording.js.map +1 -1
  49. package/dist/controls/proof-copy-workspace.d.ts +4 -3
  50. package/dist/controls/proof-copy-workspace.d.ts.map +1 -1
  51. package/dist/controls/proof-copy-workspace.js +39 -23
  52. package/dist/controls/proof-copy-workspace.js.map +1 -1
  53. package/dist/controls/proof-copy.d.ts +1 -9
  54. package/dist/controls/proof-copy.d.ts.map +1 -1
  55. package/dist/controls/proof-copy.js +3 -45
  56. package/dist/controls/proof-copy.js.map +1 -1
  57. package/dist/controls/proof-half-run.d.ts +1 -1
  58. package/dist/controls/proof-half-run.d.ts.map +1 -1
  59. package/dist/controls/proof-half-run.js +6 -9
  60. package/dist/controls/proof-half-run.js.map +1 -1
  61. package/dist/controls/proof-plan.d.ts +17 -2
  62. package/dist/controls/proof-plan.d.ts.map +1 -1
  63. package/dist/controls/proof-plan.js +47 -3
  64. package/dist/controls/proof-plan.js.map +1 -1
  65. package/dist/controls/proof-push-fixture.d.ts +16 -0
  66. package/dist/controls/proof-push-fixture.d.ts.map +1 -0
  67. package/dist/controls/proof-push-fixture.js +137 -0
  68. package/dist/controls/proof-push-fixture.js.map +1 -0
  69. package/dist/controls/proof-types.d.ts +4 -0
  70. package/dist/controls/proof-types.d.ts.map +1 -1
  71. package/dist/controls/register-entries.d.ts.map +1 -1
  72. package/dist/controls/register-entries.js +23 -2
  73. package/dist/controls/register-entries.js.map +1 -1
  74. package/dist/controls/register-types.d.ts +4 -0
  75. package/dist/controls/register-types.d.ts.map +1 -1
  76. package/dist/controls/register-types.js.map +1 -1
  77. package/dist/controls/shipped-parts.d.ts +8 -6
  78. package/dist/controls/shipped-parts.d.ts.map +1 -1
  79. package/dist/controls/shipped-parts.js +19 -1
  80. package/dist/controls/shipped-parts.js.map +1 -1
  81. package/dist/controls/shipped-task-proofs.d.ts +24 -0
  82. package/dist/controls/shipped-task-proofs.d.ts.map +1 -0
  83. package/dist/controls/shipped-task-proofs.js +191 -0
  84. package/dist/controls/shipped-task-proofs.js.map +1 -0
  85. package/dist/core/lisa-owned-hash-ledger.json +148 -4
  86. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  87. package/dist/core/upstream-evidence-manifest.json +391 -66
  88. package/dist/migrations/ensure-seeded-gates.d.ts.map +1 -1
  89. package/dist/migrations/ensure-seeded-gates.js +4 -1
  90. package/dist/migrations/ensure-seeded-gates.js.map +1 -1
  91. package/dist/opencode/hooks-installer.d.ts.map +1 -1
  92. package/dist/opencode/hooks-installer.js +2 -0
  93. package/dist/opencode/hooks-installer.js.map +1 -1
  94. package/dist/opencode/plugin-catalog.d.ts.map +1 -1
  95. package/dist/opencode/plugin-catalog.js +5 -0
  96. package/dist/opencode/plugin-catalog.js.map +1 -1
  97. package/dist/opencode/plugin-templates/lisa-task-readiness.ts +47 -0
  98. package/dist/opencode/plugin-templates/task-readiness-guard.mjs +99 -0
  99. package/dist/opencode/plugin-templates/task-readiness-guard.sh +54 -0
  100. package/package.json +5 -4
  101. package/plugins/lisa/.claude-plugin/plugin.json +49 -2
  102. package/plugins/lisa/.codex-plugin/hooks.json +48 -1
  103. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  104. package/plugins/lisa/.codex-plugin/skills/lisa-atlassian-access/SKILL.md +13 -0
  105. package/plugins/lisa/.codex-plugin/skills/lisa-configure/SKILL.md +19 -7
  106. package/plugins/lisa/.codex-plugin/skills/lisa-doctor/SKILL.md +10 -0
  107. package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
  108. package/plugins/lisa/.codex-plugin/skills/lisa-git-submit-pr/SKILL.md +1 -0
  109. package/plugins/lisa/.codex-plugin/skills/lisa-github-build-intake/SKILL.md +2 -0
  110. package/plugins/lisa/.codex-plugin/skills/lisa-github-claim/SKILL.md +2 -0
  111. package/plugins/lisa/.codex-plugin/skills/lisa-github-read-issue/SKILL.md +29 -0
  112. package/plugins/lisa/.codex-plugin/skills/lisa-github-read-issue/read-contract.mjs +70 -0
  113. package/plugins/lisa/.codex-plugin/skills/lisa-github-validate-issue/SKILL.md +27 -1
  114. package/plugins/lisa/.codex-plugin/skills/lisa-github-write-issue/SKILL.md +23 -0
  115. package/plugins/lisa/.codex-plugin/skills/lisa-implement/SKILL.md +15 -2
  116. package/plugins/lisa/.codex-plugin/skills/lisa-jira-build-intake/SKILL.md +2 -0
  117. package/plugins/lisa/.codex-plugin/skills/lisa-jira-claim/SKILL.md +2 -0
  118. package/plugins/lisa/.codex-plugin/skills/lisa-jira-read-ticket/SKILL.md +9 -0
  119. package/plugins/lisa/.codex-plugin/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
  120. package/plugins/lisa/.codex-plugin/skills/lisa-jira-write-ticket/SKILL.md +23 -0
  121. package/plugins/lisa/.codex-plugin/skills/lisa-linear-access/SKILL.md +102 -103
  122. package/plugins/lisa/.codex-plugin/skills/lisa-linear-access/scripts/linear-graphql.sh +428 -0
  123. package/plugins/lisa/.codex-plugin/skills/lisa-linear-build-intake/SKILL.md +2 -0
  124. package/plugins/lisa/.codex-plugin/skills/lisa-linear-claim/SKILL.md +3 -1
  125. package/plugins/lisa/.codex-plugin/skills/lisa-linear-read-issue/SKILL.md +13 -0
  126. package/plugins/lisa/.codex-plugin/skills/lisa-linear-validate-issue/SKILL.md +26 -0
  127. package/plugins/lisa/.codex-plugin/skills/lisa-linear-write-issue/SKILL.md +27 -0
  128. package/plugins/lisa/.codex-plugin/skills/lisa-notion-access/SKILL.md +37 -0
  129. package/plugins/lisa/.codex-plugin/skills/lisa-notion-access/scripts/readiness-probe.mjs +83 -0
  130. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/SKILL.md +8 -26
  131. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +89 -117
  132. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/config-files.mjs +42 -0
  133. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/config-layers.mjs +139 -0
  134. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/materialize-secrets.mjs +138 -125
  135. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +98 -10
  136. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/providers.mjs +24 -1
  137. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/routing-floor.mjs +21 -0
  138. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/surfaces.mjs +111 -36
  139. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-access.mjs +205 -0
  140. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-action.mjs +218 -0
  141. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs +181 -0
  142. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-context-data.mjs +75 -0
  143. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-context-write.mjs +158 -0
  144. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-github.mjs +92 -0
  145. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-intake-read.mjs +171 -0
  146. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-intake.mjs +155 -0
  147. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-native-context.mjs +71 -0
  148. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-native-contract.mjs +156 -0
  149. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-native-flow.mjs +253 -0
  150. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-native-lifecycle.mjs +106 -0
  151. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-native-state.mjs +171 -0
  152. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-readiness.mjs +347 -0
  153. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-requirements.mjs +279 -0
  154. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +463 -0
  155. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/validate-config.mjs +2 -21
  156. package/plugins/lisa/.codex-plugin/skills/lisa-setup-linear/SKILL.md +2 -0
  157. package/plugins/lisa/.codex-plugin/skills/lisa-setup-remote-aws/SKILL.md +8 -0
  158. package/plugins/lisa/.codex-plugin/skills/lisa-task-decomposition/SKILL.md +1 -0
  159. package/plugins/lisa/.codex-plugin/skills/lisa-track/SKILL.md +13 -1
  160. package/plugins/lisa/.codex-plugin/skills/lisa-tracker-claim/SKILL.md +2 -0
  161. package/plugins/lisa/.codex-plugin/skills/lisa-verify/SKILL.md +4 -1
  162. package/plugins/lisa/hooks/inject-resolved-config.mjs +235 -3
  163. package/plugins/lisa/hooks/secrets-preflight.agy.sh +19 -0
  164. package/plugins/lisa/hooks/secrets-preflight.sh +42 -0
  165. package/plugins/lisa/hooks/task-readiness-guard.mjs +96 -0
  166. package/plugins/lisa/hooks/task-readiness-guard.sh +54 -0
  167. package/plugins/lisa/rules/eager/coding-philosophy.md +7 -6
  168. package/plugins/lisa/rules/reference/coding-philosophy.md +48 -0
  169. package/plugins/lisa/rules/reference/config-resolution.md +4 -1
  170. package/plugins/lisa/rules/reference/intent-routing.md +2 -2
  171. package/plugins/lisa/rules/reference/tool-access-gate.md +160 -0
  172. package/plugins/lisa/rules/reference/tracked-work.md +2 -0
  173. package/plugins/lisa/rules/reference/work-item-definition-of-ready.md +31 -0
  174. package/plugins/lisa/scripts/install-remote-agent-aws.mjs +3 -2
  175. package/plugins/lisa/scripts/remote-agent-aws-setup.sh +123 -10
  176. package/plugins/lisa/skills/lisa-atlassian-access/SKILL.md +13 -0
  177. package/plugins/lisa/skills/lisa-configure/SKILL.md +19 -7
  178. package/plugins/lisa/skills/lisa-doctor/SKILL.md +10 -0
  179. package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
  180. package/plugins/lisa/skills/lisa-git-submit-pr/SKILL.md +1 -0
  181. package/plugins/lisa/skills/lisa-github-build-intake/SKILL.md +2 -0
  182. package/plugins/lisa/skills/lisa-github-claim/SKILL.md +2 -0
  183. package/plugins/lisa/skills/lisa-github-read-issue/SKILL.md +29 -0
  184. package/plugins/lisa/skills/lisa-github-read-issue/read-contract.mjs +70 -0
  185. package/plugins/lisa/skills/lisa-github-validate-issue/SKILL.md +27 -1
  186. package/plugins/lisa/skills/lisa-github-write-issue/SKILL.md +23 -0
  187. package/plugins/lisa/skills/lisa-implement/SKILL.md +15 -2
  188. package/plugins/lisa/skills/lisa-jira-build-intake/SKILL.md +2 -0
  189. package/plugins/lisa/skills/lisa-jira-claim/SKILL.md +2 -0
  190. package/plugins/lisa/skills/lisa-jira-read-ticket/SKILL.md +9 -0
  191. package/plugins/lisa/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
  192. package/plugins/lisa/skills/lisa-jira-write-ticket/SKILL.md +23 -0
  193. package/plugins/lisa/skills/lisa-linear-access/SKILL.md +102 -103
  194. package/plugins/lisa/skills/lisa-linear-access/scripts/linear-graphql.sh +428 -0
  195. package/plugins/lisa/skills/lisa-linear-build-intake/SKILL.md +2 -0
  196. package/plugins/lisa/skills/lisa-linear-claim/SKILL.md +3 -1
  197. package/plugins/lisa/skills/lisa-linear-read-issue/SKILL.md +13 -0
  198. package/plugins/lisa/skills/lisa-linear-validate-issue/SKILL.md +26 -0
  199. package/plugins/lisa/skills/lisa-linear-write-issue/SKILL.md +27 -0
  200. package/plugins/lisa/skills/lisa-notion-access/SKILL.md +37 -0
  201. package/plugins/lisa/skills/lisa-notion-access/scripts/readiness-probe.mjs +83 -0
  202. package/plugins/lisa/skills/lisa-secrets-access/SKILL.md +8 -26
  203. package/plugins/lisa/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +89 -117
  204. package/plugins/lisa/skills/lisa-secrets-access/scripts/config-files.mjs +42 -0
  205. package/plugins/lisa/skills/lisa-secrets-access/scripts/config-layers.mjs +139 -0
  206. package/plugins/lisa/skills/lisa-secrets-access/scripts/materialize-secrets.mjs +138 -125
  207. package/plugins/lisa/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +98 -10
  208. package/plugins/lisa/skills/lisa-secrets-access/scripts/providers.mjs +24 -1
  209. package/plugins/lisa/skills/lisa-secrets-access/scripts/routing-floor.mjs +21 -0
  210. package/plugins/lisa/skills/lisa-secrets-access/scripts/surfaces.mjs +111 -36
  211. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-access.mjs +205 -0
  212. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-action.mjs +218 -0
  213. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs +181 -0
  214. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-context-data.mjs +75 -0
  215. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-context-write.mjs +158 -0
  216. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-github.mjs +92 -0
  217. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-intake-read.mjs +171 -0
  218. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-intake.mjs +155 -0
  219. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-native-context.mjs +71 -0
  220. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-native-contract.mjs +156 -0
  221. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-native-flow.mjs +253 -0
  222. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-native-lifecycle.mjs +106 -0
  223. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-native-state.mjs +171 -0
  224. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-readiness.mjs +347 -0
  225. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-requirements.mjs +279 -0
  226. package/plugins/lisa/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +463 -0
  227. package/plugins/lisa/skills/lisa-secrets-access/scripts/validate-config.mjs +2 -21
  228. package/plugins/lisa/skills/lisa-setup-linear/SKILL.md +2 -0
  229. package/plugins/lisa/skills/lisa-setup-remote-aws/SKILL.md +8 -0
  230. package/plugins/lisa/skills/lisa-task-decomposition/SKILL.md +1 -0
  231. package/plugins/lisa/skills/lisa-track/SKILL.md +13 -1
  232. package/plugins/lisa/skills/lisa-tracker-claim/SKILL.md +2 -0
  233. package/plugins/lisa/skills/lisa-verify/SKILL.md +4 -1
  234. package/plugins/lisa-agy/hooks/secrets-preflight.agy.sh +19 -0
  235. package/plugins/lisa-agy/hooks/secrets-preflight.sh +114 -0
  236. package/plugins/lisa-agy/hooks.json +13 -0
  237. package/plugins/lisa-agy/plugin.json +1 -1
  238. package/plugins/lisa-agy/scripts/install-remote-agent-aws.mjs +3 -2
  239. package/plugins/lisa-agy/scripts/remote-agent-aws-setup.sh +123 -10
  240. package/plugins/lisa-agy/skills/lisa-atlassian-access/SKILL.md +13 -0
  241. package/plugins/lisa-agy/skills/lisa-configure/SKILL.md +19 -7
  242. package/plugins/lisa-agy/skills/lisa-doctor/SKILL.md +10 -0
  243. package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
  244. package/plugins/lisa-agy/skills/lisa-git-submit-pr/SKILL.md +1 -0
  245. package/plugins/lisa-agy/skills/lisa-github-build-intake/SKILL.md +2 -0
  246. package/plugins/lisa-agy/skills/lisa-github-claim/SKILL.md +2 -0
  247. package/plugins/lisa-agy/skills/lisa-github-read-issue/SKILL.md +29 -0
  248. package/plugins/lisa-agy/skills/lisa-github-read-issue/read-contract.mjs +70 -0
  249. package/plugins/lisa-agy/skills/lisa-github-validate-issue/SKILL.md +27 -1
  250. package/plugins/lisa-agy/skills/lisa-github-write-issue/SKILL.md +23 -0
  251. package/plugins/lisa-agy/skills/lisa-implement/SKILL.md +15 -2
  252. package/plugins/lisa-agy/skills/lisa-jira-build-intake/SKILL.md +2 -0
  253. package/plugins/lisa-agy/skills/lisa-jira-claim/SKILL.md +2 -0
  254. package/plugins/lisa-agy/skills/lisa-jira-read-ticket/SKILL.md +9 -0
  255. package/plugins/lisa-agy/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
  256. package/plugins/lisa-agy/skills/lisa-jira-write-ticket/SKILL.md +23 -0
  257. package/plugins/lisa-agy/skills/lisa-linear-access/SKILL.md +102 -103
  258. package/plugins/lisa-agy/skills/lisa-linear-access/scripts/linear-graphql.sh +428 -0
  259. package/plugins/lisa-agy/skills/lisa-linear-build-intake/SKILL.md +2 -0
  260. package/plugins/lisa-agy/skills/lisa-linear-claim/SKILL.md +3 -1
  261. package/plugins/lisa-agy/skills/lisa-linear-read-issue/SKILL.md +13 -0
  262. package/plugins/lisa-agy/skills/lisa-linear-validate-issue/SKILL.md +26 -0
  263. package/plugins/lisa-agy/skills/lisa-linear-write-issue/SKILL.md +27 -0
  264. package/plugins/lisa-agy/skills/lisa-notion-access/SKILL.md +37 -0
  265. package/plugins/lisa-agy/skills/lisa-notion-access/scripts/readiness-probe.mjs +83 -0
  266. package/plugins/lisa-agy/skills/lisa-secrets-access/SKILL.md +8 -26
  267. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +89 -117
  268. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/config-files.mjs +42 -0
  269. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/config-layers.mjs +139 -0
  270. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/materialize-secrets.mjs +138 -125
  271. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +98 -10
  272. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/providers.mjs +24 -1
  273. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/routing-floor.mjs +21 -0
  274. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/surfaces.mjs +111 -36
  275. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-access.mjs +205 -0
  276. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-action.mjs +218 -0
  277. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs +181 -0
  278. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-context-data.mjs +75 -0
  279. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-context-write.mjs +158 -0
  280. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-github.mjs +92 -0
  281. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-intake-read.mjs +171 -0
  282. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-intake.mjs +155 -0
  283. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-native-context.mjs +71 -0
  284. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-native-contract.mjs +156 -0
  285. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-native-flow.mjs +253 -0
  286. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-native-lifecycle.mjs +106 -0
  287. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-native-state.mjs +171 -0
  288. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-readiness.mjs +347 -0
  289. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-requirements.mjs +279 -0
  290. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +463 -0
  291. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/validate-config.mjs +2 -21
  292. package/plugins/lisa-agy/skills/lisa-setup-linear/SKILL.md +2 -0
  293. package/plugins/lisa-agy/skills/lisa-setup-remote-aws/SKILL.md +8 -0
  294. package/plugins/lisa-agy/skills/lisa-task-decomposition/SKILL.md +1 -0
  295. package/plugins/lisa-agy/skills/lisa-track/SKILL.md +13 -1
  296. package/plugins/lisa-agy/skills/lisa-tracker-claim/SKILL.md +2 -0
  297. package/plugins/lisa-agy/skills/lisa-verify/SKILL.md +4 -1
  298. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  299. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  300. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  301. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  302. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  303. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  304. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  305. package/plugins/lisa-copilot/.claude-plugin/plugin.json +49 -2
  306. package/plugins/lisa-copilot/hooks/inject-resolved-config.mjs +235 -3
  307. package/plugins/lisa-copilot/hooks/secrets-preflight.sh +42 -0
  308. package/plugins/lisa-copilot/hooks/task-readiness-guard.mjs +96 -0
  309. package/plugins/lisa-copilot/hooks/task-readiness-guard.sh +54 -0
  310. package/plugins/lisa-copilot/rules/eager/coding-philosophy.md +7 -6
  311. package/plugins/lisa-copilot/rules/reference/coding-philosophy.md +48 -0
  312. package/plugins/lisa-copilot/rules/reference/config-resolution.md +4 -1
  313. package/plugins/lisa-copilot/rules/reference/intent-routing.md +2 -2
  314. package/plugins/lisa-copilot/rules/reference/tool-access-gate.md +160 -0
  315. package/plugins/lisa-copilot/rules/reference/tracked-work.md +2 -0
  316. package/plugins/lisa-copilot/rules/reference/work-item-definition-of-ready.md +31 -0
  317. package/plugins/lisa-copilot/scripts/install-remote-agent-aws.mjs +3 -2
  318. package/plugins/lisa-copilot/scripts/remote-agent-aws-setup.sh +123 -10
  319. package/plugins/lisa-copilot/skills/lisa-atlassian-access/SKILL.md +13 -0
  320. package/plugins/lisa-copilot/skills/lisa-configure/SKILL.md +19 -7
  321. package/plugins/lisa-copilot/skills/lisa-doctor/SKILL.md +10 -0
  322. package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
  323. package/plugins/lisa-copilot/skills/lisa-git-submit-pr/SKILL.md +1 -0
  324. package/plugins/lisa-copilot/skills/lisa-github-build-intake/SKILL.md +2 -0
  325. package/plugins/lisa-copilot/skills/lisa-github-claim/SKILL.md +2 -0
  326. package/plugins/lisa-copilot/skills/lisa-github-read-issue/SKILL.md +29 -0
  327. package/plugins/lisa-copilot/skills/lisa-github-read-issue/read-contract.mjs +70 -0
  328. package/plugins/lisa-copilot/skills/lisa-github-validate-issue/SKILL.md +27 -1
  329. package/plugins/lisa-copilot/skills/lisa-github-write-issue/SKILL.md +23 -0
  330. package/plugins/lisa-copilot/skills/lisa-implement/SKILL.md +15 -2
  331. package/plugins/lisa-copilot/skills/lisa-jira-build-intake/SKILL.md +2 -0
  332. package/plugins/lisa-copilot/skills/lisa-jira-claim/SKILL.md +2 -0
  333. package/plugins/lisa-copilot/skills/lisa-jira-read-ticket/SKILL.md +9 -0
  334. package/plugins/lisa-copilot/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
  335. package/plugins/lisa-copilot/skills/lisa-jira-write-ticket/SKILL.md +23 -0
  336. package/plugins/lisa-copilot/skills/lisa-linear-access/SKILL.md +102 -103
  337. package/plugins/lisa-copilot/skills/lisa-linear-access/scripts/linear-graphql.sh +428 -0
  338. package/plugins/lisa-copilot/skills/lisa-linear-build-intake/SKILL.md +2 -0
  339. package/plugins/lisa-copilot/skills/lisa-linear-claim/SKILL.md +3 -1
  340. package/plugins/lisa-copilot/skills/lisa-linear-read-issue/SKILL.md +13 -0
  341. package/plugins/lisa-copilot/skills/lisa-linear-validate-issue/SKILL.md +26 -0
  342. package/plugins/lisa-copilot/skills/lisa-linear-write-issue/SKILL.md +27 -0
  343. package/plugins/lisa-copilot/skills/lisa-notion-access/SKILL.md +37 -0
  344. package/plugins/lisa-copilot/skills/lisa-notion-access/scripts/readiness-probe.mjs +83 -0
  345. package/plugins/lisa-copilot/skills/lisa-secrets-access/SKILL.md +8 -26
  346. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +89 -117
  347. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/config-files.mjs +42 -0
  348. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/config-layers.mjs +139 -0
  349. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/materialize-secrets.mjs +138 -125
  350. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +98 -10
  351. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/providers.mjs +24 -1
  352. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/routing-floor.mjs +21 -0
  353. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/surfaces.mjs +111 -36
  354. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-access.mjs +205 -0
  355. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-action.mjs +218 -0
  356. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs +181 -0
  357. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-context-data.mjs +75 -0
  358. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-context-write.mjs +158 -0
  359. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-github.mjs +92 -0
  360. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-intake-read.mjs +171 -0
  361. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-intake.mjs +155 -0
  362. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-native-context.mjs +71 -0
  363. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-native-contract.mjs +156 -0
  364. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-native-flow.mjs +253 -0
  365. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-native-lifecycle.mjs +106 -0
  366. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-native-state.mjs +171 -0
  367. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-readiness.mjs +347 -0
  368. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-requirements.mjs +279 -0
  369. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +463 -0
  370. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/validate-config.mjs +2 -21
  371. package/plugins/lisa-copilot/skills/lisa-setup-linear/SKILL.md +2 -0
  372. package/plugins/lisa-copilot/skills/lisa-setup-remote-aws/SKILL.md +8 -0
  373. package/plugins/lisa-copilot/skills/lisa-task-decomposition/SKILL.md +1 -0
  374. package/plugins/lisa-copilot/skills/lisa-track/SKILL.md +13 -1
  375. package/plugins/lisa-copilot/skills/lisa-tracker-claim/SKILL.md +2 -0
  376. package/plugins/lisa-copilot/skills/lisa-verify/SKILL.md +4 -1
  377. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  378. package/plugins/lisa-cursor/hooks/hooks.json +18 -1
  379. package/plugins/lisa-cursor/hooks/inject-resolved-config.mjs +235 -3
  380. package/plugins/lisa-cursor/hooks/secrets-preflight.sh +42 -0
  381. package/plugins/lisa-cursor/hooks/task-readiness-guard.mjs +96 -0
  382. package/plugins/lisa-cursor/hooks/task-readiness-guard.sh +54 -0
  383. package/plugins/lisa-cursor/rules/coding-philosophy-reference.mdc +48 -0
  384. package/plugins/lisa-cursor/rules/coding-philosophy.mdc +7 -6
  385. package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +4 -1
  386. package/plugins/lisa-cursor/rules/intent-routing-reference.mdc +2 -2
  387. package/plugins/lisa-cursor/rules/tool-access-gate-reference.mdc +160 -0
  388. package/plugins/lisa-cursor/rules/tracked-work-reference.mdc +2 -0
  389. package/plugins/lisa-cursor/rules/work-item-definition-of-ready-reference.mdc +31 -0
  390. package/plugins/lisa-cursor/scripts/install-remote-agent-aws.mjs +3 -2
  391. package/plugins/lisa-cursor/scripts/remote-agent-aws-setup.sh +123 -10
  392. package/plugins/lisa-cursor/skills/lisa-atlassian-access/SKILL.md +13 -0
  393. package/plugins/lisa-cursor/skills/lisa-configure/SKILL.md +19 -7
  394. package/plugins/lisa-cursor/skills/lisa-doctor/SKILL.md +10 -0
  395. package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
  396. package/plugins/lisa-cursor/skills/lisa-git-submit-pr/SKILL.md +1 -0
  397. package/plugins/lisa-cursor/skills/lisa-github-build-intake/SKILL.md +2 -0
  398. package/plugins/lisa-cursor/skills/lisa-github-claim/SKILL.md +2 -0
  399. package/plugins/lisa-cursor/skills/lisa-github-read-issue/SKILL.md +29 -0
  400. package/plugins/lisa-cursor/skills/lisa-github-read-issue/read-contract.mjs +70 -0
  401. package/plugins/lisa-cursor/skills/lisa-github-validate-issue/SKILL.md +27 -1
  402. package/plugins/lisa-cursor/skills/lisa-github-write-issue/SKILL.md +23 -0
  403. package/plugins/lisa-cursor/skills/lisa-implement/SKILL.md +15 -2
  404. package/plugins/lisa-cursor/skills/lisa-jira-build-intake/SKILL.md +2 -0
  405. package/plugins/lisa-cursor/skills/lisa-jira-claim/SKILL.md +2 -0
  406. package/plugins/lisa-cursor/skills/lisa-jira-read-ticket/SKILL.md +9 -0
  407. package/plugins/lisa-cursor/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
  408. package/plugins/lisa-cursor/skills/lisa-jira-write-ticket/SKILL.md +23 -0
  409. package/plugins/lisa-cursor/skills/lisa-linear-access/SKILL.md +102 -103
  410. package/plugins/lisa-cursor/skills/lisa-linear-access/scripts/linear-graphql.sh +428 -0
  411. package/plugins/lisa-cursor/skills/lisa-linear-build-intake/SKILL.md +2 -0
  412. package/plugins/lisa-cursor/skills/lisa-linear-claim/SKILL.md +3 -1
  413. package/plugins/lisa-cursor/skills/lisa-linear-read-issue/SKILL.md +13 -0
  414. package/plugins/lisa-cursor/skills/lisa-linear-validate-issue/SKILL.md +26 -0
  415. package/plugins/lisa-cursor/skills/lisa-linear-write-issue/SKILL.md +27 -0
  416. package/plugins/lisa-cursor/skills/lisa-notion-access/SKILL.md +37 -0
  417. package/plugins/lisa-cursor/skills/lisa-notion-access/scripts/readiness-probe.mjs +83 -0
  418. package/plugins/lisa-cursor/skills/lisa-secrets-access/SKILL.md +8 -26
  419. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +89 -117
  420. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/config-files.mjs +42 -0
  421. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/config-layers.mjs +139 -0
  422. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/materialize-secrets.mjs +138 -125
  423. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +98 -10
  424. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/providers.mjs +24 -1
  425. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/routing-floor.mjs +21 -0
  426. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/surfaces.mjs +111 -36
  427. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-access.mjs +205 -0
  428. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-action.mjs +218 -0
  429. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs +181 -0
  430. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-context-data.mjs +75 -0
  431. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-context-write.mjs +158 -0
  432. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-github.mjs +92 -0
  433. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-intake-read.mjs +171 -0
  434. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-intake.mjs +155 -0
  435. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-native-context.mjs +71 -0
  436. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-native-contract.mjs +156 -0
  437. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-native-flow.mjs +253 -0
  438. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-native-lifecycle.mjs +106 -0
  439. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-native-state.mjs +171 -0
  440. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-readiness.mjs +347 -0
  441. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-requirements.mjs +279 -0
  442. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +463 -0
  443. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/validate-config.mjs +2 -21
  444. package/plugins/lisa-cursor/skills/lisa-setup-linear/SKILL.md +2 -0
  445. package/plugins/lisa-cursor/skills/lisa-setup-remote-aws/SKILL.md +8 -0
  446. package/plugins/lisa-cursor/skills/lisa-task-decomposition/SKILL.md +1 -0
  447. package/plugins/lisa-cursor/skills/lisa-track/SKILL.md +13 -1
  448. package/plugins/lisa-cursor/skills/lisa-tracker-claim/SKILL.md +2 -0
  449. package/plugins/lisa-cursor/skills/lisa-verify/SKILL.md +4 -1
  450. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  451. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  452. package/plugins/lisa-devin/hooks/inject-resolved-config.mjs +235 -3
  453. package/plugins/lisa-devin/hooks/secrets-preflight.sh +42 -0
  454. package/plugins/lisa-devin/hooks/task-readiness-guard.mjs +96 -0
  455. package/plugins/lisa-devin/hooks/task-readiness-guard.sh +54 -0
  456. package/plugins/lisa-devin/hooks.json +43 -1
  457. package/plugins/lisa-devin/rules/eager/coding-philosophy.md +7 -6
  458. package/plugins/lisa-devin/rules/reference/coding-philosophy.md +48 -0
  459. package/plugins/lisa-devin/rules/reference/config-resolution.md +4 -1
  460. package/plugins/lisa-devin/rules/reference/intent-routing.md +2 -2
  461. package/plugins/lisa-devin/rules/reference/tool-access-gate.md +160 -0
  462. package/plugins/lisa-devin/rules/reference/tracked-work.md +2 -0
  463. package/plugins/lisa-devin/rules/reference/work-item-definition-of-ready.md +31 -0
  464. package/plugins/lisa-devin/scripts/install-remote-agent-aws.mjs +3 -2
  465. package/plugins/lisa-devin/scripts/remote-agent-aws-setup.sh +123 -10
  466. package/plugins/lisa-devin/skills/lisa-atlassian-access/SKILL.md +13 -0
  467. package/plugins/lisa-devin/skills/lisa-configure/SKILL.md +19 -7
  468. package/plugins/lisa-devin/skills/lisa-doctor/SKILL.md +10 -0
  469. package/plugins/lisa-devin/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
  470. package/plugins/lisa-devin/skills/lisa-git-submit-pr/SKILL.md +1 -0
  471. package/plugins/lisa-devin/skills/lisa-github-build-intake/SKILL.md +2 -0
  472. package/plugins/lisa-devin/skills/lisa-github-claim/SKILL.md +2 -0
  473. package/plugins/lisa-devin/skills/lisa-github-read-issue/SKILL.md +29 -0
  474. package/plugins/lisa-devin/skills/lisa-github-read-issue/read-contract.mjs +70 -0
  475. package/plugins/lisa-devin/skills/lisa-github-validate-issue/SKILL.md +27 -1
  476. package/plugins/lisa-devin/skills/lisa-github-write-issue/SKILL.md +23 -0
  477. package/plugins/lisa-devin/skills/lisa-implement/SKILL.md +15 -2
  478. package/plugins/lisa-devin/skills/lisa-jira-build-intake/SKILL.md +2 -0
  479. package/plugins/lisa-devin/skills/lisa-jira-claim/SKILL.md +2 -0
  480. package/plugins/lisa-devin/skills/lisa-jira-read-ticket/SKILL.md +9 -0
  481. package/plugins/lisa-devin/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
  482. package/plugins/lisa-devin/skills/lisa-jira-write-ticket/SKILL.md +23 -0
  483. package/plugins/lisa-devin/skills/lisa-linear-access/SKILL.md +102 -103
  484. package/plugins/lisa-devin/skills/lisa-linear-access/scripts/linear-graphql.sh +428 -0
  485. package/plugins/lisa-devin/skills/lisa-linear-build-intake/SKILL.md +2 -0
  486. package/plugins/lisa-devin/skills/lisa-linear-claim/SKILL.md +3 -1
  487. package/plugins/lisa-devin/skills/lisa-linear-read-issue/SKILL.md +13 -0
  488. package/plugins/lisa-devin/skills/lisa-linear-validate-issue/SKILL.md +26 -0
  489. package/plugins/lisa-devin/skills/lisa-linear-write-issue/SKILL.md +27 -0
  490. package/plugins/lisa-devin/skills/lisa-notion-access/SKILL.md +37 -0
  491. package/plugins/lisa-devin/skills/lisa-notion-access/scripts/readiness-probe.mjs +83 -0
  492. package/plugins/lisa-devin/skills/lisa-secrets-access/SKILL.md +8 -26
  493. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +89 -117
  494. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/config-files.mjs +42 -0
  495. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/config-layers.mjs +139 -0
  496. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/materialize-secrets.mjs +138 -125
  497. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +98 -10
  498. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/providers.mjs +24 -1
  499. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/routing-floor.mjs +21 -0
  500. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/surfaces.mjs +111 -36
  501. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-access.mjs +205 -0
  502. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-action.mjs +218 -0
  503. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs +181 -0
  504. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-context-data.mjs +75 -0
  505. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-context-write.mjs +158 -0
  506. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-github.mjs +92 -0
  507. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-intake-read.mjs +171 -0
  508. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-intake.mjs +155 -0
  509. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-native-context.mjs +71 -0
  510. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-native-contract.mjs +156 -0
  511. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-native-flow.mjs +253 -0
  512. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-native-lifecycle.mjs +106 -0
  513. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-native-state.mjs +171 -0
  514. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-readiness.mjs +347 -0
  515. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-requirements.mjs +279 -0
  516. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +463 -0
  517. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/validate-config.mjs +2 -21
  518. package/plugins/lisa-devin/skills/lisa-setup-linear/SKILL.md +2 -0
  519. package/plugins/lisa-devin/skills/lisa-setup-remote-aws/SKILL.md +8 -0
  520. package/plugins/lisa-devin/skills/lisa-task-decomposition/SKILL.md +1 -0
  521. package/plugins/lisa-devin/skills/lisa-track/SKILL.md +13 -1
  522. package/plugins/lisa-devin/skills/lisa-tracker-claim/SKILL.md +2 -0
  523. package/plugins/lisa-devin/skills/lisa-verify/SKILL.md +4 -1
  524. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  525. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  526. package/plugins/lisa-expo-agy/plugin.json +1 -1
  527. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  528. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  529. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  530. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  531. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  532. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  533. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  534. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  535. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  536. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  537. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  538. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  539. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  540. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  541. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  542. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  543. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  544. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  545. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  546. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  547. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  548. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  549. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  550. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  551. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  552. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  553. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  554. package/plugins/lisa-rails-agy/plugin.json +1 -1
  555. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  556. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  557. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  558. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  559. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  560. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  561. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  562. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  563. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  564. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  565. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  566. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  567. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  568. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  569. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  570. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  571. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  572. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  573. package/plugins/materialized-artifacts.json +2 -0
  574. package/plugins/src/base/.claude-plugin/plugin.json +25 -1
  575. package/plugins/src/base/hooks/inject-resolved-config.mjs +235 -3
  576. package/plugins/src/base/hooks/secrets-preflight.agy.sh +19 -0
  577. package/plugins/src/base/hooks/secrets-preflight.sh +42 -0
  578. package/plugins/src/base/hooks/task-readiness-guard.mjs +96 -0
  579. package/plugins/src/base/hooks/task-readiness-guard.sh +51 -0
  580. package/plugins/src/base/rules/eager/coding-philosophy.md +7 -6
  581. package/plugins/src/base/rules/reference/coding-philosophy.md +48 -0
  582. package/plugins/src/base/rules/reference/config-resolution.md +4 -1
  583. package/plugins/src/base/rules/reference/intent-routing.md +2 -2
  584. package/plugins/src/base/rules/reference/tool-access-gate.md +160 -0
  585. package/plugins/src/base/rules/reference/tracked-work.md +2 -0
  586. package/plugins/src/base/rules/reference/work-item-definition-of-ready.md +31 -0
  587. package/plugins/src/base/scripts/install-remote-agent-aws.mjs +3 -2
  588. package/plugins/src/base/scripts/remote-agent-aws-setup.sh +123 -10
  589. package/plugins/src/base/skills/lisa-atlassian-access/SKILL.md +13 -0
  590. package/plugins/src/base/skills/lisa-configure/SKILL.md +19 -7
  591. package/plugins/src/base/skills/lisa-doctor/SKILL.md +10 -0
  592. package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
  593. package/plugins/src/base/skills/lisa-git-submit-pr/SKILL.md +1 -0
  594. package/plugins/src/base/skills/lisa-github-build-intake/SKILL.md +2 -0
  595. package/plugins/src/base/skills/lisa-github-claim/SKILL.md +2 -0
  596. package/plugins/src/base/skills/lisa-github-read-issue/SKILL.md +29 -0
  597. package/plugins/src/base/skills/lisa-github-read-issue/read-contract.mjs +70 -0
  598. package/plugins/src/base/skills/lisa-github-validate-issue/SKILL.md +27 -1
  599. package/plugins/src/base/skills/lisa-github-write-issue/SKILL.md +23 -0
  600. package/plugins/src/base/skills/lisa-implement/SKILL.md +15 -2
  601. package/plugins/src/base/skills/lisa-jira-build-intake/SKILL.md +2 -0
  602. package/plugins/src/base/skills/lisa-jira-claim/SKILL.md +2 -0
  603. package/plugins/src/base/skills/lisa-jira-read-ticket/SKILL.md +9 -0
  604. package/plugins/src/base/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
  605. package/plugins/src/base/skills/lisa-jira-write-ticket/SKILL.md +23 -0
  606. package/plugins/src/base/skills/lisa-linear-access/SKILL.md +102 -103
  607. package/plugins/src/base/skills/lisa-linear-access/scripts/linear-graphql.sh +428 -0
  608. package/plugins/src/base/skills/lisa-linear-build-intake/SKILL.md +2 -0
  609. package/plugins/src/base/skills/lisa-linear-claim/SKILL.md +3 -1
  610. package/plugins/src/base/skills/lisa-linear-read-issue/SKILL.md +13 -0
  611. package/plugins/src/base/skills/lisa-linear-validate-issue/SKILL.md +26 -0
  612. package/plugins/src/base/skills/lisa-linear-write-issue/SKILL.md +27 -0
  613. package/plugins/src/base/skills/lisa-notion-access/SKILL.md +37 -0
  614. package/plugins/src/base/skills/lisa-notion-access/scripts/readiness-probe.mjs +83 -0
  615. package/plugins/src/base/skills/lisa-secrets-access/SKILL.md +8 -26
  616. package/plugins/src/base/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +89 -117
  617. package/plugins/src/base/skills/lisa-secrets-access/scripts/config-files.mjs +42 -0
  618. package/plugins/src/base/skills/lisa-secrets-access/scripts/config-layers.mjs +139 -0
  619. package/plugins/src/base/skills/lisa-secrets-access/scripts/materialize-secrets.mjs +138 -125
  620. package/plugins/src/base/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +98 -10
  621. package/plugins/src/base/skills/lisa-secrets-access/scripts/providers.mjs +24 -1
  622. package/plugins/src/base/skills/lisa-secrets-access/scripts/routing-floor.mjs +21 -0
  623. package/plugins/src/base/skills/lisa-secrets-access/scripts/surfaces.mjs +111 -36
  624. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-access.mjs +205 -0
  625. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-action.mjs +218 -0
  626. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs +181 -0
  627. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-context-data.mjs +75 -0
  628. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-context-write.mjs +158 -0
  629. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-github.mjs +92 -0
  630. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-intake-read.mjs +171 -0
  631. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-intake.mjs +155 -0
  632. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-native-context.mjs +71 -0
  633. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-native-contract.mjs +156 -0
  634. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-native-flow.mjs +253 -0
  635. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-native-lifecycle.mjs +106 -0
  636. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-native-state.mjs +171 -0
  637. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-readiness.mjs +347 -0
  638. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-requirements.mjs +279 -0
  639. package/plugins/src/base/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +463 -0
  640. package/plugins/src/base/skills/lisa-secrets-access/scripts/validate-config.mjs +2 -21
  641. package/plugins/src/base/skills/lisa-setup-linear/SKILL.md +2 -0
  642. package/plugins/src/base/skills/lisa-setup-remote-aws/SKILL.md +8 -0
  643. package/plugins/src/base/skills/lisa-task-decomposition/SKILL.md +1 -0
  644. package/plugins/src/base/skills/lisa-track/SKILL.md +13 -1
  645. package/plugins/src/base/skills/lisa-tracker-claim/SKILL.md +2 -0
  646. package/plugins/src/base/skills/lisa-verify/SKILL.md +4 -1
  647. package/scripts/build-plugins.sh +1 -1
  648. package/scripts/copy-opencode-plugin-templates.mjs +2 -0
  649. package/scripts/generate-agy-plugin-artifacts.mjs +8 -0
  650. package/scripts/lib/per-agent-hook-filter.mjs +1 -1
  651. package/scripts/lisa-enforcement-fallback.sh +3 -3
  652. package/scripts/lisa-enforcement-freshness.mjs +1 -0
  653. package/scripts/lisa-release-switch.mjs +9 -0
  654. package/scripts/two-channel-couplings.json +2 -2
  655. package/typescript/copy-overwrite/.prettierignore +2 -0
  656. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-code-style-slow.clean.patch +25 -0
  657. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-code-style-slow.violation.patch +28 -0
  658. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-code-style.clean.patch +13 -0
  659. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-code-style.violation.patch +13 -0
  660. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-coverage-adequacy.clean.patch +6 -0
  661. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-coverage-adequacy.violation.patch +7 -0
  662. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-dead-code.clean.patch +7 -0
  663. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-dead-code.violation.patch +7 -0
  664. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-dependency-vulnerability.clean.patch +6 -0
  665. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-dependency-vulnerability.violation.patch +6 -0
  666. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-format-conformance.clean.patch +8 -0
  667. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-format-conformance.violation.patch +7 -0
  668. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-structural-rules.clean.patch +14 -0
  669. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-structural-rules.violation.patch +14 -0
  670. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-test-correctness.clean.patch +10 -0
  671. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-test-correctness.violation.patch +10 -0
  672. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-test-integration.clean.patch +10 -0
  673. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-test-integration.violation.patch +10 -0
  674. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-traceability.clean.patch +6 -0
  675. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-traceability.violation.patch +6 -0
  676. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-type-correctness.clean.patch +10 -0
  677. package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-type-correctness.violation.patch +10 -0
  678. package/typescript/package-lisa/package.lisa.json +2 -3
@@ -2,6 +2,166 @@
2
2
 
3
3
  > Detail behind the eager `when-to-stop` rule.
4
4
 
5
+ ## Task readiness
6
+
7
+ The secrets access owner's `preflight-secrets.mjs` is the shared decision entry
8
+ point. Before claim, the bounded resolver reads the complete live body/comments,
9
+ acceptance, proof and delivery needs; enumerates credential availability separately
10
+ from scoped capability/identity; and persists the complete vendor context after
11
+ the normal git-ignore and EAS checks. Only this small local intake metadata write
12
+ may precede claim. Normal source, branch, claim and business writes may not.
13
+
14
+ Before a context exists, fixed Implement/Track/tracker-read/secrets-access owner
15
+ loads and configured issue/comment/relationship reads remain available. The
16
+ bounded native `Agent` route uses name `input-resolver`, type `general-purpose`,
17
+ description `Resolve Lisa input`, and the exact prompt `Invoke lisa-track <ref>;
18
+ resolve the complete live issue, comments and graph; prepare requirements and
19
+ prove access before any claim. Do not implement or change source.` Only the
20
+ configured canonical ref is substituted. Other agents, skills and mutations
21
+ are not preclaim exceptions. Never create a fake complete empty header to load
22
+ the resolver or read its inputs.
23
+
24
+ Supply a complete values-free `required_access` array and
25
+ `requirements_complete: true` as JSON on stdin to the owner's
26
+ `--prepare --ref <canonical-ref>` mode. For the first context, include the complete
27
+ unedited `context_body` on that same stdin; it creates
28
+ only the fixed ignored0600 context after Git-ignore and EAS checks. Existing
29
+ context cannot be replaced through `context_body`. This is the bounded initial
30
+ resolver metadata transaction, not a general Write or shell exception.
31
+ For the native Claude `Write` tool, pass the complete canonical context as
32
+ `{file_path: "<absolute project root>/.lisa/work-item-context.md", content: "<leading requirements header plus full body>"}`.
33
+ Use the header schema above with current root/ref/config/surface/body/requirements
34
+ digests; no stored success field or credential value belongs in that header.
35
+ The before hook treats this exact-path request as data for the existing validated
36
+ atomic0600 metadata owner. It DENIES the redundant raw Write with
37
+ "Context prepared; run readiness", while explicitly performing only that bounded
38
+ metadata side effect. Run readiness next; a denial is not a fake successful tool
39
+ result. Source writes, alternate paths, symlinks, conflicting refs/config/body,
40
+ missing ignore/EAS proof and malformed headers still refuse. Existing body bytes
41
+ cannot be replaced by this adapter. Never put the complete private body in a Bash
42
+ command, heredoc, argv or Lisa-owned log; native tool payloads may still be retained
43
+ in runtime transcripts. No universal transcript privacy is claimed.
44
+ Codex retains native `tool_name: apply_patch`; its `tool_input.command` is patch
45
+ data. Only ONE whole `*** Add File: <absolute canonical context path>` operation
46
+ is decoded into the same strict metadata owner. Every content line starts with
47
+ `+`; Add File reconstructs those lines with LF and a final LF. The before hook
48
+ prepares0600 context and DENIES the redundant raw patch with the same recovery.
49
+ Relative/normalized/symlink aliases, mixed operations, update/delete/move/hunks,
50
+ bad framing/trailing text and bad headers/body/ref/config/binding still refuse.
51
+ Ordinary non-context source patches are NOT metadata: they reach normal readiness,
52
+ proceed only when qualified and remain withheld when required access is unproved.
53
+ This is a protocol/wrapper component, not execution of every native app/version.
54
+
55
+ Real SessionStart (including same-ID resume), UserPromptSubmit and SessionEnd
56
+ rotate the existing temporary root/session epoch before config/header/provider
57
+ evaluation, including subagent scopes. Early affected-action failures invalidate
58
+ the epoch before reporting denial. Restoring exact config bytes cannot revive
59
+ an old proof. SessionStart remains advisory; this reset grants no access.
60
+ The owner prepends the strictly leading
61
+ `<!-- lisa-required-access:v1` header and preserves every following body/comment
62
+ byte. Then run `--task --ref <canonical-ref>` before claim and act on its semantic
63
+ outcome. `ESTABLISHED` exits0 and proves only the exercised scope. `DENIED` exits2
64
+ and stops the affected action. `NATIVE_OWNER_REQUIRED` exits3: the documented
65
+ native owner must perform its actual immediate identity/resource probe before
66
+ the claim or affected continuation. It is not shell PASS or a definitive access
67
+ failure; do not repeat an unobservable check forever. A complete empty array checks routing and declared requirements;
68
+ it proves no other integration. Never use credential-only for an integration
69
+ whose identity/resource/operation must be proved. Never supply values, executable
70
+ paths, commands, argv, arbitrary URLs, JSON programs or successful attestations.
71
+
72
+ The header binds root, canonical ref/provider, body, effective config/provenance,
73
+ surface and requirement digests. The owner rereads them and the canonical binding
74
+ at every affected action. Missing, conflicting, incomplete, malformed or stale
75
+ metadata refuses; no cached pass survives a changed task/config/surface/body.
76
+ Only fixed owner adapters probe documented operations. GitHub's native keyring
77
+ route checks the configured repository, and proves only that GitHub operation.
78
+ Supported injected access needs no vault tool, bootstrap or health proof.
79
+ Routing credential names are capability proxies: a complete task capability for
80
+ the same routed vendor may establish access through its documented native owner.
81
+ An explicit `secrets.require` or credential-only task assertion remains independent
82
+ and must be satisfied before any handoff. An omitted routed capability still
83
+ checks its routing floor; an unrelated capability cannot satisfy that floor.
84
+
85
+ Native PreToolUse adapters call this same owner and withhold ordinary DENIED and
86
+ NATIVE_OWNER_REQUIRED actions; no-context/no-binding is not a mutation grant.
87
+ SessionStart stays advisory. Only fixed orientation/recovery, owner loading and
88
+ the expected documented read-only probes remain available while pending.
89
+ Fixed orientation reads remain available.
90
+ Required source errors use fixed safe diagnoses and recovery actions; never
91
+ reflect requirement identifiers/resources/paths, parse errors or provider output.
92
+ Do not block unrelated tasks or require optional integrations universally.
93
+
94
+ The exact readiness owner command (`node <owner>/preflight-secrets.mjs --task
95
+ --ref <canonical-ref>`, or `--prepare` with that ref and JSON on terminal stdin)
96
+ remains available during refusal. It grants no work: task mode still reports its
97
+ real verdict, and preparation only refreshes the ignored requirements metadata.
98
+ Only the exact native context Write/Add File forms above carry private metadata.
99
+ General shell chaining, redirects and unrelated commands are not exceptions.
100
+
101
+ ### Native connector representation gap
102
+
103
+ The reference native owner has one narrow Notion self/fetch before/after bridge.
104
+ It uses runtime call/session/input and approved connection provenance, stable self
105
+ identity, and a recognized positive exact-resource MCP output. Arbitrary text,
106
+ empty success, supplied status, unsolicited/replayed results and wrong identity
107
+ cannot mint proof. Every pending scope must be covered, and the next identical
108
+ ordinary action atomically consumes the complete temporary observation once.
109
+ State contains safe indexes/hashes, not arguments, private IDs, result text or
110
+ credential values. Changed root/task/config/context/surface/action, failures and
111
+ intervening work invalidate it; no durable PASS or new binding schema exists.
112
+
113
+ Several runtimes have after-tool events but lack qualified response/provenance
114
+ forwarding here. Standard Notion output without the supported typed positive
115
+ contract, ChatGPT's different fetch shape, and missing native call/provenance
116
+ fields are `native-response-unrepresented`, not vendor/tool/credential absence.
117
+ Ordinary work remains withheld. The documented
118
+ `lisa-notion-access`, `lisa-linear-access` and `lisa-atlassian-access` native routes
119
+ remain valid when tier1 is genuinely unavailable; their actual immediate
120
+ identity/resource probe and guarded write/readback own the affected native
121
+ operation. A supplied passed status, transcript or shell absence proves nothing.
122
+ Capability credential names are primary candidates, not independent mandatory
123
+ secrets that can prevent a documented fallback. Explicit config assertions and
124
+ routing-floor obligations remain mandatory with their existing exceptions.
125
+ Supported primary resolution precedes eligible fallback; wrong identity cannot
126
+ be hidden by connector handoff. Provider health and capability proof stay separate.
127
+ Only the represented event/response contract is machine-enforced; fixture or
128
+ callback results do not establish native-agent execution. Otherwise report the
129
+ precise response mapping gap and retain the ordinary-action refusal and existing
130
+ owner's immediate probe/write/readback duty. A mismatched identity never authorizes
131
+ a fallback. Provider health and capability proof remain distinct observations.
132
+
133
+ Descriptors can name integrations beyond the executable adapters. Existing
134
+ documented native owners remain authoritative. Without such a native route,
135
+ unsupported executable observation is DENIED (adapter-unsupported), not an
136
+ invented connector handoff or malformed metadata. A documented cheapest
137
+ authenticated read still needs an implemented supported adapter. No header supplies
138
+ executable code, URLs, argv or attestations. Credential diagnoses use bounded
139
+ schema-validated public keys and generated requirement indexes, never raw
140
+ requirement IDs/resources or a fixture-name allowlist.
141
+ The bounded GitGuardian `token-read` adapter resolves GITGUARDIAN_API_KEY through
142
+ the same sources, reads the fixed API token-self endpoint, and compares its
143
+ workspace to the optional task-specific `gitguardian.workspaceId` anchor. It
144
+ proves that scoped token read, not a scan or vault health. API authority:
145
+ [GitGuardian API](https://api.gitguardian.com/docs). Projects not needing this
146
+ operation do not need this anchor or credential.
147
+ GitHub reads its repository/permissions separately from the authenticated user.
148
+ Native keyring success avoids a vault lookup. When native authentication is
149
+ unavailable, the same supported env/file/provider ladder supplies GH_TOKEN only
150
+ to the scoped gh child's in-memory environment, clearing conflicting aliases.
151
+ Wrong native identity never silently falls back. API failure is not vault outage.
152
+ An observed actor ID comes only from `/user`, never a repository viewer field;
153
+ repository access does not imply the actor owns that repository. Installation
154
+ tokens without `/user` prove repository scope only, with actor explicitly unobserved.
155
+
156
+ Claude, Codex, Cursor, Copilot and Devin receive the shared native before-tool
157
+ hook; OpenCode throws from tool.execute.before. Antigravity's run_command adapter
158
+ can cancel shell work; it has no SessionStart. Equivalent file-edit/native-MCP
159
+ response interception is not implemented by this adapter; the generator contract
160
+ does list PostToolUse support, so this is not a claim that agy lacks that event.
161
+ Generated artifact parity does not establish native
162
+ execution on any platform. Preserve the existing access ordering and hold/leaf/
163
+ scope/idempotency guards. Stop/report independently of tracker write success.
164
+
5
165
  - If you can't reach something you need, such as a repository, a secret, an API, or a connector, say exactly what's missing in your first message and stop. Don't substitute, mock, or guess.
6
166
 
7
167
  If the missing access is discovered after work begins, say exactly what's
@@ -1,5 +1,7 @@
1
1
  # Tracked Work
2
2
 
3
+ Before claim or normal project mutations, follow `tool-access-gate` Task readiness. The only preclaim write exception is the bounded requirements-only header in the ignored work-item context; it grants no access. Preserve body/comments, holds, leaf/scope checks, and the canonical binding schema. Recheck new requirements and current scope before affected work; failure reporting never depends on a successful tracker write.
4
+
3
5
  Apply `do-it-now` before creating work from incidental findings. Declining an observation needs no new ticket. Related small accepted repairs may share one bounded maintenance leaf; traceability does not require a separate item for every nit.
4
6
 
5
7
  The project tracker is the durable operator-facing record for project work. Every session that will produce a durable project outcome must establish exactly one live configured-tracker leaf before the first durable mutation. Durable outcomes include code, tests, configuration, documentation, committed research or plans, investigation findings, commits, and pull requests. Read-only questions, discussion, and repository orientation are exempt until they turn into durable work.
@@ -201,6 +201,37 @@ and the section shows that ledger's actual tokens and cost beside the estimate
201
201
  (`lisa-estimate.mjs tally`). It is `N/A` when the project turns the
202
202
  requirement off. Nobody is ever asked for an estimate.
203
203
 
204
+ ## Release switch (gate S22)
205
+
206
+ Whatever is on a shared branch can be promoted to the next environment as it
207
+ stands (`coding-philosophy`, "Always Promotable"). So every leaf that changes
208
+ runtime behavior, in a project with live users, carries one `## Release Switch`
209
+ section with exactly one line:
210
+
211
+ ```text
212
+ Live — complete and proven at merge
213
+ Switched off — <switch-name>; removed by this item
214
+ Switched off — <switch-name>; removed by <work-item ref>
215
+ ```
216
+
217
+ One question decides the form: if this were promoted to production right now,
218
+ would a user see something unfinished or unproven? If no, the work is live and
219
+ gets no switch: bug fixes, small tweaks, copy changes, refactors and dependency
220
+ updates almost always are. The question decides, not the kind of work. If yes,
221
+ it is switched off, and the declaration names the
222
+ switch and the work item that removes it. The shipped
223
+ `scripts/lisa-release-switch.mjs` renders and checks the section for every
224
+ agent.
225
+
226
+ At write and ready time a proposed leaf with no declaration fails, because the
227
+ writer renders it. A leaf already in the tracker with none is `N/A` with a
228
+ repair note, and the claiming agent writes the declaration before any work
229
+ (`lisa-track`). A declaration that is present and malformed always fails. At
230
+ done time `lisa-work-item finish` refuses the item that removes a switch while
231
+ tracked source still references that switch. The gate is `N/A` for work that
232
+ changes no runtime behavior, for containers, and whenever the project sets
233
+ `release.liveUsers: false`. Nobody is ever asked which form applies.
234
+
204
235
  ## Relationship to the lifecycle
205
236
 
206
237
  - **Write time** — `*-write-*` runs the applicable pre-write gates; a spec
@@ -316,8 +316,9 @@ Generated for: \`${platform}\`.
316
316
  Profiles are named \`<project>-agent-<stage>\`, not bare \`dev\` or
317
317
  \`production\`. The bundle supplies the stage; the project component comes from
318
318
  \`LISA_AWS_PROFILE_NAMESPACE\`, then the bundle's \`namespace\`, then
319
- \`<owner>-<repository>\` from this checkout's git origin. Select an account
320
- explicitly, for example:
319
+ \`<owner>-<repository>\` from this checkout's git origin. A bundle key that
320
+ already begins with \`agent-\` is not doubled: \`agent-dev\` and \`dev\` both become
321
+ \`<project>-agent-dev\`. Select an account explicitly, for example:
321
322
 
322
323
  \`\`\`bash
323
324
  aws --profile <project>-agent-staging sts get-caller-identity
@@ -187,6 +187,9 @@ remove_profile_section() {
187
187
 
188
188
  temporary_file="$(mktemp "${file}.XXXXXX")"
189
189
  awk -v section="$section" '
190
+ /^# >>> managed by lisa-secrets-access/ { managed = 1; in_section = 0 }
191
+ /^# <<< managed by lisa-secrets-access/ { managed = 0; in_section = 0 }
192
+ managed { print; next }
190
193
  /^\[[^]]*\][[:space:]]*$/ {
191
194
  current = $0
192
195
  sub(/^\[[[:space:]]*/, "", current)
@@ -225,16 +228,21 @@ profile_setting_value() {
225
228
  ' "$file"
226
229
  }
227
230
 
228
- # Every section written by the OLD, unnamespaced convention.
231
+ # Find profiles still using the old unnamespaced bootstrap. When selecting
232
+ # sections for deletion, omit managed blocks handled by a different writer.
229
233
  #
230
234
  # Identified by the retired bootstrap profile name, which only Lisa ever wrote,
231
235
  # so an operator's own `[profile dev]` can never be mistaken for ours.
232
236
  legacy_profile_sections() {
233
- local file
237
+ local file selection
234
238
  file="$1"
239
+ selection="$2"
235
240
  [ -f "$file" ] || return 0
236
241
 
237
- awk -v bootstrap="$LEGACY_BOOTSTRAP_PROFILE" '
242
+ awk -v bootstrap="$LEGACY_BOOTSTRAP_PROFILE" -v selection="$selection" '
243
+ /^# >>> managed by lisa-secrets-access/ { managed = 1; section = ""; next }
244
+ /^# <<< managed by lisa-secrets-access/ { managed = 0; section = ""; next }
245
+ selection == "prune" && managed { next }
238
246
  /^\[[^]]*\][[:space:]]*$/ {
239
247
  current = $0
240
248
  sub(/^\[[[:space:]]*/, "", current)
@@ -242,15 +250,82 @@ legacy_profile_sections() {
242
250
  section = current
243
251
  next
244
252
  }
245
- $0 ~ "^[[:space:]]*source_profile[[:space:]]*=" {
253
+ # Dependency checks accept AWS CLI option casing and both INI delimiters.
254
+ # Retain the historical selector for reporting and pruning.
255
+ /^[[:space:]]*source_profile[[:space:]]*=/ ||
256
+ (selection == "references" && tolower($0) ~ /^[[:space:]]*source_profile[[:space:]]*[:=]/) {
246
257
  value = $0
247
- sub(/^[^=]*=[[:space:]]*/, "", value)
258
+ sub(/^[^:=]*[:=][[:space:]]*/, "", value)
248
259
  sub(/[[:space:]]*$/, "", value)
249
260
  if (value == bootstrap && section != "") print section
250
261
  }
251
262
  ' "$file"
252
263
  }
253
264
 
265
+ # Sections an earlier run of THIS script wrote under the doubled spelling.
266
+ #
267
+ # Before stage keys were normalized, a bundle key `agent-dev` became
268
+ # `<namespace>-agent-agent-dev`. Those sections assume from this project's own
269
+ # bootstrap profile, so they are provably this project's output — not another
270
+ # tenant's (a different source profile) and not an operator's (who would not
271
+ # name this project's bootstrap profile). Names this run is about to write are
272
+ # excluded, so a bundle that genuinely names a stage `agent-x` keeps it.
273
+ # Retire one only when this run wrote a replacement with matching role and
274
+ # declared settings. An inactive stage can share this spelling and bootstrap.
275
+ doubled_profile_sections() {
276
+ local file
277
+ file="$1"
278
+ [ -f "$file" ] || return 0
279
+
280
+ awk -v canonical="profile ${PROFILE_NAMESPACE}-agent-" \
281
+ -v bootstrap="$BOOTSTRAP_PROFILE" \
282
+ -v keep="$canonical_sections" '
283
+ function matches_when_declared(prior, current, key) {
284
+ return !((prior, key) in settings) || settings[prior, key] == settings[current, key]
285
+ }
286
+ BEGIN {
287
+ doubled = canonical "agent-"
288
+ count = split(keep, names, "|")
289
+ for (i = 1; i <= count; i++) wanted[names[i]] = 1
290
+ }
291
+ # A lisa-secrets-access managed block is regenerated by that writer only.
292
+ /^# >>> managed by lisa-secrets-access/ { managed = 1; section = ""; next }
293
+ /^# <<< managed by lisa-secrets-access/ { managed = 0; section = ""; next }
294
+ managed { next }
295
+ /^\[[^]]*\][[:space:]]*$/ {
296
+ current = $0
297
+ sub(/^\[[[:space:]]*/, "", current)
298
+ sub(/[[:space:]]*\][[:space:]]*$/, "", current)
299
+ section = current
300
+ sections[++section_count] = section
301
+ seen[section]++
302
+ next
303
+ }
304
+ section != "" && tolower($0) ~ /^[[:space:]]*(source_profile|role_arn|region|external_id)[[:space:]]*[:=]/ {
305
+ key = tolower($0)
306
+ sub(/^[[:space:]]*/, "", key)
307
+ sub(/[[:space:]]*[:=].*$/, "", key)
308
+ value = $0
309
+ sub(/^[^:=]*[:=][[:space:]]*/, "", value)
310
+ sub(/[[:space:]]*$/, "", value)
311
+ settings[section, key] = value
312
+ }
313
+ END {
314
+ for (i = 1; i <= section_count; i++) {
315
+ section = sections[i]
316
+ replacement = canonical substr(section, length(doubled) + 1)
317
+ if (index(section, doubled) == 1 && !(section in wanted) &&
318
+ (replacement in wanted) && seen[section] == 1 && seen[replacement] == 1 &&
319
+ settings[section, "source_profile"] == bootstrap &&
320
+ settings[section, "role_arn"] != "" &&
321
+ settings[section, "role_arn"] == settings[replacement, "role_arn"] &&
322
+ matches_when_declared(section, replacement, "region") &&
323
+ matches_when_declared(section, replacement, "external_id")) print section
324
+ }
325
+ }
326
+ ' "$file"
327
+ }
328
+
254
329
  sanitize_session_name() {
255
330
  local candidate
256
331
  candidate="$(printf '%s' "${LISA_REMOTE_AGENT:-remote-agent}" \
@@ -526,6 +601,21 @@ profiles_json="$(printf '%s' "$bootstrap_json" | jq -c '
526
601
  end
527
602
  ')"
528
603
 
604
+ # One canonical name per stage: `<namespace>-agent-<stage>`, where `<stage>` is
605
+ # the bundle key with at most ONE leading `agent-` removed. Infra kits publish
606
+ # keys that already say `agent-` (`agent-dev`), so prefixing without normalizing
607
+ # produced `acme-agent-agent-dev`. This is the same rule as `stageOf` in
608
+ # lisa-secrets-access/scripts/aws-bootstrap.mjs — the other Lisa writer of these
609
+ # files — so one tenant gets one set of names whichever writer ran. Normalized
610
+ # once, here, so every later use of a stage (names, the default, the observer
611
+ # check) sees the same value.
612
+ printf '%s' "$profiles_json" | jq -e '
613
+ (type != "object") or
614
+ ([keys[] | ltrimstr("agent-")] | (length == (unique | length)) and all(length > 0))
615
+ ' >/dev/null || fail \
616
+ "bootstrap profile keys must name distinct stages: \"dev\" and \"agent-dev\" are the same stage, and \"agent-\" alone names none"
617
+ profiles_json="$(printf '%s' "$profiles_json" | jq -c 'if type == "object" then with_entries(.key |= ltrimstr("agent-")) else . end')"
618
+
529
619
  namespace_resolution="$(resolve_namespace)"
530
620
  PROFILE_NAMESPACE="${namespace_resolution%%$'\t'*}"
531
621
  namespace_source="${namespace_resolution#*$'\t'}"
@@ -558,6 +648,7 @@ done < <(printf '%s' "$profiles_json" | jq -r '
558
648
  ')
559
649
 
560
650
  default_stage="${LISA_AWS_DEFAULT_PROFILE:-dev}"
651
+ default_stage="${default_stage#agent-}"
561
652
  if ! printf '%s' "$profiles_json" | jq -e --arg stage "$default_stage" 'has($stage)' >/dev/null; then
562
653
  default_stage="$(printf '%s' "$profiles_json" | jq -r 'keys[0]')"
563
654
  fi
@@ -580,23 +671,33 @@ chmod 700 "$HOME/.aws"
580
671
 
581
672
  profile_names="$(printf '%s' "$profiles_json" \
582
673
  | jq -r --arg namespace "$PROFILE_NAMESPACE" 'keys | map($namespace + "-agent-" + .) | join(", ")')"
674
+ canonical_sections="$(printf '%s' "$profiles_json" \
675
+ | jq -r --arg namespace "$PROFILE_NAMESPACE" 'keys | map("profile " + $namespace + "-agent-" + .) | join("|")')"
583
676
 
584
677
  # Migration: the previous convention's profiles are still on this workstation.
585
678
  #
586
679
  # They are reported rather than removed, because deleting a profile an operator
587
680
  # may still be using is its own silent surprise. Pruning is opt-in and says
588
681
  # exactly what it removed.
589
- legacy_sections="$(legacy_profile_sections "$config_file")"
682
+ prune_legacy="${LISA_AWS_PRUNE_LEGACY_PROFILES:-0}"
683
+ legacy_selection="report"
684
+ if [ "$prune_legacy" = "1" ]; then legacy_selection="prune"; fi
685
+ legacy_sections="$(legacy_profile_sections "$config_file" "$legacy_selection")"
590
686
  legacy_names=""
591
687
  if [ -n "$legacy_sections" ]; then
592
688
  legacy_names="$(printf '%s\n' "$legacy_sections" | sed 's/^profile //' | paste -sd ',' - | sed 's/,/, /g')"
593
- if [ "${LISA_AWS_PRUNE_LEGACY_PROFILES:-0}" = "1" ]; then
689
+ if [ "$prune_legacy" = "1" ]; then
594
690
  printf '%s\n' "$legacy_sections" | while IFS= read -r section; do
595
691
  [ -n "$section" ] || continue
596
692
  remove_profile_section "$config_file" "$section"
597
693
  done
598
- remove_profile_section "$config_file" "profile ${LEGACY_BOOTSTRAP_PROFILE}"
599
- remove_profile_section "$credentials_file" "$LEGACY_BOOTSTRAP_PROFILE"
694
+ remaining_legacy_sections="$(legacy_profile_sections "$config_file" references)"
695
+ if [ -z "$remaining_legacy_sections" ]; then
696
+ remove_profile_section "$config_file" "profile ${LEGACY_BOOTSTRAP_PROFILE}"
697
+ remove_profile_section "$credentials_file" "$LEGACY_BOOTSTRAP_PROFILE"
698
+ else
699
+ echo "remote-agent-aws-setup: retained legacy bootstrap ${LEGACY_BOOTSTRAP_PROFILE} because remaining profiles use it" >&2
700
+ fi
600
701
  fi
601
702
  fi
602
703
 
@@ -640,6 +741,18 @@ while IFS="$(printf '\t')" read -r stage role_arn region; do
640
741
  aws configure set region "$region" --profile "$profile_name"
641
742
  done < <(printf '%s' "$profiles_json" | jq -r 'to_entries[] | [.key, .value.roleArn, .value.region] | @tsv')
642
743
 
744
+ # Retire doubled names for the stages this run just wrote. Writing the
745
+ # replacements first keeps a usable profile if a write fails. A doubled name
746
+ # for a stage outside this bundle or with different settings remains available.
747
+ doubled_sections="$(doubled_profile_sections "$config_file")"
748
+ if [ -n "$doubled_sections" ]; then
749
+ printf '%s\n' "$doubled_sections" | while IFS= read -r section; do
750
+ [ -n "$section" ] || continue
751
+ remove_profile_section "$config_file" "$section"
752
+ done
753
+ echo "remote-agent-aws-setup: removed doubled profile names left by an earlier bootstrap: $(printf '%s\n' "$doubled_sections" | sed 's/^profile //' | paste -sd ',' - | sed 's/,/, /g')" >&2
754
+ fi
755
+
643
756
  default_profile="${PROFILE_NAMESPACE}-agent-${default_stage}"
644
757
  if [ "$claim_default" = "1" ]; then
645
758
  aws configure set role_arn "$default_role_arn" --profile default
@@ -681,7 +794,7 @@ if [ "${LISA_AWS_SKIP_VERIFY:-0}" != "1" ]; then
681
794
  fi
682
795
 
683
796
  if [ -n "$legacy_names" ]; then
684
- if [ "${LISA_AWS_PRUNE_LEGACY_PROFILES:-0}" = "1" ]; then
797
+ if [ "$prune_legacy" = "1" ]; then
685
798
  echo "remote-agent-aws-setup: removed unnamespaced profiles left by an earlier bootstrap: ${legacy_names}" >&2
686
799
  else
687
800
  echo "remote-agent-aws-setup: ${config_file} still contains unnamespaced profiles written by an earlier Lisa bootstrap: ${legacy_names}. They name a stage but no owner, so on a workstation carrying more than one organisation they can resolve to another tenant's account. Review them, or re-run with LISA_AWS_PRUNE_LEGACY_PROFILES=1 to delete the ones Lisa wrote." >&2
@@ -6,6 +6,19 @@ allowed-tools: ["Bash", "Read", "Skill"]
6
6
 
7
7
  # Atlassian Access: $ARGUMENTS
8
8
 
9
+ The shared readiness before/after owner represents the existing native
10
+ `issue-type-metadata` and `list-spaces` reads. After the ordinary action is
11
+ withheld, the approved Atlassian plugin's exact
12
+ `getAccessibleAtlassianResources {}` must return the configured cloud ID and
13
+ site. Then `getJiraProjectIssueTypesMetadata {cloudId,projectIdOrKey}` must return
14
+ the documented typed issue-types page, or `getConfluenceSpaces {cloudId}` the
15
+ typed spaces results. Returned tenant/resource identity must match where present.
16
+ Every required row is proved on the same connection/call/session/action scope;
17
+ only then can the identical ordinary action consume one observation. Discovery
18
+ admission alone grants nothing. Unrecognized result variants remain an exact
19
+ representation gap, not an authentication or platform-impossibility claim.
20
+ Independent `secrets.require` and credential-only assertions are still mandatory.
21
+
9
22
  Single chokepoint for all Atlassian operations. Routes each op to a substrate, enforces connection match, returns structured result. Caller skills (`jira-*`, `confluence-*`) MUST go through this — they MUST NOT invoke `acli` directly, call Atlassian MCP tools directly, or curl the Atlassian REST API themselves.
10
23
 
11
24
  ## Invocation contract
@@ -348,9 +348,16 @@ part left without them stays unproved however well everything else is set up. Wr
348
348
  knowing the tool, which is why you write them. Code then tries them and tells you whether they
349
349
  work.
350
350
 
351
- **On the paved road, skip this step.** This release writes no test changes for the checks Lisa
352
- ships for a supported project type. Those checks read unproved until a proof is declared for them,
353
- and your closing message says so plainly.
351
+ **On the paved road, reuse the installed proof pairs.** Lisa seeds a pair when its installed files
352
+ and task match the shipped template. The traceability pair uses the native push gate in a
353
+ disposable copy. Its clean case reads the live work item from the baseline commit, so run that
354
+ proof with `--acknowledge-external-effects` after confirming tracker read access. A check without
355
+ an applicable pair reads unproved. The shipped test and coverage recipes require Vitest.
356
+
357
+ The production dependency pair uses a Bun text lockfile. It changes the version of an existing
358
+ transitive dependency to a version with a public advisory and a patched version in separate
359
+ disposable lockfiles. Dependency installation and lifecycle scripts are disabled. The pair reads
360
+ registry metadata and the live advisory service when external effects are acknowledged.
354
361
 
355
362
  Take the parts you declared in this run one at a time.
356
363
 
@@ -439,6 +446,13 @@ identify the commands. For example, a Bun project with Lefthook may need
439
446
  `[["bun", "install", "--frozen-lockfile"], ["./node_modules/.bin/lefthook", "install"]]`.
440
447
  Record the approved commands in the committed config before trying the pairs.
441
448
 
449
+ The whole-repository TypeScript setup includes pairs for staged lint, formatting, structural rules,
450
+ slow lint, type checking, dead code, unit tests, integration tests, and coverage when the installed
451
+ tasks and patch files match the template. The formatting pair starts with CSS the formatter cannot parse.
452
+ Add a proof for each remaining required control. Commit the current work item and attribution
453
+ trailers with the proof setup. The temporary commit uses those trailers so the installed Git hooks
454
+ can validate it through their usual path.
455
+
442
456
  Before the first run that uses those commands, show their exact arguments and
443
457
  ask the operator once. For example, “May I run these setup commands in the
444
458
  temporary copy? They can use this machine's network and credentials.” Carry
@@ -541,10 +555,8 @@ In plain language, for someone who does not code:
541
555
  3. Each threshold: what is measured, the value measured today, and the value the operator
542
556
  confirmed.
543
557
  4. For each check, in one sentence, that a test change showed it catches a problem: it refused a
544
- small change that breaks its rule and let a harmless one through. Name each check that has no
545
- test changes and say why: on the paved road, because this release does not write them for the
546
- checks that come with the project type; otherwise, what stood in the way. A check without them
547
- stays unproved.
558
+ small change that breaks its rule and let a harmless one through. Name each unproved check
559
+ and state the reason the proof did not apply or could not run.
548
560
  5. What was **not** declared and why: each open question, with who is likely to know the answer,
549
561
  and that it is answered by typing on its answer line in `.lisa/audit/report.md` and running
550
562
  `/lisa:audit` again; each proposal the operator declined; each decision still waiting because
@@ -157,6 +157,16 @@ this order:
157
157
  - `PASS` otherwise, naming the declared environments.
158
158
  - `lisa doctor` reports this as the `CDK delivery proof configured?` check.
159
159
 
160
+ 8. **Always-promotable setting audit** (`coding-philosophy`, "Always Promotable")
161
+ - Run `node scripts/lisa-release-switch.mjs config` and report how `release.liveUsers` resolved.
162
+ - `FAIL` when it lists any problem: a `release.*` value that is present and unusable is named,
163
+ with the value treated in its place (an invalid `release.liveUsers` is treated as `true`).
164
+ - `PASS`, saying so in plain words, when `release.liveUsers` is `false`: the project is marked as
165
+ having no live users and the rule is off. Name the setting so the opt-out stays visible.
166
+ - `PASS` otherwise, naming the switch mechanism in force (`release.switch.mechanism`, or the
167
+ fallback: a plain configuration value that defaults to off).
168
+ - `lisa doctor` reports this as the `Always-promotable setting` check.
169
+
160
170
  Locality findings are advisory unless the merged config is unusable. Missing shared keys after the
161
171
  merge are `FAIL`; shared keys that exist only locally are `WARN`.
162
172
 
@@ -1617,6 +1617,15 @@ a workflow is an action, so do **not** run `gh workflow run` / `workflow_dispatc
1617
1617
  it for the caller to act on, consistent with the report-mode contract (steps b–f
1618
1618
  of section 2 are diagnose-only).
1619
1619
 
1620
+ **No-live-users notice.** Whenever this step confirmed a deploy run, run
1621
+ `node scripts/lisa-release-switch.mjs notice --base <baseRefName>` and copy
1622
+ anything it prints, word for word, into your report to the operator. It prints
1623
+ only when the base is the project's production branch and the project sets
1624
+ `release.liveUsers: false`, to keep that opt-out from the always-promotable
1625
+ rule (`coding-philosophy`) visible on the day the project launches. It always
1626
+ exits 0 and never blocks, delays or changes the outcome of the merge. Skip it
1627
+ silently where the script is absent.
1628
+
1620
1629
  ### c. Linear native-state reconciliation (non-terminal merges only)
1621
1630
 
1622
1631
  Linear's GitHub integration completes a linked Issue on merge to **any** branch
@@ -132,6 +132,7 @@ Include in the PR description:
132
132
  - **Issue / Tracker link**: The provider-specific native linkage line when a source work item is available, placed after the summary and before the test plan.
133
133
  - **How we'll know it works in production**: the signal that will show this change working or failing once deployed — the log line, metric, trace, error-report grouping, or analytics event, and where it lands. For a change with no runtime effect (docs, tests, tooling), say so in one line.
134
134
  - **How to undo**: the fastest safe way back if it misbehaves — revert this PR, flip a named flag, roll back a migration (and whether that loses data), or anything else a non-author would need to know.
135
+ - **Safe to promote**: one line saying how this change can be promoted to the next environment as it stands, matching the work item's `## Release Switch` declaration (`coding-philosophy`, "Always Promotable"): either `Live — complete and proven at merge`, or `Switched off — <switch-name>`, naming where the switch is set and confirming it is off in production. Omit the line for a change with no runtime effect, and in a project that sets `release.liveUsers: false`.
135
136
  - **Also fixed**: any defect in code this change touches or depends on that was fixed along the way, one line each (omit the section when there are none).
136
137
 
137
138
  ### Never
@@ -495,6 +495,8 @@ Judge each blocker with the one shared rule every tracker uses, never a GitHub-l
495
495
 
496
496
  #### 3b. Claim
497
497
 
498
+ **Required-access preclaim gate.** Before this claim mutation, follow `tool-access-gate` → Task readiness. Enumerate the live body, all comments, proof and delivery requirements into the leading requirements-only header in the ignored context; run the existing secrets preflight `--task --ref <canonical-ref>`. `ESTABLISHED` proves only its exercised scope. `DENIED` stops affected work. `NATIVE_OWNER_REQUIRED` (CLI exit3, not PASS) hands the remaining route to its documented native access owner: that owner must perform the actual immediate identity/resource probe before claim or the affected continuation, retaining write/readback duties. Do not repeat an unobservable shell probe forever or accept a stored passed field. Report the exact shell/native enforcement gap. Only the bounded local intake metadata write may precede this gate. Held/leaf/scope/idempotency and failed tracker-read/write stops remain independent.
499
+
498
500
  Before the claim mutation, apply `claim-time-guards` — **Value before claim**, or **Worth doing** in `lisa-track` on runtimes without the rule tree (Antigravity). A ready label establishes neither value nor permission to expand scope. Respect the preceding human-hold gate; a declined incidental item consumes this cycle's one processed disposition.
499
501
 
500
502
  **CI rework is read before everything else in 3b — before rejection detection, and before this phase posts its own claim comment.** When a required check fails on an agent's PR, the `lisa-ci-failure-redispatch` workflow moves the item from `$CLAIMED` back to `$READY` and comments a visible line plus `<!-- [lisa-ci-failed] pr=<n> sha=<head> -->`. A marker counts **only when its comment is authored by `github-actions[bot]`** (the workflow's identity) — anyone can type the marker, so a comment from any other author is ignored. A marker is **uncleared** while its comment carries no `<!-- [lisa-ci-cleared] run=<id> -->`; a later all-green run on the PR clears it, and a marker whose PR has merged or closed counts as cleared. From the read bundle's comments, take the **newest** comment carrying any Lisa marker (`[lisa-…]` or `[claude-build-intake]`; claim comments and session-manager notes (`[lisa-tracker-claim]`, `[claude-build-intake]`, `[lisa-session-manager]`) never count as Lisa markers for this purpose, failure markers count only from `github-actions[bot]`, and any other later Lisa marker counts only from a trusted author — `github-actions[bot]`, the item's author, or a configured `sessionManager.trustedAuthorIds` entry; only entries committed in `.lisa.config.json` count, never `.lisa.config.local.json`, because the producer runs in CI on a fresh checkout, and the account Lisa posts as counts as trusted only when it is the item's author or is listed in `sessionManager.trustedAuthorIds`); when it is an uncleared, bot-authored `[lisa-ci-failed]` marker, **verify the PR it names** before trusting it: `gh pr view <n> --repo <org>/<repo> --json state,isCrossRepository,body` must show `state` is `OPEN`, `isCrossRepository` is `false`, and a body whose `Work-Item:` binds this item (`<org>/<repo>#<number>`). If any check fails or the read errors, treat the item as carrying no marker and continue with ordinary 3b. These checks and the loop bound below are implemented once in `scripts/lisa-ci-rework-route.mjs`, which `lisa-track` also runs on the `lisa-implement` dispatch path so the two paths cannot disagree; where that script exists (the Lisa repository — it is not shipped to hosts), run `node scripts/lisa-ci-rework-route.mjs --item <org>/<repo>#<number>` and act on its printed `route` — `ci-rework`, `blocked` (the loop bound), or `implement` (no marker) — instead of re-deriving the checks. When every check passes, classify the item **`ci-rework`**. Read it first so the route is decided from the comments as they stood before this claim; claim comments are ignored by the rule above, so even a re-posted claim cannot hide the signal, and a Lisa marker typed by an untrusted commenter cannot either. A `ci-rework` item is **CI rework, not a QA rejection**: its claimed-to-ready move is the workflow's, not a reviewer's, so rejection detection treats it as `forward-only` and **no rejection learning** is filed — no `lisa-persist-learning` candidate, no `[lisa-rejection-candidate]` marker (the `rejection-detection` rule's CI-rework exemption). It also skips claim-time archaeology and takes precedence over the `already-implemented` route below: the open PR that check finds is the one to fix, not proof that the work shipped. Carry `ci-rework` and the marker's `pr=<n>` into 3c. **Bound the loop.** Every claimed-to-ready bounce gives the item a fresh ready-lane entry, which resets the `two-failed-attempts` valve below, so a PR that keeps failing would be re-dispatched forever. When the item carries 3 or more bot-authored `[lisa-ci-failed]` markers for the same PR, intake does not re-dispatch: it does not claim, moves the item to the configured blocked role and adds the `human_needed` label (`github.labels.build.blocked` and `github.labels.build.human_needed`, per `config-resolution`), posts a plain-English comment naming the PR and its failing checks (for example: "Pull request #<n> has failed its required checks <k> times (<check names>). Lisa has stopped retrying; a person needs to look at why it keeps failing."), and stops this item's cycle. **Agent work is not complete while the named PR's required checks are failing** — no success outcome, done label, or close may be recorded for the item until that PR merges with its required checks green.
@@ -6,6 +6,8 @@ allowed-tools: ["Bash", "Skill", "Read"]
6
6
 
7
7
  # Claim GitHub Issue: $ARGUMENTS
8
8
 
9
+ **Required-access preclaim gate.** Before this claim mutation, follow `tool-access-gate` → Task readiness. Enumerate the live body, all comments, proof and delivery requirements into the leading requirements-only header in the ignored context; run the existing secrets preflight `--task --ref <canonical-ref>`. `ESTABLISHED` proves only its exercised scope. `DENIED` stops affected work. `NATIVE_OWNER_REQUIRED` (CLI exit3, not PASS) hands the remaining route to its documented native access owner: that owner must perform the actual immediate identity/resource probe before claim or the affected continuation, retaining write/readback duties. Do not repeat an unobservable shell probe forever or accept a stored passed field. Report the exact shell/native enforcement gap. Only the bounded local intake metadata write may precede this gate. Held/leaf/scope/idempotency and failed tracker-read/write stops remain independent.
10
+
9
11
  Claim exactly one canonical `org/repo#<number>` reference. This is the reusable direct-session counterpart of `lisa-github-build-intake` Phase 3b.
10
12
 
11
13
  1. Resolve merged `.github.org`, `.github.repo`, optional `.github.queueRepo`, and `github.labels.build` values from local-over-global config. Resolve current-repository identity independently using `repo-scope-split` / `config-resolution` (`.repo` -> `.github.repo` -> `git remote get-url origin` basename). The queue repository defaults to `<github.org>/<github.repo>`; it is only the tracker storage/scan target and never replaces current-repository identity. Resolve the ready and claimed roles from config (defaults `status:ready` and `status:in-progress`); do not hardcode lifecycle decisions.
@@ -16,6 +16,35 @@ Repository name for scoped comments and logs: `basename $(git rev-parse --show-t
16
16
 
17
17
  Pass the issue number, `<org>/<repo>#<number>`, or GitHub issue URL to the reader from the Lisa checkout. The reader resolves `.lisa.config.local.json` over `.lisa.config.json` before any GitHub request. A bare number uses `github.org` and `github.repo`. Configuration or syntax failure stops the read.
18
18
 
19
+ ### Pre-header configured-source reader
20
+
21
+ Before the complete issue is known, invoke this exact installed owner command
22
+ with only the configured canonical ref, fixed read name and issue/PR number:
23
+
24
+ ```text
25
+ node '<absolute installed lisa-secrets-access>/scripts/preflight-secrets.mjs' --intake-read --ref <org>/<repo>#<primary-number> --read <operation> --number <read-number>
26
+ ```
27
+
28
+ Use `issue`, `comments`, `comment-count`, `graph`, `history`, `closing-prs`,
29
+ `blocked-by`, `blocking`, `pr`, or `review-threads`. For `thread-comments` ONLY,
30
+ replace `--number <read-number>` with `--thread <returned-thread-node-id>`.
31
+ The installed reader verifies the thread's repository before retrieving its comments. Use the installed reader for thread comments.
32
+ Each invocation freshly proves the configured repository scope, validates any
33
+ observed actor, then executes only its fixed read. A selected credential is carried in child environment
34
+ memory, never command arguments/output/files or context. Comments are returned
35
+ as one flattened array; graph/history/thread connections retain all raw pages.
36
+ Read related issue/comment and PR/thread inputs with the same fixed operations;
37
+ compare comment counts and terminal pagination before declaring completeness.
38
+ Run the shipped hold classifier with the complete body/comments/actor inputs,
39
+ then prepare the truthful private context/header and evaluate full task readiness
40
+ before claim or implementation. This bounded repository read grants no mutation
41
+ and proves no unrelated task capability or provider health.
42
+
43
+ The installed reader owns the fixed API queries and pagination. The native
44
+ `gh` examples below support read-only orientation. Use the installed reader
45
+ for complete intake because it resolves configured credentials. Route
46
+ cross-repository and other-tracker access through the documented access owner.
47
+
19
48
  ## Phase 2 — Fetch Primary Issue
20
49
 
21
50
  ```bash