@codyswann/lisa 8.3.0 → 8.4.0

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 (183) hide show
  1. package/cdk/package-lisa/package.lisa.json +1 -1
  2. package/dist/cli/confined-project-read.d.ts +2 -1
  3. package/dist/cli/confined-project-read.d.ts.map +1 -1
  4. package/dist/cli/confined-project-read.js +22 -5
  5. package/dist/cli/confined-project-read.js.map +1 -1
  6. package/dist/cli/gh-cli.d.ts +2 -1
  7. package/dist/cli/gh-cli.d.ts.map +1 -1
  8. package/dist/cli/gh-cli.js +5 -3
  9. package/dist/cli/gh-cli.js.map +1 -1
  10. package/dist/cli/github-read-issue-cmd.d.ts +62 -0
  11. package/dist/cli/github-read-issue-cmd.d.ts.map +1 -0
  12. package/dist/cli/github-read-issue-cmd.js +121 -0
  13. package/dist/cli/github-read-issue-cmd.js.map +1 -0
  14. package/dist/cli/github-reader-relationships.d.ts +41 -0
  15. package/dist/cli/github-reader-relationships.d.ts.map +1 -0
  16. package/dist/cli/github-reader-relationships.js +218 -0
  17. package/dist/cli/github-reader-relationships.js.map +1 -0
  18. package/dist/cli/github-reader-target.d.ts +24 -0
  19. package/dist/cli/github-reader-target.d.ts.map +1 -0
  20. package/dist/cli/github-reader-target.js +95 -0
  21. package/dist/cli/github-reader-target.js.map +1 -0
  22. package/dist/cli/github-reader-wire.d.ts +72 -0
  23. package/dist/cli/github-reader-wire.d.ts.map +1 -0
  24. package/dist/cli/github-reader-wire.js +125 -0
  25. package/dist/cli/github-reader-wire.js.map +1 -0
  26. package/dist/cli/index.d.ts.map +1 -1
  27. package/dist/cli/index.js +2 -2
  28. package/dist/cli/index.js.map +1 -1
  29. package/dist/controls/commands/declaration-check.d.ts.map +1 -1
  30. package/dist/controls/commands/declaration-check.js +7 -4
  31. package/dist/controls/commands/declaration-check.js.map +1 -1
  32. package/dist/controls/commands/seed.d.ts +1 -9
  33. package/dist/controls/commands/seed.d.ts.map +1 -1
  34. package/dist/controls/commands/seed.js +72 -65
  35. package/dist/controls/commands/seed.js.map +1 -1
  36. package/dist/controls/configure-road.d.ts +2 -0
  37. package/dist/controls/configure-road.d.ts.map +1 -1
  38. package/dist/controls/configure-road.js +18 -14
  39. package/dist/controls/configure-road.js.map +1 -1
  40. package/dist/controls/register-evidence-rule.d.ts +2 -0
  41. package/dist/controls/register-evidence-rule.d.ts.map +1 -1
  42. package/dist/controls/register-evidence-rule.js +8 -7
  43. package/dist/controls/register-evidence-rule.js.map +1 -1
  44. package/dist/controls/register-rules.d.ts +2 -0
  45. package/dist/controls/register-rules.d.ts.map +1 -1
  46. package/dist/controls/register-rules.js.map +1 -1
  47. package/dist/controls/register-types.d.ts +2 -4
  48. package/dist/controls/register-types.d.ts.map +1 -1
  49. package/dist/controls/register-types.js.map +1 -1
  50. package/dist/controls/register.d.ts +2 -0
  51. package/dist/controls/register.d.ts.map +1 -1
  52. package/dist/controls/register.js +3 -1
  53. package/dist/controls/register.js.map +1 -1
  54. package/dist/controls/shipped-parts.d.ts +82 -0
  55. package/dist/controls/shipped-parts.d.ts.map +1 -0
  56. package/dist/controls/shipped-parts.js +216 -0
  57. package/dist/controls/shipped-parts.js.map +1 -0
  58. package/dist/core/lisa-owned-hash-ledger.json +6 -0
  59. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  60. package/dist/core/upstream-evidence-manifest.json +41 -14
  61. package/dist/strategies/package-lisa-host-pins.d.ts +7 -12
  62. package/dist/strategies/package-lisa-host-pins.d.ts.map +1 -1
  63. package/dist/strategies/package-lisa-host-pins.js +29 -30
  64. package/dist/strategies/package-lisa-host-pins.js.map +1 -1
  65. package/dist/strategies/package-lisa-range-intersection.d.ts +8 -0
  66. package/dist/strategies/package-lisa-range-intersection.d.ts.map +1 -0
  67. package/dist/strategies/package-lisa-range-intersection.js +73 -0
  68. package/dist/strategies/package-lisa-range-intersection.js.map +1 -0
  69. package/harper-fabric/package-lisa/package.lisa.json +3 -2
  70. package/package.json +4 -4
  71. package/phaser/package-lisa/package.lisa.json +3 -2
  72. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  74. package/plugins/lisa/.codex-plugin/skills/lisa-configure/SKILL.md +8 -7
  75. package/plugins/lisa/.codex-plugin/skills/lisa-github-read-issue/SKILL.md +22 -106
  76. package/plugins/lisa/.codex-plugin/skills/lisa-persist-learning/SKILL.md +37 -5
  77. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/SKILL.md +9 -10
  78. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/answer-record.mjs +24 -20
  79. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-answer-record.mjs +3 -1
  80. package/plugins/lisa/skills/lisa-configure/SKILL.md +8 -7
  81. package/plugins/lisa/skills/lisa-github-read-issue/SKILL.md +22 -106
  82. package/plugins/lisa/skills/lisa-persist-learning/SKILL.md +37 -5
  83. package/plugins/lisa/skills/lisa-session-manager/SKILL.md +9 -10
  84. package/plugins/lisa/skills/lisa-session-manager/scripts/answer-record.mjs +24 -20
  85. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-answer-record.mjs +3 -1
  86. package/plugins/lisa-agy/plugin.json +1 -1
  87. package/plugins/lisa-agy/skills/lisa-configure/SKILL.md +8 -7
  88. package/plugins/lisa-agy/skills/lisa-github-read-issue/SKILL.md +22 -106
  89. package/plugins/lisa-agy/skills/lisa-persist-learning/SKILL.md +37 -5
  90. package/plugins/lisa-agy/skills/lisa-session-manager/SKILL.md +9 -10
  91. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/answer-record.mjs +24 -20
  92. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-answer-record.mjs +3 -1
  93. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  95. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  96. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  97. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  98. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  99. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  100. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  101. package/plugins/lisa-copilot/skills/lisa-configure/SKILL.md +8 -7
  102. package/plugins/lisa-copilot/skills/lisa-github-read-issue/SKILL.md +22 -106
  103. package/plugins/lisa-copilot/skills/lisa-persist-learning/SKILL.md +37 -5
  104. package/plugins/lisa-copilot/skills/lisa-session-manager/SKILL.md +9 -10
  105. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/answer-record.mjs +24 -20
  106. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-answer-record.mjs +3 -1
  107. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  108. package/plugins/lisa-cursor/skills/lisa-configure/SKILL.md +8 -7
  109. package/plugins/lisa-cursor/skills/lisa-github-read-issue/SKILL.md +22 -106
  110. package/plugins/lisa-cursor/skills/lisa-persist-learning/SKILL.md +37 -5
  111. package/plugins/lisa-cursor/skills/lisa-session-manager/SKILL.md +9 -10
  112. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/answer-record.mjs +24 -20
  113. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-answer-record.mjs +3 -1
  114. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  115. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  116. package/plugins/lisa-devin/skills/lisa-configure/SKILL.md +8 -7
  117. package/plugins/lisa-devin/skills/lisa-github-read-issue/SKILL.md +22 -106
  118. package/plugins/lisa-devin/skills/lisa-persist-learning/SKILL.md +37 -5
  119. package/plugins/lisa-devin/skills/lisa-session-manager/SKILL.md +9 -10
  120. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/answer-record.mjs +24 -20
  121. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-answer-record.mjs +3 -1
  122. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  123. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  124. package/plugins/lisa-expo-agy/plugin.json +1 -1
  125. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  126. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  127. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  128. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  129. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  130. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  131. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  132. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  133. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  134. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  135. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  136. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  137. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  138. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  139. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  140. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  141. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  142. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  143. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  144. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  145. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  146. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  147. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  148. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  149. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  150. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  151. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  152. package/plugins/lisa-rails-agy/plugin.json +1 -1
  153. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  154. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  155. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  156. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  157. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  158. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  159. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  160. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  161. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  162. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  163. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  164. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  165. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  166. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  167. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  168. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  169. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  170. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  171. package/plugins/src/base/skills/lisa-configure/SKILL.md +8 -7
  172. package/plugins/src/base/skills/lisa-github-read-issue/SKILL.md +22 -106
  173. package/plugins/src/base/skills/lisa-persist-learning/SKILL.md +37 -5
  174. package/plugins/src/base/skills/lisa-session-manager/SKILL.md +9 -10
  175. package/plugins/src/base/skills/lisa-session-manager/scripts/answer-record.mjs +24 -20
  176. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-answer-record.mjs +3 -1
  177. package/rails/copy-overwrite/scripts/check-nightly-e2e-health.mjs +5115 -0
  178. package/scripts/check-derived-artifacts.mjs +1 -0
  179. package/scripts/generate-nightly-e2e-guard-certificate.mjs +15 -1
  180. package/scripts/two-channel-couplings.json +5 -3
  181. package/typescript/copy-overwrite/.prettierignore +1 -0
  182. package/typescript/copy-overwrite/scripts/lisa-typecheck.mjs +82 -0
  183. package/typescript/package-lisa/package.lisa.json +3 -2
