@codyswann/lisa 5.14.2 → 5.14.3

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 (211) hide show
  1. package/all/copy-overwrite/scripts/check-npm-publish-landed.mjs +5 -2
  2. package/all/copy-overwrite/scripts/lib/gate-failure-diagnosis.mjs +14 -18
  3. package/all/copy-overwrite/scripts/lib/invoked-as-script.d.mts +5 -0
  4. package/all/copy-overwrite/scripts/lisa-commit-msg-gates.mjs +1 -1
  5. package/all/copy-overwrite/scripts/lisa-destructive-guard.mjs +4 -4
  6. package/all/copy-overwrite/scripts/lisa-environment-prepare.mjs +2 -2
  7. package/all/copy-overwrite/scripts/lisa-gates.mjs +61 -30
  8. package/all/copy-overwrite/scripts/lisa-reconcile-policy.mjs +5 -3
  9. package/all/copy-overwrite/scripts/lisa-run-gates.mjs +2 -2
  10. package/all/copy-overwrite/scripts/lisa-work-item.mjs +3 -2
  11. package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +6 -6
  12. package/all/copy-overwrite/scripts/threshold-ratchet-families.mjs +0 -8
  13. package/dist/cli/lisa-test-run.js +0 -1
  14. package/dist/cli/lisa-test-run.js.map +1 -1
  15. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  16. package/dist/core/lisa-owned-hash-ledger.js +30 -0
  17. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  18. package/dist/core/nightly-e2e-guard-behavior-certificate.d.ts +5 -0
  19. package/dist/core/nightly-e2e-guard-behavior-certificate.d.ts.map +1 -1
  20. package/dist/core/nightly-e2e-guard-behavior-certificate.js +8 -1
  21. package/dist/core/nightly-e2e-guard-behavior-certificate.js.map +1 -1
  22. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  23. package/dist/core/upstream-evidence-manifest.js +45 -40
  24. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  25. package/package.json +4 -4
  26. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  27. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  28. package/plugins/lisa/.codex-plugin/skills/lisa-detect-tooling/scripts/detect-tooling.mjs +3 -3
  29. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +2 -2
  30. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/doctor-secrets.mjs +1 -1
  31. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/publish-aws-bootstrap.mjs +4 -3
  32. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/sync-secret-to-ci.mjs +1 -1
  33. package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/tools-from-notes.mjs +1 -1
  34. package/plugins/lisa/.codex-plugin/skills/lisa-setup-remote-env/scripts/toolchain.mjs +2 -2
  35. package/plugins/lisa/.codex-plugin/skills/lisa-setup-workstation/scripts/catalogue.mjs +32 -1
  36. package/plugins/lisa/.codex-plugin/skills/lisa-setup-workstation/scripts/cli.mjs +2 -2
  37. package/plugins/lisa/.codex-plugin/skills/lisa-setup-workstation/scripts/workstation.mjs +22 -7
  38. package/plugins/lisa/hooks/threshold-ratchet-families.mjs +0 -8
  39. package/plugins/lisa/scripts/design-bindings-probe.mjs +37 -8
  40. package/plugins/lisa/scripts/design-intake-gate.mjs +23 -5
  41. package/plugins/lisa/scripts/design-source-gate.mjs +5 -5
  42. package/plugins/lisa/scripts/lifecycle-label-trust.mjs +1 -1
  43. package/plugins/lisa/scripts/rollup-blocker-classification.mjs +41 -4
  44. package/plugins/lisa/skills/lisa-detect-tooling/scripts/detect-tooling.mjs +3 -3
  45. package/plugins/lisa/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +2 -2
  46. package/plugins/lisa/skills/lisa-secrets-access/scripts/doctor-secrets.mjs +1 -1
  47. package/plugins/lisa/skills/lisa-secrets-access/scripts/publish-aws-bootstrap.mjs +4 -3
  48. package/plugins/lisa/skills/lisa-secrets-access/scripts/sync-secret-to-ci.mjs +1 -1
  49. package/plugins/lisa/skills/lisa-secrets-access/scripts/tools-from-notes.mjs +1 -1
  50. package/plugins/lisa/skills/lisa-setup-remote-env/scripts/toolchain.mjs +2 -2
  51. package/plugins/lisa/skills/lisa-setup-workstation/scripts/catalogue.mjs +32 -1
  52. package/plugins/lisa/skills/lisa-setup-workstation/scripts/cli.mjs +2 -2
  53. package/plugins/lisa/skills/lisa-setup-workstation/scripts/workstation.mjs +22 -7
  54. package/plugins/lisa-agy/plugin.json +1 -1
  55. package/plugins/lisa-agy/scripts/design-bindings-probe.mjs +37 -8
  56. package/plugins/lisa-agy/scripts/design-intake-gate.mjs +23 -5
  57. package/plugins/lisa-agy/scripts/design-source-gate.mjs +5 -5
  58. package/plugins/lisa-agy/scripts/lifecycle-label-trust.mjs +1 -1
  59. package/plugins/lisa-agy/scripts/rollup-blocker-classification.mjs +41 -4
  60. package/plugins/lisa-agy/skills/lisa-detect-tooling/scripts/detect-tooling.mjs +3 -3
  61. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +2 -2
  62. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/doctor-secrets.mjs +1 -1
  63. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/publish-aws-bootstrap.mjs +4 -3
  64. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/sync-secret-to-ci.mjs +1 -1
  65. package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/tools-from-notes.mjs +1 -1
  66. package/plugins/lisa-agy/skills/lisa-setup-remote-env/scripts/toolchain.mjs +2 -2
  67. package/plugins/lisa-agy/skills/lisa-setup-workstation/scripts/catalogue.mjs +32 -1
  68. package/plugins/lisa-agy/skills/lisa-setup-workstation/scripts/cli.mjs +2 -2
  69. package/plugins/lisa-agy/skills/lisa-setup-workstation/scripts/workstation.mjs +22 -7
  70. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  72. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  73. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  74. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  75. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  76. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  77. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  78. package/plugins/lisa-copilot/hooks/threshold-ratchet-families.mjs +0 -8
  79. package/plugins/lisa-copilot/scripts/design-bindings-probe.mjs +37 -8
  80. package/plugins/lisa-copilot/scripts/design-intake-gate.mjs +23 -5
  81. package/plugins/lisa-copilot/scripts/design-source-gate.mjs +5 -5
  82. package/plugins/lisa-copilot/scripts/lifecycle-label-trust.mjs +1 -1
  83. package/plugins/lisa-copilot/scripts/rollup-blocker-classification.mjs +41 -4
  84. package/plugins/lisa-copilot/skills/lisa-detect-tooling/scripts/detect-tooling.mjs +3 -3
  85. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +2 -2
  86. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/doctor-secrets.mjs +1 -1
  87. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/publish-aws-bootstrap.mjs +4 -3
  88. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/sync-secret-to-ci.mjs +1 -1
  89. package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/tools-from-notes.mjs +1 -1
  90. package/plugins/lisa-copilot/skills/lisa-setup-remote-env/scripts/toolchain.mjs +2 -2
  91. package/plugins/lisa-copilot/skills/lisa-setup-workstation/scripts/catalogue.mjs +32 -1
  92. package/plugins/lisa-copilot/skills/lisa-setup-workstation/scripts/cli.mjs +2 -2
  93. package/plugins/lisa-copilot/skills/lisa-setup-workstation/scripts/workstation.mjs +22 -7
  94. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  95. package/plugins/lisa-cursor/hooks/threshold-ratchet-families.mjs +0 -8
  96. package/plugins/lisa-cursor/scripts/design-bindings-probe.mjs +37 -8
  97. package/plugins/lisa-cursor/scripts/design-intake-gate.mjs +23 -5
  98. package/plugins/lisa-cursor/scripts/design-source-gate.mjs +5 -5
  99. package/plugins/lisa-cursor/scripts/lifecycle-label-trust.mjs +1 -1
  100. package/plugins/lisa-cursor/scripts/rollup-blocker-classification.mjs +41 -4
  101. package/plugins/lisa-cursor/skills/lisa-detect-tooling/scripts/detect-tooling.mjs +3 -3
  102. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +2 -2
  103. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/doctor-secrets.mjs +1 -1
  104. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/publish-aws-bootstrap.mjs +4 -3
  105. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/sync-secret-to-ci.mjs +1 -1
  106. package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/tools-from-notes.mjs +1 -1
  107. package/plugins/lisa-cursor/skills/lisa-setup-remote-env/scripts/toolchain.mjs +2 -2
  108. package/plugins/lisa-cursor/skills/lisa-setup-workstation/scripts/catalogue.mjs +32 -1
  109. package/plugins/lisa-cursor/skills/lisa-setup-workstation/scripts/cli.mjs +2 -2
  110. package/plugins/lisa-cursor/skills/lisa-setup-workstation/scripts/workstation.mjs +22 -7
  111. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  112. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  113. package/plugins/lisa-devin/hooks/threshold-ratchet-families.mjs +0 -8
  114. package/plugins/lisa-devin/scripts/design-bindings-probe.mjs +37 -8
  115. package/plugins/lisa-devin/scripts/design-intake-gate.mjs +23 -5
  116. package/plugins/lisa-devin/scripts/design-source-gate.mjs +5 -5
  117. package/plugins/lisa-devin/scripts/lifecycle-label-trust.mjs +1 -1
  118. package/plugins/lisa-devin/scripts/rollup-blocker-classification.mjs +41 -4
  119. package/plugins/lisa-devin/skills/lisa-detect-tooling/scripts/detect-tooling.mjs +3 -3
  120. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +2 -2
  121. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/doctor-secrets.mjs +1 -1
  122. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/publish-aws-bootstrap.mjs +4 -3
  123. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/sync-secret-to-ci.mjs +1 -1
  124. package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/tools-from-notes.mjs +1 -1
  125. package/plugins/lisa-devin/skills/lisa-setup-remote-env/scripts/toolchain.mjs +2 -2
  126. package/plugins/lisa-devin/skills/lisa-setup-workstation/scripts/catalogue.mjs +32 -1
  127. package/plugins/lisa-devin/skills/lisa-setup-workstation/scripts/cli.mjs +2 -2
  128. package/plugins/lisa-devin/skills/lisa-setup-workstation/scripts/workstation.mjs +22 -7
  129. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  130. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  131. package/plugins/lisa-expo-agy/plugin.json +1 -1
  132. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  133. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  134. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  135. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  136. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  137. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  138. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  139. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  140. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  141. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  142. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  143. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  144. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  145. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  146. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  147. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  148. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  149. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  150. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  151. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  152. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  153. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  154. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  155. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  156. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  157. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  158. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  159. package/plugins/lisa-rails-agy/plugin.json +1 -1
  160. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  161. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  162. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  163. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  164. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  165. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  166. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  167. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  168. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  169. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  170. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  171. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  172. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  173. package/plugins/lisa-wiki/scripts/wiki-status.mjs +18 -0
  174. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  175. package/plugins/lisa-wiki-agy/scripts/wiki-status.mjs +18 -0
  176. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  177. package/plugins/lisa-wiki-copilot/scripts/wiki-status.mjs +18 -0
  178. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  179. package/plugins/lisa-wiki-cursor/scripts/wiki-status.mjs +18 -0
  180. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  181. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  182. package/plugins/lisa-wiki-devin/scripts/wiki-status.mjs +18 -0
  183. package/plugins/src/base/hooks/threshold-ratchet-families.mjs +0 -8
  184. package/plugins/src/base/scripts/design-bindings-probe.mjs +37 -8
  185. package/plugins/src/base/scripts/design-intake-gate.mjs +23 -5
  186. package/plugins/src/base/scripts/design-source-gate.mjs +5 -5
  187. package/plugins/src/base/scripts/lifecycle-label-trust.mjs +1 -1
  188. package/plugins/src/base/scripts/rollup-blocker-classification.mjs +41 -4
  189. package/plugins/src/base/skills/lisa-detect-tooling/scripts/detect-tooling.mjs +3 -3
  190. package/plugins/src/base/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +2 -2
  191. package/plugins/src/base/skills/lisa-secrets-access/scripts/doctor-secrets.mjs +1 -1
  192. package/plugins/src/base/skills/lisa-secrets-access/scripts/publish-aws-bootstrap.mjs +4 -3
  193. package/plugins/src/base/skills/lisa-secrets-access/scripts/sync-secret-to-ci.mjs +1 -1
  194. package/plugins/src/base/skills/lisa-secrets-access/scripts/tools-from-notes.mjs +1 -1
  195. package/plugins/src/base/skills/lisa-setup-remote-env/scripts/toolchain.mjs +2 -2
  196. package/plugins/src/base/skills/lisa-setup-workstation/scripts/catalogue.mjs +32 -1
  197. package/plugins/src/base/skills/lisa-setup-workstation/scripts/cli.mjs +2 -2
  198. package/plugins/src/base/skills/lisa-setup-workstation/scripts/workstation.mjs +22 -7
  199. package/plugins/src/wiki/scripts/wiki-status.mjs +18 -0
  200. package/rails/copy-overwrite/scripts/threshold-ratchet-families.mjs +0 -8
  201. package/scripts/check-typecheck-tests.mjs +37 -115
  202. package/scripts/check-whole-output-guards.mjs +12 -2
  203. package/scripts/generate-nightly-e2e-guard-certificate.mjs +6 -0
  204. package/scripts/lib/dependency-tree.mjs +7 -11
  205. package/scripts/lib/invoked-as-script.d.mts +5 -0
  206. package/scripts/lisa-ruleset-payload.mjs +1 -1
  207. package/scripts/measure-tmpdir-growth.mjs +21 -2
  208. package/scripts/reconcile-release-tags.mjs +3 -3
  209. package/scripts/two-channel-couplings.json +1 -1
  210. package/typescript/copy-overwrite/scripts/check-nightly-e2e-health.mjs +1 -1
  211. package/typescript/copy-overwrite/scripts/threshold-ratchet-families.mjs +0 -8
