@codyswann/lisa 8.2.1 → 8.2.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.
- package/all/copy-overwrite/scripts/lib/gate-pass-cache.mjs +4 -0
- package/all/copy-overwrite/scripts/lib/lisa-cleanup-sweep.d.mts +17 -0
- package/all/copy-overwrite/scripts/lib/lisa-cleanup-sweep.mjs +71 -8
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +2 -2
- package/dist/cli/lisa-test-run-sweep.d.ts +3 -1
- package/dist/cli/lisa-test-run-sweep.d.ts.map +1 -1
- package/dist/cli/lisa-test-run-sweep.js +10 -7
- package/dist/cli/lisa-test-run-sweep.js.map +1 -1
- package/dist/controls/proof-patch.d.ts +3 -2
- package/dist/controls/proof-patch.d.ts.map +1 -1
- package/dist/controls/proof-patch.js +17 -2
- package/dist/controls/proof-patch.js.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.json +12 -2
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.json +18 -6
- package/eslint-plugin-component-structure/__tests__/enforce-component-structure.test.js +10 -0
- package/package.json +4 -4
- 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-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-workflow-package-paths.mjs +32 -12
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
readFileSync,
|
|
105
105
|
writeFileSync,
|
|
106
106
|
} from "node:fs";
|
|
107
|
-
import { mkdtempSync, statSync } from "node:fs";
|
|
107
|
+
import { mkdtempSync, rmSync, statSync } from "node:fs";
|
|
108
108
|
import { tmpdir } from "node:os";
|
|
109
109
|
import path from "node:path";
|
|
110
110
|
|
|
@@ -527,6 +527,23 @@ function introducedLater(version, contract) {
|
|
|
527
527
|
);
|
|
528
528
|
}
|
|
529
529
|
|
|
530
|
+
/**
|
|
531
|
+
* Run the contract probes in a scratch folder and remove it afterwards,
|
|
532
|
+
* success or failure; every run used to leave one `lisa-contract-probe-*`
|
|
533
|
+
* folder behind (CodySwannGT/lisa#5095).
|
|
534
|
+
* @template T
|
|
535
|
+
* @param {(workRoot: string) => T} probe - The probes, given the folder.
|
|
536
|
+
* @returns {T} What the probes returned.
|
|
537
|
+
*/
|
|
538
|
+
function probeInScratch(probe) {
|
|
539
|
+
const workRoot = mkdtempSync(path.join(tmpdir(), "lisa-contract-probe-"));
|
|
540
|
+
try {
|
|
541
|
+
return probe(workRoot);
|
|
542
|
+
} finally {
|
|
543
|
+
rmSync(workRoot, { force: true, maxRetries: 10, recursive: true });
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
|
|
530
547
|
/**
|
|
531
548
|
* Run the check.
|
|
532
549
|
* @returns {void}
|
|
@@ -577,17 +594,20 @@ function main() {
|
|
|
577
594
|
operational: [],
|
|
578
595
|
probed: [],
|
|
579
596
|
}
|
|
580
|
-
:
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
version,
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
597
|
+
: probeInScratch(workRoot =>
|
|
598
|
+
probeReleases({
|
|
599
|
+
groups: claims.groups,
|
|
600
|
+
releases: probeable.map(([version, release]) => ({
|
|
601
|
+
version,
|
|
602
|
+
root: release.root,
|
|
603
|
+
contains: candidate =>
|
|
604
|
+
releaseContains(release.entries, candidate),
|
|
605
|
+
})),
|
|
606
|
+
contracts: declaration.contracts,
|
|
607
|
+
fixtures: declaration.fixtures,
|
|
608
|
+
workRoot,
|
|
609
|
+
})
|
|
610
|
+
);
|
|
591
611
|
|
|
592
612
|
const breakages = [
|
|
593
613
|
...findBreakages(claims.groups, listings, declaration.contracts),
|