REA knip.json notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

knip.json pins Knip unused-export / dependency identity. In REA 6.7.x, treat selected entry/project/ignore pins as Evidence beside archive/package routes — complementing rea-depcheck without inventing APIs.

Mental model

  1. Authorize the knip.json (or knip.ts / package.json knip key) (+ artifacts you hold).
  2. Quote selected entry / project / ignore / ignoreDependencies pins you actually see.
  3. Depcheck cousin → rea-depcheck; package → rea-npm-package-json.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a Knip API REA never called.

Minimal path

# authorized knip.json / knip.ts / package.json knip key (+ artifact you hold)
# quote selected entry/project/ignore pins into case notes
# cousins → depcheck / npm-package-json / biome-json
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_knip .

Compare

ArtifactHonest posture
knip.json / knip.tsUnused-export / dep identity facts
Depcheck cousinrea-depcheck
package.json cousinrea-npm-package-json
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_knip / automatic Knip runs.
  • No credential theft from config secrets / env.
  • No pirate redistribution of paid packages.
  • No crack framing via Knip pins.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-depcheck?

rea-depcheck covers Depcheck unused-dep Evidence. This page zooms on knip.json / Knip config identity — it does not overwrite that page.

Is there inspect_knip in 6.7.0?

Not assumed. Quote knip entry/project/ignore pins you actually open. Do not invent inspect_knip.

Does REA run Knip or talk to unused-export services?

No. Local trees only. No credential theft.

knip.json vs knip.ts / package.json knip key?

Label Evidence by the file present. Quote what you open.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources