@smoothbricks/nx-plugin 0.4.28 → 0.4.30

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 (158) hide show
  1. package/README.md +277 -89
  2. package/dist/bin/smoo-nx-test-clocks.d.ts +3 -0
  3. package/dist/bin/smoo-nx-test-clocks.d.ts.map +1 -0
  4. package/dist/bin/smoo-nx-test-clocks.js +28 -0
  5. package/dist/bounded-test-policy.d.ts +8 -8
  6. package/dist/bounded-test-policy.d.ts.map +1 -1
  7. package/dist/bounded-test-policy.js +18 -30
  8. package/dist/cargo-closure-input.d.ts +23 -0
  9. package/dist/cargo-closure-input.d.ts.map +1 -1
  10. package/dist/cargo-closure-input.js +41 -9
  11. package/dist/cargo-source-hash.d.ts.map +1 -1
  12. package/dist/cargo-source-hash.js +42 -19
  13. package/dist/ensure-built-receipt.d.ts +40 -6
  14. package/dist/ensure-built-receipt.d.ts.map +1 -1
  15. package/dist/ensure-built-receipt.js +297 -159
  16. package/dist/ensure-built-witness.d.ts +65 -4
  17. package/dist/ensure-built-witness.d.ts.map +1 -1
  18. package/dist/ensure-built-witness.js +2237 -23
  19. package/dist/ensure-built.d.ts +99 -1
  20. package/dist/ensure-built.d.ts.map +1 -1
  21. package/dist/ensure-built.js +45 -56
  22. package/dist/executors/bounded-exec/cpu-pool.d.ts +22 -7
  23. package/dist/executors/bounded-exec/cpu-pool.d.ts.map +1 -1
  24. package/dist/executors/bounded-exec/cpu-pool.js +51 -22
  25. package/dist/executors/bounded-exec/executor.d.ts +12 -3
  26. package/dist/executors/bounded-exec/executor.d.ts.map +1 -1
  27. package/dist/executors/bounded-exec/executor.js +174 -51
  28. package/dist/executors/bounded-exec/no-space.d.ts +8 -0
  29. package/dist/executors/bounded-exec/no-space.d.ts.map +1 -0
  30. package/dist/executors/bounded-exec/no-space.js +31 -0
  31. package/dist/executors/bounded-exec/ram-temp.d.ts +20 -11
  32. package/dist/executors/bounded-exec/ram-temp.d.ts.map +1 -1
  33. package/dist/executors/bounded-exec/ram-temp.js +42 -17
  34. package/dist/executors/bounded-exec/verdict.d.ts +34 -4
  35. package/dist/executors/bounded-exec/verdict.d.ts.map +1 -1
  36. package/dist/executors/bounded-exec/verdict.js +54 -3
  37. package/dist/generators/bun-test-tracing/generator.js +2 -2
  38. package/dist/graph-input-contract.d.ts +102 -0
  39. package/dist/graph-input-contract.d.ts.map +1 -0
  40. package/dist/graph-input-contract.js +637 -0
  41. package/dist/index.d.ts +12 -5
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +17 -3
  44. package/dist/managed-files/ci-workflow.d.ts.map +1 -1
  45. package/dist/managed-files/ci-workflow.js +5 -2
  46. package/dist/managed-files/publish-workflow.d.ts +11 -1
  47. package/dist/managed-files/publish-workflow.d.ts.map +1 -1
  48. package/dist/owned-installation.d.ts +14 -0
  49. package/dist/owned-installation.d.ts.map +1 -0
  50. package/dist/owned-installation.js +324 -0
  51. package/dist/producer-receipts.d.ts +19 -0
  52. package/dist/producer-receipts.d.ts.map +1 -0
  53. package/dist/producer-receipts.js +926 -0
  54. package/dist/test-backstop.d.ts +9 -0
  55. package/dist/test-backstop.d.ts.map +1 -0
  56. package/dist/test-backstop.js +10 -0
  57. package/dist/test-clock-policy.d.ts +30 -0
  58. package/dist/test-clock-policy.d.ts.map +1 -0
  59. package/dist/test-clock-policy.js +686 -0
  60. package/dist/testing.d.ts +8 -0
  61. package/dist/testing.d.ts.map +1 -1
  62. package/dist/testing.js +66 -1
  63. package/managed/raw/patches/nx@23.2.1.patch +328 -50
  64. package/managed/raw/tooling/direnv/developer-links.ts +148 -29
  65. package/managed/raw/tooling/direnv/devenv.smoo.nix +7 -7
  66. package/managed/raw/tooling/direnv/github-actions-bootstrap.sh +14 -5
  67. package/managed/raw/tooling/direnv/linked-snapshots.ts +206 -40
  68. package/managed/raw/tooling/direnv/repo-path +15 -2
  69. package/managed/raw/tooling/direnv/setup-environment.ts +179 -115
  70. package/managed/templates/github/actions/cache-node-modules/action.yml +9 -0
  71. package/managed/templates/github/actions/setup-devenv/action.yml +63 -7
  72. package/nextest.toml +1 -1
  73. package/package.json +25 -9
  74. package/src/__tests__/cargo-closure-fixture.ts +113 -0
  75. package/src/__tests__/counted-cargo.ts +8 -25
  76. package/src/__tests__/directory-change.ts +27 -0
  77. package/src/__tests__/fixture-nx-env.ts +7 -0
  78. package/src/__tests__/owned-installation.ts +14 -0
  79. package/src/__tests__/past-tick.ts +12 -0
  80. package/src/bin/smoo-nx-bound-failures.test.ts +1 -1
  81. package/src/bin/smoo-nx-test-clocks.ts +29 -0
  82. package/src/bounded-test-policy.test.ts +36 -22
  83. package/src/bounded-test-policy.ts +18 -32
  84. package/src/bun-bootstrap.test.ts +1 -1
  85. package/src/cargo-closure-input.property.test.ts +50 -0
  86. package/src/cargo-closure-input.test.ts +73 -121
  87. package/src/cargo-closure-input.ts +47 -8
  88. package/src/cargo-closure-key.test.ts +239 -0
  89. package/src/cargo-resolve-cache.test.ts +168 -31
  90. package/src/cargo-source-hash.test.ts +78 -3
  91. package/src/cargo-source-hash.ts +48 -30
  92. package/src/cross-check-policy.test.ts +2 -2
  93. package/src/ensure-built-receipt.test.ts +111 -16
  94. package/src/ensure-built-receipt.ts +294 -149
  95. package/src/ensure-built-witness.test.ts +306 -13
  96. package/src/ensure-built-witness.ts +255 -24
  97. package/src/ensure-built.test.ts +228 -102
  98. package/src/ensure-built.ts +127 -66
  99. package/src/executors/bounded-exec/cpu-pool.test.ts +134 -32
  100. package/src/executors/bounded-exec/cpu-pool.ts +64 -20
  101. package/src/executors/bounded-exec/cpu-tokens.test.ts +2 -2
  102. package/src/executors/bounded-exec/disk-lease.test.ts +47 -13
  103. package/src/executors/bounded-exec/executor-host.test.ts +74 -52
  104. package/src/executors/bounded-exec/executor.test.ts +343 -97
  105. package/src/executors/bounded-exec/executor.ts +192 -56
  106. package/src/executors/bounded-exec/hang-diagnostics.test.ts +14 -8
  107. package/src/executors/bounded-exec/no-space.ts +40 -0
  108. package/src/executors/bounded-exec/progress.test.ts +1 -1
  109. package/src/executors/bounded-exec/ram-temp-host.test.ts +51 -21
  110. package/src/executors/bounded-exec/ram-temp.test.ts +92 -16
  111. package/src/executors/bounded-exec/ram-temp.ts +49 -20
  112. package/src/executors/bounded-exec/verdict.test.ts +127 -22
  113. package/src/executors/bounded-exec/verdict.ts +78 -3
  114. package/src/generators/bounded-test-targets/generator.test.ts +1 -3
  115. package/src/generators/bun-test-tracing/generator.test.ts +2 -2
  116. package/src/generators/bun-test-tracing/generator.ts +2 -2
  117. package/src/graph-input-contract.test.ts +379 -0
  118. package/src/graph-input-contract.ts +627 -0
  119. package/src/index.test.ts +3 -3
  120. package/src/index.ts +24 -3
  121. package/src/linked-snapshots.nx.test.ts +112 -30
  122. package/src/managed-files/ci-workflow.ts +5 -2
  123. package/src/managed-files/publish-workflow.ts +12 -1
  124. package/src/managed-files/repo-path.test.ts +44 -1
  125. package/src/managed-files/setup-devenv-free-disk.test.ts +95 -0
  126. package/src/nextest-code-bound.test.ts +23 -17
  127. package/src/nextest-extraction.test.ts +114 -4
  128. package/src/nextest-partitions.test.ts +7 -1
  129. package/src/nx-cache-restore-mtime.test.ts +2 -2
  130. package/src/nx-daemon-claim.test.ts +10 -8
  131. package/src/nx-daemon-idle-cpu.test.ts +0 -1
  132. package/src/nx-daemon-idle-policy.test.ts +61 -1
  133. package/src/nx-daemon-ignore-files.test.ts +2 -2
  134. package/src/nx-daemon-validity.test.ts +36 -22
  135. package/src/nx-dot-input-policy.test.ts +5 -5
  136. package/src/nx-files-archive-racy.test.ts +1 -1
  137. package/src/nx-incomplete-run-summary.test.ts +1 -1
  138. package/src/nx-plugin-load-errors.test.ts +2 -2
  139. package/src/nx-project-graph-errors.test.ts +70 -0
  140. package/src/nx-skipped-task-exit.test.ts +2 -2
  141. package/src/nx-store-resolution.test.ts +7 -25
  142. package/src/nx-task-output-lease.test.ts +3 -3
  143. package/src/nx-use-local.test.ts +7 -5
  144. package/src/owned-installation.ts +174 -0
  145. package/src/producer-receipts.test.ts +164 -0
  146. package/src/producer-receipts.ts +636 -0
  147. package/src/runtime-input.test.ts +1 -1
  148. package/src/serial-group-wiring.test.ts +4 -4
  149. package/src/task-results.test.ts +18 -16
  150. package/src/test-backstop.ts +11 -0
  151. package/src/test-clock-policy.test.ts +338 -0
  152. package/src/test-clock-policy.ts +708 -0
  153. package/src/test-timings.test.ts +2 -2
  154. package/src/testing.test.ts +5 -5
  155. package/src/testing.ts +67 -1
  156. package/src/typecheck-test-policy.test.ts +1 -1
  157. package/src/typescript-resolution.test.ts +76 -0
  158. package/test-timings.json +8 -0
