@codyswann/lisa 8.8.0 → 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 (207) 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-release-switch.mjs +203 -0
  9. package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +17 -4
  10. package/dist/cli/doctor-release-setting.d.ts +8 -0
  11. package/dist/cli/doctor-release-setting.d.ts.map +1 -0
  12. package/dist/cli/doctor-release-setting.js +71 -0
  13. package/dist/cli/doctor-release-setting.js.map +1 -0
  14. package/dist/cli/doctor.d.ts.map +1 -1
  15. package/dist/cli/doctor.js +2 -0
  16. package/dist/cli/doctor.js.map +1 -1
  17. package/dist/core/lisa-owned-hash-ledger.json +112 -4
  18. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  19. package/dist/core/upstream-evidence-manifest.json +73 -26
  20. package/package.json +4 -4
  21. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  22. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  23. package/plugins/lisa/.codex-plugin/skills/lisa-doctor/SKILL.md +10 -0
  24. package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
  25. package/plugins/lisa/.codex-plugin/skills/lisa-git-submit-pr/SKILL.md +1 -0
  26. package/plugins/lisa/.codex-plugin/skills/lisa-github-validate-issue/SKILL.md +27 -1
  27. package/plugins/lisa/.codex-plugin/skills/lisa-github-write-issue/SKILL.md +23 -0
  28. package/plugins/lisa/.codex-plugin/skills/lisa-implement/SKILL.md +10 -2
  29. package/plugins/lisa/.codex-plugin/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
  30. package/plugins/lisa/.codex-plugin/skills/lisa-jira-write-ticket/SKILL.md +23 -0
  31. package/plugins/lisa/.codex-plugin/skills/lisa-linear-validate-issue/SKILL.md +26 -0
  32. package/plugins/lisa/.codex-plugin/skills/lisa-linear-write-issue/SKILL.md +23 -0
  33. package/plugins/lisa/.codex-plugin/skills/lisa-task-decomposition/SKILL.md +1 -0
  34. package/plugins/lisa/.codex-plugin/skills/lisa-track/SKILL.md +2 -0
  35. package/plugins/lisa/.codex-plugin/skills/lisa-verify/SKILL.md +4 -1
  36. package/plugins/lisa/hooks/inject-resolved-config.mjs +235 -3
  37. package/plugins/lisa/rules/eager/coding-philosophy.md +7 -6
  38. package/plugins/lisa/rules/reference/coding-philosophy.md +48 -0
  39. package/plugins/lisa/rules/reference/config-resolution.md +4 -1
  40. package/plugins/lisa/rules/reference/intent-routing.md +2 -2
  41. package/plugins/lisa/rules/reference/work-item-definition-of-ready.md +31 -0
  42. package/plugins/lisa/skills/lisa-doctor/SKILL.md +10 -0
  43. package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
  44. package/plugins/lisa/skills/lisa-git-submit-pr/SKILL.md +1 -0
  45. package/plugins/lisa/skills/lisa-github-validate-issue/SKILL.md +27 -1
  46. package/plugins/lisa/skills/lisa-github-write-issue/SKILL.md +23 -0
  47. package/plugins/lisa/skills/lisa-implement/SKILL.md +10 -2
  48. package/plugins/lisa/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
  49. package/plugins/lisa/skills/lisa-jira-write-ticket/SKILL.md +23 -0
  50. package/plugins/lisa/skills/lisa-linear-validate-issue/SKILL.md +26 -0
  51. package/plugins/lisa/skills/lisa-linear-write-issue/SKILL.md +23 -0
  52. package/plugins/lisa/skills/lisa-task-decomposition/SKILL.md +1 -0
  53. package/plugins/lisa/skills/lisa-track/SKILL.md +2 -0
  54. package/plugins/lisa/skills/lisa-verify/SKILL.md +4 -1
  55. package/plugins/lisa-agy/plugin.json +1 -1
  56. package/plugins/lisa-agy/skills/lisa-doctor/SKILL.md +10 -0
  57. package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
  58. package/plugins/lisa-agy/skills/lisa-git-submit-pr/SKILL.md +1 -0
  59. package/plugins/lisa-agy/skills/lisa-github-validate-issue/SKILL.md +27 -1
  60. package/plugins/lisa-agy/skills/lisa-github-write-issue/SKILL.md +23 -0
  61. package/plugins/lisa-agy/skills/lisa-implement/SKILL.md +10 -2
  62. package/plugins/lisa-agy/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
  63. package/plugins/lisa-agy/skills/lisa-jira-write-ticket/SKILL.md +23 -0
  64. package/plugins/lisa-agy/skills/lisa-linear-validate-issue/SKILL.md +26 -0
  65. package/plugins/lisa-agy/skills/lisa-linear-write-issue/SKILL.md +23 -0
  66. package/plugins/lisa-agy/skills/lisa-task-decomposition/SKILL.md +1 -0
  67. package/plugins/lisa-agy/skills/lisa-track/SKILL.md +2 -0
  68. package/plugins/lisa-agy/skills/lisa-verify/SKILL.md +4 -1
  69. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  71. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  72. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  74. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  75. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  76. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-copilot/hooks/inject-resolved-config.mjs +235 -3
  78. package/plugins/lisa-copilot/rules/eager/coding-philosophy.md +7 -6
  79. package/plugins/lisa-copilot/rules/reference/coding-philosophy.md +48 -0
  80. package/plugins/lisa-copilot/rules/reference/config-resolution.md +4 -1
  81. package/plugins/lisa-copilot/rules/reference/intent-routing.md +2 -2
  82. package/plugins/lisa-copilot/rules/reference/work-item-definition-of-ready.md +31 -0
  83. package/plugins/lisa-copilot/skills/lisa-doctor/SKILL.md +10 -0
  84. package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
  85. package/plugins/lisa-copilot/skills/lisa-git-submit-pr/SKILL.md +1 -0
  86. package/plugins/lisa-copilot/skills/lisa-github-validate-issue/SKILL.md +27 -1
  87. package/plugins/lisa-copilot/skills/lisa-github-write-issue/SKILL.md +23 -0
  88. package/plugins/lisa-copilot/skills/lisa-implement/SKILL.md +10 -2
  89. package/plugins/lisa-copilot/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
  90. package/plugins/lisa-copilot/skills/lisa-jira-write-ticket/SKILL.md +23 -0
  91. package/plugins/lisa-copilot/skills/lisa-linear-validate-issue/SKILL.md +26 -0
  92. package/plugins/lisa-copilot/skills/lisa-linear-write-issue/SKILL.md +23 -0
  93. package/plugins/lisa-copilot/skills/lisa-task-decomposition/SKILL.md +1 -0
  94. package/plugins/lisa-copilot/skills/lisa-track/SKILL.md +2 -0
  95. package/plugins/lisa-copilot/skills/lisa-verify/SKILL.md +4 -1
  96. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  97. package/plugins/lisa-cursor/hooks/inject-resolved-config.mjs +235 -3
  98. package/plugins/lisa-cursor/rules/coding-philosophy-reference.mdc +48 -0
  99. package/plugins/lisa-cursor/rules/coding-philosophy.mdc +7 -6
  100. package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +4 -1
  101. package/plugins/lisa-cursor/rules/intent-routing-reference.mdc +2 -2
  102. package/plugins/lisa-cursor/rules/work-item-definition-of-ready-reference.mdc +31 -0
  103. package/plugins/lisa-cursor/skills/lisa-doctor/SKILL.md +10 -0
  104. package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
  105. package/plugins/lisa-cursor/skills/lisa-git-submit-pr/SKILL.md +1 -0
  106. package/plugins/lisa-cursor/skills/lisa-github-validate-issue/SKILL.md +27 -1
  107. package/plugins/lisa-cursor/skills/lisa-github-write-issue/SKILL.md +23 -0
  108. package/plugins/lisa-cursor/skills/lisa-implement/SKILL.md +10 -2
  109. package/plugins/lisa-cursor/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
  110. package/plugins/lisa-cursor/skills/lisa-jira-write-ticket/SKILL.md +23 -0
  111. package/plugins/lisa-cursor/skills/lisa-linear-validate-issue/SKILL.md +26 -0
  112. package/plugins/lisa-cursor/skills/lisa-linear-write-issue/SKILL.md +23 -0
  113. package/plugins/lisa-cursor/skills/lisa-task-decomposition/SKILL.md +1 -0
  114. package/plugins/lisa-cursor/skills/lisa-track/SKILL.md +2 -0
  115. package/plugins/lisa-cursor/skills/lisa-verify/SKILL.md +4 -1
  116. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  117. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  118. package/plugins/lisa-devin/hooks/inject-resolved-config.mjs +235 -3
  119. package/plugins/lisa-devin/rules/eager/coding-philosophy.md +7 -6
  120. package/plugins/lisa-devin/rules/reference/coding-philosophy.md +48 -0
  121. package/plugins/lisa-devin/rules/reference/config-resolution.md +4 -1
  122. package/plugins/lisa-devin/rules/reference/intent-routing.md +2 -2
  123. package/plugins/lisa-devin/rules/reference/work-item-definition-of-ready.md +31 -0
  124. package/plugins/lisa-devin/skills/lisa-doctor/SKILL.md +10 -0
  125. package/plugins/lisa-devin/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
  126. package/plugins/lisa-devin/skills/lisa-git-submit-pr/SKILL.md +1 -0
  127. package/plugins/lisa-devin/skills/lisa-github-validate-issue/SKILL.md +27 -1
  128. package/plugins/lisa-devin/skills/lisa-github-write-issue/SKILL.md +23 -0
  129. package/plugins/lisa-devin/skills/lisa-implement/SKILL.md +10 -2
  130. package/plugins/lisa-devin/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
  131. package/plugins/lisa-devin/skills/lisa-jira-write-ticket/SKILL.md +23 -0
  132. package/plugins/lisa-devin/skills/lisa-linear-validate-issue/SKILL.md +26 -0
  133. package/plugins/lisa-devin/skills/lisa-linear-write-issue/SKILL.md +23 -0
  134. package/plugins/lisa-devin/skills/lisa-task-decomposition/SKILL.md +1 -0
  135. package/plugins/lisa-devin/skills/lisa-track/SKILL.md +2 -0
  136. package/plugins/lisa-devin/skills/lisa-verify/SKILL.md +4 -1
  137. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  138. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  139. package/plugins/lisa-expo-agy/plugin.json +1 -1
  140. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  141. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  142. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  143. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  144. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  145. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  146. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  147. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  148. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  149. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  150. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  151. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  152. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  153. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  154. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  155. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  156. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  157. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  158. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  159. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  160. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  161. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  162. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  163. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  164. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  165. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  166. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  167. package/plugins/lisa-rails-agy/plugin.json +1 -1
  168. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  169. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  170. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  171. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  172. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  173. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  174. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  175. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  176. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  177. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  178. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  179. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  180. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  181. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  182. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  183. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  184. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  185. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  186. package/plugins/src/base/hooks/inject-resolved-config.mjs +235 -3
  187. package/plugins/src/base/rules/eager/coding-philosophy.md +7 -6
  188. package/plugins/src/base/rules/reference/coding-philosophy.md +48 -0
  189. package/plugins/src/base/rules/reference/config-resolution.md +4 -1
  190. package/plugins/src/base/rules/reference/intent-routing.md +2 -2
  191. package/plugins/src/base/rules/reference/work-item-definition-of-ready.md +31 -0
  192. package/plugins/src/base/skills/lisa-doctor/SKILL.md +10 -0
  193. package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
  194. package/plugins/src/base/skills/lisa-git-submit-pr/SKILL.md +1 -0
  195. package/plugins/src/base/skills/lisa-github-validate-issue/SKILL.md +27 -1
  196. package/plugins/src/base/skills/lisa-github-write-issue/SKILL.md +23 -0
  197. package/plugins/src/base/skills/lisa-implement/SKILL.md +10 -2
  198. package/plugins/src/base/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
  199. package/plugins/src/base/skills/lisa-jira-write-ticket/SKILL.md +23 -0
  200. package/plugins/src/base/skills/lisa-linear-validate-issue/SKILL.md +26 -0
  201. package/plugins/src/base/skills/lisa-linear-write-issue/SKILL.md +23 -0
  202. package/plugins/src/base/skills/lisa-task-decomposition/SKILL.md +1 -0
  203. package/plugins/src/base/skills/lisa-track/SKILL.md +2 -0
  204. package/plugins/src/base/skills/lisa-verify/SKILL.md +4 -1
  205. package/scripts/lisa-release-switch.mjs +9 -0
  206. package/scripts/two-channel-couplings.json +1 -1
  207. package/typescript/copy-overwrite/.prettierignore +2 -0
