pub fn require_project_root() -> Result<String, String>
The project a command that writes project-scoped state acts for; Err instead of ~, / or an agent directory (AP04-G10).
Err
~
/