@@ -0,0 +1,82 @@
1
+ import type { GatesDeclaration, GatesModule } from "./gates-declaration.js";
2
+ /** The package manifest a project declares its tasks in. */
3
+ export declare const MANIFEST_PATH = "package.json";
4
+ /** Something read, or the lines saying why it could not be. */
5
+ export type ProjectRead<Value> = {
6
+ readonly problems: null;
7
+ readonly value: Value;
8
+ } | {
9
+ readonly problems: readonly string[];
10
+ };
11
+ /** The existing seed command's report for one declared moment. */
12
+ export interface SeededGate {
13
+ readonly gate: string;
14
+ readonly moment: string;
15
+ readonly run: string | null;
16
+ }
17
+ /** Library that can seed supported project checks as well as resolve them. */
18
+ export interface SeedingGatesModule extends GatesModule {
19
+ readonly seedGates: (options: {
20
+ readonly gates?: Record<string, unknown>;
21
+ readonly scripts?: Record<string, string>;
22
+ readonly runner?: string;
23
+ }) => {
24
+ readonly gates: Record<string, unknown>;
25
+ readonly seeded: readonly SeededGate[];
26
+ };
27
+ }
28
+ /**
29
+ * Detect the shipped types for a project, including any parent types.
30
+ * @param root - The project directory
31
+ * @returns The supported types, in Lisa's order
32
+ */
33
+ export declare function detectSupportedTypes(root: string): Promise<readonly string[]>;
34
+ /**
35
+ * Read the project's tasks. A missing manifest means no scripts. An unreadable
36
+ * manifest leaves the project's tasks unknown.
37
+ * @param root - The project directory
38
+ * @param scope - The project path in the repository, for diagnostics
39
+ * @returns The parsed scripts or the reason they could not be read
40
+ */
41
+ export declare function readProjectScripts(root: string, scope?: string): Promise<ProjectRead<Record<string, string>>>;
42
+ /** A folder's project types, declared tasks, and lockfile-selected runner. */
43
+ export interface ShippedFolder {
44
+ readonly scope: string;
45
+ readonly types: readonly string[];
46
+ readonly scripts: Record<string, string>;
47
+ readonly runner: string;
48
+ }
49
+ /**
50
+ * Read an audited folder of this repository without following a folder link.
51
+ * @param root - Real repository path
52
+ * @param scope - The folder path, relative to the repository
53
+ * @param detect - The same project type detector used for a single project
54
+ * @returns The folder's facts, or a manifest read error
55
+ */
56
+ export declare function readShippedFolder(root: string, scope: string, detect?: typeof detectSupportedTypes): Promise<ProjectRead<ShippedFolder>>;
57
+ /** A shipped gate with one fixed argv for each covered folder. */
58
+ interface ShippedGate {
59
+ readonly declaration: Record<string, unknown>;
60
+ readonly seeded: readonly SeededGate[];
61
+ }
62
+ /**
63
+ * Compose the scoped checks that can be represented without changing when
64
+ * they run. Each configured moment runs every part of a gate with the same
65
+ * argv, so only keep moments that all its participating folders share.
66
+ * @param folders - The supported folder projects
67
+ * @param registry - The shipped gate registry
68
+ * @returns Gates and the moments to report as seeded
69
+ */
70
+ export declare function planShippedPartGates(folders: readonly ShippedFolder[], registry: SeedingGatesModule): Map<string, ShippedGate>;
71
+ /**
72
+ * Identify folder declarations that can be reproduced exactly from shipping
73
+ * defaults and the checked-out project. Only these can support the register
74
+ * without an audit locator or answered question.
75
+ * @param root - Real repository path
76
+ * @param declaration - The validated gates declaration
77
+ * @param registry - The shipped gate registry
78
+ * @returns Gate IDs with a confirmed shipped declaration
79
+ */
80
+ export declare function confirmedShippedPartGates(root: string, declaration: GatesDeclaration, registry: GatesModule): Promise<ReadonlySet<string>>;
81
+ export {};
82
+ //# sourceMappingURL=shipped-parts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipped-parts.d.ts","sourceRoot":"","sources":["../../src/controls/shipped-parts.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,wB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9C;AAED,8EAA8E;AAC9E,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,MAAM,8BAAuB,GAC5B,OAAO,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAuBrC;AAED,kEAAkE;AAClE,UAAU,WAAW;IACnB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9C,QAAQ,CAAC,MAAM,EAAE,SAAS,UAAU,EAAE,CAAC;CACxC;AAiDD;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,SAAS,aAAa,EAAE,EACjC,QAAQ,EAAE,kBAAkB,GAC3B,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAO1B;AA4CD;;;;;;;;GAQG;AACH,wBAAsB,yBAAyB,CAC7C,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,gBAAgB,EAC7B,QAAQ,EAAE,WAAW,GACpB,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CA+C9B"}
@@ -0,0 +1,216 @@
1
+ /** Read and declare the checks Lisa ships for each supported folder. */
2
+ import { readFile } from "node:fs/promises";
3
+ import path from "node:path";
4
+ import { createDetectorRegistry } from "../detection/index.js";
5
+ import { detectRunner } from "../migrations/ensure-seeded-gates.js";
6
+ import { isJsonObject } from "../sync/json-path.js";
7
+ import { pathKind, resolveRepositoryRoot } from "./audit-report-file.js";
8
+ import { canonicalText, compareCodeUnits } from "./canonical-json.js";
9
+ import { WHOLE_REPOSITORY_SCOPE } from "./register-types.js";
10
+ import { createRepositoryReader, recordKeepingPlace, } from "./repository-reader.js";
11
+ import { parseProblemWithoutExcerpt } from "./secret-scan-json.js";
12
+ /** The package manifest a project declares its tasks in. */
13
+ export const MANIFEST_PATH = "package.json";
14
+ /**
15
+ * Detect the shipped types for a project, including any parent types.
16
+ * @param root - The project directory
17
+ * @returns The supported types, in Lisa's order
18
+ */
19
+ export async function detectSupportedTypes(root) {
20
+ const registry = createDetectorRegistry();
21
+ return registry.expandAndOrderTypes(await registry.detectAll(root));
22
+ }
23
+ /**
24
+ * Read the project's tasks. A missing manifest means no scripts. An unreadable
25
+ * manifest leaves the project's tasks unknown.
26
+ * @param root - The project directory
27
+ * @param scope - The project path in the repository, for diagnostics
28
+ * @returns The parsed scripts or the reason they could not be read
29
+ */
30
+ export async function readProjectScripts(root, scope = WHOLE_REPOSITORY_SCOPE) {
31
+ const file = path.join(root, MANIFEST_PATH);
32
+ const kind = await pathKind(file);
33
+ if (kind === "missing")
34
+ return { problems: null, value: {} };
35
+ const manifestPath = scope === WHOLE_REPOSITORY_SCOPE
36
+ ? MANIFEST_PATH
37
+ : `${scope}/${MANIFEST_PATH}`;
38
+ const refused = (why) => ({
39
+ problems: [
40
+ `${manifestPath} ${why}, so the tasks this repository has cannot be read from it.`,
41
+ ],
42
+ });
43
+ if (scope !== WHOLE_REPOSITORY_SCOPE && kind !== "file") {
44
+ return refused("is not an ordinary file");
45
+ }
46
+ try {
47
+ const manifest = JSON.parse(await readFile(file, "utf8"));
48
+ if (!isJsonObject(manifest))
49
+ return refused("does not hold a JSON object");
50
+ if (manifest.scripts === undefined)
51
+ return { problems: null, value: {} };
52
+ return isJsonObject(manifest.scripts)
53
+ ? { problems: null, value: manifest.scripts }
54
+ : refused(`has a "scripts" entry that is not an object`);
55
+ }
56
+ catch (error) {
57
+ return refused(`cannot be read as JSON (${parseProblemWithoutExcerpt(error)})`);
58
+ }
59
+ }
60
+ /**
61
+ * Read an audited folder of this repository without following a folder link.
62
+ * @param root - Real repository path
63
+ * @param scope - The folder path, relative to the repository
64
+ * @param detect - The same project type detector used for a single project
65
+ * @returns The folder's facts, or a manifest read error
66
+ */
67
+ export async function readShippedFolder(root, scope, detect = detectSupportedTypes) {
68
+ const folder = path.resolve(root, scope);
69
+ if (folder === root ||
70
+ recordKeepingPlace(scope) !== null ||
71
+ !createRepositoryReader(root).isFolder(scope) ||
72
+ (await resolveRepositoryRoot(folder)) !== folder) {
73
+ return {
74
+ problems: null,
75
+ value: { scope, types: [], scripts: {}, runner: "" },
76
+ };
77
+ }
78
+ const scripts = await readProjectScripts(folder, scope);
79
+ if (scripts.problems !== null)
80
+ return scripts;
81
+ const [types, runner] = await Promise.all([
82
+ detect(folder),
83
+ detectRunner(folder),
84
+ ]);
85
+ return {
86
+ problems: null,
87
+ value: { scope, types, scripts: scripts.value, runner },
88
+ };
89
+ }
90
+ /**
91
+ * Resolve the actual tasks through the same registry as whole-project seeding.
92
+ * @param folder - A supported folder's project facts
93
+ * @param registry - The shipped gate registry
94
+ * @returns The tasks the registry can seed
95
+ */
96
+ function folderTasks(folder, registry) {
97
+ const { scope, scripts, runner } = folder;
98
+ const { gates, seeded } = registry.seedGates({ scripts, runner });
99
+ return seeded.flatMap(row => {
100
+ const resolved = registry.resolveMoment({
101
+ gates,
102
+ scripts,
103
+ runner,
104
+ moment: row.moment,
105
+ });
106
+ const task = resolved.find(gate => gate.id === row.gate)?.task;
107
+ return typeof task === "string" ? [{ ...row, scope, task, runner }] : [];
108
+ });
109
+ }
110
+ /**
111
+ * Group a gate's candidate tasks for comparing its folders and moments.
112
+ * @param tasks - The candidate tasks
113
+ * @param field - The task field identifying each group
114
+ * @returns Tasks grouped in their original order
115
+ */
116
+ function groupTasks(tasks, field) {
117
+ const keys = [...new Set(tasks.map(task => task[field]))];
118
+ return new Map(keys.map(key => [key, tasks.filter(task => task[field] === key)]));
119
+ }
120
+ /**
121
+ * Compose the scoped checks that can be represented without changing when
122
+ * they run. Each configured moment runs every part of a gate with the same
123
+ * argv, so only keep moments that all its participating folders share.
124
+ * @param folders - The supported folder projects
125
+ * @param registry - The shipped gate registry
126
+ * @returns Gates and the moments to report as seeded
127
+ */
128
+ export function planShippedPartGates(folders, registry) {
129
+ return assemblePartGates([...folders]
130
+ .sort((left, right) => compareCodeUnits(left.scope, right.scope))
131
+ .filter(folder => folder.types.length > 0)
132
+ .flatMap(folder => folderTasks(folder, registry)));
133
+ }
134
+ /**
135
+ * Assemble representable declarations from observed tasks.
136
+ * @param tasks - The tasks selected for each folder
137
+ * @returns Scoped gates and their reported moments
138
+ */
139
+ function assemblePartGates(tasks) {
140
+ return new Map([...groupTasks(tasks, "gate")].flatMap(([gate, rows]) => {
141
+ const byFolder = groupTasks(rows, "scope");
142
+ const moments = [...groupTasks(rows, "moment")]
143
+ .filter(([, matches]) => matches.length === byFolder.size)
144
+ .map(([moment]) => moment);
145
+ if (moments.length === 0)
146
+ return [];
147
+ const parts = [...byFolder].flatMap(([scope, folderRows]) => {
148
+ const chosen = folderRows.filter(row => moments.includes(row.moment));
149
+ const [first] = chosen;
150
+ return first !== undefined &&
151
+ chosen.every(row => row.task === first.task)
152
+ ? [{ scope, command: [...first.runner.split(" "), first.task] }]
153
+ : [];
154
+ });
155
+ if (parts.length !== byFolder.size)
156
+ return [];
157
+ return [
158
+ [
159
+ gate,
160
+ {
161
+ declaration: {
162
+ ...Object.fromEntries(moments.map(moment => [moment, "required"])),
163
+ parts,
164
+ },
165
+ seeded: moments.map(moment => ({ gate, moment, run: null })),
166
+ },
167
+ ],
168
+ ];
169
+ }));
170
+ }
171
+ /**
172
+ * Identify folder declarations that can be reproduced exactly from shipping
173
+ * defaults and the checked-out project. Only these can support the register
174
+ * without an audit locator or answered question.
175
+ * @param root - Real repository path
176
+ * @param declaration - The validated gates declaration
177
+ * @param registry - The shipped gate registry
178
+ * @returns Gate IDs with a confirmed shipped declaration
179
+ */
180
+ export async function confirmedShippedPartGates(root, declaration, registry) {
181
+ if (!("seedGates" in registry) || typeof registry.seedGates !== "function")
182
+ return new Set();
183
+ const seedingRegistry = registry;
184
+ const candidates = Object.entries(declaration.gates).flatMap(([id, gate]) => {
185
+ if (!Array.isArray(gate.parts))
186
+ return [];
187
+ const parts = gate.parts;
188
+ return parts.some(part => part.evidence !== undefined)
189
+ ? []
190
+ : [{ id, gate, parts }];
191
+ });
192
+ const scopes = [
193
+ ...new Set(candidates.flatMap(({ parts }) => parts.map(part => part.scope))),
194
+ ].sort(compareCodeUnits);
195
+ const tasks = new Map(await Promise.all(scopes.map(async (scope) => {
196
+ const read = await readShippedFolder(root, scope);
197
+ return [
198
+ scope,
199
+ read.problems === null && read.value.types.length > 0
200
+ ? folderTasks(read.value, seedingRegistry)
201
+ : [],
202
+ ];
203
+ })));
204
+ return new Set(candidates.flatMap(({ id, gate, parts }) => {
205
+ const included = new Set(parts.map(part => part.scope));
206
+ const selected = scopes
207
+ .filter(scope => included.has(scope))
208
+ .flatMap(scope => (tasks.get(scope) ?? []).filter(task => task.gate === id));
209
+ const expected = assemblePartGates(selected).get(id);
210
+ return expected !== undefined &&
211
+ canonicalText(gate) === canonicalText(expected.declaration)
212
+ ? [id]
213
+ : [];
214
+ }));
215
+ }
216
+ //# sourceMappingURL=shipped-parts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipped-parts.js","sourceRoot":"","sources":["../../src/controls/shipped-parts.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,aAAa,E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 -2539,6 +2539,9 @@
2539
2539
  "c2b0f436107de5de0f616090012b48752bbbb47dd0add20098662faac0f5f677",
