Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| if isinstance(run_dir, str): | ||
| run_dir_obj = Path(run_dir) | ||
| if not run_dir_obj.is_absolute(): | ||
| config["run_dir"] = str((path.parent / run_dir_obj).resolve()) |
There was a problem hiding this comment.
Config-relative path resolution misses env_dir_path
Low Severity
The config-relative path resolution section in load_gepa_toml_config resolves endpoints_path and run_dir relative to the TOML config file's parent directory, but env_dir_path — also a supported path key extracted at line 79 — is not resolved. If a user specifies a relative env_dir_path in a GEPA TOML config placed in a subdirectory (like configs/gepa/), it will be interpreted relative to CWD instead of the config file, inconsistent with how the other two path fields behave.


Motivation
vf-setupuse the TOML endpoints registry (preferred) rather than the legacy Python registry to align with other tooling and tests.configs/lab/toconfigs/rl/to reflect the current naming and packaging for RL examples.vf-rlconfigs fromvf-setup.Description
configs/endpoints.tomlinverifiers/scripts/setup.pyand updated code paths that referenced the oldendpoints.py.configs/lab/*toconfigs/rl/*and updatedvf-setupto download theconfigs/rlbatch by default.configs/gepa/(base.tomlwith single-environment keys andwordle.tomlexample) and wiredvf-setupto download them.--vf-rlas deprecated invf-setup(prints a warning and no longer downloads vf-rl bundles) and updated docs (AGENTS.md,docs/overview.md,docs/training.md) to referenceendpoints.tomlandconfigs/rl/.tests/test_setup_script.pyto assert thatrun_setupdownloads the TOML endpoints, the GEPA configs, and therlconfigs by default and thatvf_rl=Trueonly triggers the endpoints + GEPA downloads.Testing
uv run ruff check --fix .which completed successfully.uv run pytest tests/test_setup_script.pywhich produced2 passed.configs/gepa/templates and doc updates to ensure references point toconfigs/endpoints.tomlandconfigs/rl/.Codex Task
Note
Medium Risk
Changes default workspace setup artifacts and download behavior (endpoints/config packs) and adds new TOML parsing paths for the
prime gepaCLI, which could break existing workflows if paths/flags are relied on.Overview
Workspace setup is updated to prefer the TOML endpoints registry (
configs/endpoints.toml) and to download new default config bundles: RL examples underconfigs/rl/, eval examples underconfigs/eval/, and new GEPA prompt-optimization starters underconfigs/gepa/(with deduping of overlapping destination paths).The GEPA CLI (
verifiers/scripts/gepa.py) now accepts either anenv_idor a.tomlconfig file viaenv_id_or_config, adds schema validation for[env]/[gepa]/[execution]tables, resolves config-relative paths (e.g.,endpoints_path), and mapssave_resultsto--no-save.Docs are refreshed to match the new paths/commands, eval example TOMLs are cleaned up, and new tests assert the setup script’s download set and that bundled eval/GEPA configs parse under the current schemas.
Written by Cursor Bugbot for commit 6a7637e. This will update automatically on new commits. Configure here.