@@ -118,11 +118,26 @@ export function provenance(path) {
118
118
  return "other";
119
119
  }
120
120
 
121
+ /**
122
+ * What the workstation installer will do about one entry, and why.
123
+ * @typedef {object} PlanRow
124
+ * @property {string} name Executable name.
125
+ * @property {string} label Human name.
126
+ * @property {string} kind How it would be installed.
127
+ * @property {string|null} path Where it is already installed, or null.
128
+ * @property {string|null} version Its installed version, when present.
129
+ * @property {string} from Provenance of an existing install.
130
+ * @property {boolean} checksummed Whether an install is checksum-verified.
131
+ * @property {string} action `present`, `install`, `manual` or `blocked`.
132
+ * @property {string} reason Plain-language reason for the action.
133
+ * @property {string} [group] `agent`, `provider` or `tool`, once planned.
134
+ */
135
+
121
136
  /**
122
137
  * Decide what to do about one catalogue entry.
123
- * @param {object} entry Catalogue entry.
138
+ * @param {{name: string, label: string, kind: string, note?: string}} entry Catalogue entry.
124
139
  * @param {object} [deps] Injected probes, for tests.
125
- * @returns {object} A plan row.
140
+ * @returns {PlanRow} A plan row.
126
141
  */
127
142
  export function planEntry(entry, deps = {}) {
128
143
  const find = deps.locate ?? locate;
@@ -169,7 +184,7 @@ export function planEntry(entry, deps = {}) {
169
184
  /**
170
185
  * Build the full plan across agents and tools.
171
186
  * @param {object} [options] Selection and injected probes.
172
- * @returns {object[]} Plan rows.
187
+ * @returns {PlanRow[]} Plan rows, each with its `group`.
173
188
  */
174
189
  export function planWorkstation(options = {}) {
175
190
  const wanted = options.agents ?? null;
@@ -210,7 +225,7 @@ export function planWorkstation(options = {}) {
210
225
  * typo that quietly provisions the wrong credential manager is worse than one
211
226
  * that stops.
212
227
  * @param {string|null|undefined} name Requested provider.
213
- * @returns {object|null} Entry, or null when none was requested.
228
+ * @returns {import("./catalogue.mjs").CatalogueEntry|null} Entry, or null when none was requested.
214
229
  */
215
230
  export function resolveProvider(name) {
216
231
  if (name === null || name === undefined) return null;
@@ -226,9 +241,9 @@ export function resolveProvider(name) {
226
241
 
227
242
  /**
228
243
  * Plan the selected credential manager.
229
- * @param {object} provider Catalogue entry.
244
+ * @param {import("./catalogue.mjs").CatalogueEntry} provider Catalogue entry.
230
245
  * @param {object} [deps] Injected probes, for tests.
231
- * @returns {object} A plan row.
246
+ * @returns {PlanRow} A plan row.
232
247
  */
233
248
  export function planProvider(provider, deps = {}) {
234
249
  if (provider.kind === "none") {
@@ -251,7 +266,7 @@ export function planProvider(provider, deps = {}) {
251
266
 
252
267
  /**
253
268
  * Render the plan for a human.
254
- * @param {object[]} plan Plan rows.
269
+ * @param {readonly PlanRow[]} plan Plan rows.
255
270
  * @returns {string} Report text.
256
271
  */
257
272
  export function renderPlan(plan) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "5.14.2",
3
+ "version": "5.14.3",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "5.14.2",
3
+ "version": "5.14.3",
4
4
  "description": "AWS CDK-specific Lisa plugin.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "5.14.2",
3
+ "version": "5.14.3",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "5.14.2",
3
+ "version": "5.14.3",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "5.14.2",
3
+ "version": "5.14.3",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "5.14.2",
3
+ "version": "5.14.3",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "5.14.2",
3
+ "version": "5.14.3",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "5.14.2",
3
+ "version": "5.14.3",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -89,14 +89,6 @@ export const FAMILIES = [
89
89
  match: /(^|\/)\.lisa\.config\.json$/,
90
90
  kind: "allow-list",
91
91
  },
92
- {
93
- // The #3811 quarantine. `allow-list` is exactly right here: the list may
94
- // shrink freely, and ADDING a file — re-authorising type debt that the
95
- // gate would otherwise refuse — is the change that needs a human to see it.
96
- id: "typecheck-quarantine",
97
- match: /(^|\/)typecheck-quarantine\.json$/,
98
- kind: "allow-list",
99
- },
100
92
  {
101
93
  id: "lighthouse",
102
94
  match: /(^|\/)(?:lighthouserc-config|lighthouserc|\.lighthouserc)\.json$/,
@@ -142,6 +142,24 @@ function whereOf(node) {
142
142
  return `${node.type}:${node.name ?? ""}`.slice(0, 60);
143
143
  }
144
144
 
145
+ /**
146
+ * A style value bound to a design variable.
147
+ * @typedef {object} BoundObservation
148
+ * @property {string} axis The design axis the property belongs to.
149
+ * @property {string} property The node property.
150
+ * @property {string} where Human locator of the node.
151
+ * @property {string} id The variable id it is bound to.
152
+ */
153
+
154
+ /**
155
+ * A style value written as a literal rather than bound.
156
+ * @typedef {object} LiteralObservation
157
+ * @property {string} axis The design axis the property belongs to.
158
+ * @property {string} property The node property.
159
+ * @property {string} where Human locator of the node.
160
+ * @property {string} value The literal, as `#rrggbb` or `<n>px`.
161
+ */
162
+
145
163
  /**
146
164
  * Record every bound style value on one node.
147
165
  *
@@ -150,7 +168,7 @@ function whereOf(node) {
150
168
  * REST payload, so a padding bound to `space/0` vanishes entirely from the
151
169
  * resolved side. Reading it correctly moved one measured frame from 55% to 82%.
152
170
  * @param {object} node - A design node.
153
- * @param {object[]} bound - Accumulator.
171
+ * @param {BoundObservation[]} bound - Accumulator.
154
172
  * @returns {void}
155
173
  */
156
174
  function collectBound(node, bound) {
@@ -169,7 +187,7 @@ function collectBound(node, bound) {
169
187
  * @param {object} node - A design node.
170
188
  * @param {string} property - `fills` or `strokes`.
171
189
  * @param {number} boundCount - How many paints on this property are bound.
172
- * @param {object[]} literal - Accumulator.
190
+ * @param {LiteralObservation[]} literal - Accumulator.
173
191
  * @returns {void}
174
192
  */
175
193
  function collectLiteralPaints(node, property, boundCount, literal) {
@@ -191,7 +209,7 @@ function collectLiteralPaints(node, property, boundCount, literal) {
191
209
  * @param {object} node - A design node.
192
210
  * @param {string} property - The gated property name.
193
211
  * @param {number} boundCount - How many entries on this property are bound.
194
- * @param {object[]} literal - Accumulator.
212
+ * @param {LiteralObservation[]} literal - Accumulator.
195
213
  * @returns {void}
196
214
  */
197
215
  function collectLiteralNumbers(node, property, boundCount, literal) {
@@ -216,7 +234,7 @@ function collectLiteralNumbers(node, property, boundCount, literal) {
216
234
  /**
217
235
  * Walk a node subtree, recording every gated style value as bound or literal.
218
236
  * @param {object} root - The subtree root — the node being implemented.
219
- * @returns {{ bound: object[], literal: object[] }} Observations.
237
+ * @returns {{ bound: BoundObservation[], literal: LiteralObservation[] }} Observations.
220
238
  */
221
239
  export function collectValues(root) {
222
240
  const bound = [];
@@ -330,9 +348,9 @@ export function tokenNamer(nameMap = {}) {
330
348
  * Every literal becomes a `hardcoded-in-design` finding regardless of axis —
331
349
  * the probe reports what it saw, and the gate applies the regime. Keeping the
332
350
  * regime decision in one place is what stops the two halves from disagreeing.
333
- * @param {{ bound: readonly object[], literal: readonly object[] }} observed - Observations.
351
+ * @param {{ bound: readonly BoundObservation[], literal: readonly LiteralObservation[] }} observed - Observations.
334
352
  * @param {string} component - Human name of the subtree being implemented.
335
- * @returns {object[]} Findings.
353
+ * @returns {Array<{kind: string, axis: string, component: string, value?: string, where?: string}>} Findings.
336
354
  */
337
355
  export function toFindings(observed, component) {
338
356
  const findings = observed.literal.map(entry => ({
@@ -350,7 +368,7 @@ export function toFindings(observed, component) {
350
368
 
351
369
  /**
352
370
  * Summarise coverage per axis.
353
- * @param {{ bound: readonly object[], literal: readonly object[] }} observed - Observations.
371
+ * @param {{ bound: readonly BoundObservation[], literal: readonly LiteralObservation[] }} observed - Observations.
354
372
  * @returns {Record<string, { bound: number, literal: number, total: number, pct: number | null }>} Per-axis stats.
355
373
  */
356
374
  export function summarise(observed) {
@@ -556,7 +574,18 @@ export async function fetchNode(fileKey, nodeId, token) {
556
574
  * required?: readonly string[],
557
575
  * min?: number
558
576
  * }} input - Everything the evaluation needs.
559
- * @returns {object} The probe result.
577
+ * @returns {{
578
+ * verdict: "PASS" | "BLOCK",
579
+ * owner: "design" | "us" | null,
580
+ * failing: string[],
581
+ * summary: Record<string, { bound: number, literal: number, total: number, pct: number | null }>,
582
+ * unknownIds: string[],
583
+ * ambiguousIds: Record<string, string[]>,
584
+ * regime: Record<string, "typed" | "untyped">,
585
+ * findings: Array<{kind: string, axis: string, component: string, value?: string, where?: string}>,
586
+ * tokensUsed: string[],
587
+ * bindList: Array<{value: string, occurrences: number}>
588
+ * }} The probe result.
560
589
  */
561
590
  export function evaluateSubtree(input) {
562
591
  const observed = collectValues(input.document);
@@ -171,6 +171,24 @@ const REASONS = {
171
171
  `No one is set up to receive design questions for this project — 'design.escalation.assignee' in .lisa.config.json is empty — so anything I stopped on would sit where nobody sees it. I need that filled in before I can hand a design question to a person.`,
172
172
  };
173
173
 
174
+ /**
175
+ * One condition that stops a work item, as reported to the caller.
176
+ * @typedef {object} BlockEntry
177
+ * @property {string} condition A member of {@link BLOCK_CONDITIONS}.
178
+ * @property {string} owner Who must resolve it: `design` or `us`.
179
+ * @property {string | null} component The component it concerns, when known.
180
+ * @property {string | null} axis The design axis it concerns, when known.
181
+ * @property {string} reason The plain-language reason, for the escalation comment.
182
+ */
183
+
184
+ /**
185
+ * A value measured in an axis with no variable system, recorded rather than blocked.
186
+ * @typedef {object} DerivedEntry
187
+ * @property {string} axis The design axis measured.
188
+ * @property {string | null} component The component it was measured on.
189
+ * @property {unknown} value The measured value, or null.
190
+ */
191
+
174
192
  /**
175
193
  * Build one block entry.
176
194
  *
@@ -179,7 +197,7 @@ const REASONS = {
179
197
  * guessing in exactly the situation the condition exists to catch.
180
198
  * @param {string} condition - A member of {@link BLOCK_CONDITIONS}.
181
199
  * @param {object} finding - The finding that produced it.
182
- * @returns {{ condition: string, component: string, axis: string | null, reason: string }} Block entry.
200
+ * @returns {BlockEntry} Block entry.
183
201
  */
184
202
  function blockFor(condition, finding) {
185
203
  return {
@@ -199,7 +217,7 @@ function blockFor(condition, finding) {
199
217
  * silent permission to copy numbers out of a picture.
200
218
  * @param {object} finding - Finding with an `axis`.
201
219
  * @param {Record<string, string>} regime - Observed regime per axis.
202
- * @returns {{ block: object | null, derived: object | null }} The outcome.
220
+ * @returns {{ block: BlockEntry | null, derived: DerivedEntry | null }} The outcome.
203
221
  */
204
222
  function classifyRegimeSensitive(finding, regime) {
205
223
  const state = regime?.[finding.axis];
@@ -233,7 +251,7 @@ function classifyRegimeSensitive(finding, regime) {
233
251
  * Classify one finding.
234
252
  * @param {object} finding - The finding.
235
253
  * @param {Record<string, string>} regime - Observed regime per axis.
236
- * @returns {{ block: object | null, derived: object | null }} The outcome.
254
+ * @returns {{ block: BlockEntry | null, derived: DerivedEntry | null }} The outcome.
237
255
  */
238
256
  function classifyFinding(finding, regime) {
239
257
  const kind = finding?.kind;
@@ -277,8 +295,8 @@ function configuredString(value) {
277
295
  * owner: "design" | "us" | null,
278
296
  * assignee: string | null,
279
297
  * label: string | null,
280
- * blocks: object[],
281
- * derived: object[],
298
+ * blocks: BlockEntry[],
299
+ * derived: DerivedEntry[],
282
300
  * comment: string | null
283
301
  * }} The verdict.
284
302
  */
@@ -347,11 +347,11 @@ export const VIOLATION_STATUSES = new Set([
347
347
  * @returns {{
348
348
  * verdict: "PASS" | "FAIL" | "SKIPPED",
349
349
  * reasons: string[],
350
- * violations: object[],
351
- * exceptions: object[],
352
- * syncBackPreferred: object[],
353
- * sealed: object[],
354
- * notApplicable: object[],
350
+ * violations: { path: string, uiSurface: boolean, status: string, evidence: string | null, reason: string | null }[],
351
+ * exceptions: { path: string, uiSurface: boolean, status: string, evidence: string | null, reason: string | null }[],
352
+ * syncBackPreferred: { path: string, uiSurface: boolean, status: string, evidence: string | null, reason: string | null }[],
353
+ * sealed: { path: string, uiSurface: boolean, status: string, evidence: string | null, reason: string | null }[],
354
+ * notApplicable: { path: string, uiSurface: boolean, status: string, evidence: string | null, reason: string | null }[],
355
355
  * summary: { judged: number, sealed: number, exceptions: number, violations: number }
356
356
  * }} The gate result.
357
357
  */
@@ -253,7 +253,7 @@ export function claimedLifecycleLabel(config) {
253
253
  * the bot fix: a reflexive bot label leaves the issue claimable exactly as if
254
254
  * it were absent.
255
255
  * @param {object} options inputs
256
- * @param {readonly string[]} options.trusted labels the classifier believes
256
+ * @param {readonly string[] | undefined} [options.trusted] labels the classifier believes
257
257
  * @param {unknown} options.config a parsed `.lisa.config.json`-shaped object
258
258
  * @returns {{claimable: boolean, reason: string|null}} the verdict
259
259
  */
@@ -180,7 +180,8 @@ function openDependencies(blockedBy) {
180
180
  * labels?: unknown
181
181
  * markers?: unknown
182
182
  * blockedBy?: unknown
183
- * }} node
183
+ * [field: string]: unknown
184
+ * }} node A tracker node; fields other than these, such as its prose, are ignored.
184
185
  * @param {{ specDefect?: unknown, humanNeeded?: unknown }} [markerNames]
185
186
  * @returns {{ class: string, actor: string, signals: readonly string[] }}
186
187
  */
@@ -240,7 +241,7 @@ function childArray(children) {
240
241
  * @param {readonly string[]} path
241
242
  * @param {Set<string>} seen
242
243
  * @param {{ examined: number, unexaminable: string[] }} tally
243
- * @returns {object[]}
244
+ * @returns {RollupBlocker[]}
244
245
  */
245
246
  function collectHolds(children, context, path, seen, tally) {
246
247
  return childArray(children).flatMap(child => {
@@ -281,6 +282,42 @@ function collectHolds(children, context, path, seen, tally) {
281
282
  });
282
283
  }
283
284
 
285
+ /**
286
+ * One held item at the bottom of a chain of holds.
287
+ * @typedef {object} RollupBlocker
288
+ * @property {string} ref The held item.
289
+ * @property {string[]} path Refs from the container down to it.
290
+ * @property {string} class Its blocker class.
291
+ * @property {string} actor Who must act to clear it.
292
+ * @property {readonly string[]} signals The recorded signals that classified it.
293
+ */
294
+
295
+ /**
296
+ * A rollup whose children could be examined.
297
+ * @typedef {object} RollupClassification
298
+ * @property {true} ok Discriminator: something was examined.
299
+ * @property {{ref: string, type: string}} container The rollup itself.
300
+ * @property {"blocked" | "not-blocked"} verdict Whether anything is held.
301
+ * @property {number} examined Children examined.
302
+ * @property {RollupBlocker[]} blockers Every hold found.
303
+ * @property {Record<string, RollupBlocker[]>} byClass Holds grouped by class.
304
+ * @property {string[]} unexaminable Children that could not be read.
305
+ * @property {string} renderedState The rollup's own displayed state.
306
+ * @property {string} childTally Human summary of the counts.
307
+ */
308
+
309
+ /**
310
+ * A rollup that could not be classified, and why.
311
+ * @typedef {object} RollupFailure
312
+ * @property {false} ok Discriminator: nothing usable was examined.
313
+ * @property {{ref: string, type: string}} container The rollup itself.
314
+ * @property {"unclassified"} verdict Never an all-clear.
315
+ * @property {0} examined Nothing was examined.
316
+ * @property {string} reason One of `CLASSIFICATION_FAILURES`.
317
+ * @property {string} message The plain-language failure.
318
+ * @property {string} detail What the failure was about, or empty.
319
+ */
320
+
284
321
  /**
285
322
  * Classify every hold under a container and derive the rollup from it.
286
323
  *
@@ -298,7 +335,7 @@ function collectHolds(children, context, path, seen, tally) {
298
335
  * blockedStates?: unknown
299
336
  * markerNames?: { specDefect?: unknown, humanNeeded?: unknown }
300
337
  * }} input
301
- * @returns {object}
338
+ * @returns {RollupClassification | RollupFailure} The classified holds, or why nothing could be classified.
302
339
  */
303
340
  export function classifyRollupBlockers(input = {}) {
304
341
  const container = {
@@ -363,7 +400,7 @@ export function classifyRollupBlockers(input = {}) {
363
400
  * @param {{ ref: string, type: string }} container
364
401
  * @param {string} reason
365
402
  * @param {{ detail?: string }} [extra]
366
- * @returns {object}
403
+ * @returns {RollupFailure}
367
404
  */
368
405
  function failure(container, reason, extra = {}) {
369
406
  return {
@@ -452,7 +452,7 @@ export function satisfiedByNpm(pkg, tool) {
452
452
  /**
453
453
  * Collect every signal and subtract what the manifest already covers.
454
454
  * @param {string} [cwd] Project root.
455
- * @returns {Array<{name: string, why: string, evidence: string[]}>} Proposals.
455
+ * @returns {Array<{name: string, why: string, evidence: string[], source: "curated" | "discovered"}>} Proposals; `source` says which vocabulary the `why` came from.
456
456
  */
457
457
  export function detectTooling(cwd = process.cwd()) {
458
458
  const config = readJson(join(cwd, ".lisa.config.json"));
@@ -529,8 +529,8 @@ export function discoveredWhy(name, fromHook) {
529
529
  * keeping a Linux binary off a laptop meant excluding the tool from laptops
530
530
  * altogether — which is how `bws` and `gh` came to be required on a developer
531
531
  * machine and installable only in a container.
532
- * @param {{name: string}} proposal One detected tool.
533
- * @returns {{install: object[], require: object[]}} Manifest skeletons.
532
+ * @param {{name: string, why?: string, evidence?: string[], source?: string}} proposal One detected tool; only `name` is read.
533
+ * @returns {{install: object[], require: object[], question?: string}} Manifest skeletons, plus the question to ask when the tool has no pinnable CLI.
534
534
  */
535
535
  export function proposedEntries(proposal) {
536
536
  // Whether a binary can be proposed is a fact about the TOOL, not about how it
@@ -182,7 +182,7 @@ export function readProfiles(bundle) {
182
182
  * the installer can drop it as a unit after looking at the filesystem — which
183
183
  * this function deliberately cannot see. See `RESOLVE_ONLY_LEGACY_SOURCE_PROFILE` for why
184
184
  * that half exists at all and when it goes away.
185
- * @param {object} bundle Parsed bootstrap bundle.
185
+ * @param {object | null | undefined} bundle Parsed bootstrap bundle; absent renders nothing (null).
186
186
  * @param {string} owner Tenant these profiles belong to.
187
187
  * @returns {{credentials: string, config: string, profiles: string[], resolveOnly: {credentials: string, config: string, profiles: string[], sourceProfile: string}}|null}
188
188
  * Rendered file contents, the profile names, and the deprecated
@@ -320,7 +320,7 @@ function assertDeclaredAccount(stage, entry, roleArn) {
320
320
  * secret in the run is still valid and still needed, and a session with most of
321
321
  * its credentials beats a session with none.
322
322
  * @param {string} raw Bundle contents.
323
- * @returns {object|null} Parsed bundle, or null.
323
+ * @returns {Record<string, unknown>|null} Parsed bundle, or null.
324
324
  */
325
325
  export function parseBootstrap(raw) {
326
326
  if (typeof raw !== "string" || raw.trim() === "") return null;
@@ -31,7 +31,7 @@ import { readConfig } from "./surfaces.mjs";
31
31
  *
32
32
  * Module-level state would make the checks untestable in isolation and would
33
33
  * leak findings between runs in any process that calls them twice.
34
- * @returns {{findings: object[], report: Function}} A collector.
34
+ * @returns {{findings: Array<{level: string, name: string, message: string}>, report: (level: string, name: string, message: string) => void}} A collector.
35
35
  */
36
36
  export function collector() {
37
37
  const findings = [];
@@ -156,8 +156,9 @@ export function candidateAwsEnvironment(bundle) {
156
156
  * Captures all child output so account ids and credential metadata never reach
157
157
  * a shared log.
158
158
  * @param {{bundle: object, profiles: Array<object>}} candidate Validated bundle.
159
- * @param {(bin: string, args: string[], options: object) => string} [run]
160
- * Injectable child runner for tests.
159
+ * @param {(bin: string, args: string[], options: {encoding: "utf8", env: NodeJS.ProcessEnv, stdio: string[]}) => unknown} [run]
160
+ * Injectable child runner for tests. It always receives the isolated
161
+ * candidate environment as `options.env`; its output is ignored.
161
162
  */
162
163
  export function verifyAwsBootstrap(candidate, run = boundedChildOutput) {
163
164
  const env = candidateAwsEnvironment(candidate.bundle);
@@ -288,7 +289,7 @@ function publicationBudgetGuard(startedAt, monotonicNow) {
288
289
  * @param {object} cfg Resolved configuration.
289
290
  * @param {{id: string, projectId: string|null}} target Target provider entry.
290
291
  * @param {object} [operations] Injectable provider operations for tests.
291
- * @returns {object} The winning coordination row.
292
+ * @returns {{id: string, key: string}} The winning coordination row: the provider's raw row, whose `id` and lock `key` were both validated.
292
293
  */
293
294
  export function acquirePublicationLock(cfg, target, operations = {}) {
294
295
  if (!target.projectId) {
@@ -158,7 +158,7 @@ export function assertValue(name, value) {
158
158
  * the ambiguity is resolved once, here, rather than at each call site. Anything
159
159
  * else is refused outright: a target is interpolated into an API path, and a
160
160
  * silently mis-parsed one would push a credential somewhere nobody named.
161
- * @param {string} raw Target as typed.
161
+ * @param {string | undefined} raw Target as typed; absent is refused like any malformed target.
162
162
  * @returns {{kind: string, slug: string, listPath: string, scopeArgs: string[]}} Parsed target.
163
163
  */
164
164
  export function parseTarget(raw) {
@@ -37,7 +37,7 @@ import { TOOL_LINE } from "./note-format.mjs";
37
37
  * Unknown names are dropped rather than reported as an error: a note naming a
38
38
  * CLI this version of Lisa does not ship is a request from the future, not a
39
39
  * broken environment, and failing setup over it would be a poor trade.
40
- * @param {Record<string, string>} notes Note text by secret name.
40
+ * @param {Record<string, unknown> | null | undefined} notes Note text by secret name; absent notes and non-string values contribute nothing.
41
41
  * @param {string[]} known Tool names Lisa can install.
42
42
  * @returns {string[]} Known tool names, deduplicated, in catalogue order.
43
43
  */
@@ -200,9 +200,9 @@ export function currentPlatform(runtime = process) {
200
200
  *
201
201
  * A flat entry is still valid and means "identical everywhere" — true of every
202
202
  * `npm-global` install, which is genuinely platform-independent.
203
- * @param {object} tool Manifest entry.
203
+ * @param {{[field: string]: unknown, name?: unknown, platforms?: unknown}} tool Manifest entry.
204
204
  * @param {string} [platform] Platform key to resolve for.
205
- * @returns {object} The entry with its platform block merged in.
205
+ * @returns {Record<string, unknown>} The entry with its platform block merged in.
206
206
  */
207
207
  export function resolvePlatform(tool, platform = currentPlatform()) {
208
208
  const { platforms } = tool;
@@ -26,7 +26,36 @@
26
26
  * @module catalogue
27
27
  */
28
28
 
29
- /** Lisa's supported coding agents. Kept in sync with the harness list. */
29
+ /**
30
+ * One platform's pinned artifact for a release-archive install.
31
+ * @typedef {object} PlatformArtifact
32
+ * @property {string} url Exact-version download URL.
33
+ * @property {string} sha256 Checksum published with the release.
34
+ * @property {string} [binary] Path of the executable inside the archive.
35
+ * @property {string} [install] Archive kind, when it differs from the entry's.
36
+ */
37
+
38
+ /**
39
+ * One installable (or asserted) thing on a workstation.
40
+ * @typedef {object} CatalogueEntry
41
+ * @property {string} name Catalogue name.
42
+ * @property {string} label Human name.
43
+ * @property {string} kind How it is installed, or `required` / `manual` / `none`.
44
+ * @property {string} [binary] Executable name, when it differs from `name`.
45
+ * @property {string} [note] Why it is installed the way it is.
46
+ * @property {string} [version] Pinned version.
47
+ * @property {string} [package] npm package, for `npm-global`.
48
+ * @property {string} [script] Vendor install script URL.
49
+ * @property {string} [binDir] Where a vendor script puts the executable.
50
+ * @property {string} [minVersion] Lowest acceptable version of a required tool.
51
+ * @property {boolean} [selfUpdates] Whether the tool updates itself.
52
+ * @property {Record<string, PlatformArtifact>} [platforms] Per-platform artifacts.
53
+ */
54
+
55
+ /**
56
+ * Lisa's supported coding agents. Kept in sync with the harness list.
57
+ * @type {CatalogueEntry[]}
58
+ */
30
59
  export const AGENTS = [
31
60
  {
32
61
  name: "claude",
@@ -99,6 +128,7 @@ export const AGENTS = [
99
128
  * Only the SELECTED provider is installed. Installing all of them would put
100
129
  * four unused credential CLIs on a machine, each an extra thing to keep patched
101
130
  * for no benefit.
131
+ * @type {CatalogueEntry[]}
102
132
  */
103
133
  export const PROVIDERS = [
104
134
  {
@@ -178,6 +208,7 @@ export const PROVIDERS = [
178
208
 
179
209
  /**
180
210
  * Tools every workstation needs regardless of project or provider.
211
+ * @type {CatalogueEntry[]}
181
212
  */
182
213
  export const TOOLS = [
183
214
  {
@@ -69,8 +69,8 @@ export async function loadPinnedInstaller() {
69
69
  * describes a project — so the seam is made explicit here rather than by giving
70
70
  * the catalogue a shape it does not otherwise need. `kind` becomes `install`;
71
71
  * everything else the manifest reads is already named the same.
72
- * @param {object} entry Catalogue entry.
73
- * @returns {object} A `remoteEnv.tools` style entry.
72
+ * @param {import("./catalogue.mjs").CatalogueEntry} entry Catalogue entry.
73
+ * @returns {Record<string, unknown> & {name: string, install: string}} A `remoteEnv.tools` style entry.
74
74
  */
75
75
  export function toManifestEntry(entry) {
76
76
  const { kind, label, binDir, note, selfUpdates, ...rest } = entry;