REA Yarn lockfile notes (unofficial)
Yarn lockfiles record resolved dependency pins. REA 6.7.x should treat them as Evidence identity, not as a Yarn client — stay on known JS/archive routes.
Mental model
- Authorize the application tree (ASAR extract, internal build, IR copy).
- Quote selected
yarn.lockpackage name/version/resolution lines you actually need. - Run documented JS application analysis on the tree (rea-analyze-javascript).
- Nested tarball caches → rea-npm-tarballs honesty when you already hold
.tgzfiles. - Do not invent install plans REA never executed.
Minimal path
# authorized Yarn project tree only
# quote yarn.lock pins into case notes
# REA JS / package routes on /absolute/path/to/app (see rea-npm-packages)
# do not invent: rea inspect_yarn yarn.lock
Compare
| Artifact | Honest posture |
|---|---|
yarn.lock | Pin / resolution facts |
package.json tree | rea-npm-packages |
Cached .tgz | rea-npm-tarballs |
| App JS graph | rea-analyze-javascript |
Scope we will not cover
- No inventing
inspect_yarn/ automatic Yarn Berry PnP solvers. - No registry credential theft.
- No pirate redistribution of paid npm packages mirrored through Yarn.
- No crack framing for commercial Electron/JS apps.
RepoRead is unofficial. Prefer JS reconstruction docs + DISCLAIMER.md.
FAQ
Is there inspect_yarn in 6.7.0?
Not assumed. Quote selected yarn.lock package pins you actually open, and use the documented JavaScript application lanes on authorized ASAR/extracted trees (rea-npm-packages, rea-analyze-javascript).
Yarn classic vs Berry?
Lockfile formats differ across Yarn generations. Record which tool/version produced the lockfile; do not invent a universal Yarn graph importer inside REA.
Does REA fetch from the npm registry for Yarn projects?
No. Local trees only. No npm/Yarn token theft against private registries.
How is this different from package.json notes?
rea-npm-packages covers package root / graph scope. This page is lockfile pin Evidence honesty beside that route.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).