@@ -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
@@ -143,6 +143,7 @@ Per-type content requirements are defined once in the vendor-neutral `work-item-
143
143
  | S19 Branch Plan derivation | `technical` | false |
144
144
  | S20 Named-control reachability | `acceptance-criteria` | true |
145
145
  | S21 Token estimate (ready time) | `technical` | false |
146
+ | S22 Release switch declaration | `technical` | false |
146
147
  | F1 Issue type label exists in repo | `structural` | false |
147
148
  | F2 Parent sub-issue exists and is the right type | `structural` | false |
148
149
  | F3 Linked issues exist | `structural` | false |
@@ -414,6 +415,30 @@ Remediation: re-render the section with `node scripts/lisa-estimate.mjs render -
414
415
 
415
416
  `product_relevant: false` — the estimate is produced by agents, not by whoever wrote the item.
416
417
 
418
+ #### S22 — Release switch declaration
419
+
420
+ Enforces the always-promotable rule (`coding-philosophy`, "Always Promotable"): whatever is on a shared branch can be promoted to the next environment as it stands, so every issue that changes runtime behavior says how it is safe to promote.
421
+
422
+ **When the gate applies.** On a leaf whose `## Target Backend Environment` names an environment (`runtime_behavior_change = true`, derived from the stored declaration exactly as S8 derives it), in a project with live users (`release.liveUsers` absent or `true`). `N/A` when that declaration is a `None —` form (no runtime behavior change, or a container), and whenever the project sets `release.liveUsers: false`; then nothing about release switches blocks.
423
+
424
+ **How to run it.** Write the body to a file and run `node scripts/lisa-release-switch.mjs check --body-file <file>` for a proposed spec, adding `--existing true` when the issue already exists in the tracker. Report its verdict line and reasons verbatim: exit 0 is PASS or N/A, exit 1 is FAIL, exit 2 means the config or the call is broken, which fails the gate with the error.
425
+
426
+ **What it checks.** The body carries a `## Release Switch` section whose entire content is one line, in one of these forms:
427
+
428
+ ```text
429
+ Live — complete and proven at merge
430
+ Switched off — <switch-name>; removed by this item
431
+ Switched off — <switch-name>; removed by <work-item ref>
432
+ ```
433
+
434
+ A **proposed spec** with no section FAILs: `lisa-github-write-issue` renders it before the write. A **live legacy issue** with no section is `N/A` with a repair note routed to claim time, the same asymmetry S8 and S19 use, because failing every existing issue would turn a legacy queue red for a section nobody had a way to add. A section that **is** present FAILs, on a proposed spec and on a live issue alike, when it is neither form: no switch name, no work item that removes the switch, a second line, or free text.
435
+
436
+ **Which form.** One question decides: if this were promoted to production right now, would a user see something unfinished or unproven? If no, the work is live. Bug fixes, small tweaks, copy changes, refactors and dependency updates almost always are, and this gate never asks for a switch on work that is complete and proven when it merges. If yes (a feature or a fix that lands across several merges, or new behavior that merges before its verification has passed), the work is switched off, and the declaration names the switch and the work item that removes it. The question decides, not the kind of work.
437
+
438
+ Remediation: render the section with `node scripts/lisa-release-switch.mjs render --mode live --body-file <file>`, or `--mode off --switch <name> --removed-by "this item"` (or a work-item ref), and write the result back. Decide the form from the item; never ask a person for it.
439
+
440
+ `product_relevant: false` — how work is made safe to promote is an engineering decision the agent makes, not a product question.
441
+
417
442
  ### Feasibility Gates (require GitHub lookups; skip in `--spec-only`)
418
443
 
419
444
  #### F1 — Issue type label exists in repo