@@ -9,6 +9,9 @@
9
9
  * tests, so this is a hang, not a slow host, and the fix is the opposite one, so it is never a `bound`. It names
10
10
  * the tests still running: those the runner said were running and never said finished, and those its report says
11
11
  * it aborted when the bound stopped it.
12
+ * - `no-space`: the run failed and its output said a write found no space (ENOSPC). Whatever its tests then reported,
13
+ * they failed on the disk, not on their own: the verdict names the line that said so and, when the task held one,
14
+ * its RAM temp volume as it stood when that line arrived.
12
15
  * - `failed`: anything else that did not pass. That includes an assertion named in the report,
13
16
  * or a non-zero exit with no report to say why.
14
17
  */
@@ -28,11 +31,27 @@ export type BoundedExecVerdict = {
28
31
  readonly idleMs: number;
29
32
  readonly elapsedMs: number;
30
33
  readonly tests: readonly string[];
31
- } | {
34
+ } | ({
35
+ readonly outcome: 'no-space';
36
+ readonly exitCode: number;
37
+ readonly tests: readonly string[];
38
+ } & NoSpaceSighting) | {
32
39
  readonly outcome: 'failed';
33
40
  readonly exitCode: number;
34
41
  readonly tests: readonly string[];
35
42
  };
43
+ /** The task's RAM temp volume, read when a line saying ENOSPC arrived: the writer's own lease, and the space left. */
44
+ export interface TempVolumeSpace {
45
+ readonly lease: string;
46
+ readonly mountpoint: string;
47
+ readonly capacityBytes: number;
48
+ readonly freeBytes: number;
49
+ }
50
+ /** The first output line that said a write found no space, and the task's RAM temp volume then; `null` without one. */
51
+ export interface NoSpaceSighting {
52
+ readonly line: string;
53
+ readonly volume: TempVolumeSpace | null;
54
+ }
36
55
  /** One task's verdict, keyed by the Nx task and the hash it ran at. */
