REA Hadolint notes (unofficial)
Hadolint trees (.hadolint.yaml / ignored rules / trustedRegistries pins) record Dockerfile lint identity. In REA 6.7.x, treat selected ignore and registry labels as Evidence beside archive/package routes — complementing Dockerfile / ShellCheck / Checkov cousins without inventing APIs. Distinct from rea-dockerfile (lint rules ≠ Dockerfile surface) and rea-shellcheck (Dockerfile ≠ shell). Preferred slug kept free — KEEP.
Mental model
- Authorize the Hadolint config tree (+ packaged charts you hold).
- Quote selected identity labels you actually see (never paste secrets/tokens).
- Cousins → dockerfile · shellcheck · checkov · kics.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_hadolintAPI REA never called.
Minimal path
# authorized Hadolint .hadolint.yaml / ignore 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_hadolint .
Compare
| Artifact | Honest posture |
|---|---|
| ignore / trustedRegistries pins | Hadolint stack identity facts |
| Peer | rea-dockerfile |
| Peer | rea-shellcheck |
| Not this | rea-checkov (Checkov zoom) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote selected rule IDs, ignore lists, and trusted registry hostnames only — enough for most Evidence binders.
- Registry tokens and private ignore files are secrets — record key names only.
- Keep Hadolint stack identity distinct from Dockerfile / ShellCheck 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 Hadolint scans.
Scope we will not cover
- No inventing
inspect_hadolint/ automatic scans against foreign repos. - No credential theft from registry tokens or private ignores.
- No pirate redistribution of proprietary Hadolint trees.
- No crack framing via Hadolint pins.
- No cookbooks that weaken Dockerfile lint policy on foreign accounts.
- No using Hadolint as an unauthorized lint-recon guide against repos you do not own.
Honest limits
RepoRead documents config literacy — how authorized Hadolint trees relate to Evidence — not a full Dockerfile lint course. Prefer upstream Hadolint docs; use rea-dockerfile for Dockerfile 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-dockerfile / rea-shellcheck / rea-checkov / rea-kics?
rea-dockerfile covers Dockerfile identity. rea-shellcheck covers ShellCheck. rea-checkov covers Checkov. rea-kics covers KICS. This page zooms on Hadolint Dockerfile lint stack identity — it does not overwrite those pages.
Is there inspect_hadolint in 6.7.0?
Not assumed. Quote .hadolint.yaml / ignored rules / trustedRegistries pins you actually open, then use documented package/archive lanes. Do not invent inspect_hadolint.
Does REA call Hadolint APIs or steal tokens?
No. Local trees only. Redact registry tokens and private ignore files; do not treat REA as a Hadolint runner. No credential theft.
How should I label Evidence vs cousin trees?
Label Evidence by the file present. Keep Hadolint stack identity separate from rea-dockerfile and rea-shellcheck.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).