- eval CLI family (eval-list/compare/summary + eval-select smoke): the
primary interface to eval results had no tests; isolation via a fake
gstack-slug under a mkdtemp HOME (the scripts' real resolution path —
they do NOT honor GSTACK_EVAL_DIR; only EvalCollector does). Pinned
current behavior: eval-list does NOT exclude _partial runs (documented
improvement candidate)
- slop-diff (runs on every /review + quality-gate): fixture git repo +
first-on-PATH npx stub (never downloads real slop-scan); no-diff
early exit, missing-scanner fallback, fingerprint line-insensitivity,
merge-base worktree scan
- bin/gstack-code-intelligence CLI arg surface (lib was covered, the
284-line CLI wasn't): select/consent/suggest/index/search gating;
pinned: --help routes to usage failure exit 1 (no handler)
- browse media-extract: the page.evaluate callback exercised in-process
against a mock DOM (no exports added) — lazy-src fallback chain,
HLS/DASH detection, bg-image url() parsing, 500-element cap
- browse session-cookie-store: factory contract (cookieName/ttlMs/
maxSessions eviction, cross-store isolation, mint→validate
round-trip); store is in-memory — no fs cases exist
- lib/version-source direct unit tests (gstack-version-bump.test.ts
spawns the bin, never imports the lib): parse/format/cmp/bump
coercion, npm 4→3 translation, #2501 mangled-JSON regression class
All hermetic (mkdtemp homes, runBin child isolation); windows curation
correctly partitions the six.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>