@codyswann/lisa 3.40.4 → 3.40.5

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 (62) hide show
  1. package/dist/cli/doctor-lisa-owned-artifacts.d.ts +4 -2
  2. package/dist/cli/doctor-lisa-owned-artifacts.d.ts.map +1 -1
  3. package/dist/cli/doctor-lisa-owned-artifacts.js +46 -32
  4. package/dist/cli/doctor-lisa-owned-artifacts.js.map +1 -1
  5. package/dist/cli/doctor-lisa-owned-universal.d.ts +26 -0
  6. package/dist/cli/doctor-lisa-owned-universal.d.ts.map +1 -0
  7. package/dist/cli/doctor-lisa-owned-universal.js +50 -0
  8. package/dist/cli/doctor-lisa-owned-universal.js.map +1 -0
  9. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  10. package/dist/core/upstream-evidence-manifest.js +2 -0
  11. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  12. package/package.json +1 -1
  13. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  14. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  15. package/plugins/lisa-agy/plugin.json +1 -1
  16. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  17. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  18. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  19. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  20. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  21. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  22. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  24. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  25. package/plugins/lisa-expo-agy/plugin.json +1 -1
  26. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  27. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  30. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  31. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  33. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  35. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  36. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  40. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  41. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  45. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  46. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  50. package/plugins/lisa-rails-agy/plugin.json +1 -1
  51. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  55. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  56. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  60. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  61. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
