@codyswann/lisa 4.95.0 → 4.95.2
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.
- package/all/copy-overwrite/scripts/lisa-gates.mjs +2 -2
- package/all/copy-overwrite/scripts/lisa-run-gates.mjs +6 -6
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +2 -2
- package/dist/cli/doctor-learnings-driver-command.d.ts +12 -0
- package/dist/cli/doctor-learnings-driver-command.d.ts.map +1 -0
- package/dist/cli/doctor-learnings-driver-command.js +80 -0
- package/dist/cli/doctor-learnings-driver-command.js.map +1 -0
- package/dist/cli/doctor-merge-drivers.d.ts +7 -3
- package/dist/cli/doctor-merge-drivers.d.ts.map +1 -1
- package/dist/cli/doctor-merge-drivers.js +43 -5
- package/dist/cli/doctor-merge-drivers.js.map +1 -1
- package/dist/cli/gate-commands.d.ts.map +1 -1
- package/dist/cli/gate-commands.js +1 -0
- package/dist/cli/gate-commands.js.map +1 -1
- package/dist/cli/merge-learnings-cmd.d.ts +6 -0
- package/dist/cli/merge-learnings-cmd.d.ts.map +1 -1
- package/dist/cli/merge-learnings-cmd.js +24 -1
- package/dist/cli/merge-learnings-cmd.js.map +1 -1
- package/dist/core/learnings-merge-driver-command.d.ts +38 -0
- package/dist/core/learnings-merge-driver-command.d.ts.map +1 -0
- package/dist/core/learnings-merge-driver-command.js +151 -0
- package/dist/core/learnings-merge-driver-command.js.map +1 -0
- package/dist/core/learnings-merge-driver-install.d.ts +19 -3
- package/dist/core/learnings-merge-driver-install.d.ts.map +1 -1
- package/dist/core/learnings-merge-driver-install.js +65 -32
- package/dist/core/learnings-merge-driver-install.js.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +6 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +10 -6
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +6 -5
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/scripts/check-engine-floor.mjs +21 -4
- package/scripts/check-typecheck-tests.mjs +23 -6
- package/scripts/lib/dependency-tree.mjs +1 -1
|
@@ -89,8 +89,23 @@ const DEFAULT_ROOT = path.resolve(
|
|
|
89
89
|
/** The gate's name, as it prints in both the report and the refusal. */
|
|
90
90
|
const GATE = "type-correctness (engine floor)";
|
|
91
91
|
|
|
92
|
-
/**
|
|
93
|
-
|
|
92
|
+
/**
|
|
93
|
+
* Where the compiler is spawned from, relative to the root: the TypeScript
|
|
94
|
+
* native compiler (`tsgo`, npm `@typescript/native-preview`), which checks this
|
|
95
|
+
* program about ten times faster than `tsc` (CodySwannGT/lisa#4614, #4695). On
|
|
96
|
+
* this program it puts the same set of files in error as `tsc`, though error
|
|
97
|
+
* counts, codes and wording can differ — which is enough, because this gate
|
|
98
|
+
* compares file sets (or runs of the same compiler), never raw diagnostics
|
|
99
|
+
* across compilers. Its bin is a plain Node script, so it is spawned under
|
|
100
|
+
* `node` exactly as `tsc` was.
|
|
101
|
+
*/
|
|
102
|
+
const TSC = path.join(
|
|
103
|
+
"node_modules",
|
|
104
|
+
"@typescript",
|
|
105
|
+
"native-preview",
|
|
106
|
+
"bin",
|
|
107
|
+
"tsgo"
|
|
108
|
+
);
|
|
94
109
|
|
|
95
110
|
/** The program describing the shipped JavaScript. */
|
|
96
111
|
const PROJECT = "tsconfig.shipped-js.json";
|
|
@@ -185,6 +200,8 @@ function compileUnder(root, lib) {
|
|
|
185
200
|
[
|
|
186
201
|
path.join(root, TSC),
|
|
187
202
|
"--noEmit",
|
|
203
|
+
"--pretty",
|
|
204
|
+
"false",
|
|
188
205
|
"-p",
|
|
189
206
|
path.join(root, PROJECT),
|
|
190
207
|
"--lib",
|
|
@@ -265,7 +282,7 @@ export function main(root) {
|
|
|
265
282
|
if (missing.length > 0) {
|
|
266
283
|
console.error(
|
|
267
284
|
refuseUnmeasurable(
|
|
268
|
-
`the TypeScript compiler is not installed — no file at ` +
|
|
285
|
+
`the TypeScript native compiler (tsgo) is not installed — no file at ` +
|
|
269
286
|
`${missing[0]}. Run \`${INSTALL_COMMAND}\`, then re-run this gate.`
|
|
270
287
|
)
|
|
271
288
|
);
|
|
@@ -288,7 +305,7 @@ export function main(root) {
|
|
|
288
305
|
const quoted = run.first === "" ? "" : ` First output line: ${run.first}`;
|
|
289
306
|
console.error(
|
|
290
307
|
refuseUnmeasurable(
|
|
291
|
-
`
|
|
308
|
+
`tsgo exited ${run.status} under --lib ${label} without emitting one ` +
|
|
292
309
|
`diagnostic this gate could parse, so the comparison had no ` +
|
|
293
310
|
`subject.${quoted}`
|
|
294
311
|
)
|
|
@@ -84,8 +84,23 @@ const DEFAULT_ROOT = path.resolve(
|
|
|
84
84
|
/** The gate's name, as it prints in both the report and the refusal. */
|
|
85
85
|
const GATE = "type-correctness (tests)";
|
|
86
86
|
|
|
87
|
-
/**
|
|
88
|
-
|
|
87
|
+
/**
|
|
88
|
+
* Where the compiler is spawned from, relative to the root: the TypeScript
|
|
89
|
+
* native compiler (`tsgo`, npm `@typescript/native-preview`), which checks this
|
|
90
|
+
* program about ten times faster than `tsc` (CodySwannGT/lisa#4614, #4695). On
|
|
91
|
+
* this program it puts the same set of files in error as `tsc`, though error
|
|
92
|
+
* counts, codes and wording can differ — which is enough, because this gate
|
|
93
|
+
* compares file sets (or runs of the same compiler), never raw diagnostics
|
|
94
|
+
* across compilers. Its bin is a plain Node script, so it is spawned under
|
|
95
|
+
* `node` exactly as `tsc` was.
|
|
96
|
+
*/
|
|
97
|
+
const TSC = path.join(
|
|
98
|
+
"node_modules",
|
|
99
|
+
"@typescript",
|
|
100
|
+
"native-preview",
|
|
101
|
+
"bin",
|
|
102
|
+
"tsgo"
|
|
103
|
+
);
|
|
89
104
|
|
|
90
105
|
/** Matches `path/to/file.ts(12,34): error TS1234: message`. */
|
|
91
106
|
const ERROR_LINE = /^(?<file>[^(]+)\((?<line>\d+),\d+\): error (?<code>TS\d+):/;
|
|
@@ -114,7 +129,7 @@ function readQuarantine(root) {
|
|
|
114
129
|
}
|
|
115
130
|
|
|
116
131
|
/**
|
|
117
|
-
* Parse
|
|
132
|
+
* Parse the compiler's output into a per-file error count.
|
|
118
133
|
* @param {string} output - Combined stdout and stderr.
|
|
119
134
|
* @returns {Map<string, number>} Errors keyed by forward-slashed path.
|
|
120
135
|
*/
|
|
@@ -180,7 +195,7 @@ export function main(root) {
|
|
|
180
195
|
if (missing.length > 0) {
|
|
181
196
|
console.error(
|
|
182
197
|
refuseUnmeasurable(
|
|
183
|
-
`the TypeScript compiler is not installed — no file at ${missing[0]}.`,
|
|
198
|
+
`the TypeScript native compiler (tsgo) is not installed — no file at ${missing[0]}.`,
|
|
184
199
|
quarantined.length,
|
|
185
200
|
`Run \`${INSTALL_COMMAND}\`, then re-run this gate.`
|
|
186
201
|
)
|
|
@@ -193,6 +208,8 @@ export function main(root) {
|
|
|
193
208
|
[
|
|
194
209
|
path.join(root, TSC),
|
|
195
210
|
"--noEmit",
|
|
211
|
+
"--pretty",
|
|
212
|
+
"false",
|
|
196
213
|
"-p",
|
|
197
214
|
path.join(root, "tsconfig.tests.json"),
|
|
198
215
|
],
|
|
@@ -201,7 +218,7 @@ export function main(root) {
|
|
|
201
218
|
|
|
202
219
|
if (tsc.error) {
|
|
203
220
|
console.error(
|
|
204
|
-
`check-typecheck-tests: could not run
|
|
221
|
+
`check-typecheck-tests: could not run tsgo — ${tsc.error.message}`
|
|
205
222
|
);
|
|
206
223
|
return 1;
|
|
207
224
|
}
|
|
@@ -222,7 +239,7 @@ export function main(root) {
|
|
|
222
239
|
.find(Boolean);
|
|
223
240
|
console.error(
|
|
224
241
|
refuseUnmeasurable(
|
|
225
|
-
`
|
|
242
|
+
`tsgo exited ${tsc.status} without emitting one diagnostic this gate ` +
|
|
226
243
|
`could parse, so the comparison had no subject.` +
|
|
227
244
|
`${firstLine ? ` First output line: ${firstLine}` : ""}`,
|
|
228
245
|
quarantined.length,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ## The defect this exists for
|
|
7
7
|
*
|
|
8
8
|
* The `type-correctness` gate spawns the compiler by PATH:
|
|
9
|
-
* `node node_modules
|
|
9
|
+
* `node node_modules/@typescript/native-preview/bin/tsgo`. With an empty `node_modules` the
|
|
10
10
|
* SPAWN still succeeds — node starts, and it is node that then cannot find the
|
|
11
11
|
* module — so the gate's `if (tsc.error)` guard does not fire. node's
|
|
12
12
|
* "Cannot find module" goes to stderr and does not match the gate's
|