REA CMakePresets.json notes (unofficial)

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

CMakePresets.json pins configure/build preset identity. In REA 6.7.x, treat selected preset name / generator / binaryDir pins as Evidence beside archive/package routes — complementing cousins without inventing APIs.

Mental model

  1. Authorize the presets file (+ artifacts you hold).
  2. Quote selected configurePresets / buildPresets pins you actually see (never paste secret cache vars).
  3. Cousins → cmakelists-txt · cmake-lists · makefile.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_cmakepresets_json API REA never called.

Minimal path

# authorized CMakePresets.json (+ artifact you hold)
# quote selected preset name / generator / binaryDir pins into case notes
# cousins → peer CMakeLists / Makefile lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_cmakepresets_json .

Compare

ArtifactHonest posture
CMakePresets.jsonConfigure/build preset identity facts
CMakeLists peerrea-cmakelists-txt
makefile peerrea-makefile
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_cmakepresets_json / automatic cmake runs against foreign projects.
  • No credential theft from secret cache variables.
  • No pirate redistribution of proprietary toolchain presets.
  • No crack framing via CMake preset pins.

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

FAQ

How is this different from rea-cmakelists-txt?

rea-cmakelists-txt covers CMakeLists.txt Evidence. This page zooms on CMakePresets.json identity — it does not overwrite that page.

Is there inspect_cmakepresets_json in 6.7.0?

Not assumed. Quote configurePresets / buildPresets / vendor pins you actually open, then use documented package/archive lanes. Do not invent inspect_cmakepresets_json.

Does REA run cmake --preset or steal toolchain secrets?

No. Local trees only. Redact cache vars with secrets; do not treat REA as a CMake driver. No credential theft.

How should I label Evidence vs other CMake configs?

Label Evidence by the file present. Keep this presets lane separate from rea-cmakelists-txt and rea-cmake-lists.

npm version checked?

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

Sources