@@ -577,6 +602,7 @@ Output is a single fenced text block. Callers parse it; do not add free-form pro
577
602
  - [PASS|FAIL|N/A] S19 Branch Plan derivation — <one-line reason>
578
603
  - [PASS|FAIL|N/A] S20 Named-control reachability — <one-line reason>
579
604
  - [PASS|FAIL|N/A] S21 Token estimate (ready time) — <one-line reason>
605
+ - [PASS|FAIL|N/A] S22 Release switch declaration — <one-line reason>
580
606
 
581
607
  ### Feasibility Gates (omit this section when --spec-only)
582
608
  - [PASS|FAIL|N/A] F1 Issue type label exists in repo — <one-line reason>
@@ -603,7 +629,7 @@ The verdict is `PASS` if every applicable gate is `PASS`. Any `FAIL` makes the v
603
629
 
604
630
  Same shape and meaning as `lisa-jira-validate-ticket` so downstream PRD-intake skills (Notion, Confluence, Linear, GitHub) can format comments uniformly:
605
631
 
606
- - **gate**: the gate ID (`S1`–`S21`, `F1`–`F5`).
632
+ - **gate**: the gate ID (`S1`–`S22`, `F1`–`F5`).
607
633
  - **category**: the gate's fixed category from the table.
608
634
  - **product_relevant**: matches the gate's table entry. `false` means the failure is an internal data-quality problem the caller should fix without bothering product.
609
635
  - **what**: plain-language, product-readable.
@@ -94,6 +94,7 @@ Resolve `<ORG>` and `<REPO>` from the ref or from `.lisa.config.json`.
94
94
  | Acceptance criteria | Story, Task, Bug, Sub-task, Improvement | Gherkin in `## Acceptance Criteria` — see Phase 3. |
95
95
  | Validation Journey | Runtime-behavior changes | Delegate to `/github-add-journey`. |
96
96
  | Target backend environment | Runtime-behavior changes | For every work type, use an exact `deploy.branches` key when an environment is known. Human: bare key or `Confirmed: <env>`. Automation: `Inferred: <env> — evidence: <title\|body\|reproduction\|hostname>`, `Assumption: <env> — remote default branch <branch>` for a unique reverse-map, or `Assumption: remote default branch <branch>` otherwise. Human confirmation replaces an automated annotation with the bare key or `Confirmed: <env>`. |
97
+ | Release switch | Runtime-behavior changes, in a project with live users | `Live — complete and proven at merge`, or `Switched off — <switch-name>; removed by this item` (or a work-item ref). Rendered under `## Release Switch` by `scripts/lisa-release-switch.mjs render`; see Phase 3 and validator gate S22. |
97
98
  | Sign-in account / credentials | Authenticated-surface tickets | Recorded under `## Sign-in Required`. |
98
99
  | Repository | Bug, Task, Sub-task | GitHub Issues live in exactly one repo by definition — record the repo name under `## Repository`, and reject any AC bullet that references a different repo. |
99
100
  | Source Requirement | PRD-sourced issues (`prd_source` provided) | `## Source Requirement` with PRD link + verbatim requirement quote(s) — see Phase 3; enforced at every level, sub-issues included. |
@@ -184,6 +185,28 @@ Scenario: <name>
184
185
  non-unique mapping, or a branch absent from the remote, STOPS the write —
185
186
  never default to `main` or the remote default to keep the write alive.]
186
187
 
188
+ ## Release Switch
189
+ [GENERATED by `node scripts/lisa-release-switch.mjs render`, exactly one line.
190
+ Render it on every leaf that has a Target Backend Environment, in a project
191
+ with live users (`release.liveUsers` absent or `true`); omit it entirely when
192
+ `runtime_behavior_change = false`, for an Epic/container, or when the project
193
+ sets `release.liveUsers: false`. It says how the work is safe to promote
194
+ (`coding-philosophy`, "Always Promotable"; validator gate S22):
195
+ Live — complete and proven at merge
196
+ Switched off — <switch-name>; removed by this item
197
+ Switched off — <switch-name>; removed by <work-item ref>
198
+ Decide it with one question: if this were promoted to production right now,
199
+ would a user see something unfinished or unproven? If no, it is live: bug
200
+ fixes, small tweaks, copy changes, refactors and dependency updates almost
201
+ always are, and work that is complete and proven when it merges never gets a
202
+ switch. If yes (a feature or a fix that lands across several merges, or
203
+ new behavior that merges before its verification has passed), it is switched
204
+ off: name the switch, and name the work item that removes it. Every item of a
205
+ multi-item feature names the same switch and the same removing item. Pick a
206
+ switch name that appears nowhere else in the repository and is not the start
207
+ of another switch's name: the done gate searches tracked source for it as a
208
+ whole token. Never ask a person which form applies.]
209
+
187
210
  ## Sign-in Required
