pub fn agent_rules_root(directory: &str, out: Option<&str>) -> StringExpand description
_agent_rules_root(directory, out) — explicit --out wins; else the
parent of a decisions/-named directory (or . when that parent is .),
else the directory itself.