REA Hatch TOML notes (unofficial)
Hatch TOML (pyproject.toml [tool.hatch] tables) pins env/build/version identity. In REA 6.7.x, treat selected env/build/version labels as Evidence beside archive/package routes — complementing cousins without inventing APIs. Chosen instead of a uv-toml near-dupe of uv-lock.
Mental model
- Authorize the Hatch TOML project tree (+ packaged configs you hold).
- Quote selected env/build/version labels you actually see (never paste secrets).
- Cousins → uv-lock · poetry-toml · pdm-lock · tox-ini.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_hatch_tomlAPI REA never called.
Minimal path
# authorized pyproject.toml [tool.hatch] tables (+ artifact you hold)
# quote selected env/build/version labels into case notes
# cousins → peer lanes above
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_hatch_toml .
Compare
| Artifact | Honest posture |
|---|---|
| pyproject.toml [tool.hatch] | Python env/build identity facts |
| Peer | rea-uv-lock |
| Peer | rea-poetry-toml |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote env names, build targets, and version-source labels — enough for most Evidence binders.
- Index URLs and auth env vars often embed secrets — record key names only.
- Keep Hatch distinct from uv lockfiles and Poetry TOML in case notes.
- Wheel/sdist build hooks are identity Evidence — label them separately from cousin pages.
- Select keys are useful inventory — quote them without inventing REA helpers for
hatch build.
Scope we will not cover
- No inventing
inspect_hatch_toml/ automatic attacks against foreign Hatch TOML hosts. - No credential theft from tokens, CI secrets, or remote URIs.
- No pirate redistribution of proprietary Hatch TOML trees.
- No crack framing via Hatch TOML pins.
- No cookbooks that weaken remote auth on foreign services.
Honest limits
RepoRead documents config literacy — how authorized Hatch TOML trees relate to Evidence — not a full Hatch course. Prefer upstream Hatch docs for config details. 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-uv-lock / rea-poetry-toml / rea-pdm-lock?
rea-uv-lock, rea-poetry-toml, and rea-pdm-lock cover peer lanes. This page zooms on Hatch TOML identity — it does not overwrite those pages.
Is there inspect_hatch_toml in 6.7.0?
Not assumed. Quote env/build/version labels you actually open, then use documented package/archive lanes. Do not invent inspect_hatch_toml.
Does REA connect to remote Hatch TOML services or steal credentials?
No. Local trees only. Redact tokens, credentials, and remote URIs; do not treat REA as a Hatch TOML runner. No credential theft.
How should I label Evidence vs other build/config files?
Label Evidence by the file present. Keep Hatch TOML separate from rea-uv-lock, rea-poetry-toml, and rea-pdm-lock.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).