@codyswann/lisa 4.1.0 → 4.1.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.
Files changed (59) hide show
  1. package/dist/configs/vitest/scratch-global-setup.d.ts +27 -4
  2. package/dist/configs/vitest/scratch-global-setup.d.ts.map +1 -1
  3. package/dist/configs/vitest/scratch-global-setup.js +38 -9
  4. package/dist/configs/vitest/scratch-global-setup.js.map +1 -1
  5. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  6. package/dist/core/upstream-evidence-manifest.js +5 -0
  7. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  8. package/package.json +2 -1
  9. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  10. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  11. package/plugins/lisa-agy/plugin.json +1 -1
  12. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  13. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  14. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  15. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  16. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  17. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  18. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  19. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  20. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  21. package/plugins/lisa-expo-agy/plugin.json +1 -1
  22. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  24. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  25. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  26. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  27. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  30. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  31. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  32. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  33. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  35. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  36. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  37. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  40. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  41. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  42. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  45. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  46. package/plugins/lisa-rails-agy/plugin.json +1 -1
  47. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  50. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  51. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  52. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  56. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  57. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  59. package/scripts/check-orphan-test-processes.mjs +342 -0
@@ -1,11 +1,34 @@
1
1
  /**
2
- * Upper bound on entries the namespace may hold once a run has torn down.
2
+ * Upper bound on entries the namespace may hold that **nobody owns**.
3
3
  *
4
4
  * A run allocates one root per process — the main process plus one per worker —
5
5
  * and several runs share a workstation, so a healthy namespace legitimately
6
- * holds tens of entries while work is in flight. This ceiling is not a tuning
7
- * knob for that; it is the point past which the namespace is provably becoming
8
- * the very thing it replaced.
6
+ * holds entries while work is in flight. This ceiling is not a tuning knob for
7
+ * that; it is the point past which the namespace is provably becoming the very
8
+ * thing it replaced.
9
+ *
10
+ * ## Why it counts unowned entries rather than all of them
11
+ *
12
+ * It compared against the total, and a total is a sum over every concurrent run
13
+ * on the box. Measured (CodySwannGT/lisa#3032), six snapshots of the shared
14
+ * namespace between 519 and 3,730 entries: in five of them EVERY root had a
15
+ * live owner that started before it. 24.3% of sampled instants sat above this
16
+ * ceiling, in stretches up to 127 seconds, and a run starting inside one was
17
+ * refused for its siblings' work under a message reading "accumulating rather
18
+ * than being reclaimed" — about a namespace in which nothing was accumulating.
19
+ * Ten full-suite runs at one commit produced 2 PASS and 8 REFUSED that way.
20
+ *
21
+ * Live-owned entries cannot accumulate: they are released when their owner
22
+ * exits, measured as 3,729 becoming reclaimable within 22 seconds when a run's
23
+ * workers ended together. Orphaned and unrecognised entries are the only ones
24
+ * that persist without bound, and they are exactly what the corrected
25
+ * arithmetic still counts — so no leak detection is lost.
26
+ *
27
+ * The number itself is unchanged and is deliberately not re-tuned here. It is a
28
+ * leak detector, not a performance backstop: the directory cost this campaign
29
+ * began with was measured at hundreds of thousands of entries, three orders of
30
+ * magnitude above this line, so a second absolute cap would need calibrating
31
+ * against measured harm and belongs in its own ticket.
9
32
  */
10
33
  export declare const MAX_NAMESPACE_ENTRIES = 512;
11
34
  /** What an inspection of the namespace found. */
@@ -1 +1 @@
1
- {"version":3,"file":"scratch-global-setup.d.ts","sourceRoot":"","sources":["../../../src/configs/vitest/scratch-global-setup.ts"],"names":[],"mappings":"AAkDA;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B,sEAAsE;IACtE,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,mEAAmE;IACnE,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IACzC,4BAA4B;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gBAAgB,GAC3B,MAAK,MAA8B,EACnC,QAAO,CAAC,GAAG,EAAE,MAAM,KAAK,OAAwB,KAC/C,gBAWF,CAAC;AAUF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,sBAAsB,GACjC,KAAK,MAAM,EACX,SAAS,gBAAgB,KACxB,MAAM,GAAG,SAoBX,CAAC;AA2BF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,mBAAmB,GAAI,SAAS,MAAM,KAAG,MAcxC,CAAC;AAKf;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,oBAAoB,GAAI,SAAS,MAAM,KAAG,MAG/B,CAAC;AAEzB;;;;;GAKG;AACH,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAQhD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,iBAAiB,GAC5B,SAAS,MAAM,EACf,QAAO,CAAC,IAAI,EAAE,MAAM,KAAK,IAExB,KACA,IAIF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,eAAe,GA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iB,GAC5B,SAAS,MAAM,EACf,QAAO,CAAC,IAAI,EAAE,MAAM,KAAK,IAExB,KACA,IAIF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,eAAe,GAC1B,SAAS,MAAM,EACf,cAAa,CAAC,IAAI,EAAE,MAAM,KAAK,IAE9B,KACA,IAMF,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK,QAAO,IAexB,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,QAAQ,QAAO,IAE3B,CAAC"}
@@ -40,13 +40,36 @@ import { writeSync } from "node:fs";
40
40
  import { env } from "node:process";
