Fallow: Codebase Analyzer
The codebase analyzer for JavaScript and TypeScript. Finds unused code, circular dependencies, code duplication, complexity hotspots, architecture boundary violations, and feature flag patterns. 90 framework plugins, zero configuration, sub-second performance.
When to Use
- Finding dead code (unused files, exports, types, enum/class members)
- Finding unused or unlisted dependencies
- Detecting code duplication and clones
- Checking code health and complexity hotspots
- Cleaning up a codebase before a release or refactor
- Auditing a project for structural issues
- Setting up CI checks for dead code or duplication thresholds
- Auto-fixing unused exports and dependencies
- Detecting feature flag patterns (environment gates, SDK calls, config objects)
- Investigating why a specific export or file appears unused
When NOT to Use
- Runtime error analysis or debugging
- Type checking (use
tsc for that)
- Linting style or formatting issues (use ESLint, Biome, Prettier)
- Security vulnerability scanning
- Bundle size analysis
- Projects that are not JavaScript or TypeScript
Prerequisites
Fallow must be installed. If not available, install it:
npm install -g fallow # prebuilt binaries (fastest)
# or
npx fallow dead-code # run without installing
# or
cargo install fallow-cli # build from source
Agent Rules
- Always use
--format json --quiet 2>/dev/null for machine-readable output. The 2>/dev/null discards stderr so progress messages and threshold warnings don't corrupt the JSON on stdout. Never use 2>&1
- Always append
|| true to every fallow command. Exit code 1 means "issues found" (normal), not a runtime error. Without || true, the Bash tool treats exit 1 as failure and cancels parallel commands. Only exit code 2 is a real error (invalid config, parse failure)
- Use
--explain to include a _meta object in JSON output with metric definitions, ranges, and interpretation hints
- Use issue type filters (
--unused-exports, --unused-files, etc.) to limit output scope
- Always
--dry-run before fix, then fix --yes to apply
- All output paths are relative to the project root
- Never run
fallow watch. It is interactive and never exits
Commands
| Command |
Purpose |
Key Flags |
fallow |
Run all analyses: dead code + duplication + complexity (default) |
--only, --skip, --ci, --fail-on-issues, --group-by, --summary, --fail-on-regression, --tolerance, --regression-baseline, --save-regression-baseline, --score, --trend, --save-snapshot |
dead-code |
Dead code analysis (check is an alias) |
--unused-exports, --changed-since, --production, --file, --include-entry-exports, --stale-suppressions, --ci, --group-by, --summary, --fail-on-regression, --tolerance, --regression-baseline, --save-regression-baseline |
dupes |
Code duplication detection |
--mode, --threshold, --top, --changed-since, --skip-local, --cross-language, --ignore-imports, --fail-on-regression, --tolerance, --regression-baseline, --save-regression-baseline |
fix |
Auto-remove unused exports/deps |
--dry-run, --yes (required in non-TTY) |
init |
Generate config file or pre-commit hook |
--toml, --hooks, --branch |
migrate |
Convert knip/jscpd config |
--dry-run, --from PATH |
list |
Inspect project structure |
--files, --entry-points, --plugins, --boundaries |
health |
Function complexity analysis |
--complexity, --max-cyclomatic, --max-cognitive, --top, --sort, --file-scores, --hotspots, --targets, --effort, --score, --min-score, --since, --min-commits, --save-snapshot, --trend, --coverage-gaps, --workspace, --baseline, --save-baseline |
audit |
Combined dead-code + complexity + duplication for changed files |
--base, --production, --workspace, --ci, --fail-on-issues, --explain |
flags |
Detect feature flag patterns (env vars, SDK calls, config objects) |
--top |
schema |
Dump CLI definition as JSON |
|
config |
Show the loaded config path and resolved config (verifies which .fallowrc.json is in effect) |
--path |
Issue Types
| Type |
Filter Flag |
Description |
| Unused files |
--unused-files |
Files unreachable from entry points |
| Unused exports |
--unused-exports |
Symbols never imported elsewhere |
| Unused types |
--unused-types |
Type aliases and interfaces |
| Unused dependencies |
--unused-deps |
Packages in dependencies, devDependencies, optionalDependencies, type-only production deps, and test-only production deps |
| Unused enum members |
--unused-enum-members |
Enum values never referenced |
| Unused class members |
--unused-class-members |
Methods and properties |
| Unresolved imports |
--unresolved-imports |
Imports that can't be resolved |
| Unlisted dependencies |
--unlisted-deps |
Used packages missing from package.json |
| Duplicate exports |
--duplicate-exports |
Same symbol exported from multiple modules |
| Circular dependencies |
--circular-deps |
Import cycles in the module graph |
| Boundary violations |
--boundary-violations |
Imports crossing architecture zone boundaries. Presets: layered, hexagonal, feature-sliced, bulletproof |
| Stale suppressions |
--stale-suppressions |
fallow-ignore comments or @expected-unused JSDoc tags that no longer match any issue |
| Test-only dependencies |
— |
Production deps only imported from test files (should be devDependencies) |
MCP Tools
When using fallow via MCP (fallow-mcp), the following tools are available:
| Tool |
Description |
analyze |
Full dead code analysis. Set boundary_violations: true as a convenience alias for issue_types: ["boundary-violations"]. Set group_by to "owner" or "directory" to partition results |
check_changed |
Incremental analysis of files changed since a git ref |
find_dupes |
Code duplication detection. Set changed_since to scope to changed files since a git ref |
fix_preview |
Dry-run auto-fix preview |
fix_apply |
Apply auto-fixes (destructive) |
check_health |
Complexity metrics, health scores, hotspots, and refactoring targets |
audit |
Combined dead-code + complexity + duplication for changed files, returns verdict |
project_info |
Project metadata. Set entry_points, files, plugins, or boundaries to true to request specific sections |
list_boundaries |
Architecture boundary zones and access rules. Returns {"configured": false} if no boundaries configured |
detect_flags |
Detect feature flag patterns (env vars, SDK calls, config objects). Set top to limit results |
All tools accept root, config, no_cache, and threads params. The MCP server subprocess timeout defaults to 120s, configurable via FALLOW_TIMEOUT_SECS.
All JSON responses include structured actions arrays on every finding (dead code, health, duplication), enabling programmatic fix application or suppression.
References
- CLI Reference: complete command and flag specifications
- Gotchas: common pitfalls, edge cases, and correct usage patterns
- Patterns: workflow recipes for CI, monorepos, migration, and incremental adoption
Common Workflows
Audit a project for all dead code
fallow dead-code --format json --quiet
Parse the JSON output. It contains arrays for each issue type (unused_files, unused_exports, unused_types, unused_dependencies, etc.) plus total_issues and elapsed_ms metadata. Each issue object includes an actions array with structured fix suggestions (action type, auto_fixable flag, description, and optional suppression comment).
Find only unused exports (smaller output)
fallow dead-code --format json --quiet --unused-exports
Check if a PR introduces dead code
fallow dead-code --format json --quiet --changed-since main --fail-on-issues
Exit code 1 if new dead code is introduced. Only analyzes files changed since the main branch.
Find code duplication
fallow dupes --format json --quiet
fallow dupes --format json --quiet --mode semantic
The semantic mode detects renamed variables. Other modes: strict (exact), mild (default, syntax normalized), weak (different literals).
Safe auto-fix cycle
# 1. Preview what will be removed
fallow fix --dry-run --format json --quiet
# 2. Review the output, then apply
fallow fix --yes --format json --quiet
# 3. Verify the fix worked
fallow dead-code --format json --quiet
The --yes flag is required in non-TTY environments (agent subprocesses). Without it, fix exits with code 2.
Discover project structure
fallow list --entry-points --format json --quiet
fallow list --plugins --format json --quiet
Shows detected entry points and active framework plugins (90 built-in: Next.js, Vite, Jest, Storybook, Tailwind, etc.).
Production-only analysis
fallow dead-code --format json --quiet --production
Excludes test/dev files (*.test.*, *.spec.*, *.stories.*) and only analyzes production scripts.
Analyze a single workspace package
fallow dead-code --format json --quiet --workspace my-package
Scopes output to one package while keeping the full cross-workspace graph.
Scope to specific files (lint-staged)
fallow dead-code --format json --quiet --file src/utils.ts --file src/helpers.ts
Only reports issues in the specified files. Project-wide dependency issues are suppressed. Warns on non-existent paths.
Catch typos in entry file exports
fallow dead-code --format json --quiet --include-entry-exports
Reports unused exports in entry files (package.json main/exports, framework pages). By default, exports in entry files are assumed externally consumed. This flag catches typos like meatdata instead of metadata.
Debug why something is flagged
# Trace an export's usage chain
fallow dead-code --format json --quiet --trace src/utils.ts:myFunction
# Trace all edges for a file
fallow dead-code --format json --quiet --trace-file src/utils.ts
# Trace where a dependency is used
fallow dead-code --format json --quiet --trace-dependency lodash
Migrate from knip or jscpd
# Preview migration
fallow migrate --dry-run
# Apply migration (creates .fallowrc.json)
fallow migrate
# Migrate to TOML (creates fallow.toml)
fallow migrate --toml
Auto-detects knip.json, .knip.json, .jscpd.json, and package.json embedded configs.
Initialize a new config
fallow init # creates .fallowrc.json, adds .fallow/ to .gitignore
fallow init --toml # creates fallow.toml, adds .fallow/ to .gitignore
fallow init --hooks # scaffold a pre-commit git hook
fallow init --hooks --branch develop # hook using custom base branch
Exit Codes
| Code |
Meaning |
| 0 |
Success, no error-severity issues |
| 1 |
Error-severity issues found |
| 2 |
Runtime error (invalid config, parse failure, or fix without --yes in non-TTY) |
When --format json is active and exit code is 2, errors are emitted as JSON on stdout:
{"error": true, "message": "invalid config: ...", "exit_code": 2}
Configuration
Fallow reads config from project root: .fallowrc.json > fallow.toml > .fallow.toml. Most projects work with zero configuration thanks to 90 auto-detecting framework plugins.
{
"$schema": "https://raw.githubusercontent.com/fallow-rs/fallow/main/schema.json",
"entry": ["src/index.ts"],
"ignorePatterns": ["**/*.generated.ts"],
"ignoreDependencies": ["autoprefixer"],
"publicPackages": ["@myorg/shared-lib"],
"dynamicallyLoaded": ["plugins/**/*.ts"],
"rules": {
"unused-files": "error",
"unused-exports": "warn",
"unused-types": "off"
}
}
Rules: "error" (fail CI), "warn" (report only), "off" (skip detection).
Config fields:
publicPackages: workspace packages that are public libraries; exports from these packages are not flagged as unused
dynamicallyLoaded: glob patterns for files loaded at runtime (plugin dirs, locale files); treated as always-used
usedClassMembers: class method/property names that extend the built-in Angular/React lifecycle allowlist with framework-invoked names (ag-Grid agInit/refresh, TypeORM up/down, Web Components connectedCallback, etc.). Use plugin-level usedClassMembers in a .fallow/plugins/*.jsonc file for library-specific allowlists
Inline suppression
// fallow-ignore-next-line
export const keepThis = 1;
// fallow-ignore-next-line unused-export
export const keepThisToo = 2;
// fallow-ignore-file
// fallow-ignore-file unused-export
// Mark as intentionally unused (tracked for staleness)
/** @expected-unused */
export const deprecatedHelper = () => {};
Key Gotchas
fix --yes is required in non-TTY (agent) environments. Without it, fix exits with code 2
- Zero config by default. 90 framework plugins auto-detect. Don't create config unless customization is needed
- Syntactic analysis only. No TypeScript compiler, so fully dynamic
import(variable) is not resolved
- Function overloads are deduplicated. TypeScript function overload signatures are merged into a single export (not reported as separate unused exports)
- Re-export chains are resolved. Exports through barrel files are tracked, not falsely flagged
--changed-since is additive. Only new issues in changed files, not all issues in the project
For the full list with examples, see references/gotchas.md.
Instructions
- Identify the task from the user's request (audit, fix, find dupes, set up CI, migrate, debug)
- Run the appropriate command with
--format json --quiet
- Use filter flags to limit output when the user asks about specific issue types
- Always dry-run before fix. Show the user what will change, then apply
- Report results clearly. Summarize issue counts, list specific findings, suggest next steps
- For false positives, suggest inline suppression comments or config rule adjustments
If $ARGUMENTS is provided, use it as the --root path or pass it as the target for the appropriate fallow command.
1---2name: fallow3description: Codebase analyzer for JavaScript/TypeScript projects. Finds unused code (files, exports, types, dependencies), code duplication, circular dependencies, complexity hotspots, architecture boundary violations, and feature flag patterns. 90 framework plugins, zero configuration, sub-second performance. Use when asked to analyze code health, find unused code, detect duplicates, check circular dependencies, audit complexity, check architecture boundaries, detect feature flags, clean up the codebase, auto-fix issues, or run fallow.4license: MIT5---67# Fallow: Codebase Analyzer89The codebase analyzer for JavaScript and TypeScript. Finds unused code, circular dependencies, code duplication, complexity hotspots, architecture boundary violations, and feature flag patterns. 90 framework plugins, zero configuration, sub-second performance.1011## When to Use1213- Finding dead code (unused files, exports, types, enum/class members)14- Finding unused or unlisted dependencies15- Detecting code duplication and clones16- Checking code health and complexity hotspots17- Cleaning up a codebase before a release or refactor18- Auditing a project for structural issues19- Setting up CI checks for dead code or duplication thresholds20- Auto-fixing unused exports and dependencies21- Detecting feature flag patterns (environment gates, SDK calls, config objects)22- Investigating why a specific export or file appears unused2324## When NOT to Use2526- Runtime error analysis or debugging27- Type checking (use `tsc` for that)28- Linting style or formatting issues (use ESLint, Biome, Prettier)29- Security vulnerability scanning30- Bundle size analysis31- Projects that are not JavaScript or TypeScript3233## Prerequisites3435Fallow must be installed. If not available, install it:3637```bash38npm install -g fallow # prebuilt binaries (fastest)39# or40npx fallow dead-code # run without installing41# or42cargo install fallow-cli # build from source43```4445## Agent Rules46471. **Always use `--format json --quiet 2>/dev/null`** for machine-readable output. The `2>/dev/null` discards stderr so progress messages and threshold warnings don't corrupt the JSON on stdout. Never use `2>&1`482. **Always append `|| true`** to every fallow command. Exit code 1 means "issues found" (normal), not a runtime error. Without `|| true`, the Bash tool treats exit 1 as failure and cancels parallel commands. Only exit code 2 is a real error (invalid config, parse failure)493. **Use `--explain`** to include a `_meta` object in JSON output with metric definitions, ranges, and interpretation hints504. **Use issue type filters** (`--unused-exports`, `--unused-files`, etc.) to limit output scope515. **Always `--dry-run` before `fix`**, then `fix --yes` to apply526. **All output paths are relative** to the project root537. **Never run `fallow watch`**. It is interactive and never exits5455## Commands5657| Command | Purpose | Key Flags |58|---------|---------|-----------|59| `fallow` | Run all analyses: dead code + duplication + complexity (default) | `--only`, `--skip`, `--ci`, `--fail-on-issues`, `--group-by`, `--summary`, `--fail-on-regression`, `--tolerance`, `--regression-baseline`, `--save-regression-baseline`, `--score`, `--trend`, `--save-snapshot` |60| `dead-code` | Dead code analysis (`check` is an alias) | `--unused-exports`, `--changed-since`, `--production`, `--file`, `--include-entry-exports`, `--stale-suppressions`, `--ci`, `--group-by`, `--summary`, `--fail-on-regression`, `--tolerance`, `--regression-baseline`, `--save-regression-baseline` |61| `dupes` | Code duplication detection | `--mode`, `--threshold`, `--top`, `--changed-since`, `--skip-local`, `--cross-language`, `--ignore-imports`, `--fail-on-regression`, `--tolerance`, `--regression-baseline`, `--save-regression-baseline` |62| `fix` | Auto-remove unused exports/deps | `--dry-run`, `--yes` (required in non-TTY) |63| `init` | Generate config file or pre-commit hook | `--toml`, `--hooks`, `--branch` |64| `migrate` | Convert knip/jscpd config | `--dry-run`, `--from PATH` |65| `list` | Inspect project structure | `--files`, `--entry-points`, `--plugins`, `--boundaries` |66| `health` | Function complexity analysis | `--complexity`, `--max-cyclomatic`, `--max-cognitive`, `--top`, `--sort`, `--file-scores`, `--hotspots`, `--targets`, `--effort`, `--score`, `--min-score`, `--since`, `--min-commits`, `--save-snapshot`, `--trend`, `--coverage-gaps`, `--workspace`, `--baseline`, `--save-baseline` |67| `audit` | Combined dead-code + complexity + duplication for changed files | `--base`, `--production`, `--workspace`, `--ci`, `--fail-on-issues`, `--explain` |68| `flags` | Detect feature flag patterns (env vars, SDK calls, config objects) | `--top` |69| `schema` | Dump CLI definition as JSON | |70| `config` | Show the loaded config path and resolved config (verifies which `.fallowrc.json` is in effect) | `--path` |7172## Issue Types7374| Type | Filter Flag | Description |75|------|-------------|-------------|76| Unused files | `--unused-files` | Files unreachable from entry points |77| Unused exports | `--unused-exports` | Symbols never imported elsewhere |78| Unused types | `--unused-types` | Type aliases and interfaces |79| Unused dependencies | `--unused-deps` | Packages in `dependencies`, `devDependencies`, `optionalDependencies`, type-only production deps, and test-only production deps |80| Unused enum members | `--unused-enum-members` | Enum values never referenced |81| Unused class members | `--unused-class-members` | Methods and properties |82| Unresolved imports | `--unresolved-imports` | Imports that can't be resolved |83| Unlisted dependencies | `--unlisted-deps` | Used packages missing from package.json |84| Duplicate exports | `--duplicate-exports` | Same symbol exported from multiple modules |85| Circular dependencies | `--circular-deps` | Import cycles in the module graph |86| Boundary violations | `--boundary-violations` | Imports crossing architecture zone boundaries. Presets: `layered`, `hexagonal`, `feature-sliced`, `bulletproof` |87| Stale suppressions | `--stale-suppressions` | `fallow-ignore` comments or `@expected-unused` JSDoc tags that no longer match any issue |88| Test-only dependencies | — | Production deps only imported from test files (should be devDependencies) |8990## MCP Tools9192When using fallow via MCP (`fallow-mcp`), the following tools are available:9394| Tool | Description |95|------|-------------|96| `analyze` | Full dead code analysis. Set `boundary_violations: true` as a convenience alias for `issue_types: ["boundary-violations"]`. Set `group_by` to `"owner"` or `"directory"` to partition results |97| `check_changed` | Incremental analysis of files changed since a git ref |98| `find_dupes` | Code duplication detection. Set `changed_since` to scope to changed files since a git ref |99| `fix_preview` | Dry-run auto-fix preview |100| `fix_apply` | Apply auto-fixes (destructive) |101| `check_health` | Complexity metrics, health scores, hotspots, and refactoring targets |102| `audit` | Combined dead-code + complexity + duplication for changed files, returns verdict |103| `project_info` | Project metadata. Set `entry_points`, `files`, `plugins`, or `boundaries` to `true` to request specific sections |104| `list_boundaries` | Architecture boundary zones and access rules. Returns `{"configured": false}` if no boundaries configured |105| `detect_flags` | Detect feature flag patterns (env vars, SDK calls, config objects). Set `top` to limit results |106107All tools accept `root`, `config`, `no_cache`, and `threads` params. The MCP server subprocess timeout defaults to 120s, configurable via `FALLOW_TIMEOUT_SECS`.108109All JSON responses include structured `actions` arrays on every finding (dead code, health, duplication), enabling programmatic fix application or suppression.110111## References112113- [CLI Reference](references/cli-reference.md): complete command and flag specifications114- [Gotchas](references/gotchas.md): common pitfalls, edge cases, and correct usage patterns115- [Patterns](references/patterns.md): workflow recipes for CI, monorepos, migration, and incremental adoption116117## Common Workflows118119### Audit a project for all dead code120121```bash122fallow dead-code --format json --quiet123```124125Parse the JSON output. It contains arrays for each issue type (`unused_files`, `unused_exports`, `unused_types`, `unused_dependencies`, etc.) plus `total_issues` and `elapsed_ms` metadata. Each issue object includes an `actions` array with structured fix suggestions (action type, `auto_fixable` flag, description, and optional suppression comment).126127### Find only unused exports (smaller output)128129```bash130fallow dead-code --format json --quiet --unused-exports131```132133### Check if a PR introduces dead code134135```bash136fallow dead-code --format json --quiet --changed-since main --fail-on-issues137```138139Exit code 1 if new dead code is introduced. Only analyzes files changed since the `main` branch.140141### Find code duplication142143```bash144fallow dupes --format json --quiet145fallow dupes --format json --quiet --mode semantic146```147148The `semantic` mode detects renamed variables. Other modes: `strict` (exact), `mild` (default, syntax normalized), `weak` (different literals).149150### Safe auto-fix cycle151152```bash153# 1. Preview what will be removed154fallow fix --dry-run --format json --quiet155156# 2. Review the output, then apply157fallow fix --yes --format json --quiet158159# 3. Verify the fix worked160fallow dead-code --format json --quiet161```162163The `--yes` flag is required in non-TTY environments (agent subprocesses). Without it, `fix` exits with code 2.164165### Discover project structure166167```bash168fallow list --entry-points --format json --quiet169fallow list --plugins --format json --quiet170```171172Shows detected entry points and active framework plugins (90 built-in: Next.js, Vite, Jest, Storybook, Tailwind, etc.).173174### Production-only analysis175176```bash177fallow dead-code --format json --quiet --production178```179180Excludes test/dev files (`*.test.*`, `*.spec.*`, `*.stories.*`) and only analyzes production scripts.181182### Analyze a single workspace package183184```bash185fallow dead-code --format json --quiet --workspace my-package186```187188Scopes output to one package while keeping the full cross-workspace graph.189190### Scope to specific files (lint-staged)191192```bash193fallow dead-code --format json --quiet --file src/utils.ts --file src/helpers.ts194```195196Only reports issues in the specified files. Project-wide dependency issues are suppressed. Warns on non-existent paths.197198### Catch typos in entry file exports199200```bash201fallow dead-code --format json --quiet --include-entry-exports202```203204Reports unused exports in entry files (package.json `main`/`exports`, framework pages). By default, exports in entry files are assumed externally consumed. This flag catches typos like `meatdata` instead of `metadata`.205206### Debug why something is flagged207208```bash209# Trace an export's usage chain210fallow dead-code --format json --quiet --trace src/utils.ts:myFunction211212# Trace all edges for a file213fallow dead-code --format json --quiet --trace-file src/utils.ts214215# Trace where a dependency is used216fallow dead-code --format json --quiet --trace-dependency lodash217```218219### Migrate from knip or jscpd220221```bash222# Preview migration223fallow migrate --dry-run224225# Apply migration (creates .fallowrc.json)226fallow migrate227228# Migrate to TOML (creates fallow.toml)229fallow migrate --toml230```231232Auto-detects `knip.json`, `.knip.json`, `.jscpd.json`, and package.json embedded configs.233234### Initialize a new config235236```bash237fallow init # creates .fallowrc.json, adds .fallow/ to .gitignore238fallow init --toml # creates fallow.toml, adds .fallow/ to .gitignore239fallow init --hooks # scaffold a pre-commit git hook240fallow init --hooks --branch develop # hook using custom base branch241```242243## Exit Codes244245| Code | Meaning |246|------|---------|247| 0 | Success, no error-severity issues |248| 1 | Error-severity issues found |249| 2 | Runtime error (invalid config, parse failure, or `fix` without `--yes` in non-TTY) |250251When `--format json` is active and exit code is 2, errors are emitted as JSON on stdout:252```json253{"error": true, "message": "invalid config: ...", "exit_code": 2}254```255256## Configuration257258Fallow reads config from project root: `.fallowrc.json` > `fallow.toml` > `.fallow.toml`. Most projects work with zero configuration thanks to 90 auto-detecting framework plugins.259260```jsonc261{262 "$schema": "https://raw.githubusercontent.com/fallow-rs/fallow/main/schema.json",263 "entry": ["src/index.ts"],264 "ignorePatterns": ["**/*.generated.ts"],265 "ignoreDependencies": ["autoprefixer"],266 "publicPackages": ["@myorg/shared-lib"],267 "dynamicallyLoaded": ["plugins/**/*.ts"],268 "rules": {269 "unused-files": "error",270 "unused-exports": "warn",271 "unused-types": "off"272 }273}274```275276Rules: `"error"` (fail CI), `"warn"` (report only), `"off"` (skip detection).277278Config fields:279- `publicPackages`: workspace packages that are public libraries; exports from these packages are not flagged as unused280- `dynamicallyLoaded`: glob patterns for files loaded at runtime (plugin dirs, locale files); treated as always-used281- `usedClassMembers`: class method/property names that extend the built-in Angular/React lifecycle allowlist with framework-invoked names (ag-Grid `agInit`/`refresh`, TypeORM `up`/`down`, Web Components `connectedCallback`, etc.). Use plugin-level `usedClassMembers` in a `.fallow/plugins/*.jsonc` file for library-specific allowlists282283### Inline suppression284285```typescript286// fallow-ignore-next-line287export const keepThis = 1;288289// fallow-ignore-next-line unused-export290export const keepThisToo = 2;291292// fallow-ignore-file293// fallow-ignore-file unused-export294295// Mark as intentionally unused (tracked for staleness)296/** @expected-unused */297export const deprecatedHelper = () => {};298```299300## Key Gotchas301302- **`fix --yes` is required** in non-TTY (agent) environments. Without it, `fix` exits with code 2303- **Zero config by default.** 90 framework plugins auto-detect. Don't create config unless customization is needed304- **Syntactic analysis only.** No TypeScript compiler, so fully dynamic `import(variable)` is not resolved305- **Function overloads are deduplicated.** TypeScript function overload signatures are merged into a single export (not reported as separate unused exports)306- **Re-export chains are resolved.** Exports through barrel files are tracked, not falsely flagged307- **`--changed-since` is additive.** Only new issues in changed files, not all issues in the project308309For the full list with examples, see [references/gotchas.md](references/gotchas.md).310311## Instructions3123131. **Identify the task** from the user's request (audit, fix, find dupes, set up CI, migrate, debug)3142. **Run the appropriate command** with `--format json --quiet`3153. **Use filter flags** to limit output when the user asks about specific issue types3164. **Always dry-run before fix.** Show the user what will change, then apply3175. **Report results clearly.** Summarize issue counts, list specific findings, suggest next steps3186. **For false positives,** suggest inline suppression comments or config rule adjustments319320If `$ARGUMENTS` is provided, use it as the `--root` path or pass it as the target for the appropriate fallow command.