REA SQLFluff notes (unofficial)
SQLFluff trees (.sqlfluff / pyproject.toml [tool.sqlfluff] / dialect / rules pins) record SQL lint identity. In REA 6.7.x, treat selected dialect and rule labels as Evidence beside archive/package routes — complementing Ruff / yamllint / ShellCheck cousins without inventing APIs. Distinct from rea-ruff (SQL ≠ Python) and rea-yamllint (SQL ≠ YAML). Preferred free backup from batch121 note — KEEP.
Mental model
- Authorize the SQLFluff config tree (+ packaged charts you hold).
- Quote selected identity labels you actually see (never paste secrets/tokens).
- Cousins → ruff · yamllint · shellcheck · bandit.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_sqlfluffAPI REA never called.
Minimal path
# authorized SQLFluff .sqlfluff / dialect-rules pins (+ charts you hold)
# quote selected identity labels into case notes (never live secrets)
# cousins → peer lanes above
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_sqlfluff .
Compare
| Artifact | Honest posture |
|---|---|
| dialect / rules pins | SQLFluff stack identity facts |
| Peer | rea-ruff |
| Peer | rea-yamllint |
| Not this | rea-shellcheck (shell lint zoom) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote selected dialect names, rule codes, and exclude paths only — enough for most Evidence binders.
- Private warehouse credentials and DB tokens are secrets — record key names only.
- Keep SQLFluff stack identity distinct from Ruff / yamllint trees in case notes.
- Chart image tag pins are identity Evidence — label them separately from cousin pages.
- Select keys are useful inventory — quote them without inventing REA helpers for live SQLFluff scans.
Scope we will not cover
- No inventing
inspect_sqlfluff/ automatic scans against foreign repos. - No credential theft from warehouse credentials or DB tokens.
- No pirate redistribution of proprietary SQLFluff trees.
- No crack framing via SQLFluff pins.
- No cookbooks that weaken SQL lint policy on foreign accounts.
- No using SQLFluff as an unauthorized lint-recon guide against repos you do not own.
Honest limits
RepoRead documents config literacy — how authorized SQLFluff trees relate to Evidence — not a full SQL lint course. Prefer upstream SQLFluff docs; use rea-ruff for Python lint peers. 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-ruff / rea-yamllint / rea-shellcheck / rea-bandit?
rea-ruff covers Ruff. rea-yamllint covers yamllint. rea-shellcheck covers ShellCheck. rea-bandit covers Bandit. This page zooms on SQLFluff SQL lint stack identity — it does not overwrite those pages.
Is there inspect_sqlfluff in 6.7.0?
Not assumed. Quote .sqlfluff / pyproject.toml [tool.sqlfluff] / dialect / rules pins you actually open, then use documented package/archive lanes. Do not invent inspect_sqlfluff.
Does REA call SQLFluff APIs or steal tokens?
No. Local trees only. Redact private warehouse credentials and DB tokens; do not treat REA as a SQLFluff runner. No credential theft.
How should I label Evidence vs cousin trees?
Label Evidence by the file present. Keep SQLFluff stack identity separate from rea-ruff (SQL ≠ Python) and rea-yamllint.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).