41
41
  import { isProcessAlive, parseRunRootName, readNamespaceEntries, scratchNamespaceDir, sweepScratchNamespace, } from "./scratch.js";
42
42
  /**
43
- * Upper bound on entries the namespace may hold once a run has torn down.
43
+ * Upper bound on entries the namespace may hold that **nobody owns**.
44
44
  *
45
45
  * A run allocates one root per process — the main process plus one per worker —
46
46
  * and several runs share a workstation, so a healthy namespace legitimately
47
- * holds tens of entries while work is in flight. This ceiling is not a tuning
48
- * knob for that; it is the point past which the namespace is provably becoming
49
- * the very thing it replaced.
47
+ * holds entries while work is in flight. This ceiling is not a tuning knob for
48
+ * that; it is the point past which the namespace is provably becoming the very
49
+ * thing it replaced.
50
+ *
51
+ * ## Why it counts unowned entries rather than all of them
52
+ *
53
+ * It compared against the total, and a total is a sum over every concurrent run
54
+ * on the box. Measured (CodySwannGT/lisa#3032), six snapshots of the shared
55
+ * namespace between 519 and 3,730 entries: in five of them EVERY root had a
56
+ * live owner that started before it. 24.3% of sampled instants sat above this
57
+ * ceiling, in stretches up to 127 seconds, and a run starting inside one was
58
+ * refused for its siblings' work under a message reading "accumulating rather
59
+ * than being reclaimed" — about a namespace in which nothing was accumulating.
60
+ * Ten full-suite runs at one commit produced 2 PASS and 8 REFUSED that way.
61
+ *
62
+ * Live-owned entries cannot accumulate: they are released when their owner
63
+ * exits, measured as 3,729 becoming reclaimable within 22 seconds when a run's
64
+ * workers ended together. Orphaned and unrecognised entries are the only ones
65
+ * that persist without bound, and they are exactly what the corrected
66
+ * arithmetic still counts — so no leak detection is lost.
67
+ *
68
+ * The number itself is unchanged and is deliberately not re-tuned here. It is a
69
+ * leak detector, not a performance backstop: the directory cost this campaign
70
+ * began with was measured at hundreds of thousands of entries, three orders of
71
+ * magnitude above this line, so a second absolute cap would need calibrating
72
+ * against measured harm and belongs in its own ticket.
50
73
  */
51
74
  export const MAX_NAMESPACE_ENTRIES = 512;
