REA Hatch TOML notes (unofficial)

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

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

  1. Authorize the Hatch TOML project tree (+ packaged configs you hold).
  2. Quote selected env/build/version labels you actually see (never paste secrets).
  3. Cousins → uv-lock · poetry-toml · pdm-lock · tox-ini.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_hatch_toml API 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

ArtifactHonest posture
pyproject.toml [tool.hatch]Python env/build identity facts
Peerrea-uv-lock
Peerrea-poetry-toml
Evidence binderrea-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).

Sources