AI Slop Code RIsk Monitor

nubjs/nub

The fast all-in-one Node.js toolkit

8.4 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for nubjs/nub, a Rust project with 4,379 GitHub stars. SynthScan examined 316,489 lines of code across 931 source files, recording 2032 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 8.4 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

8.4
Adjusted Signal
8.4
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
4.4K
Stars
Rust
Language
316.5K
Lines of Code
931
Files
2.0K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 24.8/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1755 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

Are imports declared and package/API names verified? 3 finding(s).

Agent Over-Engineering Ratio 12.5/100 · LOW

Are wrappers, guards, and repeated structures necessary? 283 finding(s).

PR Review Velocity Impact 36.0/100 · MEDIUM

Which changes need focused human review? 2032 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 0MEDIUM 399LOW 1633

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2032 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block1610 hits · 1392 pts
SeverityFileLineSnippetContext
LOWCargo.toml1[workspace]COMMENT
LOWCargo.toml21# `[profile.release] panic = "unwind"`, and is excluded here. It is built withCOMMENT
LOWCargo.toml41#COMMENT
LOWCargo.toml121# the transpiler's tsconfig parsing and nub's own global config fileCOMMENT
LOWCargo.toml161# gzip: without it reqwest sends no Accept-Encoding, so the registry servesCOMMENT
LOWCargo.toml181# Windows .zip Node-dist extraction (pure Rust, no shell-out to Expand-Archive /COMMENT
LOWCross.toml1# cross-rs configuration.COMMENT
LOWinstall.sh201# which tar restored above. Recreate them anyway: an archive from before theyCOMMENT
LOWhawk.toml1# hawk (astral-sh/hawk) visibility-lint config.COMMENT
LOW.githooks/agents-symlink-check.sh1#!/bin/shCOMMENT
LOWtools/pnpm-workspace.yaml1# pnpm-side soak surface + catalog (pnpm reads minimumReleaseAge in MINUTESCOMMENT
LOWtools/pnpm-workspace.yaml21# which the gate can't validate); expired ones warn until `soak:fix` /COMMENT
LOWcrates/nub-phantom-scan/src/classify.rs21 HardPhantom,COMMENT
LOWcrates/nub-phantom-scan/src/classify.rs41 /// Undeclared as a runtime dep, but present in `devDependencies` AND reachableCOMMENT
LOWcrates/nub-phantom-scan/src/classify.rs61 /// Reachable from a non-`.` `exports` subpath (the adapter surface).COMMENT
LOWcrates/nub-phantom-scan/src/classify.rs81 /// the path is what settles it.COMMENT
LOWcrates/nub-phantom-scan/src/classify.rs201 if is_host_provided(package) {COMMENT
LOWcrates/nub-phantom-scan/src/graph.rs1//! Walk the module graph reachable from a package's PUBLISHED entry points,COMMENT
LOWcrates/nub-phantom-scan/src/graph.rs21use crate::manifest::{Entry, EntryKind};COMMENT
LOWcrates/nub-phantom-scan/src/graph.rs41const FROM_DEEP_PATH: u8 = 0b1000;COMMENT
LOWcrates/nub-phantom-scan/src/graph.rs61 pub(crate) soft: bool,COMMENT
LOWcrates/nub-phantom-scan/src/graph.rs81 pub files_analyzed: usize,COMMENT
LOWcrates/nub-phantom-scan/src/graph.rs101 fn resolve_entry(&self, entry_path: &str, prefer_dts: bool) -> Option<Self::Key>;COMMENT
LOWcrates/nub-phantom-scan/src/graph.rs121 fn read_rel(&self, rel: &str) -> Option<String>;COMMENT
LOWcrates/nub-phantom-scan/src/graph.rs141/// report can separate subpath-adapter phantoms from main-graph ones.COMMENT
LOWcrates/nub-phantom-scan/src/graph.rs301/// OR `bit` into `key`'s provenance mask. Returns true if the mask GREW (newCOMMENT
LOWcrates/nub-phantom-scan/src/graph.rs341/// `pusher-js` ships `src/` built with `baseUrl: "src"` andCOMMENT
LOWcrates/nub-phantom-scan/src/graph.rs421 .iter()COMMENT
LOWcrates/nub-phantom-scan/src/graph.rs481 out.sort();COMMENT
LOWcrates/nub-phantom-scan/src/graph.rs841 } else {COMMENT
LOWcrates/nub-phantom-scan/src/lib.rs1//! nub-phantom-scan — scan an already-extracted package version's PUBLISHED,COMMENT
LOWcrates/nub-phantom-scan/src/lib.rs41}COMMENT
LOWcrates/nub-phantom-scan/src/lib.rs81/// Scan a package straight from its CAS-backed file index — the EXTRACT-TIMECOMMENT
LOWcrates/nub-phantom-scan/src/manifest.rs1//! Parse a package's `package.json` into (a) its DECLARED dependency surface —COMMENT
LOWcrates/nub-phantom-scan/src/manifest.rs21 /// Required peers (`peerDependencies` without an `optional` meta flag).COMMENT
LOWcrates/nub-phantom-scan/src/manifest.rs41 pub has_exports: bool,COMMENT
LOWcrates/nub-phantom-scan/src/manifest.rs301/// and `"./dist"` → `./dist/index.js` at runtime, and the graph walk'sCOMMENT
LOWcrates/nub-data-formats/Cargo.toml1# The YAML/TOML/JSON5/JSONC parsers behind Nub's data imports, factored out soCOMMENT
LOWcrates/nub-data-formats/src/lib.rs1//! The data formats Nub's runtime accepts as imports — YAML, TOML, JSON5, JSONC.COMMENT
LOWcrates/nub-data-formats/src/lib.rs21/// take arbitrary user data — a `.json5` fixture is not a `nub.jsonc` — but farCOMMENT
LOWcrates/nub-tsconfig/Cargo.toml1# tsconfig discovery / parse / `extends` resolution (the get-tsconfig@4.14.0 port),COMMENT
LOWcrates/nub-tsconfig/src/lib.rs1//! In-process tsconfig discovery / parse / `extends` resolution + a `paths`COMMENT
LOWcrates/nub-tsconfig/src/lib.rs21//! (the cache-key component) all match get-tsconfig's output so warm transpileCOMMENT
LOWcrates/nub-tsconfig/src/lib.rs61COMMENT
LOWcrates/nub-tsconfig/src/lib.rs161COMMENT
LOWcrates/nub-tsconfig/src/lib.rs181/// Problems found parsing the tsconfig governing `dir`, already rendered for aCOMMENT
LOWcrates/nub-tsconfig/src/lib.rs601 obj.remove("extends");COMMENT
LOWcrates/nub-tsconfig/src/lib.rs921 )COMMENT
LOWcrates/nub-tsconfig/src/lib.rs1041 // UTF-8 BOM, but a configured tsconfig — and the package metadata in itsCOMMENT
LOWcrates/nub-phantom/Cargo.toml1# nub-phantom — an INTERNAL/eval tool, not part of the shipped `nub` binary.COMMENT
LOWcrates/nub-phantom/src/lib.rs1//! nub-phantom — detect UNDECLARED (phantom) dependencies of an npm package.COMMENT
LOWcrates/nub-core/Cargo.toml1# SELF-CONTAINED MANIFEST (no `*.workspace = true`): nub-core is a member of theCOMMENT
LOWcrates/nub-core/Cargo.toml41libc = "0.2"COMMENT
LOWcrates/nub-core/Cargo.toml81# sha1 (ancient PM publishes carry only a sha1 dist.shasum) sits alongside sha2.COMMENT
LOWcrates/nub-core/Cargo.toml101#COMMENT
LOWcrates/nub-core/Cargo.toml121 "Win32_Foundation",COMMENT
LOWcrates/nub-core/Cargo.toml141# the crate unlinked: E0433 from the build script.COMMENT
LOWcrates/nub-core/build.rs1//! Single-binary blob generation (the `embed-runtime` feature only).COMMENT
LOWcrates/nub-core/build.rs141 let mut hasher = Sha256::new();COMMENT
LOWcrates/nub-core/benches/cache_body_copy.rs1//! Bench for the warm-hit body-copy reduction in `crates/nub-native/src/cache.rs`.COMMENT
1550 more matches not shown…
Decorative Section Separators274 hits · 838 pts
SeverityFileLineSnippetContext
MEDIUMcrates/nub-tsconfig/src/lib.rs378// ── `${configDir}` (TS 5.5) ─────────────────────────────────────────COMMENT
MEDIUMcrates/nub-tsconfig/src/lib.rs1229// ── compilerOptions extraction + hash ───────────────────────────────COMMENT
MEDIUMcrates/nub-tsconfig/src/lib.rs1276// ── paths matcher (get-tsconfig's `createPathsMatcher`) ─────────────COMMENT
MEDIUMcrates/nub-core/src/resource_limits.rs159// ───────────────────────── CPU budget (cgroup CFS quota) ─────────────────────────COMMENT
MEDIUMcrates/nub-core/src/resource_limits.rs712 // ─────────────────────── CPU budget ───────────────────────COMMENT
MEDIUMcrates/nub-core/src/workspace/shell_escape.rs203 // ── POSIX sh (the verified-against-npm path) ──────────────────────────COMMENT
MEDIUMcrates/nub-core/src/workspace/shell_escape.rs282 // ── splice_args (the body+args display/exec string) ───────────────────COMMENT
MEDIUMcrates/nub-core/src/version_management/manage.rs72// ── install ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/version_management/manage.rs214// ── ls ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/version_management/manage.rs243// ── uninstall ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/version_management/manage.rs282// ── pin ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/version.rs452 // ── Tier boundary cases ────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs171 // ── vm.Module / vm.SourceTextModule ────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs206 // ── EventSource global ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs226 // ── node:sqlite ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs247 // ── Wasm ES-module imports (import of `.wasm`) ──────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs274 // ── addon-modules (ESM import of native .node addons) ────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs298 // ── import-text (importing source as text via import attributes) ─────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs334 // ── Deferred module evaluation (`import defer`) ──────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs406 // ── Module syntax detection (ambiguous ESM `.js`) ────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs433 // ── node:ffi (foreign function interface) ────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs452 // ── node:vfs (virtual file system) ───────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs466 // ── node:stream/iter (async-iterator stream adapters) ────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs480 // ── AsyncLocalStorage on AsyncContextFrame ───────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs519 // ── WebSocket global ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs535 // ── Web Storage (localStorage / sessionStorage) ─────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs564 // ── reportError ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs579 // ── URLPattern ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs597 // ── RegExp.escape ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs613 // ── Error.isError ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs630 // ── Promise.try ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs646 // ── Stage 3+ library surfaces ───────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs787 // ── Shipped-standard builtins missing below their Node line ─────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs906 // ── Promise.withResolvers ───────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs925 // ── Promise.allKeyed / Promise.allSettledKeyed ──────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs952 // ── Float16Array ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs970 // ── Uint8Array base64/hex ───────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs990 // ── DisposableStack / AsyncDisposableStack / SuppressedError ─────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs1039 // ── Temporal ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs1055 // ── Worker (browser-shape global) ───────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs1070 // ── navigator global ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-core/src/node/feature_matrix.rs1091 // ── navigator.locks (Web Locks API) ─────────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/fetch_handler.rs284// ── The served shapes ────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/fetch_handler.rs385// ── The request and response bridge ──────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/fetch_handler.rs482// ── What must NOT be served ──────────────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/fetch_handler.rs587// ── Behind a wrapper ────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/fetch_handler.rs684// ── Address selection ───────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/cli_grammar_parity.rs111// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/cli_grammar_parity.rs115// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/cli_grammar_parity.rs369// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/cli_grammar_parity.rs373// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/cli_grammar_parity.rs505// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/cli_grammar_parity.rs510// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/integration.rs1697// ── Version-gated tests ─────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/integration.rs1907// ── Project-source plain JS (.js/.mjs/.cjs) transpile ───────────────COMMENT
MEDIUMcrates/nub-cli/tests/integration.rs4297 // ── Parallel run ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/integration.rs4338 // ── Serial control run (concurrency=1) ───────────────────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/integration.rs4578// ── Section 4: Missing integration tests (v0.1-quality) ──────────COMMENT
MEDIUMcrates/nub-cli/tests/integration.rs8475// ── Section 7: pnpm workspace behavior tests ────────────────────COMMENT
MEDIUMcrates/nub-cli/tests/integration.rs8943// ── `nub run` full flag set (run.md) ────────────────────────────────────────COMMENT
214 more matches not shown…
AI Slop Vocabulary90 hits · 282 pts
SeverityFileLineSnippetContext
MEDIUMCargo.toml108# Benchmark harness (dev-only). `harness = false` benches drive criterion's ownCOMMENT
MEDIUMcrates/nub-core/src/version_management/mod.rs182/// selector keys on Node's `glibcVersionRuntime` (the robust detect-libc signal),COMMENT
MEDIUMcrates/nub-cache-key/Cargo.toml3# resolved by the Node host at dlopen, so a `cargo test` harness for that crateCOMMENT
MEDIUMcrates/nub-json-guard/Cargo.toml4# `test = false` (a `cargo test` harness cannot link them) — a copy of thisCOMMENT
MEDIUMcrates/nub-native/Cargo.toml118# allowed), but a `cargo test` harness is a normal executable and CANNOT link thoseCOMMENT
MEDIUMcrates/nub-cli/tests/integration.rs3327 // Dual-channel doubling regression, tier-robust. On the `nub <file>` path theCOMMENT
MEDIUMcrates/nub-cli/tests/integration.rs9135/// fake shell that prints a marker before delegating to `/bin/sh` — robust acrossCOMMENT
MEDIUMcrates/nub-cli/tests/integration.rs9428 // loading is the robust augmentation discriminator here — flag/preloadCOMMENT
MEDIUMtests/bench/install/run-warm-gvs.sh106 # $$ here is the harness PID (constant); $RANDOM varies per --prepare eval.COMMENT
MEDIUMtests/bench/install/gen-fixtures.sh7# each bench harness installs from nub.lock — its native lockfile — not theCOMMENT
MEDIUMtests/bench/script-runner/run-vs-node.sh20# This is a canonical checked-in benchmark harness. By default, result JSON isCOMMENT
MEDIUMtests/bench/bin-runner/run-pure.sh10# bin-runner sibling of run-script-runner-pure.sh and uses the same harness.COMMENT
MEDIUMtests/launcher/make-fixture.sh59# (the harness exercises the RUNTIME heal, independent of postinstall).COMMENT
MEDIUMtests/launcher/make-fixture.sh185 # failure this harness exists to prevent.COMMENT
MEDIUMtests/pnpm-conformance/run.sh2# pnpm conformance harness — run pnpm's OWN black-box CLI test suite against nub.COMMENT
MEDIUMtests/pnpm-conformance/run.sh210# Substituting them into the file is the robust seam. `#` is the sed delimiterCOMMENT
MEDIUMtests/pnpm-conformance/run.sh258 # First integer run of `jest --version` (robust to a leading v / extra text).COMMENT
MEDIUMtests/brand-global/run.sh60# clean too, then print a single PASS/FAIL line the harness greps. A TS annotationCOMMENT
MEDIUMtests/aube-conformance/run.sh2# Lockfile conformance harness — nub's embedded aube engine writes eachCOMMENT
MEDIUMtests/compile-hide-console/run.sh38# sets — the flip is byte editing, so the header arms of this harness can beCOMMENT
MEDIUMtests/compile-hide-console/run.sh83 # The deliberate terminal case. Not a defect and not this harness's business toCOMMENT
MEDIUMtests/mutation/run-mutations.sh2# Lockfile MUTATION differential harness — the write-path counterpart to theCOMMENT
MEDIUMtests/mutation/run-mutations.sh111 # spec file, which is harness metadata, not project content.COMMENT
MEDIUMtests/native-deps/run.sh2# Native-dependency floor end-to-end harness.COMMENT
MEDIUMtests/native-deps/run.sh76# Copy only the fixture files — not the harness scripts — to avoidCOMMENT
MEDIUMtests/parcel-gvs/make-fixture.sh7# over-split this harness regression-tests).COMMENT
MEDIUMtests/parcel-gvs/run.sh2# Regression harness for the GVS @parcel/core store-dir over-split.COMMENT
MEDIUMtests/daily-driver/run.sh2# Real-app daily-loop smoke harness.COMMENT
MEDIUMtests/node-gyp-headers/run.sh2# node-gyp header-cache end-to-end harness.COMMENT
MEDIUMtests/node-gyp-headers/run.sh14# downloading, and this harness is what says so.COMMENT
MEDIUMtests/registry-stall/run-stall-matrix.sh34# A binary that predates the stall bound is the failure mode this harness isCOMMENT
MEDIUMtests/vite-compat/driver.sh25# Fidelity note: this harness asserts at the HTTP layer — it fetches the REALCOMMENT
MEDIUMtests/vite-compat/driver.sh43# the next run then binds a DIFFERENT port while the harness curls the staleCOMMENT
MEDIUMtests/vite-compat/driver.sh44# (unpatched) server → false 403s. The robust fix is a process GROUP: the devCOMMENT
MEDIUMtests/conversion/run.sh2# Cross-format lockfile conversion harness — proves `nub pm use <target>` producesCOMMENT
MEDIUMtests/conversion/run.sh10# For each (source, target) pair the harness:COMMENT
MEDIUMtests/compile-corpus/layouts.sh185# defect for as long as the harness existed: the shared chunks were emitted asCOMMENT
MEDIUMtests/cross-runtime/pty-spawn.py7# exits with the child's status, because the harness reads exit codes; and itCOMMENT
MEDIUMtests/cross-runtime/pty-spawn.py8# resolves the command through PATH (execvpe, not execve), because the harnessCOMMENT
MEDIUMtests/global-install/run.sh49# fail, the harness is broken, not the code. `git worktree add` at theCOMMENT
MEDIUMtests/compile-augmentation/run.sh39# on nub. Naming the suffix here keeps the harness saying what it means.COMMENT
MEDIUMtests/compile-augmentation/run.sh98 # That is ordering coupling in a shared harness, which is the shape that turnsCOMMENT
MEDIUMtests/compile-augmentation/run.sh114 # present wherever this harness is meant to run, and a fixture that quietlyCOMMENT
MEDIUMtests/aube-bats/run.sh5# registry. This harness runs a CURATED subset of those suites with nub's PMCOMMENT
MEDIUMtests/aube-bats/run.sh9# that exec's nub — so the harness's own PATH prepend resolves straight toCOMMENT
MEDIUMtests/aube-bats/run.sh51# nothing else is guaranteed to survive the harness's env isolation);COMMENT
MEDIUMtests/aube-bats/run.sh52# 2. translate the harness's AUBE_* knobs to their npm_config_* spellings.COMMENT
MEDIUMtests/installer/run.sh6# Local end-to-end harness for install.sh. Each case runs the REAL installerCOMMENT
MEDIUMtests/compile-metadata/run.sh44# resource is written by byte-editing, so the whole harness can be exercised fromCOMMENT
MEDIUMtests/conformance/run.sh2# Drop-in PM conformance harness — proves nub is a true drop-in package managerCOMMENT
MEDIUMtests/conformance/run-pnpm11.sh2# pnpm-11 conformance leg for the drop-in PM conformance harness.COMMENT
MEDIUMtests/conformance/frontdoor/run.sh9# DISTINCT from its two siblings (README.md): the lockfile harness verifiesCOMMENT
MEDIUMtests/conformance/frontdoor/run.sh10# round-trip fidelity; the cmdflag harness verifies every verb runs on one repo;COMMENT
MEDIUMtests/conformance/frontdoor/run.sh23set -uo pipefail # NOT -e: a failing cell is data, not a harness abort.CODE
MEDIUM⚡tests/conformance/cmdflag/run.sh2# Command×flag conformance harness — exercise nub's FULL CLI surface against aCOMMENT
MEDIUM⚡tests/conformance/cmdflag/run.sh8# DISTINCT from the lockfile harness one level up (tests/conformance/run.sh),COMMENT
MEDIUM⚡tests/conformance/cmdflag/run.sh17# harness operates on COPIES — the fixture is neverCOMMENT
MEDIUMtests/conformance/cmdflag/run.sh32set -uo pipefail # NOT -e: a failing cell is data, not a harness abort.CODE
MEDIUMtests/conformance/cmdflag/run.sh68# point of the harness is to cover REAL machine state, not a pristine void.COMMENT
MEDIUMscripts/check-docs-links.ts146 // Markdown link target: ](...) — the simplest robust form; docs use plainCOMMENT
30 more matches not shown…
Modern AI Meta-Vocabulary31 hits · 98 pts
SeverityFileLineSnippetContext
MEDIUMcrates/nub-cli/tests/init_cmd.rs1//! `nub init` through the real binary — scaffold contents, refuse-don't-COMMENT
MEDIUMcrates/nub-cli/tests/init_cmd.rs3//! is offline by construction: scaffold-only cases use `--no-install`, whileCOMMENT
MEDIUMcrates/nub-cli/tests/init_cmd.rs394/// `git check-ignore` is the only honest test of a `.gitignore`: the scaffold'sCOMMENT
MEDIUMcrates/nub-cli/tests/pm_verbs.rs975/// The scaffold contract itself lives in tests/init_cmd.rs.COMMENT
MEDIUMcrates/nub-cli/src/init.rs1//! `nub init` — scaffold a minimal modern-TS project (nub's own project init,COMMENT
MEDIUMcrates/nub-cli/src/init.rs3//! from ENGINE_VERBS). Design record: internal/commands/init.md. The scaffold isCOMMENT
MEDIUM⚡crates/nub-cli/src/init.rs16/// `@types/node` range written into the scaffold. Tracks the docs' latest-majorCOMMENT
MEDIUM⚡crates/nub-cli/src/init.rs21/// Oldest declarations that cover the scaffold's `Worker`-era ambient surface.COMMENT
MEDIUM⚡crates/nub-cli/src/init.rs27/// `typescript` range written into the scaffold. Nub transpiles TS itself, soCOMMENT
MEDIUMcrates/nub-cli/src/init.rs361/// Best-effort `git init` — a missing/failing git degrades the scaffold, itCOMMENT
MEDIUMcrates/nub-cli/src/cli.rs2971 // Self-update, the scaffold, and the help pages consume no projectCOMMENT
MEDIUMcrates/nub-cli/src/cli.rs2975 // scaffold's final cwd.COMMENT
MEDIUMcrates/nub-cli/src/cli.rs10361 // (the same never-scaffold rule write_declared_pm enforces — but onlyCOMMENT
MEDIUMcrates/nub-cli/src/pm_engine/install_family.rs1483 // refuses to scaffold one); the install already succeeded, so this is aCOMMENT
MEDIUMcrates/nub-cli/src/pm_engine/install_family.rs2493 /// or scaffold one — the stamp is best-effort and silently no-ops (nub neverCOMMENT
MEDIUMcrates/nub-cli/src/pm_engine/mod.rs290 // own project scaffold (src/init.rs, a native subcommand), not the engine'sCOMMENT
MEDIUMtests/daily-driver/README.md35# Reuse an existing fixture (skip the scaffold + install for iteration)COMMENT
MEDIUM⚡tests/vite-compat/scaffold.sh2# scaffold.sh — non-interactively scaffold a real Vite-powered project for theCOMMENT
MEDIUM⚡tests/vite-compat/scaffold.sh7# Usage: scaffold.sh <case> <dest-dir>COMMENT
MEDIUM⚡tests/vite-compat/scaffold.sh8# Cases print, after scaffolding, two lines the runner consumes:COMMENT
MEDIUMtests/framework-matrix/frameworks.sh10# Usage: frameworks.sh scaffold <name> <dest> # scaffolds into <dest>, prints DEV=/BUILD=/PREVIEW=/PROBE=/GVS=COMMENT
MEDIUMtests/framework-matrix/frameworks.sh126 # Next on the SHARED store: the same create-next-app scaffold (Turbopack on,COMMENT
MEDIUMtests/framework-matrix/frameworks.sh133 # relocates the store through XDG_CACHE_HOME after scaffolding), mirroringCOMMENT
MEDIUMtests/framework-matrix/matrix.sh3# scaffold it via its OFFICIAL create-* generator (frameworks.sh), then drive theCOMMENT
MEDIUMwiki/research/upstream-cpp-resolver-prs.md30- **#61548** (joyeecheung, merged Feb 2026) — "src: initial support for ESM in embedder API." Adds `ModuleData`, `ModuleCODE
MEDIUMwiki/research/gvs-in-ci.md52So the divergence question inverts: Nub is not diverging from the norm by gating GVS in CI — Nub diverged by making GVS CODE
MEDIUMwiki/research/workspace-discovery-walk-up.md19## (1) Test scaffoldCOMMENT
MEDIUMbenchmarks/README.md32# Script runner overhead (pure orchestration)COMMENT
MEDIUM.github/workflows/release.yml1084 # writes both literals into the `nub init` scaffold, so they sit in everyCOMMENT
MEDIUMsite/public/skill.md76nub run --node test # nub's CLI orchestration, runtime augmentation offCODE
MEDIUMskills/nub/SKILL.md76nub run --node test # nub's CLI orchestration, runtime augmentation offCODE
Example Usage Blocks8 hits · 12 pts
SeverityFileLineSnippetContext
LOWtests/bench/install/cold-cas.sh34# Usage:COMMENT
LOWtests/bench/install/run.sh5# Usage:COMMENT
LOWtests/bench/install/run-4way.sh10# Usage:COMMENT
LOWtests/pnpm-conformance/run.sh11# Usage:COMMENT
LOWtests/vm/tart-vm.sh13# Usage:COMMENT
LOWtests/pnp/run-pnp-matrix.sh17# Usage:COMMENT
LOWtests/conformance/run-pnpm11.sh23# Usage:COMMENT
LOWscripts/check-lockfiles.sh4# Usage:COMMENT
Self-Referential Comments4 hits · 11 pts
SeverityFileLineSnippetContext
MEDIUMcrates/nub-core/src/pm/lockfile_version.rs256 let berry = "# This file is generated by running \"yarn install\".\n\n\CODE
MEDIUMcrates/nub-launcher/.cargo/config.toml13# This file is the ONLY copy, and it lives here rather than at the repo root on purpose.COMMENT
MEDIUM.github/workflows/release.yml597 # This file is what makes the corpus DOWNLOAD-RANKED rather than theCOMMENT
MEDIUM.github/workflows/release.yml2041 # Create the exact versioned release and verify its complete 32-asset setCOMMENT
Hyper-Verbose Identifiers9 hits · 9 pts
SeverityFileLineSnippetContext
LOWtests/worker-wpt/wpt/resources/testharness.js338 function DedicatedWorkerTestEnvironment() {CODE
LOWtests/worker-wpt/wpt/resources/testharness.js361 function SharedWorkerTestEnvironment() {CODE
LOWtests/worker-wpt/wpt/resources/testharness.js387 function ServiceWorkerTestEnvironment() {CODE
LOWtests/worker-wpt/wpt/resources/testharness.js439 function ShadowRealmTestEnvironment() {CODE
LOWtests/worker-wpt/wpt/resources/testharness.js4839 function OptionalFeatureUnsupportedError(message)CODE
LOW…red-clone/structured-clone-battery-of-tests-harness.js16function runStructuredCloneBatteryOfTests(runner) {CODE
LOW…skills/cpu-reduction/scripts/clean-worktree-targets.py100def owns_installed_dev_binary(path: Path, binaries: list[Path]) -> bool:CODE
LOWwiki/research/store-marker-hardcoding.md18function getProjectRootDirectoryFromNodeModules(projectPath) {CODE
LOWwiki/research/node-strip-types-interaction.md29function initializeExtensionFormatMap() {CODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWinstall.sh331# Check if already in PATHCOMMENT
LOWsetup-node/scripts/install.sh333# Check if already in PATHCOMMENT
LOWsite/public/install.sh331# Check if already in PATHCOMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/remote-build.ts461[ -s runtime/addons/nub-native.node ] || printf 'placeholder' > runtime/addons/nub-native.nodeCODE
LOWscripts/remote-build.ts883mkdir -p runtime/addons && printf 'placeholder' > runtime/addons/nub-native.nodeCODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…skills/cpu-reduction/scripts/clean-worktree-targets.py4CODE