REA pyrightconfig notes (unofficial)
For legal, authorized and educational use only. Only analyze software you own or have written permission to examine. This page is not the official REA documentation.
Quick answer
pyrightconfig.json pins Pyright/Pylance type-check identity. In REA 6.7.x, treat selected typeCheckingMode/venvPath/include pins as Evidence beside archive/package routes — complementing rea-mypy-ini without inventing APIs.
Mental model
- Authorize the
pyrightconfig.json(or[tool.pyright]) (+ artifacts you hold). - Quote selected typeCheckingMode / venvPath / include / exclude pins you actually see.
- mypy cousin → rea-mypy-ini; Ruff → rea-ruff-toml.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent a pyright API REA never called.
Minimal path
# authorized pyrightconfig.json or pyproject [tool.pyright] (+ artifact you hold)
# quote selected typeCheckingMode/venvPath/include pins into case notes
# cousins → mypy-ini / ruff-toml / ruff-config
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_pyright .
Compare
| Artifact | Honest posture |
|---|---|
| pyrightconfig.json / [tool.pyright] | Type-check identity facts |
| mypy cousin | rea-mypy-ini |
| Ruff cousin | rea-ruff-toml |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_pyright/ automatic type runs. - No credential theft from config secrets / env.
- No pirate redistribution of paid packages.
- No crack framing via pyright pins.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-mypy-ini?
rea-mypy-ini covers mypy pins. This page zooms on pyrightconfig.json / [tool.pyright] identity as Evidence — it does not overwrite that page.
Is there inspect_pyright in 6.7.0?
Not assumed. Quote typeCheckingMode/venvPath/include pins you actually open. Do not invent inspect_pyright.
Does REA run Pyright or talk to Microsoft services?
No. Local trees only. No credential theft.
pyrightconfig.json vs Pylance settings?
Label Evidence by the file present. Keep IDE-only settings separate from repo-pinned config when possible.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).