52
75
  /**
@@ -101,11 +124,17 @@ export const describeResidueFailure = (dir, residue) => {
101
124
  `removed them: ${sample(residue.orphaned)}. Reclaim-on-start is not ` +
102
125
  `working, so a killed run's residue is now permanent.`);
103
126
  }
104
- if (residue.total > MAX_NAMESPACE_ENTRIES) {
105
- return (`Test scratch namespace ${dir} holds ${String(residue.total)} entries, past ` +
106
- `the ceiling of ${String(MAX_NAMESPACE_ENTRIES)}. Scratch space is ` +
107
- `accumulating rather than being reclaimed the condition this guard ` +
108
- `exists to prevent.`);
127
+ // Entries no live process owns. Written as the general expression rather
128
+ // than as `unrecognised` alone: the orphaned branch above returns first
129
+ // today, so the term is zero here and hard-coding that would make this
130
+ // line silently wrong the moment the branch above stops being terminal.
131
+ const unowned = residue.orphaned.length + residue.unrecognised.length;
132
+ if (unowned > MAX_NAMESPACE_ENTRIES) {
133
+ return (`Test scratch namespace ${dir} holds ${String(unowned)} entries that no ` +
134
+ `live process owns, past the ceiling of ${String(MAX_NAMESPACE_ENTRIES)} ` +
135
+ `(${String(residue.total)} entries in total, the rest being work in ` +
136
+ `flight). Scratch space is accumulating rather than being reclaimed — ` +
137
+ `the condition this guard exists to prevent.`);
109
138
  }
110
139
  return undefined;
111
140
  };
@@ -1 +1 @@
1
- {"version":3,"file":"scratch-global-setup.js","sourceRoot":"","sources":["../../../src/configs/vitest/scratch-global-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;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BAAmB,EAAE,CAAC;IAClC,MAAM,OAAO,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;IACpC,MAAM,OAAO,GAAG,sBAAsB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IAErD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,uEAAuE;QACvE,oCAAoC;QACpC,eAAe,CAAC,OAAO,CAAC,CAAC;QACzB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;AACH,CAAC,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAS,EAAE;IACjC,qBAAqB,CAAC,EAAE,GAAG,EAAE,mBAAmB,EAAE,EAAE,CAAC,CAAC;AACxD,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"upstream-evidence-manifest.d.ts","sourceRoot":"","sources":["../../src/core/upstream-evidence-manifest.ts"],"names":[],"mappings":"AACA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA43EpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CA8hPjE,CAAC;AAEL,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAk6I/D,CAAC"}
1
+ {"version":3,"file":"upstream-evidence-manifest.d.ts","sourceRoot":"","sources":["../../src/core/upstream-evidence-manifest.ts"],"names":[],"mappings":"AACA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA83EpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAkiPjE,CAAC;AAEL,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAk6I/D,CAAC"}
@@ -1075,6 +1075,7 @@ export const UPSTREAM_EVIDENCE_MANIFEST = Object.freeze({
1075
1075
  "scripts/check-derived-artifacts.mjs": "86cca46aa7f055ae149b5a378d56d2c4e5dbbbe48e020b79883e21cae50c5956",
1076
1076
  "scripts/check-duplicate-versions.mjs": "26b26351dd2735dfd8d9a2436b89e876ce2ed93871d0b264f611215dd03d70ae",
1077
1077
  "scripts/check-learnings-budget.ts": "0112c857910880a5e53c4fa6bccc3ad7f060854d3402cb36bd81216181e54160",
1078
+ "scripts/check-orphan-test-processes.mjs": "7f2144154c19d3f4e1a1a42c5a6c177010090eb1ab0fe1fac8481d36b8e4336d",
1078
1079
  "scripts/check-plugins-sync.sh": "3a99cbff0e8ec5e7c944690eae003a6d51b51c85436d77bd37faea4d553728af",
1079
1080
  "scripts/check-required-check-promotions.mjs": "ae7a3d80beb98d8069af12d2d588e76f73f7a329b1f883ddbe1818bb1b5cafa9",
1080
1081
  "scripts/check-rules-pairing.sh": "4d4a0d9e8d36794a22020f419c879d7336b1c5bfe883acdcc826d26764560c7a",
@@ -7058,6 +7059,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
7058
7059
  "scripts/check-derived-artifacts.mjs": true,
7059
7060
  "scripts/check-duplicate-versions.mjs": true,
7060
7061
  "scripts/check-learnings-budget.ts": true,
7062
+ "scripts/check-orphan-test-processes.mjs": true,
7061
7063
  "scripts/check-plugins-sync.sh": true,
7062
7064
  "scripts/check-required-check-promotions.mjs": true,
7063
7065
  "scripts/check-rules-pairing.sh": true,
@@ -7610,6 +7612,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
7610
7612
  "tests/helpers/__fixtures__/margin-guard-case.ts": true,
7611
7613
  "tests/helpers/__fixtures__/scratch-teardown-case.ts": true,
7612
7614
  "tests/helpers/__fixtures__/wiki-status-fixture.ts": true,
7615
+ "tests/helpers/bounded-bash.ts": true,
7613
7616
  "tests/helpers/cpu-budget.ts": true,
7614
7617
  "tests/helpers/gate-capture.ts": true,
7615
7618
  "tests/helpers/hardcoded-temp-path-scan.ts": true,
@@ -8027,6 +8030,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
8027
8030
  "tests/unit/health/gitignore.test.ts": true,
8028
8031
  "tests/unit/health/package-surfaces.test.ts": true,
8029
8032
  "tests/unit/health/storage.test.ts": true,
8033
+ "tests/unit/helpers/bounded-bash.test.ts": true,
8030
8034
  "tests/unit/helpers/bounded-exec-file-sync.test.ts": true,
8031
8035
  "tests/unit/helpers/bounded-spawn-sync.test.ts": true,
8032
8036
  "tests/unit/helpers/gate-capture.test.ts": true,
@@ -8151,6 +8155,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
8151
8155
  "tests/unit/scripts/check-duplicate-versions.units.test.ts": true,
8152
8156
  "tests/unit/scripts/check-learnings-budget-helpers.ts": true,
8153
8157
  "tests/unit/scripts/check-learnings-budget.test.ts": true,
8158
+ "tests/unit/scripts/check-orphan-test-processes.test.ts": true,
8154
8159
  "tests/unit/scripts/check-template-workflow-refs.test.ts": true,
8155
8160
  "tests/unit/scripts/check-workflow-package-paths.test.ts": true,
8156
8161
  "tests/unit/scripts/codex-hook-filter.test.ts": true,