@codyswann/lisa 4.94.0 → 4.95.1

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 (85) hide show
  1. package/all/copy-overwrite/scripts/lisa-gates.mjs +2 -2
  2. package/all/copy-overwrite/scripts/lisa-run-gates.mjs +6 -6
  3. package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +2 -2
  4. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  5. package/dist/core/lisa-owned-hash-ledger.js +6 -0
  6. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  7. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  8. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  9. package/dist/core/upstream-evidence-manifest.js +18 -6
  10. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  11. package/package.json +7 -5
  12. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  13. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  14. package/plugins/lisa-agy/plugin.json +1 -1
  15. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  16. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  17. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  18. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  19. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  20. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  21. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  22. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  24. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  25. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  26. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  27. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  28. package/plugins/lisa-expo-agy/plugin.json +1 -1
  29. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  30. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  31. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  33. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  35. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  36. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  40. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  41. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  42. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  43. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  45. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  46. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  47. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  49. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  50. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  54. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  56. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  57. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  61. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  63. package/plugins/lisa-rails-agy/plugin.json +1 -1
  64. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  68. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  70. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  71. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  74. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  75. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  76. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  77. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  78. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  79. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  80. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  81. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  82. package/scripts/check-engine-floor.mjs +21 -4
  83. package/scripts/check-typecheck-tests.mjs +23 -6
  84. package/scripts/lib/dependency-tree.mjs +1 -1
  85. package/scripts/lisa-rollback-release.mjs +750 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.94.0",
3
+ "version": "4.95.1",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.94.0",
3
+ "version": "4.95.1",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.94.0",
3
+ "version": "4.95.1",
4
4
  "description": "Distributable LLM Wiki kernel — ingest, query, lint, and maintain a git-native markdown knowledge base across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.94.0",
3
+ "version": "4.95.1",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.94.0",
3
+ "version": "4.95.1",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.94.0",
3
+ "version": "4.95.1",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.94.0",
3
+ "version": "4.95.1",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.94.0",
3
+ "version": "4.95.1",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -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
- /** Where the compiler is spawned from, relative to the root. */
93
- const TSC = path.join("node_modules", "typescript", "bin", "tsc");
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
- `tsc exited ${run.status} under --lib ${label} without emitting one ` +
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
- /** Where the compiler is spawned from, relative to the root. */
88
- const TSC = path.join("node_modules", "typescript", "bin", "tsc");
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 tsc's output into a per-file error count.
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 tsc — ${tsc.error.message}`
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
- `tsc exited ${tsc.status} without emitting one diagnostic this gate ` +
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/typescript/bin/tsc`. With an empty `node_modules` the
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