REA Hydra conf notes (unofficial)
Hydra (conf/, config.yaml, @hydra.main, Compose API) pins hierarchical config identity. In REA 6.7.x, treat selected config groups, defaults lists, and override keys as Evidence beside archive/package routes — complementing cousins without inventing APIs.
Mental model
- Authorize the Hydra project tree (+ packaged
conf/packages you hold). - Quote selected config group names, defaults entries, and override keys you actually see (never paste secrets).
- Cousins → optuna-study · kedro-pipeline · mlflow-project · wandb-sweep.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_hydra_confAPI REA never called.
Minimal path
# authorized Hydra conf/ + @hydra.main modules (+ artifact you hold)
# quote selected config groups / defaults / overrides into case notes
# cousins → peer Optuna / Kedro / MLflow / W&B lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_hydra_conf .
Compare
| Artifact | Honest posture |
|---|---|
| Hydra conf/ | Hierarchical config identity facts |
| Optuna peer | rea-optuna-study |
| Kedro peer | rea-kedro-pipeline |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
defaults:lists and config group folder names — enough for most Evidence binders. - Secrets in YAML values (API keys, DB URLs) — record key names only.
- Multirun / sweeper plugins are useful identity — quote plugin names, not live remote job dumps.
- Keep Hydra distinct from Kedro
conf/layouts and Optuna studies in case notes. - Structured configs (
ConfigStore) — quote dataclass/schema labels when present; do not invent REA helpers forhydra.run. - Launcher plugins (submitit/ray/…) — quote launcher type labels on authorized trees only.
Scope we will not cover
- No inventing
inspect_hydra_conf/ automatic attacks against foreign launchers. - No credential theft from config values,
.envfiles, or cloud launcher secrets. - No pirate redistribution of proprietary conf trees.
- No crack framing via Hydra pins.
- No cookbooks that weaken remote auth on foreign deployments.
Honest limits
RepoRead documents config literacy — how authorized Hydra trees relate to Evidence — not a full Hydra course. Prefer upstream Hydra docs for compose and plugins. 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-optuna-study / rea-kedro-pipeline / rea-mlflow-project?
rea-optuna-study covers Optuna; rea-kedro-pipeline covers Kedro; rea-mlflow-project covers MLflow. This page zooms on Hydra conf identity — it does not overwrite those pages.
Is there inspect_hydra_conf in 6.7.0?
Not assumed. Quote config groups, defaults lists, and override keys you actually open, then use documented package/archive lanes. Do not invent inspect_hydra_conf.
Does REA connect to remote Hydra launchers or steal credentials?
No. Local trees only. Redact cloud launcher credentials and secrets in config values; do not treat REA as a Hydra runner. No credential theft.
How should I label Evidence vs other config / HPO systems?
Label Evidence by the file present. Keep Hydra separate from rea-optuna-study, rea-kedro-pipeline, and rea-wandb-sweep.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).