@@ -15,8 +15,10 @@ interface ArtifactCheck {
15
15
  * nobody can account for is worth a line either way, and staying silent about a
16
16
  * downstream edit would let a project quietly swap a guard for a stub.
17
17
  *
18
- * Only artifacts the project already has are considered: a missing one means
19
- * the stack does not apply here, not that something drifted.
18
+ * A third finding covers absence, but only for the universal tree. A missing
19
+ * stack-specific artifact means that stack does not apply here, which is not
20
+ * drift. A missing universal one means apply has not run, and the CI gate that
21
+ * calls it is not running at all.
20
22
  * @param targetPath - Project path to inspect
21
23
  * @param lisaRoot - Installed Lisa package root (injected by tests)
22
24
  * @param ledger - Known-good hashes, defaulting to Lisa's shipping history
@@ -1 +1 @@
1
- {"version":3,"file":"doctor-lisa-owned-artifacts.d.ts","sourceRoot":"","sources":["../../src/cli/doctor-lisa-owned-artifacts.ts"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAwBnE,wEAAwE;AACxE,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;CAChB;AAwHD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,uBAAuB,CAC3C,UAAU,EAAE,MAAM,EAClB,QAAQ,GAAE,MAA0B,EACpC,MAAM,CAAC,EAAE,UAAU,GAClB,OAAO,CAAC,aAAa,CAAC,CA8CxB"}
1
+ {"version":3,"file":"doctor-lisa-owned-artifacts.d.ts","sourceRoot":"","sources":["../../src/cli/doctor-lisa-owned-artifacts.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AA0BnE,wEAAwE;AACxE,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;CAChB;AA8FD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,uBAAuB,CAC3C,UAAU,EAAE,MAAM,EAClB,QAAQ,GAAE,MAA0B,EACpC,MAAM,CAAC,EAAE,UAAU,GAClB,OAAO,CAAC,aAAa,CAAC,CAgDxB"}
@@ -18,16 +18,13 @@
18
18
  import { readFile } from "node:fs/promises";
19
19
  import * as path from "node:path";
20
20
  import { fileURLToPath } from "node:url";
21
- import * as fse from "fs-extra";
22
21
  import { PROJECT_TYPE_ORDER } from "../core/config.js";
23
22
  import { classifyHostCopy, mayRefreshLisaOwned, } from "../core/lisa-owned-provenance.js";
24
- import { isLisaOwnedTemplate } from "../core/lisa-owned-templates.js";
25
23
  import { isLisaSourceRepo } from "../core/self-apply.js";
26
- import { listFilesRecursive } from "../utils/file-operations.js";
27
24
  import { matchesAnyPattern, parseIgnorePatterns, } from "../utils/ignore-patterns.js";
28
25
  import { describeResolvableCopies, } from "./doctor-lisa-owned-artifact-copies.js";
26
+ import { shippedByStack, UNIVERSAL_STACK, universalDestinations, } from "./doctor-lisa-owned-universal.js";
29
27
  const CHECK_NAME = "Lisa enforcement artifacts current?";
30
- const COPY_OVERWRITE = "copy-overwrite";
31
28
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
32
29
  /**
33
30
  * Quoted relative module specifiers — `import`/`export from`, `require()`, and
@@ -42,23 +39,6 @@ const RELATIVE_SPECIFIER = /["'`](\.\.?\/[^"'`\n]{1,4096})["'`]/g;
42
39
  function defaultLisaRoot() {
43
40
  return path.resolve(__dirname, "..", "..");
44
41
  }
45
- /**
46
- * List the Lisa-owned artifacts one stack's copy-overwrite tree ships.
47
- * @param lisaRoot - Installed Lisa package root
48
- * @param type - Stack directory name
49
- * @returns Destination/source pairs shipped by that stack
50
- */
51
- async function shippedByStack(lisaRoot, type) {
52
- const directory = path.join(lisaRoot, type, COPY_OVERWRITE);
53
- if (!(await fse.pathExists(directory)))
54
- return [];
55
- return (await listFilesRecursive(directory))
56
- .map(source => [
57
- path.relative(directory, source).split(path.sep).join("/"),
58
- source,
59
- ])
60
- .filter(([destination]) => isLisaOwnedTemplate(destination));
61
- }
62
42
  /**
63
43
  * Collect every shipped Lisa-owned artifact, keyed by its destination path.
64
44
  *
@@ -69,7 +49,7 @@ async function shippedByStack(lisaRoot, type) {
69
49
  * @returns Destination path to the shipped source files that produce it
70
50
  */
71
51
  async function shippedArtifacts(lisaRoot) {
72
- const shipped = (await Promise.all(["all", ...PROJECT_TYPE_ORDER].map(async (type) => shippedByStack(lisaRoot, type)))).flat();
52
+ const shipped = (await Promise.all([UNIVERSAL_STACK, ...PROJECT_TYPE_ORDER].map(async (type) => shippedByStack(lisaRoot, type)))).flat();
73
53
  const destinations = [
74
54
  ...new Set(shipped.map(([destination]) => destination)),
75
55
  ];
@@ -123,8 +103,10 @@ function reExportsShippedTemplate(installed, installedPath, sources) {
123
103
  * nobody can account for is worth a line either way, and staying silent about a
124
104
  * downstream edit would let a project quietly swap a guard for a stub.
125
105
  *
126
- * Only artifacts the project already has are considered: a missing one means
127
- * the stack does not apply here, not that something drifted.
106
+ * A third finding covers absence, but only for the universal tree. A missing
107
+ * stack-specific artifact means that stack does not apply here, which is not
108
+ * drift. A missing universal one means apply has not run, and the CI gate that
109
+ * calls it is not running at all.
128
110
  * @param targetPath - Project path to inspect
129
111
  * @param lisaRoot - Installed Lisa package root (injected by tests)
130
112
  * @param ledger - Known-good hashes, defaulting to Lisa's shipping history
@@ -132,6 +114,7 @@ function reExportsShippedTemplate(installed, installedPath, sources) {
132
114
  */
133
115
  export async function checkLisaOwnedArtifacts(targetPath, lisaRoot = defaultLisaRoot(), ledger) {
134
116
  const shipped = await shippedArtifacts(lisaRoot);
117
+ const universal = await universalDestinations(lisaRoot);
135
118
  if (shipped.size === 0) {
136
119
  return {
137
120
  name: CHECK_NAME,
@@ -146,7 +129,7 @@ export async function checkLisaOwnedArtifacts(targetPath, lisaRoot = defaultLisa
146
129
  // unless the target's package.json is Lisa itself. A host must not be able to
147
130
  // swap a guard for a thin re-export and have doctor call it current.
148
131
  const selfHost = await isLisaSourceRepo(targetPath);
149
- const results = await Promise.all([...shipped].map(async ([destination, sources]) => assessArtifact(targetPath, lisaRoot, destination, sources, ignorePatterns, selfHost, ledger)));
132
+ const results = await Promise.all([...shipped].map(async ([destination, sources]) => assessArtifact(targetPath, lisaRoot, destination, sources, ignorePatterns, selfHost, universal.has(destination), ledger)));
150
133
  const assessments = results.filter((item) => item !== undefined);
151
134
  return summarise(assessments
152
135
  .map(item => item.finding)
@@ -162,19 +145,16 @@ export async function checkLisaOwnedArtifacts(targetPath, lisaRoot = defaultLisa
162
145
  * @param sources - Absolute shipped package variants
163
146
  * @param ignorePatterns - Parsed .lisaignore patterns
164
147
  * @param selfHost - Whether the target is Lisa's own source repository
148
+ * @param universal - Whether every project receives this destination
165
149
  * @param ledger - Known-good hashes, defaulting to Lisa's shipping history
166
- * @returns Per-artifact assessment, or undefined when no installed copy exists
150
+ * @returns Per-artifact assessment, or undefined when nothing is reportable
167
151
  */
168
- async function assessArtifact(targetPath, lisaRoot, destination, sources, ignorePatterns, selfHost, ledger) {
152
+ async function assessArtifact(targetPath, lisaRoot, destination, sources, ignorePatterns, selfHost, universal, ledger) {
169
153
  const installedPath = path.join(targetPath, destination);
170
154
  const installed = await readFile(installedPath).catch(() => undefined);
171
155
  const ignored = matchesAnyPattern(destination, ignorePatterns);
172
156
  if (installed === undefined) {
173
- return ignored
174
- ? {
175
- finding: [destination, "ignored"],
176
- }
177
- : undefined;
157
+ return assessAbsent(destination, ignored, universal, selfHost);
178
158
  }
179
159
  const multiCopy = await describeResolvableCopies(lisaRoot, destination, installed, sources);
180
160
  if (ignored)
@@ -188,6 +168,35 @@ async function assessArtifact(targetPath, lisaRoot, destination, sources, ignore
188
168
  const outdated = await isProvablyStale(installed, destination, sources, ledger);
189
169
  return withMultiCopy([destination, outdated ? "stale" : "modified"], multiCopy);
190
170
  }
171
+ /**
172
+ * Assess a Lisa-owned artifact the project does not have.
173
+ *
174
+ * An absent stack-specific artifact means that stack does not apply here, which
175
+ * is not drift — that exemption is why absence used to report nothing at all.
176
+ * It over-reached: a universal artifact has no stack it does not apply to, so
177
+ * its absence means apply never ran and the CI gate that calls it is not
178
+ * running. Measured on `scripts/lisa-floor-collisions.mjs` (#2731), whose job
179
+ * exited 0 on the missing script — green, having examined nothing, with doctor
180
+ * silent too. Fixing only the job turns a silent pass into a red nobody has
181
+ * been told how to clear.
182
+ *
183
+ * Never for Lisa's own repository: it is the source of these artifacts, not a
184
+ * consumer, and installs only the few it runs on itself, so "apply never ran"
185
+ * is a category error there.
186
+ * @param destination - Project-relative artifact destination
187
+ * @param ignored - Whether .lisaignore names this destination
188
+ * @param universal - Whether every project receives this destination
189
+ * @param selfHost - Whether the target is Lisa's own source repository
190
+ * @returns Per-artifact assessment, or undefined when absence proves nothing
191
+ */
192
+ function assessAbsent(destination, ignored, universal, selfHost) {
193
+ if (ignored) {
194
+ return { finding: [destination, "ignored"] };
195
+ }
196
+ return universal && !selfHost
197
+ ? { finding: [destination, "missing"] }
198
+ : undefined;
199
+ }
191
200
  /**
192
201
  * Attach optional multi-copy provenance without materialising undefined fields.
193
202
  * @param finding - Artifact finding tuple
@@ -211,10 +220,12 @@ function summarise(findings, multiCopies) {
211
220
  const stale = pick("stale");
212
221
  const modified = pick("modified");
213
222
  const ignored = pick("ignored");
223
+ const missing = pick("missing");
214
224
  const copyDisagreements = multiCopies.filter(copy => copy.disagrees);
215
225
  const copyReports = renderCopyReports(multiCopies);
216
226
  const warningFree = stale.length === 0 &&
217
227
  modified.length === 0 &&
228
+ missing.length === 0 &&
218
229
  copyDisagreements.length === 0;
219
230
  if (warningFree) {
220
231
  // Named rather than folded into the pass. A guard excluded by
@@ -231,6 +242,9 @@ function summarise(findings, multiCopies) {
231
242
  ignored.length > 0
232
243
  ? `${ignored.length} not assessed (.lisaignore): ${ignored.join(", ")}`
233
244
  : "",
245
+ missing.length > 0
246
+ ? `Lisa-owned guards every project receives are not installed, so the CI gates that call them run against nothing (run \`npx lisa apply .\` to install them): ${missing.join(", ")}`
247
+ : "",
234
248
  stale.length > 0
235
249
  ? `Outdated Lisa-owned guards (run \`npx lisa apply .\` to refresh): ${stale.join(", ")}`
236
250
  : "",
@@ -1 +1 @@
1
- {"version":3,"file":"doctor-lisa-owned-artifacts.js","sourceRoot":"","sources":["../../src/cli/doctor-lisa-owned-artifacts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EACL,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EACL,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,wBAAwB,GAEzB,MAAM,wCAAwC,CAAC;AAEhD,MAAM,UAAU,GAAG,qCAAqC,CA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AC/B,mBAAmB,CACjB,gBAAgB,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,CAC5D,CACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,26 @@
1
+ /** Directory name of the strategy tree these artifacts are shipped from. */
2
+ export declare const COPY_OVERWRITE = "copy-overwrite";
3
+ /**
4
+ * The stack tree every project receives regardless of detected type.
5
+ *
6
+ * `Lisa.processProjectType("all")` runs unconditionally and every downstream
7
+ * loop is `["all", ...detectedTypes]`, so an artifact shipped here has no stack
8
+ * it legitimately does not apply to.
9
+ */
10
+ export declare const UNIVERSAL_STACK = "all";
11
+ /** One shipped Lisa-owned artifact and the destination it installs to. */
12
+ export type ShippedArtifact = readonly [destination: string, source: string];
13
+ /**
14
+ * List the Lisa-owned artifacts one stack's copy-overwrite tree ships.
15
+ * @param lisaRoot - Installed Lisa package root
16
+ * @param type - Stack directory name
17
+ * @returns Destination/source pairs shipped by that stack
18
+ */
19
+ export declare function shippedByStack(lisaRoot: string, type: string): Promise<readonly ShippedArtifact[]>;
20
+ /**
21
+ * Destinations shipped by the universal tree, which every project receives.
22
+ * @param lisaRoot - Installed Lisa package root
23
+ * @returns Destination paths no project can legitimately be without
24
+ */
25
+ export declare function universalDestinations(lisaRoot: string): Promise<ReadonlySet<string>>;
26
+ //# sourceMappingURL=doctor-lisa-owned-universal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"doctor-lisa-owned-universal.d.ts","sourceRoot":"","sources":["../../src/cli/doctor-lisa-owned-universal.ts"],"names":[],"mappings":"AAgBA,4EAA4E;AAC5E,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,QAAQ,CAAC;AAErC,0EAA0E;AAC1E,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAE7E;;;;;GAKG;AACH,wBAAsB,cAAc,CAClC,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,SAAS,eAAe,EAAE,CAAC,CAYrC;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,CACzC,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAM9B"}
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Which Lisa-owned artifacts every project receives, whatever stack it is.
3
+ *
4
+ * Kept separate from `doctor-lisa-owned-artifacts.ts` for the max-lines budget,
5
+ * the same way the safety-net fixtures are split. The distinction it encodes is
6
+ * small but load-bearing: absence of a STACK artifact proves nothing, because
7
+ * that stack may simply not apply here, while absence of a UNIVERSAL one means
8
+ * apply never ran and the CI gate that calls it is not running at all.
9
+ * @module cli/doctor-lisa-owned-universal
10
+ */
11
+ import * as path from "node:path";
12
+ import * as fse from "fs-extra";
13
+ import { isLisaOwnedTemplate } from "../core/lisa-owned-templates.js";
14
+ import { listFilesRecursive } from "../utils/file-operations.js";
15
+ /** Directory name of the strategy tree these artifacts are shipped from. */
16
+ export const COPY_OVERWRITE = "copy-overwrite";
17
+ /**
18
+ * The stack tree every project receives regardless of detected type.
19
+ *
20
+ * `Lisa.processProjectType("all")` runs unconditionally and every downstream
21
+ * loop is `["all", ...detectedTypes]`, so an artifact shipped here has no stack
22
+ * it legitimately does not apply to.
23
+ */
24
+ export const UNIVERSAL_STACK = "all";
25
+ /**
26
+ * List the Lisa-owned artifacts one stack's copy-overwrite tree ships.
27
+ * @param lisaRoot - Installed Lisa package root
28
+ * @param type - Stack directory name
29
+ * @returns Destination/source pairs shipped by that stack
30
+ */
31
+ export async function shippedByStack(lisaRoot, type) {
32
+ const directory = path.join(lisaRoot, type, COPY_OVERWRITE);
33
+ if (!(await fse.pathExists(directory)))
34
+ return [];
35
+ return (await listFilesRecursive(directory))
36
+ .map(source => [
37
+ path.relative(directory, source).split(path.sep).join("/"),
38
+ source,
39
+ ])
40
+ .filter(([destination]) => isLisaOwnedTemplate(destination));
41
+ }
42
+ /**
43
+ * Destinations shipped by the universal tree, which every project receives.
44
+ * @param lisaRoot - Installed Lisa package root
45
+ * @returns Destination paths no project can legitimately be without
46
+ */
47
+ export async function universalDestinations(lisaRoot) {
48
+ return new Set((await shippedByStack(lisaRoot, UNIVERSAL_STACK)).map(([destination]) => destination));
49
+ }
50
+ //# sourceMappingURL=doctor-lisa-owned-universal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"doctor-lisa-owned-universal.js","sourceRoot":"","sources":["../../src/cli/doctor-lisa-owned-universal.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,4EAA4E;AAC5E,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC;AAKrC;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAClC,QAAgB,EAChB,IAAY;IAEZ,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,cAAc,CAAC,CAAC;IAC5D,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;QAAE,OAAO,EAAE,CAAC;IAClD,OAAO,CAAC,MAAM,kBAAkB,CAAC,SAAS,CAAC,CAAC;SACzC,GAAG,CACF,MAAM,CAAC,EAAE,CACP;QACE,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;QAC1D,MAAM;KACE,CACb;SACA,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,EAAE,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC,CAAC;AACjE,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,QAAgB;IAEhB,OAAO,IAAI,GAAG,CACZ,CAAC,MAAM,cAAc,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC,CAAC,GAAG,CACnD,CAAC,CAAC,WAAW,CAAC,EAAE,EAAE,CAAC,WAAW,CAC/B,CACF,CAAC;AACJ,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,CAs1EpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAiuOjE,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,CAs1EpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAmuOjE,CAAC;AAEL,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAk6I/D,CAAC"}
@@ -7056,6 +7056,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
7056
7056
  "src/cli/doctor-legacy-overlay.ts": true,
7057
7057
  "src/cli/doctor-lisa-owned-artifact-copies.ts": true,
7058
7058
  "src/cli/doctor-lisa-owned-artifacts.ts": true,
7059
+ "src/cli/doctor-lisa-owned-universal.ts": true,
7059
7060
  "src/cli/doctor-monitor-thresholds.ts": true,
7060
7061
  "src/cli/doctor-readiness-action-pins.ts": true,
7061
7062
  "src/cli/doctor-readiness-audit-allowlist.ts": true,
@@ -7486,6 +7487,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
7486
7487
  "tests/integration/cli-smoke.test.ts": true,
7487
7488
  "tests/integration/environment-facade-gates.test.ts": true,
7488
7489
  "tests/integration/failure-issue-workflows.test.ts": true,
7490
+ "tests/integration/floor-collisions-gate-fail-closed.test.ts": true,
7489
7491
  "tests/integration/gate-config-validity-job.test.ts": true,
7490
7492
  "tests/integration/jest-expo-haste-pruning.test.ts": true,
7491
7493
  "tests/integration/lisa.test.ts": true,