37
56
  export interface BoundedExecRecord {
38
57
  readonly task: string;
@@ -95,11 +114,16 @@ export interface RunEnd {
95
114
  readonly expiry: ExpiredBound | null;
96
115
  /** The run's report, or `null` when the command was asked for none or wrote none. */
97
116
  readonly report: JunitFailures | null;
117
+ /** The first output line that said ENOSPC, or `null` when none did. */
118
+ readonly noSpace: NoSpaceSighting | null;
98
119
  }
99
120
  /**
100
- * Judge a run. A test that failed on its own is a failure even when a bound fired too, and the no-progress bound is
101
- * never load: the report's assertions and the idle bound are read first. A test the runner aborted because the total
102
- * bound told its command to stop is not one that failed; one it aborted at the idle bound is a test still running.
121
+ * Judge a run. A run that failed after its output said ENOSPC failed on the disk: that is read first, ahead of the
122
+ * tests it then failed, a bound it then hit or a hang the full disk caused; a passing run that printed it (a test of
123
+ * its own ENOSPC handling) passed. A test that failed on its own is a failure even when a bound fired too, and the
124
+ * no-progress bound is never load: the report's assertions and the idle bound are read next. A test the runner aborted
125
+ * because the total bound told its command to stop is not one that failed; one it aborted at the idle bound is a test
126
+ * still running.
103
127
  */
104
128
  export declare function judgeRun(run: RunEnd): BoundedExecVerdict;
105
129
  /**
@@ -159,4 +183,10 @@ export type FailedTask = {
159
183
  */
160
184
  export declare function failedTasksOfRun(runJson: unknown, workspaceData: string): Promise<FailedTask[]>;
161
185
  export declare function describeVerdict(verdict: BoundedExecVerdict): string;
186
+ /**
187
+ * What a run's output said about a write that found no space, and where the run's temp files lived then. The free
188
+ * space is read when the line arrives, not after the command exits: by then a writer that failed has usually removed
189
+ * its half-written files and the volume no longer looks full.
190
+ */
191
+ export declare function describeNoSpace(sighting: NoSpaceSighting): string;
162
192
  //# sourceMappingURL=verdict.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"verdict.d.ts","sourceRoot":"","sources":["../../../src/executors/bounded-exec/verdict.ts"],"names":[],"mappings":"AA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MAAM,CAqBnE;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM,CAQjE"}
@@ -94,11 +94,18 @@ function decodeEntities(value) {
94
94
  });
