Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scripts/check-closing-keyword-parity.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
* pinning an unmeasured spelling here would launder a guess into a contract.
*/

// dispatch-gates: whole-tree-population -- the sweep reads every tracked file (node_modules and dist aside) hunting the closing-keyword grammar, so a card adding prose or a workflow anywhere implicates it; the literals below are the parsers it grades.

import { execFileSync } from 'node:child_process';
import { readFileSync, statSync } from 'node:fs';
import { join } from 'node:path';
Expand Down
2 changes: 2 additions & 0 deletions scripts/check-comment-mask-corpus.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
* run.
*/

// dispatch-gates: whole-tree-population -- `collectSources` walks every authored JS/TS file from the repo root, so the corpus is the whole tree; the one literal below names the masker this gate exercises, not the files it reads.

import { readdirSync, readFileSync } from 'node:fs';
import { dirname, extname, join, relative, resolve } from 'node:path';
import { fileURLToPath, pathToFileURL } from 'node:url';
Expand Down
2 changes: 2 additions & 0 deletions scripts/check-nul-bytes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@
// on purpose. Extraction failure is RED, never a silent skip -- the class
// vanishing from a self-scan command is the same defect as it drifting.

// dispatch-gates: whole-tree-population -- the scan set is `git ls-files` PLUS `git ls-files --others --exclude-standard`, so every tracked and every untracked-not-ignored file in the repo is read; the literals below name this gate's own artifacts, never its population.

import { execFileSync } from 'node:child_process';
import { lstatSync, mkdirSync, mkdtempSync, readFileSync, rmSync, symlinkSync, writeFileSync } from 'node:fs';
import { tmpdir } from 'node:os';
Expand Down
2 changes: 2 additions & 0 deletions scripts/check-refd-timer-probe.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
* never stand for "there was nothing to find".
*/

// dispatch-gates: whole-tree-population -- `readTree` is the tracked-plus-untracked sweep of the entire repository, so no card's file surface can narrow this gate; the literals below are its skip set and its testkit anchor.

import { readFileSync } from 'node:fs';
import { execFileSync } from 'node:child_process';
import { join, dirname, resolve, relative, sep } from 'node:path';
Expand Down
2 changes: 2 additions & 0 deletions scripts/check-watch-hint-literal.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@
* directly after a `const` in this file.
*/

// dispatch-gates: whole-tree-population -- `audit(walk(REPO_ROOT))` reads every authored JS/TS file in the tree; ROOT_DIR_WATCH_HINTS below is where this gate's FINDINGS have so far lived, not the population it walks.

import { readdirSync, readFileSync, statSync } from 'node:fs';
import { dirname, relative, resolve, join } from 'node:path';
import { fileURLToPath } from 'node:url';
Expand Down
Loading
Loading