188
211
  [Include this section ONLY if the work touches authenticated surfaces.
189
212
  Specify: the account/role, where to get the credentials (1Password item,
@@ -178,6 +178,13 @@ When the control shows the surface is not locally exercisable, that is exit 2 be
178
178
 
179
179
  If the required regression spec is still in flight on an auto-merge-enabled PR, pause auto-merge or use an equivalent merge gate until the spec commit is pushed and its execution proof is available. The flow must not allow the PR to merge before this non-demotable deliverable is satisfied or formally blocked through the linked follow-up path above.
180
180
 
181
+ **Decide how the work stays promotable** (`coding-philosophy`, "Always Promotable"): whatever is on a shared branch can be promoted to the next environment as it stands, so no piece of work may block a deployment. Read the item's `## Release Switch` declaration (gate S22; `lisa-track` wrote one when the item had none) and `node scripts/lisa-release-switch.mjs config`. When the project sets `release.liveUsers: false`, skip this paragraph. Otherwise one question decides: if this were promoted to production right now, would a user see something unfinished or unproven?
182
+
183
+ - **No → the work is live.** Bug fixes, small tweaks, copy changes, refactors and dependency updates almost always are. Never add a switch to work that is complete and proven when it merges. Prove the change **before** it merges (the local verification below), because it is live the moment it ships; the check in the target environment after the deploy confirms that proof, and its not having run yet does not make the work unverified; if it changes a database or an API, add before you remove and keep the change additive, so old and new code work side by side.
184
+ - **Yes → the work is switched off.** The question decides, not the kind of work: a feature or a fix that lands across several merges, or new behavior that merges before its verification has passed, merges behind a switch that is off in production. Use the project's mechanism (`release.switch.mechanism`, with its convention at `release.switch.guide`); with none named, use a plain configuration value that defaults to off. Give the switch a name that appears nowhere else in the repository and is not the start of another switch's name (`node scripts/lisa-release-switch.mjs references --switch <name>` must report none before its first use). Use one spelling of the name everywhere it is read. The done gate searches every tracked file for the name as a whole token, in any letter case; records do not count (`evidence/<ticket>/…` at the repository root, a `CHANGELOG` file, and `.lisa/`), so recording that the switch is off holds nothing open. Every other file counts, documentation included. Lisa wraps no flag tool: follow the project's existing pattern and never introduce a second one. The switch must be settable per environment. Plan tasks for all three things: add the switch, confirm it is off in production, and remove it. Removing it is part of finishing, not a follow-up: the item that removes the switch is not done while the switch exists.
185
+
186
+ If the declaration no longer matches the work, update it through `lisa-tracker-write` before building.
187
+
181
188
  Determine how you will know that the task is fully complete. Write this as an **effective completion condition** — one an independent verifier could confirm from observed output alone, not from your assertion that it works. A strong condition has:
182
189
 
183
190
  - **One measurable end state** — a status code, an exit code, a row count, an observable UI state, an empty queue. Not "it looks right" or "the code is correct".
@@ -348,10 +355,11 @@ Before finishing, execute the Verify flow:
348
355
  8. PR Watch Loop: Drive the PR to merge via the `drive-pr-to-merge` skill — the single source of truth for clearing every blocker (auto-merge with direct-merge fallback, `BEHIND` re-sync, conflict resolution, failing-check fixes, human + bot review-comment handling with thread resolution, stale `CHANGES_REQUESTED` dismissal, and post-merge ancestry verification). `git-submit-pr` already invokes it; if you reach this step with a PR already open, invoke `drive-pr-to-merge` directly with the PR number. For a large review backlog you may delegate independent code fixes to subagents, but `drive-pr-to-merge` owns the loop and the terminal conditions — do not re-implement them.
349
356
  9. Merge the PR, then refresh the ticket-side backlink with `lisa-tracker-sync <work_item_ref> pr-merged pr_url=<url> merge_sha=<sha> tracker_provider=<provider>`.
350
357
  10. Monitor the deploy action that triggers automatically from the successful merge, in the own turn of the agent running this flow (the lead) with a bounded foreground watch. Do not look the run up again: `lisa-drive-pr-to-merge` already confirmed it during step 8 (its deploy-run check). If step 8 returned `blocked:deploy` or `blocked:no-deploy-run`, no deploy run fired, and that is not a code failure: treat it as blocked under the blocked-deploy rule below, and never open a fix PR for it. Otherwise watch the run step 8 confirmed. The ceiling is 60 minutes from the merge, unless the work item or the deploy workflow's own `timeout-minutes` sets another. Before each watch, first read `gh run view <run id> --json status,conclusion`: a run that has already concluded is judged by its conclusion, whatever the time. Only for a run still in progress, compute the seconds remaining before the ceiling; if none remain, stop watching and apply the blocked-deploy rule. Otherwise watch with `timeout <n> gh run watch <run id> --interval 30 --exit-status`, where `<n>` is the smaller of 540 and the seconds remaining (`timeout <n>` where the `timeout` utility exists; otherwise rely on the harness's own command timeout), give the tool call a timeout just above `<n>` (at most 600000 ms on Claude Code), and re-poll `gh run view <run id> --json status,conclusion` after each return until the run concludes. A run that concluded successfully proceeds to step 12; one that concluded unsuccessfully is a deploy failure — go to step 11. A run still in progress at the ceiling is not a code failure: treat it as blocked under the blocked-deploy rule, and never open a fix PR for it. Blocked-deploy rule: diagnose why no run fired or why the run did not finish. A repository-owned technical gap (a misconfigured trigger, a missing `workflow_dispatch`, a deploy job that hangs) is an actionable blocker under step 2a — file and link the build-ready ticket. Missing access, credentials or a human decision is a human-only blocker under step 2a. Either way, record the blocked verdict and end the flow there: skip steps 11–14, still post evidence (step 15), and keep the binding (step 16). **Never wait on the deploy with a detached or background watcher** — no trailing `&`, no `nohup`, no harness background task, no scheduled re-check — because its result reaches only the agent that started it, never the lead, which then sits idle after the deploy has finished. This is the same rule `lisa-drive-pr-to-merge` applies to the CI wait. If a watcher subagent is used anyway, it must `SendMessage` the lead the moment the run succeeds or fails, and the lead's turn may end only to wait for that message. On runtimes without cross-agent messaging, the foreground watch is the only option.
351
- 11. If deploy fails, fix the failure, open a new PR and then go back to step 7
358
+ 11. If deploy fails, find out why. When the merged change is what broke the deploy, revert it at once exactly as step 14 describes, whatever its `## Release Switch` says: a switch cannot turn off a failed build or deployment, and the shared branch must stay promotable while the rework happens. Otherwise (a failure the change did not cause, or a project that sets `release.liveUsers: false`) fix the failure, open a new PR and then go back to step 7
352
359
  12. Remote verification: `verification-specialist` verifies in target environment (same checks as local verification, but on remote), and refreshes the verdict (step 2a) to reflect the remote result. Resolve credentials through the `verification-lifecycle` lookup order before declaring any missing. If they remain genuinely unavailable, do not complete on artifact-only evidence: post a tracker comment naming every credential source checked and what could not be verified as a result, transition the work item to the configured blocked state, and apply the configured `needs-human` / `human-review` label (creating it when the tracker supports label creation and it is missing). The comment is what makes the escalation auditable — a label alone records that something stopped, not what was tried or why. Evidence must explicitly distinguish `verified empirically` from `artifact-only / verification deferred`.
353
360
  13. `ops-specialist`: post-deploy health check via `lisa-monitor <env> --report-only`, monitor for errors in first minutes. `--report-only` is REQUIRED: it keeps the post-deploy check a pure health/audit report so monitor's standalone ticket-filing never fires inside this flow.
354
- 14. If remote verification fails, find out why, fix it and return to step 5. **Bound this loop**: after a small number of full fix→deploy→reverify cycles without reaching a passing remote verdict (treat ~3 as the ceiling unless the work item states otherwise), stop retrying — file a build-ready fix ticket, write the verdict with `status: "blocked"` and the diagnosis, and move the work item to blocked rather than looping indefinitely. The completion gate releases on a `blocked` verdict, so the flow ends with a recorded outcome instead of a silent spin or a self-declared success.
361
+ 13a. **Switched-off work** (the item's `## Release Switch` says `Switched off — <switch-name>`, in a project with live users): steps 12 and 13 verify it with the switch **on** in a non-production environment, or, in a project with one environment, locally or for a test account only. Read back that the switch is **off** in production and record that read as evidence; if you cannot read the production value, you cannot claim the work is dark, so treat it as missing access (`tool-access-gate`). Only the item that removes the switch turns the feature on, and only once the whole feature is verified: when the declaration names another item as the remover, verify this item's part and leave the switch off in production. For the removing item, once verification passes, first confirm that the version you verified is what production is running (the production deployment includes the feature's last merge), because turning the switch on over an earlier, incomplete version shows users unfinished work. Then turn the switch on in production yourself. No person is needed, unless `node scripts/lisa-release-switch.mjs config` reports `"turnOn": "human"` (the project lists `feature-release` in `humanGate.humanOnly`); then that one step is a declared human gate: post a plain-English comment saying the feature is verified and waiting to be turned on, and hold the item there with a human-gate reason that names the class, for example `feature-release: turn <switch-name> on in production` (a reason that does not name `feature-release` is refused as a decision the agent should make). If the same command lists a `humanGate.humanOnly` problem, the project's setting is malformed: report it and do not turn the feature on. Remove the switch only after it is on in production and healthy, in a follow-on change on the same work item (or the item the declaration names): never while verification is failing or the turn-on is still waiting at the human gate, because removing the guard keeps the enabled path. That removal change is verified differently: the switch is on, or already gone, so there is no "off in production" to read back. Verify instead that the feature works in production with the switch removed and that nothing still reads it. `lisa-work-item.mjs finish` refuses the removing item while tracked source still references the switch.
362
+ 14. If remote verification fails, find out why. **A change whose failure is live is reverted, not fixed forward** (`coding-philosophy`, "Always Promotable"). Judge that by what users can reach, not only by the declaration: the failure is live when the item's `## Release Switch` says `Live` (or it has none), and also when the item is switched off but the failure shows with the switch off (it broke existing behavior). In a project with live users, that change is on a shared branch that must stay promotable. Revert it at once: open a pull request that reverts the merged change, drive it to merge with `lisa-drive-pr-to-merge`, then return the work item to the ready queue with the failure evidence so the rework arrives as a fresh claim. Never leave the change in place while you fix it, and never hold a promotion for it. Write the verdict with `status: "blocked"`, marking each criterion the failure affects as `blocked` with the failure and the revert as its evidence, and end the flow there: the completion gate releases on a `blocked` verdict, and the rework is already back in the ready queue. Once the switch is on in production, every failure of the feature is live: turn the switch off again at once, which is the fastest way back, and revert the removal change if it has already shipped. **A failure that only shows with the switch on while the switch is still off in production, and any failure in a project that sets `release.liveUsers: false`, is fixed forward**: nothing users can reach is broken and nothing is blocked, so fix it and return to step 5. **Bound this loop**: after a small number of full fix→deploy→reverify cycles without reaching a passing remote verdict (treat ~3 as the ceiling unless the work item states otherwise), stop retrying — file a build-ready fix ticket, write the verdict with `status: "blocked"` and the diagnosis, and move the work item to blocked rather than looping indefinitely. The completion gate releases on a `blocked` verdict, so the flow ends with a recorded outcome instead of a silent spin or a self-declared success.
355
363
  15. **Post evidence to the originating work item** via `lisa-tracker-evidence` (vendor-neutral; dispatches to `lisa-jira-evidence`, `lisa-github-evidence`, or `lisa-linear-evidence` per `.lisa.config.json` `tracker`), including the list of codified tests added on this branch. **If the work is UI-visible** (any verification step ran in a browser, or the change touches a user-facing surface), author `evidence/comment.md` per the **UI Evidence Checklist** in `lisa-tracker-evidence` — numbered live-session steps, one screenshot per step captured through the interactive browser controller and uploaded to the configured GitHub evidence release (default `pr-assets`) as plain URLs, and an explicit invitation to be corrected. This step is what makes the proof visible to a non-technical operator standing at the gate; a terminal work item with no posted evidence is an incomplete flow, not a finished one.
356
364
  16. After true terminal completion — required merge/deploy/verification passed, usage/evidence and two-way PR linkage are recorded, and the work item is terminal (terminal completion is `lisa-work-item.mjs finish`, run by `lisa-drive-pr-to-merge` §3d) — run `node scripts/lisa-work-item.mjs clear`, delete the work-item context file (`rm -f .lisa/work-item-context.md` from the worktree root) so comment-borne secrets do not outlive the work, and verify the worktree has no current binding and no context file. Do not clear on an interruption or blocked outcome; preserving the binding is what keeps resumed work attributable.
357
365
 
@@ -140,6 +140,7 @@ Per-type content requirements are defined once in the vendor-neutral `work-item-
140
140
  | S19 Branch Plan derivation | `technical` | false |
141
141
  | S20 Named-control reachability | `acceptance-criteria` | true |
142
142
  | S21 Token estimate (ready time) | `technical` | false |
143
+ | S22 Release switch declaration | `technical` | false |
143
144
  | F1 Issue type valid in project | `structural` | false |
144
145
  | F2 Epic parent exists and is an Epic | `structural` | false |
145
146
  | F3 Linked tickets exist | `structural` | false |
@@ -416,6 +417,30 @@ Remediation: re-render the section with `node scripts/lisa-estimate.mjs render -
416
417
 
417
418
  `product_relevant: false` — the estimate is produced by agents, not by whoever wrote the item.
418
419
 
420
+ #### S22 — Release switch declaration
421
+
422
+ Enforces the always-promotable rule (`coding-philosophy`, "Always Promotable"): whatever is on a shared branch can be promoted to the next environment as it stands, so every ticket that changes runtime behavior says how it is safe to promote.
423
+
424
+ **When the gate applies.** On a leaf whose `## Target Backend Environment` names an environment (`runtime_behavior_change = true`, derived from the stored declaration exactly as S8 derives it), in a project with live users (`release.liveUsers` absent or `true`). `N/A` when that declaration is a `None —` form (no runtime behavior change, or a container), and whenever the project sets `release.liveUsers: false`; then nothing about release switches blocks.
425
+
426
+ **How to run it.** Write the body to a file and run `node scripts/lisa-release-switch.mjs check --body-file <file>` for a proposed spec, adding `--existing true` when the ticket already exists in the tracker. Report its verdict line and reasons verbatim: exit 0 is PASS or N/A, exit 1 is FAIL, exit 2 means the config or the call is broken, which fails the gate with the error.
427
+
428
+ **What it checks.** The body carries a `## Release Switch` section whose entire content is one line, in one of these forms:
429
+
430
+ ```text
431
+ Live — complete and proven at merge
432
+ Switched off — <switch-name>; removed by this item
433
+ Switched off — <switch-name>; removed by <work-item ref>
434
+ ```
435
+
436
+ A **proposed spec** with no section FAILs: `lisa-jira-write-ticket` renders it before the write. A **live legacy ticket** with no section is `N/A` with a repair note routed to claim time, the same asymmetry S8 and S19 use, because failing every existing ticket would turn a legacy queue red for a section nobody had a way to add. A section that **is** present FAILs, on a proposed spec and on a live ticket alike, when it is neither form: no switch name, no work item that removes the switch, a second line, or free text.
437
+
438
+ **Which form.** One question decides: if this were promoted to production right now, would a user see something unfinished or unproven? If no, the work is live. Bug fixes, small tweaks, copy changes, refactors and dependency updates almost always are, and this gate never asks for a switch on work that is complete and proven when it merges. If yes (a feature or a fix that lands across several merges, or new behavior that merges before its verification has passed), the work is switched off, and the declaration names the switch and the work item that removes it. The question decides, not the kind of work.
439
+
440
+ Remediation: render the section with `node scripts/lisa-release-switch.mjs render --mode live --body-file <file>`, or `--mode off --switch <name> --removed-by "this item"` (or a work-item ref), and write the result back. Decide the form from the item; never ask a person for it.
441
+
442
+ `product_relevant: false` — how work is made safe to promote is an engineering decision the agent makes, not a product question.
443
+
419
444
  ### Feasibility Gates (require JIRA lookups; skip in dry-run if requested)
420
445
 
421
446
  #### F1 — Issue type valid in project
@@ -506,6 +531,7 @@ Output is a single fenced text block. Callers parse it; do not add free-form pro
506
531
  - [PASS|FAIL|N/A] S19 Branch Plan derivation — <one-line reason>
507
532
  - [PASS|FAIL|N/A] S20 Named-control reachability — <one-line reason>
508
533
  - [PASS|FAIL|N/A] S21 Token estimate (ready time) — <one-line reason>
534
+ - [PASS|FAIL|N/A] S22 Release switch declaration — <one-line reason>
509
535
 
510
536
  ### Feasibility Gates (omit this section when --spec-only)
511
537
  - [PASS|FAIL|N/A] F1 Issue type valid in project — <one-line reason>
@@ -531,7 +557,7 @@ The verdict is `PASS` if and only if every applicable gate is `PASS`. Any `FAIL`
531
557
 
532
558
  ### Failure-detail fields
533
559
 
534
- - **gate**: the gate ID (`S1`–`S21`, `F1`–`F5`).
560
+ - **gate**: the gate ID (`S1`–`S22`, `F1`–`F5`).
535
561
  - **category**: the gate's fixed category from the table above. Callers use this to label or filter comments — `product-clarity`, `acceptance-criteria`, `design-ux`, `scope`, `dependency`, `data`, `technical`, or `structural`.
536
562
  - **product_relevant**: matches the gate's table entry. `false` means the failure is an internal data-quality problem (e.g., the agent built a malformed spec, an issue type is invalid in the project) and the caller should fix it without bothering the product team. `true` means the PRD needs product input to resolve.
537
563
  - **what**: plain-language description of the issue. No gate IDs, no JIRA jargon, no engineering shorthand. A product owner reading this on a Notion comment should understand what is unclear and why.
@@ -91,6 +91,7 @@ Required fields. Derive a missing one from config, the caller's spec and the evi
91
91
  | Acceptance criteria | Story, Task, Bug, Sub-task, Improvement | Gherkin — see Phase 3 |
92
92
  | Validation Journey | Runtime-behavior changes | Delegate to `/jira-add-journey` |
93
93
  | Target backend environment | Runtime-behavior changes | For every work type, use an exact `deploy.branches` key when an environment is known. Human: bare key or `Confirmed: <env>`. Automation: `Inferred: <env> — evidence: <title\|body\|reproduction\|hostname>`, `Assumption: <env> — remote default branch <branch>` for a unique reverse-map, or `Assumption: remote default branch <branch>` otherwise. Human confirmation replaces an automated annotation with the bare key or `Confirmed: <env>`. |
94
+ | Release switch | Runtime-behavior changes, in a project with live users | `Live — complete and proven at merge`, or `Switched off — <switch-name>; removed by this item` (or a work-item ref). Rendered under `## Release Switch` by `scripts/lisa-release-switch.mjs render`; see Phase 3 and validator gate S22. |
94
95
  | Sign-in account / credentials | Tickets that touch authenticated surfaces | Name the account (or source — 1Password item, env var, seeded fixture) and role; recorded in description (Phase 3). Omit when sign-in is not required. |
95
96
  | Single-repo scope | Bug, Task, Sub-task, Improvement | These leaf work units MUST cover one repo only. If the work crosses repos, split it before creating. Epic / Spike / Story may span repos. |
96
97
  | Source Requirement | PRD-sourced tickets (`prd_source` provided) | `h2. Source Requirement` with PRD link + verbatim requirement quote(s) — see Phase 3; enforced at every level, sub-tasks included |
@@ -176,6 +177,28 @@ h2. Branch Plan
176
177
  non-unique mapping, or a branch absent from the remote, STOPS the write —
177
178
  never default to `main` or the remote default to keep the write alive.]
178
179
 
180
+ h2. Release Switch
181
+ [GENERATED by `node scripts/lisa-release-switch.mjs render`, exactly one line.
182
+ Render it on every leaf that has a Target Backend Environment, in a project
183
+ with live users (`release.liveUsers` absent or `true`); omit it entirely when
184
+ `runtime_behavior_change = false`, for an Epic/container, or when the project
185
+ sets `release.liveUsers: false`. It says how the work is safe to promote
186
+ (`coding-philosophy`, "Always Promotable"; validator gate S22):
187
+ Live — complete and proven at merge
188
+ Switched off — <switch-name>; removed by this item
189
+ Switched off — <switch-name>; removed by <work-item ref>
190
+ Decide it with one question: if this were promoted to production right now,
191
+ would a user see something unfinished or unproven? If no, it is live: bug
192
+ fixes, small tweaks, copy changes, refactors and dependency updates almost
193
+ always are, and work that is complete and proven when it merges never gets a
194
+ switch. If yes (a feature or a fix that lands across several merges, or
195
+ new behavior that merges before its verification has passed), it is switched
196
+ off: name the switch, and name the work item that removes it. Every item of a
197
+ multi-item feature names the same switch and the same removing item. Pick a
198
+ switch name that appears nowhere else in the repository and is not the start
199
+ of another switch's name: the done gate searches tracked source for it as a
200
+ whole token. Never ask a person which form applies.]
201
+
179
202
  h2. Sign-in Required
180
203
  [Include this section ONLY if the work touches authenticated surfaces.
181
204
  Specify: the account/role to sign in as, where to get the credentials
@@ -124,6 +124,7 @@ Per-type content requirements are defined once in the vendor-neutral `work-item-
124
124
  | S19 Branch Plan derivation | `technical` | false |
125
125
  | S20 Named-control reachability | `acceptance-criteria` | true |
126
126
  | S21 Token estimate (ready time) | `technical` | false |
127
+ | S22 Release switch declaration | `technical` | false |
127
128
  | F1 Issue type valid in team | `structural` | false |
128
129
  | F2 Project parent exists and is in same team | `structural` | false |
129
130
  | F3 Linked items exist | `structural` | false |
@@ -401,6 +402,30 @@ Remediation: re-render the section with `node scripts/lisa-estimate.mjs render -
401
402
 
402
403
  `product_relevant: false` — the estimate is produced by agents, not by whoever wrote the item.
403
404
 
405
+ #### S22 — Release switch declaration
406
+
407
+ Enforces the always-promotable rule (`coding-philosophy`, "Always Promotable"): whatever is on a shared branch can be promoted to the next environment as it stands, so every issue that changes runtime behavior says how it is safe to promote.
408
+
409
+ **When the gate applies.** On a leaf whose `## Target Backend Environment` names an environment (`runtime_behavior_change = true`, derived from the stored declaration exactly as S8 derives it), in a project with live users (`release.liveUsers` absent or `true`). `N/A` when that declaration is a `None —` form (no runtime behavior change, or a container), and whenever the project sets `release.liveUsers: false`; then nothing about release switches blocks.
410
+
411
+ **How to run it.** Write the body to a file and run `node scripts/lisa-release-switch.mjs check --body-file <file>` for a proposed spec, adding `--existing true` when the issue already exists in the tracker. Report its verdict line and reasons verbatim: exit 0 is PASS or N/A, exit 1 is FAIL, exit 2 means the config or the call is broken, which fails the gate with the error.
412
+
413
+ **What it checks.** The body carries a `## Release Switch` section whose entire content is one line, in one of these forms:
414
+
415
+ ```text
416
+ Live — complete and proven at merge
417
+ Switched off — <switch-name>; removed by this item
418
+ Switched off — <switch-name>; removed by <work-item ref>
419
+ ```
420
+
421
+ A **proposed spec** with no section FAILs: `lisa-linear-write-issue` renders it before the write. A **live legacy issue** with no section is `N/A` with a repair note routed to claim time, the same asymmetry S8 and S19 use, because failing every existing issue would turn a legacy queue red for a section nobody had a way to add. A section that **is** present FAILs, on a proposed spec and on a live issue alike, when it is neither form: no switch name, no work item that removes the switch, a second line, or free text.
422
+
423
+ **Which form.** One question decides: if this were promoted to production right now, would a user see something unfinished or unproven? If no, the work is live. Bug fixes, small tweaks, copy changes, refactors and dependency updates almost always are, and this gate never asks for a switch on work that is complete and proven when it merges. If yes (a feature or a fix that lands across several merges, or new behavior that merges before its verification has passed), the work is switched off, and the declaration names the switch and the work item that removes it. The question decides, not the kind of work.
424
+
425
+ Remediation: render the section with `node scripts/lisa-release-switch.mjs render --mode live --body-file <file>`, or `--mode off --switch <name> --removed-by "this item"` (or a work-item ref), and write the result back. Decide the form from the item; never ask a person for it.
426
+
427
+ `product_relevant: false` — how work is made safe to promote is an engineering decision the agent makes, not a product question.
428
+
404
429
  ### Feasibility Gates (require Linear lookups; skip in dry-run if requested)
405
430
 
406
431
  #### F1 — Issue type valid in team
@@ -495,6 +520,7 @@ Output is a single fenced text block. Callers parse it; do not add free-form pro
495
520
  - [PASS|FAIL|N/A] S19 Branch Plan derivation — <one-line reason>
496
521
  - [PASS|FAIL|N/A] S20 Named-control reachability — <one-line reason>
497
522
  - [PASS|FAIL|N/A] S21 Token estimate (ready time) — <one-line reason>
523
+ - [PASS|FAIL|N/A] S22 Release switch declaration — <one-line reason>
498
524
 
499
525
  ### Feasibility Gates (omit when --spec-only)
500
526
  - [PASS|FAIL|N/A] F1 Issue type valid in team — <one-line reason>
@@ -80,6 +80,7 @@ Required fields. Derive a missing one from config, the caller's spec and the evi
80
80
  | Acceptance criteria | Story, Task, Bug, Sub-task, Improvement | Gherkin — see Phase 3 |
81
81
  | Validation Journey | Runtime-behavior changes | Delegate to `/linear-add-journey` |
82
82
  | Target backend environment | Runtime-behavior changes | For every work type, use an exact `deploy.branches` key when an environment is known. Human: bare key or `Confirmed: <env>`. Automation: `Inferred: <env> — evidence: <title\|body\|reproduction\|hostname>`, `Assumption: <env> — remote default branch <branch>` for a unique reverse-map, or `Assumption: remote default branch <branch>` otherwise. Human confirmation replaces an automated annotation with the bare key or `Confirmed: <env>`. |
83
+ | Release switch | Runtime-behavior changes, in a project with live users | `Live — complete and proven at merge`, or `Switched off — <switch-name>; removed by this item` (or a work-item ref). Rendered under `## Release Switch` by `scripts/lisa-release-switch.mjs render`; see Phase 3 and validator gate S22. |
83
84
  | Sign-in account / credentials | Items that touch authenticated surfaces | Name the account (or source — 1Password item, env var, seeded fixture) and role; recorded in description. Omit when sign-in is not required. |
84
85
  | Single-repo scope | Bug, Task, Sub-task | These types MUST cover one repo only. If the work crosses repos, split it before creating. Epic / Spike / Story may span repos. |
85
86
  | Source Requirement | PRD-sourced Issues (`prd_source` provided) | `## Source Requirement` with PRD link + verbatim requirement quote(s) — see Phase 3; enforced at every level, sub-issues included. |
@@ -166,6 +167,28 @@ Linear descriptions are markdown (NOT Jira wiki markup — no `h2.` headings, us
166
167
  non-unique mapping, or a branch absent from the remote, STOPS the write —
167
168
  never default to `main` or the remote default to keep the write alive.]
168
169
 
170
+ ## Release Switch
171
+ [GENERATED by `node scripts/lisa-release-switch.mjs render`, exactly one line.
172
+ Render it on every leaf that has a Target Backend Environment, in a project
173
+ with live users (`release.liveUsers` absent or `true`); omit it entirely when
174
+ `runtime_behavior_change = false`, for an Epic/container, or when the project
175
+ sets `release.liveUsers: false`. It says how the work is safe to promote
176
+ (`coding-philosophy`, "Always Promotable"; validator gate S22):
177
+ Live — complete and proven at merge
178
+ Switched off — <switch-name>; removed by this item
179
+ Switched off — <switch-name>; removed by <work-item ref>
180
+ Decide it with one question: if this were promoted to production right now,
181
+ would a user see something unfinished or unproven? If no, it is live: bug
182
+ fixes, small tweaks, copy changes, refactors and dependency updates almost
183
+ always are, and work that is complete and proven when it merges never gets a
184
+ switch. If yes (a feature or a fix that lands across several merges, or
185
+ new behavior that merges before its verification has passed), it is switched
186
+ off: name the switch, and name the work item that removes it. Every item of a
187
+ multi-item feature names the same switch and the same removing item. Pick a
188
+ switch name that appears nowhere else in the repository and is not the start
189
+ of another switch's name: the done gate searches tracked source for it as a
190
+ whole token. Never ask a person which form applies.]
191
+
169
192
  ## Sign-in Required
170
193
  [Include this section ONLY if the work touches authenticated surfaces.
171
194
  Specify: the account/role to sign in as, where to get the credentials
@@ -231,6 +231,7 @@ Map each task to the skills needed to complete it. This enables delegation to sp
231
231
  - Any task proposing a new material dependency names its trust class, states that class's required evidence and whether human ratification is needed (never, when `dependencies.humanSignOff` is `"none"`), and updates `.lisa/DEPENDENCY_DECISIONS.md` in the same change (see step 4.5) -- a proposed material dependency with no named class is not ready to build
232
232
  - Any task removing, replacing, or internalizing a material dependency carries all seven confidence-rebuild kit criteria -- corpus, conformance, negative fixtures, coverage-as-gap-detector, provenance/license, migration/update plan, and rollback criteria (see step 4.6) -- unless it explicitly justifies why the dependency is non-material; a within-trust-class version bump does not carry the kit
233
233
  - Keep tasks ordered so that no task references work that has not been completed by a prior task
234
+ - Keep every shared branch promotable after each task merges (`coding-philosophy`, "Always Promotable"; skip when the project sets `release.liveUsers: false`). Give every runtime-changing leaf its `## Release Switch` line. Ask of each one: if this were promoted to production right now, would a user see something unfinished or unproven? If no, it is `Live — complete and proven at merge` and gets no switch: bug fixes, small tweaks, copy changes, refactors and dependency updates almost always are. The question decides, not the kind of work. If yes, which is the usual case for a feature or a fix split across several leaves, every leaf of that feature is `Switched off — <the same switch-name>; removed by <the last leaf's reference>`, and the last leaf's scope includes turning the feature on and removing the switch. The declaration needs that leaf's real reference, so create the last leaf first, or write `removed by this item` on it and fill its reference into the others once it exists. Never add a switch to work that is complete and proven when it merges
234
235
  - Flag any task that requires access, permissions, or external input not yet available
235
236
  - Prefer more small tasks over fewer large tasks -- smaller tasks are easier to verify and less risky to fail
236
237
  - Do not create placeholder or "TODO" tasks -- every task should describe concrete work
@@ -143,6 +143,7 @@ The permission to load Write does not authorize other files or bypass the guard.
143
143
  Exit 1 because a present estimate is malformed → re-render it the same way.
144
144
 
145
145
  An estimate failure never blocks the work. The item is already claimed, and stopping here would strand it in the claimed state with no trace of why. When a check exits 2, calibration or rendering fails, or the written body does not read back with a passing claim-phase check, continue to step 5 with `estimate_outcome: failed` and `estimate_failure: <reason>`, and post one comment on the item through `lisa-tracker-write` that a non-technical reader can follow, for example: "Lisa could not record a cost estimate for this item before starting work, because the project's estimate settings could not be read. The work is going ahead without one. What it actually cost will still be recorded when it is done." Name the real reason in plain words, not an exit code. Record `estimate_outcome: present|written|failed|n/a` in the result.
146
+ **Release switch before any work** (`work-item-definition-of-ready`, gate S22; `coding-philosophy`, "Always Promotable"). Run `node scripts/lisa-release-switch.mjs check --existing true --body-file <file>` on the same stored body. `PASS`, or `N/A` because the item changes no runtime behavior or the project sets `release.liveUsers: false` → continue. `N/A` with a repair note (a runtime-changing item with no `## Release Switch` section) → decide it now, yourself, with one question: if this were promoted to production right now, would a user see something unfinished or unproven? If no, the work is live (bug fixes, small tweaks, copy changes, refactors and dependency updates almost always are; the question decides, not the kind of work); if yes, it is switched off behind a switch you name, removed by this item unless a later item of the same feature removes it. A new name must appear nowhere else in the repository: `node scripts/lisa-release-switch.mjs references --switch <name>` must report none. Render it with `node scripts/lisa-release-switch.mjs render --mode live --body-file <file>`, or `--mode off --switch <name> --removed-by "this item"` when this item removes the switch, or `--removed-by <work-item ref>` naming the later item when that one does (writing `this item` on an earlier item would make it look like the remover, and the remover is the item that turns the feature on). Write the body back through `lisa-tracker-write` (update), and re-run the check on the stored body. `FAIL` (a malformed declaration) → re-render it the same way; if the check still fails because other text follows the declaration in that section, move that text into another section. Never ask a person which form applies. For work you judged live, a failure to write the declaration never blocks the work: continue with `release_switch_outcome: failed` and post one plain-English comment saying why. For work you judged switched off, the declaration must be on the item before any work starts, because without it the item is treated as live and the done gate cannot hold its switch: a declaration that cannot be put on the item (the tracker write fails, or `render` refuses the body) stops the flow here. Keep the claim and the binding so the item stays attributable, post one plain-English comment saying the declaration could not be written and why, record `release_switch_outcome: failed`, and report it as a tracker write failure. Record `release_switch_outcome: present|written|failed|n/a` in the result. Where the script is absent (a host that has not received it yet), record `n/a`.
146
147
  5. **Ignore guard before any write.** A host can receive these skills before its shipped `.gitignore` entry, so prove the path is ignored first, from the worktree root: `git check-ignore -q .lisa/work-item-context.md || printf '%s\n' '.lisa/work-item-context.md' >> "$(git rev-parse --git-common-dir)/info/exclude"`, then re-run `git check-ignore -q .lisa/work-item-context.md`. If it is still not ignored, stop and report — do not write the bundle. If an `.easignore` exists and `grep -qxF '.lisa/work-item-context.md' .easignore` fails, stop and report instead of writing: EAS uploads read `.easignore`, which is derived from `.gitignore`, not from `info/exclude`. Keep the preclaim full vendor context and requirements header intact. Append the complete post-claim live read without trimming earlier body/comments, then refresh that same header through the preflight owner's `--prepare` mode and recheck task readiness. The live vendor read bundle stays unedited, every comment included, in the worktree-local, git-ignored `<worktree root>/.lisa/work-item-context.md`, then return this structured result (the file is the context; a summary in the reply never substitutes for it). When a `caller_bundle_path` was forwarded for this work item and the file already exists, do not overwrite it — it holds the caller's bundle (or a previous run's) and is left for the resolver step. Otherwise this is the first write; when `lisa-implement` forwarded a `caller_bundle_path`, its resolver step then keeps the bundle at that path as the base and appends only what this live read adds, and in every case finishes it with the `## Comment inventory` section:
147
148
 
148
149
  ```text
@@ -156,6 +157,7 @@ The permission to load Write does not authorize other files or bypass the guard.
156
157
  binding_outcome: verified|skipped-human-gate|skipped-ci-loop
157
158
  estimate_outcome: present|written|failed|n/a
158
159
  estimate_failure: <plain-English reason>|null
160
+ release_switch_outcome: present|written|failed|n/a
159
161
  route: implement|ci-rework pr=<n>|blocked pr=<n>
160
162
  failing_checks: <comma-separated check names from the marker comment>|none
161
163
  head_ref: <the pull request's head branch>|null
@@ -22,12 +22,15 @@ Execute the **Verify** flow as defined in the `intent-routing` reference rule (r
22
22
  3. **Push and PR** via `lisa-git-submit-pr`
23
23
  4. **PR Watch Loop** — drive the PR to MERGED via `lisa-drive-pr-to-merge`, the single source of truth for clearing every blocker: auto-merge with direct-merge fallback, `BEHIND` re-sync, conflict resolution, failing-check fixes, human + bot review-comment handling with thread resolution (it invokes `lisa-pull-request-review` itself), stale `CHANGES_REQUESTED` dismissal, and post-merge ancestry verification. Do not re-implement the loop or its terminal conditions.
24
24
  5. **Merge** — owned by `lisa-drive-pr-to-merge`, including the auto-merge race and zero-deploy-run checks
25
- 6. **Remote verification** — invoke the `lisa-monitor` skill against the target environment **in report-only mode** (`lisa-monitor <env> --report-only`) to confirm the deploy actually works (health endpoints, recent logs/errors, Validation Journey replay if defined). `--report-only` is required here: it keeps the post-deploy check a pure health/audit report and prevents monitor's standalone ticket-filing from creating issues during a verify run. If remote verification surfaces a behavioral gap that the existing codified tests do not guard, invoke `codify-verification` to add coverage and open a follow-up PR.
25
+ 6. **Remote verification** — invoke the `lisa-monitor` skill against the target environment **in report-only mode** (`lisa-monitor <env> --report-only`) to confirm the deploy actually works (health endpoints, recent logs/errors, Validation Journey replay if defined). `--report-only` is required here: it keeps the post-deploy check a pure health/audit report and prevents monitor's standalone ticket-filing from creating issues during a verify run. **When the deploy or remote verification fails and the failure is live, revert first** (the "Keep the branch promotable" point below): the revert comes before any coverage or follow-up work, so a failed change is never left active while that work is done. Then, if remote verification surfaced a behavioral gap that the existing codified tests do not guard, invoke `codify-verification` to add coverage and open a follow-up PR.
26
26
  - When the Validation Journey is DOM-web, the target is an allowed non-production environment with mutation policy `full`, and `lisa kane probe` succeeds, verification may invoke `lisa-kane-browser`. Import the local evidence pack into Lisa's evidence flow; the Test Manager URL is secondary. Kane does not replace the pre-flight Playwright/Maestro codification gate.
27
27
  - When remote verification needs credentials, follow the shared `verification-lifecycle` credential lookup order before declaring them missing: project e2e / Playwright config and fixtures first, then `.lisa.config.local.json` / environment variables, then documented ticket credentials such as a `Sign-in Required` section.
28
28
  - Should credentials remain genuinely unavailable after those sources are exhausted, do not complete the item on artifact-only evidence. Post a tracker comment stating what could not be verified and why, transition the work item to the configured blocked state, and apply the configured `needs-human` / `human-review` label, creating it if the tracker supports label creation and it is missing.
29
29
  - **Telemetry arrives.** When the change adds or changes instrumentation — logs, metrics, traces, error reporting, analytics events — follow that instrumentation in the code to wherever it sends data: the SDK it initializes, the exporter or transport it configures, the environment variables it reads. Trigger the instrumented path in the target environment and confirm the signal arrived at that destination. Do not assume a vendor; a project may send to several, or to one Lisa has no access skill for. Use the destination's `*-access` skill when one exists, otherwise its CLI or API with credentials resolved through `lisa-secrets-access`. If the destination cannot be reached, that is a missing-access stop: name the destination and the credential, and never report the telemetry as verified.
30
30
  - Evidence must explicitly distinguish `verified empirically` from `artifact-only / verification deferred`.
31
+ - **Keep the branch promotable** (`coding-philosophy`, "Always Promotable"; skip when `node scripts/lisa-release-switch.mjs config` reports `"liveUsers": false`). Read the work item's `## Release Switch` declaration.
32
+ - `Switched off — <switch-name>`: verify with the switch **on** outside production (in a single-environment project, locally or for a test account only), and read back that it is **off** in production. Only the item that removes the switch turns the feature on, and only once the whole feature is verified: when the declaration names another item as the remover, verify this item's part and leave the switch off in production. For the removing item, when verification passes, first confirm that the version you verified is what production is running, then turn it on in production yourself, unless the same command reports `"turnOn": "human"` (the project lists `feature-release` in `humanGate.humanOnly`); then say in plain English that the feature is verified and waiting to be turned on, and hold the item at that declared gate with a human-gate reason that names the class, for example `feature-release: turn <switch-name> on in production`. If the command lists a `humanGate.humanOnly` problem, report it and do not turn the feature on. Remove the switch only after it is on in production and healthy, never while verification is failing or the turn-on is waiting at the human gate; the item that removes it is not done while tracked source still references it. When verifying the removal change itself, the switch is on or already gone, so do not look for it off in production: verify that the feature works in production with the switch removed.
33
+ - A failure that is live: `Live — complete and proven at merge` or no declaration, a switched-off change whose failure shows with the switch **off**, any change that broke the deploy, or any failure of a feature whose switch is already **on** in production (turn the switch off again at once, then revert the removal change if it has shipped). If the deploy or remote verification **fails** because of this change, revert the merged change at once (a revert pull request driven to merge through `lisa-drive-pr-to-merge`) and return the work item to the ready queue with the failure evidence. Do not fix it forward in place, and never hold a promotion for it.
31
34
  7. **Evidence usage** — before posting, route the generated evidence artifact through `lisa-usage-accounting` so the comment body / PR evidence section / markdown proof carries a direct `lisa-verify` usage entry in the canonical `## Lisa Usage` section. If the originating work item or PRD parentage is known, prefer `record_and_rollup` so ancestor totals refresh in the same pass. If runtime usage is unavailable, still write `source: unavailable` with nullable token/cost fields instead of skipping the row.
32
35
  8. **Evidence** — post results to the originating ticket via `lisa-tracker-evidence` (vendor-neutral; dispatches to `lisa-jira-evidence`, `lisa-github-evidence`, or `lisa-linear-evidence` per `.lisa.config.json` `tracker`), including the list of codified tests added on this branch. **If the work is UI-visible** (any verification step ran in a browser, or the change touches a user-facing surface), author `evidence/comment.md` per the **UI Evidence Checklist** in `lisa-tracker-evidence` — numbered live-session steps, one screenshot captured through the interactive browser controller per step uploaded to the configured GitHub evidence release (default `pr-assets`) as plain URLs, and an explicit invitation to be corrected.
33
36
 
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+
3
+ // The installed copy lives under all/copy-overwrite. This entrypoint runs the
4
+ // same implementation for Lisa's own work items, as scripts/lisa-estimate.mjs
5
+ // does; runCli() is called explicitly because the implementation's own
6
+ // "am I the program?" check cannot fire through this path.
7
+ import { runCli } from "../all/copy-overwrite/scripts/lisa-release-switch.mjs";
8
+
9
+ process.exitCode = runCli();
@@ -173,7 +173,7 @@
173
173
  "workflows": 27,
174
174
  "steps": 892,
175
175
  "couplings": 51,
176
- "inventory": 263
176
+ "inventory": 266
177
177
  },
178
178
  "counts": {
179
179
  "package-backed": 11,
@@ -78,6 +78,7 @@ scripts/check-third-party-review-evidence.mjs
78
78
  scripts/lisa-push-timing-report.mjs
79
79
  scripts/lisa-affected-tests.mjs
80
80
  scripts/fetch-test-access-map.mjs
81
+ scripts/lisa-release-switch.mjs
81
82
  scripts/lisa-rspec-select.mjs
82
83
  scripts/lisa-rails-ast-grep.mjs
83
84
  scripts/lisa-rails-gates.mjs
@@ -146,6 +147,7 @@ scripts/bdd/report.mjs
146
147
  scripts/bdd/validate.mjs
147
148
  scripts/bdd/waivers.mjs
148
149
  scripts/lib/affected-tests.mjs
150
+ scripts/lib/release-switch.mjs
149
151
  scripts/lib/rspec-selection.mjs
150
152
  scripts/lib/automation-provenance-contract.mjs
151
153
  scripts/lib/automation-provenance-files.mjs