fn read_hooks_json_or_default(path: &Path, agent: Agent) -> Result<Value>
Load the JSON hook config at path, or create it from [Agent::default_config] when missing.
path
Agent::default_config