REA SQLMesh config notes (unofficial)

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

SQLMesh config.yaml (or config.py) and model SQL pin SQL transformation identity. In REA 6.7.x, treat selected gateway / model-default pins as Evidence beside archive/package routes — complementing cousins without inventing APIs.

Mental model

  1. Authorize the SQLMesh tree (+ state/plan artifacts you hold).
  2. Quote selected gateways, default gateway, model path pins you actually see (never paste connection credentials).
  3. Cousins → dbt-project · atlas-hcl · flyway-sql.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_sqlmesh_config API REA never called.

Minimal path

# authorized config.yaml + models/ (+ artifact you hold)
# quote selected gateways / model_defaults / paths into case notes
# cousins → peer dbt / Atlas / Flyway lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_sqlmesh_config .

Compare

ArtifactHonest posture
SQLMesh config.yamlTransform-engine identity facts
dbt peerrea-dbt-project
Atlas peerrea-atlas-hcl
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote gateways names, default_gateway, and model_defaults dialect — enough for most Evidence binders.
  • Connection details under gateways are secrets — redact user/password/host before sharing.
  • Model kind / cron / owner pins inside SQL headers are useful Evidence when present.
  • State backend settings are related Evidence — label type, never paste credentials.
  • Keep SQLMesh distinct from dbt dbt_project.yml and Atlas HCL in case notes.
  • Plan / audit artifacts are outputs — stay on documented package/archive routes.

Scope we will not cover

  • No inventing inspect_sqlmesh_config / automatic plan apply against foreign warehouses.
  • No credential theft from gateways or state backends.
  • No pirate redistribution of proprietary SQLMesh model trees.
  • No crack framing via SQLMesh pins.
  • No bypass cookbooks that weaken warehouse auth via model edits on foreign systems.

Honest limits

RepoRead documents config literacy — how authorized SQLMesh trees relate to Evidence — not a full SQLMesh planner course. Prefer upstream SQLMesh docs for gateways, plans, and dialects. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.

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

FAQ

How is this different from rea-dbt-project / rea-atlas-hcl?

rea-dbt-project covers dbt projects; rea-atlas-hcl covers Atlas HCL schemas. This page zooms on SQLMesh config identity — it does not overwrite those pages.

Is there inspect_sqlmesh_config in 6.7.0?

Not assumed. Quote gateways / model defaults / plan pins you actually open, then use documented package/archive lanes. Do not invent inspect_sqlmesh_config.

Does REA run SQLMesh plans against warehouses or steal gateway credentials?

No. Local trees only. Redact gateway connection strings; do not treat REA as SQLMesh. No credential theft.

How should I label Evidence vs other SQL/transform configs?

Label Evidence by the file present. Keep SQLMesh separate from rea-dbt-project, rea-atlas-hcl, and rea-flyway-sql.

npm version checked?

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

Sources