npm / fallow
fallow
What changed in fallow 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.
67 breaking18 security128 new APIs and options12 performance57 behavior and defaults19 tooling157 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initfallow 3458 changes
Breaking changes 67
The first run after upgrading parses each file again because the cache format changed.
GitHub Action and GitLab dead-code issue gates now fail only on error-severity findings, matching the CLI exit code.
Installing the package no longer installs the type-aware companion or TypeScript 7; projects using type-aware analysis must install the companion separately.
The GitLab template counts only error-severity dead-code findings when deciding whether the job fails.
The --branch option has no effect and prints a note; existing hooks must be reinstalled to get staged-audit behavior.
No longer records runs for projects in system temporary folders.
When the changed-since reference cannot be resolved for the new gate, reports only the gate error and exits with code 2.
Projects using similar-code analysis or its MCP tools must install the companion package at the same version as fallow.
Projects using type-aware analysis, mutation typechecking, or typeAware configuration must install this companion at the same version as fallow.
Cross-target Linux installs must specify the libc variant; installs built on glibc for musl must use musl.
The command exits with code 2 instead of writing through a dangling symlink or a symlink that resolves outside the project.
Clone start_col and end_col in JSON output are now byte columns rather than character columns.
Tools reading mutation report completion.reasons must now accept sampled-out.
The command exits with code 2 instead of writing through a dangling symlink or a symlink that resolves outside the project.
Limits for...of element-class inference to the loop body and stops nested functions with their own this from crediting members through this.
An explicit patch whose paths do not match the project now causes exit code 2 before tests run, instead of being replaced by a generated Git diff.
The command exits with code 2 instead of writing through a dangling symlink or a symlink that resolves outside the project.
The MCP server now requires rmcp 3.9 or later; rmcp 3.8.0 had an advisory affecting Streamable HTTP clients, which the server does not enable.
The command avoids writing through symlinks that leave the project; if only the config file links outside, it writes the pack and prints the rulePacks entry for manual addition.
Refuses to write through project paths symlinked outside the project or dangling links; --user targets still follow symlinks.
Reports each call site instead of only the first call of a callee path in a file.
Replaces the removed deprecated fallow_core::analyze::feature_flags functions for callers that need feature flags.
Workspace package aliases now apply only to files in that package; missing targets report unresolved-import, and SvelteKit $lib follows kit.files.lib.
Refuses to write through project paths symlinked outside the project or dangling links; .git/hooks still follow symlinks.
Refuses to write through project paths symlinked outside the project or dangling links and exits with code 2.
Requires an Ed25519 signature for every downloaded binary; an installed binary with only a .sha256 marker is deleted and downloaded again.
New warnings from the added rules can fail CI when this flag is used.
Method signatures in props types count as props, and overloaded methods are optional only when every overload is optional.
Rules now match new expressions as well as calls; existing baselines do not cover the new findings.
Fallow rejects CODEOWNERS patterns and config globs longer than 512 bytes with an error.
Dead-code baselines are judged only when saved in the same mode as the run; stale same-mode entries can now fail, while other-mode runs are skipped.
Several sink candidates now require values traced to untrusted input, reducing source-free reports; request URL and header values are untrusted sources.
In production, files matched only by a user support entry are treated like test files and their imports credit nothing.
Type reference directives now count as type-only imports, so production dependency rules apply to packages used only by those directives.
Runtime names without path separators are looked up on PATH; paths with separators remain relative to the working directory.
For partial captures, runtime coverage totals are null; update consumers that expect numeric totals or check output schema versions.
This default-error rule determines whether a file exceeding the configured line limit fails the run.
Lists only rules that have findings; JSON metadata omits the rules key when there are no findings.
A never-called function with its own name starting on the line after its export now receives
review_requiredinstead ofsafe_to_delete.Imports must include a path segment naming a flag vendor or flags to confirm a flag file; generic SDK-like calls to local project functions without a flag import are no longer treated as flags.
The mutation and mutation-inspect JSON output now uses schema version 2; scripts checking the schema version need updating.
Setting this rule to error now includes it in issue totals, dead-code and audit gates, and CI reports; warn does not fail a gate.
The exit-code contract now defines 0 as no enforced gate failing and 1 as findings, not a tool failure; bare machine runs gate on findings only with --fail-on-issues.
Does not generate mutants for a pure condition whose branches contain only console.* or debug calls with pure arguments, except when the name is declared or imported in the file.
Setting this rule to error now includes it in issue totals, dead-code and audit gates, and CI reports; warn does not fail a gate.
Directories containing glob characters such as brackets or braces no longer alter include-pattern matching; only * and ? act as wildcards, as in tsc.
Parses escaped spaces; treats backslashes as escapes on Windows; and rejects patterns with more than 32 wildcards or files with more than 4096 wildcards.
Bare fallow now applies this rule as fallow health does; an error-level rule makes the human run exit 1 and adds a health-coverage-gaps gate outcome.
Must be run again to update an installed gate with the new block message and worktree push behavior.
Fallow no longer reports dependencies of gitignored workspace members.
The minimum Rust version of the Fallow crates increases from 1.96 to 1.97.
Uses a dedicated workspace diagnostic for files that exceed the nesting limit, with the cap in limit; the file still counts for the parse-error gate.
Tools filtering on this diagnostic must also match source-nesting-too-deep to keep seeing files that exceed the nesting limit.
Older Fallow versions now exit with code 2 and identify the schema and newest-record version rather than altering a store written by a newer version.
Mutation runs may produce different scores because ORM writes are now treated as side effects and more mutants may be pruned.
Code Mode refuses incomplete type-aware runs requiring complete evidence, limits typed results to 16 MiB, and runs subprocesses with stdin from the null device.
A single * now matches within one path segment across every config path glob; use ** to cross directories. Fallow warns when a pattern now matches fewer files.
The API and Node bindings reject configs that enable type-aware analysis or configure audit baselines, returning explicit unsupported-setting errors.
With an auto-detected base, audit also compares merged default-branch commits and treats their findings as inherited; explicit base settings retain single-base comparison.
A run exits with code 2 when baseline failures stop every mutant run and reports the first failure clearly.
A mutation run exits with code 2 if its self-check executes no tests, preventing a false 100% score.
Mutation runs reject unsafe cache directories and exit with code 2; writes to ignored files are now detected as worktree changes.
A segment such as .* no longer matches a parent directory; hidden files inside the project root still match.
An error setting now enforces prop-drilling chains in CI; use warn to report chains without an error.
The variable still accepts target=level and level directives, but now skips span and field directives.
The enabled field is now an Option<bool>; callers should set typeAware.enabled in call options to run type-aware analysis through the API or Node bindings.
The action, GitLab template, and
fallow healthnow count only health findings remaining after a baseline.
Security 18
Uses the execFile gate for spawn calls without a shell and treats repository or environment-variable program paths as clean.
Cache writers skip saves through dangling symlinks or symlinks that resolve outside the project; analysis continues, while health snapshot saving errors and audit-cache pruning avoids deleting through such links.
A cache directory configured outside the project remains supported despite the new protection against cache writes through symlinks that leave the project.
The Action no longer writes artifacts through a symlink and escapes rejected dependency versions in installation diagnostics.
The GitHub Action and GitLab template can run mutation testing; configure mutation: true or FALLOW_MUTATION: "true". The run has a changed-lines default scope and 10m time budget, and avoids jobs exposing base-project secrets to fork code.
Matches additional raw SQL sink shapes and resolves selected child_process, vm, and fs imports to node: paths; some evidence callee names change.
Recognizes additional command, template, network, file, and deserialization sinks within existing categories, including sinks bound through destructured
require().Security analysis recognizes additional non-literal sinks, including iframe srcdoc, script-element assignments, and Range.createContextualFragment().
Security analysis recognizes evasion syntax, complex objects, and named vm imports as additional sinks.
Obtains approval for a read-only Cloud key and stores it in the OS keychain or, if unavailable, a credentials file with mode 0600.
Validates the detected default branch name with the --branch ref validator; invalid names trigger a warning and use main.
Resolves same-module string enum members in template literals sent to HTML sinks; imported enums and constants remain unresolved.
Windows executables and the Node addon are Authenticode-signed by Fallow B.V. in release archives, npm packages, and the VS Code extension.
Audit snapshot Git commands use a nonexistent GIT_DIR, an unusable .git path, and safe.bareRepository=explicit to prevent repository configuration from running commands.
Security analysis checks every argument segment and reports one candidate for each call.
Database writes, write-verb SQL, and prepared statement runs are now mutation side-effect sinks in modules loading database clients, helping prevent writes to real databases.
Fallow skips workspace glob entries outside the project root before reading the disk and reports the entry and declaring file with a new diagnostic.
Jest and Vitest project entries are read only when they resolve inside the project root, preventing config reads outside it.
New APIs and options 128
Records a workspace diagnostic when the client-server-leak rule has no top-level use-client files to check.
Lists direct writes through imported values and custom global read and write sites in human, JSON, and Markdown output.
The new-only gate includes unused files and exports introduced outside changed files, including changes caused by configuration edits.
Reads a saved mutation JSON report for the review brief focus-map mutation score component.
Audits staged changes against HEAD by reading files from the Git index, excluding unstaged edits and untracked files.
Sets a cache location outside the project, for example for a shared CI cache.
Enables the constant-parameters rule from the command line.
The MCP response cap is now 1,000,000 bytes; this environment variable can raise it up to 16 MiB.
Replays a mutated function on original code and mutant using supplied arguments and reports repeated differences as witnesses.
Records exported-function arguments for later replay; values are opt-in, while shapes records only argument types.
Replays recorded inputs for open tasks and provides a witness with current and changed results plus a replay command.
Excludes matching normalized Tailwind arbitrary-value classes from token-drift findings and analytics, including CVA variants.
Oversized MCP response refusals include parameter names that can narrow the output.
Adds an opt-in mutation operator that removes the fallback from a nullish-coalescing expression.
Adds a stable security finding identifier that survives whitespace, comment, line-break, and preceding-line edits; security survivors accepts it in verdicts.
With --typecheck, an optional-chaining survivor can receive the type-non-nullish hint when the declared type excludes null and undefined; the mutant remains survived and counts in the score.
Exports a saved report in the open mutation-testing-report-schema format without running code, and refuses reports whose mutated files changed after the run.
Adds --mutation-not-run <REASON> for mutation results in supported CI report formats.
Adds --mutation-report <PATH> to render mutation results in supported CI report formats, including survived-mutant annotations and a Mutation testing section.
The GitHub Action exposes a new output indicating that the mutation report was rendered.
Widens each changed line to its whole function during mutation scope selection.
Limits the number of mutants on each line; excess mutants remain pending with reason sampled-out.
Adds nine opt-in mutation operators, also selectable through --operators or the MCP operators parameter; the default operator set is unchanged.
Entry-point output names the package.json script for script entry points; JSON entry_points items gain an optional script field.
File-trace output names the package.json script for script entry points; JSON file traces gain an entry_script field.
Compares a complete saved report with the current run and reports regressed, added, removed, or inconclusive mutants.
Reruns open tasks from a saved report against current tests; --mutant selects specific IDs, and a recheck without it replaces the saved report.
Lists open mutation-report tasks as a batch, with human, Markdown, or JSON output; without --report, reads the last run's report.
The Nuxt plugin reads custom pages, layouts, middleware, plugins, and modules directories as convention entry points.
Adds a rule that reports duplicate export aliases through the CLI and integrations; it defaults to warnings.
Excludes intentional external commands from analysis.
Checks named tests for redundant mutant kills without running a full kill matrix.
Separates development entry points from production analysis.
Adds a rule that reports missing command-line tools through the CLI and integrations; it defaults to warnings.
Adds a rule that reports unused namespace members through the CLI and integrations; it defaults to warnings.
Includes entry routes that can reach each function in inventory uploads.
Configures dependency exclusions and entry exports for each workspace.
Rules can ban a package while allowing exact imported names. Adding allowNames changes baseline keys and finding ids, so re-save the baseline.
Every security finding now names a category; client-server-leak uses category client-server-leak.
When enabled, unused Effect schema exports are reported under unused-types rather than unused-exports; the option is off by default.
Audit findings for added suppression comments include their kinds, reason, and whether a security suppression lacks a reason.
JSON output can be used to find existing security suppressions without a reason by selecting reason_present: false.
The MCP tool can include the cloud section for a file target, using the same path as
fallow inspect --file <path> --cloud.The baselines prune command accepts --production and honors --include-entry-exports; pruning also refuses baselines saved in a different mode.
JSON workspace diagnostics report when a requested flag did not check a rule that is off; the exit code does not change.
The review brief and fallow review report a weakening signal when a security sink is replaced by a different sink of the same class in the same file.
Removes the stored Fallow Cloud key.
Plans a Fallow Cloud setup, including beacon snippets and GitHub Actions steps; it writes no files and can wait for completion.
Shows production data for each function in a file; missing keys, plan limits, and unreachable Cloud services produce status rather than failing the run.
Prints about 1 KB of plain text per file for use in editor-hook context.
Runs every covering test of each mutant and reports tests whose killed mutants are all also killed by other tests; the opt-in run can take longer.
Keeps every row in tables when using a lean JSON report.
Sets a physical-line limit for health checks; files exceeding it are reported, with the check disabled by default.
With JSON output, omits empty arrays and zero dead-code counts, limits selected tables and diagnostics, and marks the report with
profile: "lean".Sets a physical-line limit for health checks; the limit is also accepted by MCP tools and Node bindings.
Binds inventory and source-map uploads to a Vercel deployment; Fallow Cloud checks the deployment against the upload SHA.
Fallow reads this variable during a Vercel build to bind inventory and source-map uploads to a deployment.
Source-map uploads add this field so Fallow Cloud can locate the function behind a browser Long Animation Frame in multi-line chunks.
Mutation runs persist final killed and retry-confirmed survived mutant results; complete runs remove the journal and partial runs keep it.
A resume attempt using a journal from different inputs exits 2 and names each differing input.
Resumes an interrupted mutation run from its journal, reusing final mutant results and running only remaining mutants.
The npm package ships and exports a version-matched rule-pack schema for use in a rule pack's $schema.
Add template extensions whose files count as class references for fallow health --css without joining source discovery.
Mutation reports now include a resume object when a run is resumed.
Resumed mutants are marked with resumed: true in mutation results.
Adds a built-in dotenv plugin mapping for fallow migrate.
Set to tsrs to run the experimental semantic pass on tsrs; install the pinned tsrs version next to fallow-type-aware. TypeScript-Go remains the default.
Adds the literal-membership policy, which counts qualifying strict-equality chains as one predicate for the maxCyclomatic gate and CRAP scores; the default remains standard.
Reports which type-aware backend ran.
Adds diagnostics for redundant entry patterns, ignoreDependencies entries, and ignorePatterns entries; they appear in JSON, SARIF, human and CI formats, PR comments, and the LSP.
For JavaScript GitHub Actions using a node runtime, runs.pre, runs.main, and runs.post files become entry points.
Dead-code baselines now record whether node_modules existed; a later run in the other install state reports a diagnostic and warning.
Adds per-run status, duration, and killing-test or failure details for retried mutants.
Adds attribution data to each complexity finding in audit JSON, including whether it worsened.
Configures whether worsened complexity findings warn, error, or are off; the default is warn.
Adds a change object to each mutant in mutation reports and mutation-plan documents, using operator tokens, literals, and placeholders.
Lets external plugins exclude config patterns from default-export credit.
Adds Egg.js and tegg project detection, convention-based entry points, and dependency crediting.
Adds a GitLab template variable for configuring worsened complexity findings.
Adds a CycloneDX SBOM file for every release target.
Adds a VS Code setting for worsened-finding behavior, with auto using audit.worsened from project config.
Sets the Vitest config file used for mutation runs.
Adds progress events for the programmatic mutation API.
Adds a mutation operator that removes one call link from fluent chains in module-level const initializers; it is enabled by default.
Adds a programmatic mutation runner that emits MutationProgress events.
Selects the Vitest config for a mutation run; the file must be inside the project root and the flag wins over config.
Selects how worsened complexity findings affect the audit: warn (default), error, or off.
Adds the metrics with grown values to each applicable complexity finding in audit JSON.
Adds a GitHub Action input controlling worsened complexity findings.
Adds a parameter to the MCP audit tool for selecting worsened-finding behavior.
Widens mutation scope beyond the default changed-code scope.
Allows a mutation run to proceed with a dirty git worktree.
Allows planning mutants near file-system, process, network or database calls that would otherwise be pruned.
Sets the default selection for the audit dead-code sub-analysis.
Sets the default selection for the audit duplication sub-analysis.
Sets the default selection for the audit health sub-analysis.
Built-in support adds project and entry-point recognition for mise, railway, textlint, jasmine, rstest, serverless-framework, osls, flue, typescript-content-mapper, alchemy and opentelemetry.
Audit JSON reports diff-risk findings in a new section, also available in SARIF, CodeClimate, compact and markdown output.
Adds --only and --skip to select audit sub-analyses; skipped analyses are omitted on both head and base.
Setting this variable keeps audit on a single-base comparison instead of using the auto-detected merged-default-branch comparison.
The command reports and removes old base-snapshot cache entries.
The import format now accepts an optional commit field.
Health reports hidden change coupling and change dispersion, including coupled file pairs and additional hotspot metrics.
Adds each complexity finding's mutation score next to its CRAP score without changing CRAP or the health score.
A new command mutates changed code and runs project tests to measure mutation score, survivors, covering tests and test reach.
Shows a selected mutant against the current file using the last run report or the file named by --report.
The MCP audit tool now has a guide covering diff-risk rules and audit details; the tool description points to it.
Set this variable to 0 to keep an API or Node binding call syntactic.
Strong hidden-coupling pairs add this factor to refactoring targets; files without another target can receive resolve_hidden_coupling targets.
Caps covered mutants run; coverage still counts planned mutants that did not run.
Makes a mutation score below the specified minimum exit with code 1.
Selects the mutation test runner; auto detects supported Vitest, node:test or bun test versions.
Enables type-checking of mutation survivors through the --type-aware companion.
Runs each mutant without reusing earlier killed or survived results from the fallow cache.
Nuxt config files with mjs, cjs, mts, and cts extensions are now read; plugins, middleware, and modules count one level deep.
Selects and ranks mutants without running code.
The rule can report or gate prop-drilling chains, with source-hop overrides, suppressions, baselines, audit attribution and incremental changed-hop scopes; it remains off by default.
Sets the time allowed for each runner process to start, finish its dry run or reload; the default is 2m.
Type-checks each survivor through the --type-aware companion; survivors that add a type error leave the score.
A new default-warn rule reports handlers for project tags that no code produces when no unused-tagged-error finding covers the tag.
A new default-warn dead-code rule reports Effect layers that only unused layers compose.
A new default-warn rule reports tagged error classes referenced by types or catchTag handlers but never constructed, failed with or decoded.
Loads verdicts that mark equivalent mutants, which do not affect the score.
The GitLab template can use a duplication baseline on the default run and reports stale or mismatched baselines.
This environment variable judges health and duplication baselines supplied through integration inputs or CLI flags.
The GitLab template can use a health baseline on the default run and reports stale or mismatched baselines.
With a loaded health baseline, the GitHub summary shows new findings and accepted findings as context.
The GitHub Action and GitLab template can use a health baseline on the default run; they report stale or mismatched baselines.
Performance 12
Reduces checker work by limiting scanned aliases and skipping node_modules and declaration files in the semantic pass, without changing results.
macOS builds use Apple's Accelerate framework, computing vectors about 2.7x faster on Apple silicon; Linux and Windows are unchanged.
Malformed Astro, Vue, Angular, and MDX input and long CODEOWNERS patterns no longer cause repeated scans or excessive memory and time; results and offsets are unchanged.
Member, await, +, JSX tag, fluent call, and heritage chains now take linear rather than quadratic time or memory to analyze.
Extraction no longer becomes quadratic for deeply nested arrow functions; functions with more than 64 nested levels receive no runtime coverage source_hash.
Builds the module index once per package, reducing time for fallow dead-code and its --type-aware refinement without changing results.
Stops at a syntax error without spending seconds of parse time or gigabytes of memory.
The symbol-use scan is faster on large TypeScript projects while retaining the same decisions.
Imports through barrels that export many packages are checked only against packages exporting the imported name; findings do not change.
Each glob compile is about three times cheaper, reducing dead-code run instructions and binary size.
Import resolution is faster in monorepos whose packages extend a root tsconfig that references them, with the same findings.
Project-glob walks skip node_modules, .git, gitignored paths and symlinks outside the project root, avoiding slow dependency-store walks.
Behavior and default changes 57
Ignores cache directories outside the project, at the project root, or inside .git, warns, and uses .fallow instead.
A negate-condition survivor can include a constant-parameter equivalence hint when visible calls pass the same literal to the tested parameter.
Prints a stderr note when no changed file was compared, including in quiet mode; CI integrations also surface a warning.
Generated Git pre-commit hooks audit staged changes, matching the commit Git is about to make.
Baseline failures mark only targets they can affect; other targets can remain complete.
Ranks changed files using churn, complexity growth, test reach, and surviving mutants; these components can affect totals, labels, and rank order.
Linux platform packages declare libc so package managers that read it install only the matching glibc or musl package.
The warning for globs matching fewer files since 3.34.0 names up to three lost files and suggests fixes; for entry and dynamicallyLoaded, files declared by another entry source are excluded.
With --with-callers, the command now finds entry routes in Elysia and TanStack Router projects; routes with non-string-literal paths or prefixes are not uploaded.
The --time-budget option now runs the cheapest mutants first.
Vitest mutation runs use a CPU-time loop budget and can reuse one worker for many mutants when the dry run confirms equivalent results; slow-test mutants may now be classified as timeout.
Reports each call site instead of only the first call of a callee path in a file.
Review comments for inherited complexity findings include base and head metric values; JSON output and CodeClimate fingerprints do not change.
Counts SCSS and Less @keyframes and adds keyframes_unchecked to the summary when animation values cannot be resolved.
Scores functions in Astro inline script blocks, including is:inline and define:vars scripts, which can produce new complexity and CRAP findings.
Each target now has its own evidence status and reasons; incomplete mutant evidence removes candidates only for targets covering that mutant.
Fallow analyzes members of independent nested pnpm projects and resolves their catalog references against the nested pnpm-workspace.yaml.
Audit comments for inherited complexity findings include base and head metric values; comments for several other finding types state introduced or inherited attribution.
Warns when the baseline path is inside the Git-ignored Fallow cache directory.
Workspace package imports resolve without an install or build; declaration-only imports can map build output to source, and manifest conditions are tried until a target resolves.
Audit now counts tests from this package.
Rebuilds caches after this upgrade.
Mutation runs forward the active mutant to Node child processes.
Setting format to compact returns the plain text of the compact inspect command instead of the JSON bundle.
The first audit each hour scans the temp dir for old base-snapshot caches; other audits sweep only their own project root's cache.
Cloud commands reading production data search this variable after
--api-keyand before stored credentials; upload commands still use only the explicit option or this variable.Generic SDK names in files without a flag import now receive medium confidence; flag imports and configured SDK patterns retain high confidence.
Reads Liquid, Nunjucks, Handlebars, Twig, and Blade templates as class references, and recognizes dynamic class prefixes in supported markup sources.
A bare machine-format run that exits 0 despite a failing findings gate prints the gate names and enforcing flags to stderr, including under --quiet.
For a push that cannot send the session branch, audits only the worktree, so untracked session build output no longer blocks a strict push from a clean linked worktree.
Recognizes scripts named outside a run value, including matrix path steps, actions/github-script file loads, and step env entries holding a workspace anchor.
When literal-membership is used, marks the chain operators with literal_membership.
The MCP decision_surface tool now uses the same large analysis stack as the CLI, and its thread count follows the threads option.
Scripts calling dotenvx credit @dotenvx/dotenvx, and dotenvx run -- <command> credits the wrapped command.
Reports which type-aware backend ran.
Treats the file read by vite-plugin-vuetify as an entry point.
A paths alias pointing into node_modules now credits the package of the resolved file.
Sass @use now resolves through a Vite resolve.alias entry.
The GitHub Action input now defaults to auto; it uses the Fallow app when id-token permission is granted and otherwise falls back to github-token.
Estimated-coverage-only CRAP findings under the new-only gate now have warning severity and do not gate; measured-coverage CRAP and other thresholds retain their stated behavior.
Test-file complexity findings now carry a test-file gate exemption and warn rather than failing audit gates.
Fallow analyzes undeclared nested pnpm projects as independent workspaces and emits an informational diagnostic.
Reports positive workspace patterns whose directory is missing and marks analysis degraded; unused catalog checks are suppressed while such a pattern exists.
More callback bodies receive names from surrounding code; renamed findings get a new CodeClimate fingerprint once, and identity baselines transfer allowances to the new names in the same file.
The Rust API and Node binding place patch paths like --diff-file; foreign or ambiguous paths return the full report with a not-applied outcome.
The config schema now accepts extends as a single string.
Runs with a restored CI cache no longer rewrite unchanged cache entries; they update timestamps only.
Clone detection now reports clones inside objects passed to calls, and may show clone groups in chained code when an earlier call has a callback.
Changes the thresholds used to report hidden change-coupling pairs.
The setting now applies to Vue single-file components, including types used by defineProps.
The limit now applies to covered mutants; uncovered mutants do not use the limit.
A client cancellation now stops direct MCP tool calls and code_execute snippets; subprocess calls stop their complete process tree.
Editing package.json, deno.json, or tsconfig.json now rebuilds the cached module graph.
Only value references count toward test reach; type-only imports and value exports used only in type positions no longer qualify.
A namespace containing only types is reported as an unused type rather than an unused export; namespaces with values remain value exports.
This setting also judges health and duplication baselines supplied through integration inputs or CLI flags.
On a bare run, Fallow now notes that health or duplication baselines require
--health-baselineor--dupes-baseline.
Tooling 19
Adds an opt-in dead-code rule that reports parameters or destructured options callers always pass the same way, or optional parameters callers never pass.
Survived mutants on changed lines appear under this rule in the new Tests category of supported CI reports.
A built-in plugin marks files loaded by gulp as entry points, so those files and their imports are no longer reported as unused.
The built-in plugin marks loaded files as entry points and credits members n8n reads from INodeType or ICredentialType classes.
Adds a built-in plugin so ~icons/... imports are no longer unlisted dependencies and the icon set packages receive import credit.
A built-in plugin marks files loaded by the tool as entry points, so those files and their imports are no longer reported as unused.
Dynamic imports with literal suffixes and no extension load matching module files, and dynamic imports of const strings credit the package.
Script analysis recognizes shell command lists, Yarn run -T jest, a Jest moduleNameMapper file target, changesets/action inputs, and npm aliases from pnpm or Bun catalogs.
Audit comments for inherited complexity findings include base and head metric values; comments for several other finding types state introduced or inherited attribution.
Routes Rust workspaces to
cargo-fallow.The plugin marks matching GraphQL schema and operation files, plus the config file, as used based on schema and documents globs.
Each release publishes a CycloneDX SBOM for every target.
Adds Vite+ project detection and support for its entry points, plugins, commands, tasks, hooks, binaries, and Vitest integration.
Five rules report risky changes in changed files: weakened tests, new suppressions, test-only branches, diverged clone siblings and added dependencies.
Trace entries now include line, search visibility, reason and search spelling so developers can find uses missed by name searches.
Recognizes additional plugin sections and reports the closest fallow alternatives for more root config keys.
Fixture analysis credits page-object members used by tests, including supported merged and imported test extensions; projects depending only on playwright can activate the plugin through a Playwright config.
The review brief reports test reach for changed value exports, including reach categories and mocking tests for mocked-only exports.
Recognized Bun, Deno, and Node test commands now identify test entry points and give imported code a static coverage estimate.
Fixes and other changes 157
Retains embedded-script parse errors and object-depth-limit notes, and discards stale parse caches so inventories and parse-error gates identify unreadable sources.
Avoids false introduced findings for inherited skip markers and clone groups split by edits.
Recognizes additional package, member, file, Worker RPC, declaration, and conditional-import references, reducing false unused findings.
Corrects entry-point and dependency detection for scripts, workspace Vite configs, framework configs, generated aliases, and Nuxt layer imports.
Adds a mutation-runner check and reports unsupported Vitest versions before a mutation run starts.
Human output identifies CRAP scores as static estimates without coverage and explains how to obtain measured scores or raise the limit.
Ignore markers in JSDoc block comments now take effect across analyses and supported markup and stylesheet files.
Ignore markers in JSDoc block comments now take effect, with next-line markers applying to the line after the closing comment.
Names skipped TypeScript source configuration files and advises converting them to JSON; exit code remains 2.
A target selecting no tests no longer stops the run; it is marked incomplete with reason unmatched-target.
Rechecking without a mutant retains earlier results with carried true and replaces the report file.
Fixes mutation runs for extended Vitest fixtures, near-timeout tests, cross-realm source calls, and Vitest import.meta.env stubs.
The missing-companion install hint uses the project's package manager and accounts for Yarn 1 workspace commands.
The hook searches common local fallow launchers and blocks commits when a launcher exists but no working installation is available.
Installs the fallow version specified by a pnpm or Bun catalog dependency instead of always installing the latest release.
For fallow versions older than 3.4.2 without fallow report, reruns analysis with codeclimate output instead of failing the job.
Shows Quality gate failed when an enforced gate fails even if the diff filter removes every finding.
Multi-analysis SARIF runs receive distinct category IDs so GitHub code scanning accepts uploads.
A bare run launched through npx now suggests npx fallow rather than fallow init.
After unshallowing or deepening a Git repository, the next run rereads full history for hotspots and change coupling.
Separates getter and setter use evidence and preserves type evidence when strict-mode name errors are suppressed by TypeScript ignore directives.
The operator skips *, /, and % when an operand is a string or template, as it already did for + and -.
Fingerprints no longer vary with CRLF line endings; CRLF projects receive new fingerprints once, after which they match an LF checkout.
Keeps an inherited css-duplicate-block finding when only the lines of a later occurrence move.
States the owner rule once when a member approves code, and the API keys links for login and logout follow the cloud used by the login.
Credits additional class members reached through typed method chains, inherited returns, returned arrays, awaited async factories, typed array fields, and Playwright page objects.
Keeps .scss and .less files containing an absolute url() in css_analytics.
Changed-code scope now detects renamed and copied files; when Git identifies a copy source, only edited lines in the copy receive mutants.
Reports duplicate test IDs, selects tests asserting on Node child-process output, suggests --concurrency 1 for a parallel-phase restart failure, and fixes several mutant selection cases.
Plugin entry points now apply in monorepos with 200 or more workspaces, preventing test files, pages, and config files from being reported unused.
Route files declared by imported modules are now entry points; the plugin follows spreads, imports, and re-exports from routes.ts and escapes bracketed route parameters.
Region columns now count UTF-16 code units so code scanning views place findings correctly; fingerprints retain byte columns and JSON column fields are unchanged.
Wildcard exports targeting build output now map to source files, so source files are not reported unused; workspace entry point paths also drop a ./ segment.
Imports into a workspace package's unbuilt output folder, including deep imports and custom outDir package mains, resolve to source files.
A test runner or bundler declared in the root package.json now activates its plugin in a workspace when a workspace script calls its binary.
Reports each call site and follows aliased destructured require() calls such as exec: run from child_process.
Dead-code analysis credits chained methods returning this, inherited this.find() results, and members of call return types while avoiding shadowed bindings.
Clone ranges now match cloned tokens, which can reduce duplicated line and percentage counts and reveal clone groups previously hidden by long ranges.
Warm runs rebuild the graph when a previously unresolved import path appears, after a Bun version change of a hoisted package, and after a Deno install.
Each condition target of a package.json imports entry is now used during analysis.
A thresholdOverrides entry that sets a lower limit now reads active while it applies, rather than stale.
Complete mode no longer fails when a member has multiple exact uses; symbol-use retains evidence per referencing file, up to 40 items.
Explain attribution and gate effects.
Fixes configuration handling for project wrappers and framework aliases.
Fixes false positives involving inherited method results, inline import types, calls with arguments, and re-exported schemas.
Avoid duplicate-export findings for declaration merges.
Recognize packages required by configuration.
Uses the project's package manager for dependency-install commands.
Invalidate after dependency installs and Yarn Plug'n'Play changes.
Cloud inspection with
--fileretains browser and caller context.Migration preserves workspace settings.
Handles namespace issue types.
Fixes resolution for URL-loaded modules, package assets, build-output imports, and workspace folder dependencies.
Sidebar groups remain expanded after refresh.
Failed dry-run tests now retain their error message, with Vitest, Node test, and Bun test companions sending failure_kind and message.
Wrapper modules that import a same-named binding and declare it again are reported as duplicate exports; intended wrappers can be ignored.
Keychain calls have time limits, and credentials-file updates are locked so concurrent logins for different API URLs keep both keys.
Alias replacement files are credited for additional tsconfig, Vite, Vitest, and webpack alias shapes, including path constants.
Migration translates workspace maps, production-marked entry patterns, root includeEntryExports, and ignoreIssues settings, while warning about mixed or negated patterns.
The Vitest companion preserves a selected config's root instead of replacing it with the project root, preventing test discovery failures.
When set to tsrs, the human status output names the tsrs backend and its version instead of labeling it TypeScript.
The VS Code extension uses the project's matching fallow-type-aware companion when running Fallow from node_modules; an explicitly set binary still takes precedence.
Config loading warns when a framework entry or plugin file has neither detection nor enablers and cannot activate.
Fallow now credits this export on Next.js metadata routes, including routes under dynamic segments.
Workspace diagnostics report overrides that cannot change results, with rule, files, and reason fields.
The plugin activates from additional pnpm files and packageManager fields, and marks pnpmfile-configured files as used.
Findings in Vue, Svelte, Astro, and MDX files now report the call's line and column, and a preceding fallow-ignore-next-line comment applies.
The output schema now names
fallow dead-code --impact-closurefor this field instead of the nonexistentfallow check --impact-closurecommand.On Unix, the audit cache sweep removes the .lock file of a reclaimed cache;
fallow audit-cache prune --format jsonreports it with the reasonorphaned-lock.Credits exports in replacement files for supported relative-path and installed-package aliases in Vitest, Vite, and webpack configurations.
Invalid arguments, invalid roots, missing fix confirmation, skipped fixes, and invalid
--leancombinations provide stable error codes and recovery guidance without changing exit statuses.The Fallow skill now uses this command for agent onboarding.
Lists native JSON reader launchers without running project code; generated gates use a native reader when available and retain the jq fallback for older installations.
Keeps an unchanged styling finding inherited after a line shift by matching its code, sub-kind, file, and value rather than its line.
Credits a member called on the return type of a method invoked through
this, including methods and getters that are#-private.Inventory uploads now follow coverage instrumenter and
Function.prototype.namenaming rules, improving joins between static inventory and runtime coverage; renamed functions can receive new stable ids.Omit churn from shallow Git history for both fresh and cached uploads.
Fallow reads literal local bindings, object spreads, and returned arrays without executing config code; it does not read mutable bindings and reads up to 64 webpack or rspack array configs.
Cloud analysis treats these captures as positive execution evidence; human and Markdown reports omit application coverage percentages and cold-code conclusions.
Instruments temporary Node source copies; a byte-identical copy of one planned source loads its instrumented code, while a copy matching multiple sources makes the run incomplete.
Resolves local plugin entries naming a directory or omitting an extension, so their default exports are not incorrectly reported unused.
Arguments passed to script runners such as
nodeno longer make every glob match an entry point; test runners, bundlers, and compilers retain their file arguments as entry points.A member suppression needed only in production is no longer reported stale during a normal run for enum, class, and Pinia store members.
Follows compiler-resolved imports and re-exports, reporting transitive affected files, targeted tests, and shortest provenance paths for explicit
.jsimports of TypeScript sources.Accepts tsrs versions from 0.18.0 up to but excluding 1.0.0 and any TypeScript 7 release; guarded fixes still require
typescript@7.0.2.Resolves three anchored regular-expression shapes: literals, prefixes with one capture and a
/$1replacement, and prefixes ending in a slash.Dead-code analysis follows fork targets built from the module directory, including supported path expressions and constants holding that directory.
Vue, Astro, Svelte, and MDX query files abstain as unsupported syntax without stopping type-aware refinement for supported TypeScript and JavaScript queries in the batch.
Dead-code analysis reads Expo plugin lists held in top-level const or let bindings, including spreads and supported array mutations, and recognizes asserted Expo objects.
Mutation runs can execute Vitest projects using happy-dom or jsdom when the cache directory is outside the project.
Credits classes applied by plain JavaScript and TypeScript DOM code, recognizes template prefixes, and scans JSX-containing .js files like .jsx.
Dead-code notes and delete actions are suppressed for sinks when a per-path override disables unused-files or unused-exports.
Audit cleanup preserves unrelated user worktree registrations when snapshot directories are temporarily unavailable.
Dead-code analysis credits member accesses on the declared return type of an instance method, including optional calls.
Security analysis no longer flags paths formed from trusted module or working-directory bases with literal segments, including module-scope constants holding such paths.
A step budget bounds extraction of deeply nested object-pattern defaults, preventing work from doubling at each nesting level.
Dead-code analysis credits class members read through nested array/object patterns or getters on held object literals, without --type-aware.
Dead-code analysis credits the default export of local Oxlint jsPlugins files while leaving other exports reportable.
Dead-code analysis reads local shell helpers without running them, crediting invoked binaries and entry files, and following nested helpers and literal cd steps.
CommonJS config keys are credited as used exports when a plugin reads the module's default export.
Type-aware references from files outside the analysis scope no longer suppress dead-code findings.
Audits remove the base snapshot's Git registration and snapshots left behind by stopped processes.
Aliased asset imports are no longer reported as unlisted dependencies when the alias is in a referenced tsconfig; include and exclude patterns normalize ./ and .. segments.
Config readers now resolve values stored in top-level constants, so files referenced through those values are not incorrectly treated as unused.
Dead-code analysis credits store members accessed through ReturnType aliases declared in function bodies or blocks, while respecting shadowing.
The TypeScript plugin credits each package loaded through contentMappers[].package.
Type-aware refinement no longer fails on public APIs with many non-generic interfaces and now matches typescript-go results.
Dead-code analysis now credits tsrs and fallow-type-aware by package name because Fallow loads them at runtime.
An @use configured here now follows Sass partial and index resolution rules, preventing Vite-loaded Sass files from being reported as unused.
Pre-measures bracket depth and parses files with a stack sized from their length, so nesting beyond the limit no longer aborts the run and analysis continues for other files.
No longer marks an unchanged anonymous function as introduced solely because its CRAP score changed; audit also matches cyclomatic and cognitive values before line order.
Avoids confirming used members or exports as unused when shorthand names or namespace objects read them; abstains with dynamic-behavior or dynamic-member-access when it cannot prove usage.
Uses a V8 coverage record for each private method, so private methods can receive their own coverage instead of being reported as estimated.
Uses test reachability from a full-project graph for CRAP estimates, coverage gaps, and runtime coverage evidence, while findings still come only from production files.
Counts runtime code in modules that export only types, including top-level calls, assignments, await, and runtime declarations.
For pull_request events, fetches the smallest history that provides a merge base so command: audit works on a default shallow checkout.
Is now read as JSONC, so scripts run by Nx run-commands targets are not reported as unused when the file contains a comment.
No longer reports Sass module members or view transition classes as unused exported classes.
Does not mark a suppression as stale in a non-production run when every reference to the export comes from a file excluded by production mode.
Credits class members used through destructuring forms, including parameters, nested and loop destructures, imported instances, and class fields; avoids credit through a shadowed module instance.
Marks every export of a namespace import as used when a destructure with a computed key reads the namespace.
Maps package exports pointing into dist/src back to source using the package tsconfig rootDir and outDir; warm-cache results remain consistent when build output appears or disappears.
Resolves a workspace alias to the aliased workspace package.
Continues to keep mutants classified as side-effect sinks.
Forces color codes in stderr warnings.
Now also suppresses parse errors and related degraded-analysis warnings for files whose findings it hides.
The napi-rs plugin now activates on the napi field and targets without requiring optionalDependencies, and credits generated loader support files and binaries.
Disables color codes in stderr warnings.
Adds plugin and file-pattern credits to trace and trace-file output when framework plugins mark exports as used.
Set to warn to show analysis warnings hidden by quiet, ci, or FALLOW_QUIET.
Mutation runs whose runner omits a static test file are now partial with this reason.
Fallow reads benchmark include patterns, and benchmark files and reporter paths are treated as used files.
Vitest discovery now respects nested config roots, test.root, test.dir, Vite root, project configs, merged inline settings, and additional default file extensions.
GitHub Actions file arguments now resolve relative to the step or workflow/job working directory; composite action run steps are also read.
Negative hit counts in
s,f,borb_Tare read as 0, so a coverage map with a negative count no longer stopsfallow healthorfallow audit.Fallow now reads
.oxlintrc.jsoncandoxlint.config.mts, including packages injsPluginslists at the top level and inoverrides.fallow health --type-aware --type-couplingcan pass--type-aware-require completeon large projects; coupling reports hold up to 10,000 evidence items.Fallow skips
{{ }}interpolations when finding a nested template's closing tag and reads<as text when no letter,/,!or?follows it, preserving template references.Fallow credits the exports read from a dynamic import and can find return imports inside control-flow blocks in local loader functions.
Default exports that forward imported bindings now keep the importers visible in trace and impact-closure output; fallow fix preserves the forward.
Brief audits no longer report every export as new public API after a preceding run without brief output.
Stale review threads are resolved even when posting an inline comment fails.
When removing dependencies, the command preserves package.json indentation, line endings, property order, and final newline.
The agent gate audits the work tree named by qualifying git commands, including linked worktrees, and blocks when any audit fails.
Reinstall the agent target to update an installed agent gate script.
Importers of a file that forwards an imported binding through
export defaultorexport =now appear in trace output.fallow recommend now uses the valid health configuration key for the maximum cyclomatic complexity recommendation.
Glob patterns with extglob groups, negative entries, or a leading ../ now work; invalid glob patterns give a warning.
These plugins and import.meta.glob now accept every extglob group, with corrected entry-point matching for grouped globs.
Pinia store members read through ReturnType aliases or by a setup store's own body now count as used.
The GitHub Action and GitLab template can use a duplication baseline on the default run; they report stale or mismatched baselines.
The source-map warning now tries the same paths as Fallow Cloud, avoiding checks against paths the cloud does not use.
Fallow credits
reactas a dependency when Vitest test files use JSX with the default runtime, subject to TypeScript JSX settings and workspace boundaries.Fallow applies Vitest JSX runtime rules only to files that remain included after exclusions and negated include entries.
Fallow combines project and base include globs when analyzing Vitest projects.
Fallow reads configs named by
extendsand custom-named project configs, including those matched by a glob.Fallow now follows Vitest 4 and 5 project inheritance rules when determining the JSX import source.