pub async fn install_git_hooks(project_path: &Path) -> Result<()>Expand description
Install mandatory blocking git hooks for a project
These hooks BLOCK commits/pushes when safety checks fail. Bypass is available via: ferrous-forge safety bypass –stage=…
§Errors
Returns Error::Validation if the path is not a git repository.
Returns Error::Process if hook files cannot be written.