2540
2540
  "cd436584d756442fc393557a3244bbdacdf915bd0fb1a472ebe7afa8103d3475"
2541
2541
  ],
2542
+ "scripts/lisa-typecheck.mjs": [
2543
+ "53b180dfb891c2167614d60a230ce5e9f64703a64a3a38f0da831aedaf65f6b9"
2544
+ ],
2542
2545
  "scripts/lisa-work-item.mjs": [
2543
2546
  "04401ae05bf9464e6929180ffdfff80afc528a1df20733b032a0342252ca1d4a",
2544
2547
  "04f78df45465d01601c8b5711b74749b2a2c2b70b9c916d6790bd69e1c11865d",
@@ -5604,6 +5607,9 @@
5604
5607
  "c2b0f436107de5de0f616090012b48752bbbb47dd0add20098662faac0f5f677",
5605
5608
  "cd436584d756442fc393557a3244bbdacdf915bd0fb1a472ebe7afa8103d3475"
5606
5609
  ],
5610
+ "scripts/lisa-typecheck.mjs": [
5611
+ "53b180dfb891c2167614d60a230ce5e9f64703a64a3a38f0da831aedaf65f6b9"
5612
+ ],
5607
5613
  "scripts/lisa-work-item.mjs": [
5608
5614
  "04401ae05bf9464e6929180ffdfff80afc528a1df20733b032a0342252ca1d4a",
5609
5615
  "06f82a176755c7ff464e263c8a0a6249e02bed710504acf1129ff8fc4c2c0326",
@@ -48,9 +48,9 @@ export const NIGHTLY_E2E_GUARD_BEHAVIOR_CERTIFICATES = Object.freeze({
48
48
  }),
49
49
  df39aa29b19817f67726107fec45078ce639f14a682cf6d5587ba37617f31ac9: Object.freeze({
50
50
  contractVersion: "1.9.0",
51
- packageVersions: Object.freeze(["8.3.0"]),
51
+ packageVersions: Object.freeze(["8.4.0"]),
52
52
  provenances: Object.freeze([
53
- "workspace package @codyswann/lisa@8.3.0 (typescript/copy-overwrite/scripts/check-nightly-e2e-health.mjs)",
53
+ "workspace package @codyswann/lisa@8.4.0 (typescript/copy-overwrite/scripts/check-nightly-e2e-health.mjs)",
54
54
  ]),
55
55
  }),
56
56
  dfd2fef680de5ef03e63075e8a61c62ca4d95cdfdff6201939b79c748d3397f6: Object.freeze({