pub fn agent_config_exists(dir: &Path, name: &str) -> boolExpand description
Convenience: discover whether an agent config exists for name under dir.
Why: Callers (e.g. the orchestrator wiring the delegate tool) sometimes need
to pre-check an agent name without constructing a runner; exposing the same
path rule the runner uses keeps the two in lockstep.
What: Returns true iff <dir>/<name>.toml exists.
Test: runner::tests::agent_config_exists_detects_present_and_absent.