95
95
  }
96
96
  /**
97
- * Judge a run. A test that failed on its own is a failure even when a bound fired too, and the no-progress bound is
98
- * never load: the report's assertions and the idle bound are read first. A test the runner aborted because the total
99
- * bound told its command to stop is not one that failed; one it aborted at the idle bound is a test still running.
97
+ * Judge a run. A run that failed after its output said ENOSPC failed on the disk: that is read first, ahead of the
98
+ * tests it then failed, a bound it then hit or a hang the full disk caused; a passing run that printed it (a test of
99
+ * its own ENOSPC handling) passed. A test that failed on its own is a failure even when a bound fired too, and the
100
+ * no-progress bound is never load: the report's assertions and the idle bound are read next. A test the runner aborted
101
+ * because the total bound told its command to stop is not one that failed; one it aborted at the idle bound is a test
102
+ * still running.
100
103
  */
101
104
  export function judgeRun(run) {
105
+ if (run.noSpace !== null && (run.exitCode !== 0 || run.expiry !== null)) {
106
+ const tests = run.report === null ? [] : [...run.report.failed, ...run.report.timedOut, ...run.report.cancelled];
107
+ return { outcome: 'no-space', exitCode: run.exitCode === 0 ? 1 : run.exitCode, tests, ...run.noSpace };
108
+ }
102
109
  if (run.expiry?.kind === 'idle') {
103
110
  const tests = [...new Set([...run.expiry.tests, ...(run.report?.cancelled ?? [])])];
104
111
  return { outcome: 'wedged', idleMs: run.expiry.limitMs, elapsedMs: run.elapsedMs, tests };
@@ -245,6 +252,19 @@ function parseVerdict(value) {
245
252
  return { outcome: 'wedged', idleMs: value.idleMs, elapsedMs: value.elapsedMs, tests: value.tests };
246
253
  }
247
254
  break;
255
+ case 'no-space': {
256
+ const volume = parseTempVolumeSpace(value.volume);
257
+ if (typeof value.exitCode === 'number' && isStrings(value.tests) && typeof value.line === 'string' && volume) {
258
+ return {
259
+ outcome: 'no-space',
260
+ exitCode: value.exitCode,
261
+ tests: value.tests,
262
+ line: value.line,
263
+ volume: volume.value,
264
+ };
265
+ }
266
+ break;
267
+ }
248
268
  case 'failed':
249
269
  if (typeof value.exitCode === 'number' && isStrings(value.tests)) {
250
270
  return { outcome: 'failed', exitCode: value.exitCode, tests: value.tests };
@@ -254,6 +274,21 @@ function parseVerdict(value) {
254
274
  }
255
275
  throw new Error(`not a bounded-exec verdict: ${JSON.stringify(value)}`);
256
276
  }
277
+ /** A recorded volume, wrapped so a well-formed `null` (no RAM volume) differs from a malformed one (`undefined`). */
278
+ function parseTempVolumeSpace(value) {
279
+ if (value === null) {
280
+ return { value: null };
281
+ }
282
+ if (isObject(value) &&
283
+ typeof value.lease === 'string' &&
284
+ typeof value.mountpoint === 'string' &&
285
+ typeof value.capacityBytes === 'number' &&
286
+ typeof value.freeBytes === 'number') {
287
+ const { lease, mountpoint, capacityBytes, freeBytes } = value;
288
+ return { value: { lease, mountpoint, capacityBytes, freeBytes } };
289
+ }
290
+ return undefined;
291
+ }
257
292
  function isObject(value) {
258
293
  return typeof value === 'object' && value !== null && !Array.isArray(value);
259
294
  }
@@ -310,9 +345,25 @@ export function describeVerdict(verdict) {
310
345
  return `wedged: no test finished for ${verdict.idleMs}ms after ${verdict.elapsedMs}ms; ${verdict.tests.length > 0
311
346
  ? `still running: ${verdict.tests.join(', ')}`
312
347
  : 'the runner named no test still running'}`;
348
+ case 'no-space':
349
+ return `${describeNoSpace(verdict)}${verdict.tests.length > 0 ? `; the tests that then failed: ${verdict.tests.join(', ')}` : ''}`;
313
350
  case 'failed':
314
351
  return verdict.tests.length > 0
315
352
  ? `failed: ${verdict.tests.join(', ')}`
316
353
  : `exited ${verdict.exitCode} with no report naming a timeout`;
317
354
  }
318
355
  }
356
+ /**
357
+ * What a run's output said about a write that found no space, and where the run's temp files lived then. The free
358
+ * space is read when the line arrives, not after the command exits: by then a writer that failed has usually removed
359
+ * its half-written files and the volume no longer looks full.
360
+ */
361
+ export function describeNoSpace(sighting) {
362
+ const said = `ENOSPC (no space left on device): the command printed ${JSON.stringify(sighting.line)}`;
363
+ const volume = sighting.volume;
364
+ if (volume === null) {
365
+ return `${said}; it held no RAM temp volume, so the full disk is the one that line's writer wrote to`;
366
+ }
367
+ const mib = (bytes) => (bytes / (1024 * 1024)).toFixed(1);
368
+ return `${said}; its TMPDIR ${volume.lease} is on the RAM temp volume ${volume.mountpoint}, which had ${mib(volume.freeBytes)} MiB free of ${mib(volume.capacityBytes)} MiB when that line arrived`;
369
+ }
@@ -82,8 +82,8 @@ function writeBunfig(tree, projectRoot) {
82
82
  // Bun silently ignores `[test] timeout` in bunfig.toml — only the `--timeout`
83
83
  // CLI flag and `setDefaultTimeout()` actually take effect. Strip any stale
84
84
  // `timeout = N` lines so the file isn't lying about what's enforced; the real
85
- // per-test timeout is wired into `bun test --timeout=N` by the bounded-test
86
- // policy (see BOUNDED_TEST_PER_TEST_TIMEOUT_MS).
85
+ // per-test timeout is the leg's `--timeout`, which the bounded-test policy
86
+ // derives from bounded-exec's progress bound (see BUN_TEST_TIMEOUT_FLAG).
87
87
  const current = stripBunTestTimeoutLine(tree.read(bunfigPath, 'utf-8') ?? '');
88
88
  // Already has the package specifier preloads
89
89
  if (current.includes('@smoothbricks/lmao/bun/preload')) {
@@ -0,0 +1,102 @@
1
+ import type { NxJsonConfiguration } from 'nx/src/config/nx-json';
2
+ import type { NodeWitness, WorkspaceSnapshot } from './ensure-built-witness.js';
3
+ /** An owner-approved contract, pinned to the reviewed module bytes, never an inferred approval. */
4
+ export interface GraphInputContract {
5
+ readonly version: 1;
6
+ readonly kind: 'native-only' | 'tsconfig-extends' | 'reference-scan';
7
+ readonly modules: readonly {
8
+ readonly path: string;
9
+ readonly sha256: string;
10
+ }[];
11
+ readonly packages: readonly string[];
12
+ }
13
+ interface ResolutionWitness {
14
+ readonly kind: 'node' | 'bun';
15
+ readonly from: string;
16
+ readonly specifier: string;
17
+ readonly target: string | null;
18
+ }
19
+ interface ToolWitness {
20
+ readonly name: 'node' | 'bun' | 'git';
21
+ readonly path: string;
22
+ }
23
+ interface GitQueryWitness {
24
+ readonly cwd: string;
25
+ readonly args: readonly ['config', '--show-origin', '--null', '--list'] | readonly ['ls-files', '-z', '--cached', '--others', '--exclude-standard'] | readonly ['check-attr', '--all', '-z', '--stdin'] | readonly ['var', 'GIT_ATTR_SYSTEM'] | readonly ['var', 'GIT_ATTR_GLOBAL'] | readonly ['rev-parse', '--shared-index-path'];
26
+ readonly stdin: string;
27
+ readonly sha256: string;
28
+ }
29
+ interface ReadWitnessBasis {
30
+ readonly version: 1;
31
+ readonly workspaceRoot: string;
32
+ readonly plugin: string;
33
+ readonly contractSha256: string;
34
+ }
35
+ export type GraphInputReadWitness = (ReadWitnessBasis & {
36
+ readonly status: 'complete';
37
+ readonly nativeIdentity: string;
38
+ readonly nativeNodes: readonly NodeWitness[];
39
+ readonly nodes: readonly GraphInputNodeWitness[];
40
+ readonly missing: readonly string[];
41
+ readonly resolutions: readonly ResolutionWitness[];
42
+ readonly tools: readonly ToolWitness[];
43
+ readonly gitQueries: readonly GitQueryWitness[];
44
+ readonly environmentIdentity: string;
45
+ }) | (ReadWitnessBasis & {
46
+ readonly status: 'unproved';
47
+ readonly detail: string;
48
+ });
49
+ export interface GraphInputContractProof {
50
+ readonly plugins: readonly string[];
51
+ readonly identity: string;
52
+ readonly packages: readonly {
53
+ readonly name: string;
54
+ readonly from: string;
55
+ }[];
56
+ }
57
+ /** Ancestors prove path binding; only a read directory's membership belongs to the input closure. */
58
+ interface GraphInputNodeWitness extends NodeWitness {
59
+ readonly scope: 'path' | 'node';
60
+ }
61
+ /** Retain read/resolution byproducts at the reader; never reconstruct its extends/import algorithm. */
62
+ export declare class GraphInputReadCollector {
63
+ readonly workspaceRoot: string;
64
+ readonly plugin: string;
65
+ private readonly contract;
66
+ private readonly before;
67
+ private readonly environment;
68
+ private readonly nodes;
69
+ private readonly missing;
70
+ private readonly resolutions;
71
+ private readonly tools;
72
+ private readonly gitQueries;
73
+ private readonly scanned;
74
+ private readonly gitScopes;
75
+ private detail;
76
+ /** Read before the first observation: what each node stamp this reader records is judged by (unproven). */
77
+ private readonly start;
78
+ /** The witness's stamp of each node this reader read in the tick it changed in (recordedStamp), by path. */
79
+ private readonly unprovenStamps;
80
+ constructor(workspaceRoot: string, plugin: string, options: unknown);
81
+ refuse(detail: string): void;
82
+ private protect;
83
+ /** Observe each alias and its physical target, including a missing candidate's exact path. */
84
+ file(path: string): void;
85
+ private observe;
86
+ read<T>(path: string, reader: () => T): T;
87
+ exists(path: string): boolean;
88
+ /** The whole immediate candidate directory, including absent/alternative extensions and alias nodes. */
89
+ directory(path: string): void;
90
+ /** A finite candidate namespace: every node and alias, not only the previously selected file. */
91
+ namespace(path: string): void;
92
+ private walk;
93
+ resolve(from: string, specifier: string, resolver: () => string, kind?: ResolutionWitness['kind']): string;
94
+ executable(name: ToolWitness['name'], actual?: string): string | undefined;
95
+ /** Git itself supplies effective config/include origins, membership and attributes; no config reparser. */
96
+ git(root: string, paths: readonly string[]): void;
97
+ finish(): GraphInputReadWitness;
98
+ }
99
+ /** Every local plugin must prove its own approved code and actual outside-input byproducts. */
100
+ export declare function graphInputContractIdentity(root: string, nxJson: NxJsonConfiguration, snapshot: WorkspaceSnapshot): GraphInputContractProof | null;
101
+ export {};
102
+ //# sourceMappingURL=graph-input-contract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-input-contract.d.ts","sourceRoot":"","sources":["../src/graph-input-contract.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAWhF,mGAAmG;AACnG,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,aAAa,GAAG,kBAAkB,GAAG,gBAAgB,CAAC;IACrE,QAAQ,CAAC,OAAO,EAAE,SAAS;QAAE,QAAQ,CAAC,IAA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