pub async fn intercept_dev_command(project_path: &Path) -> Result<()>Expand description
Intercept dev commands (build, test, run, check) with tiered blocking:
- Locked settings (edition/version) → ALWAYS block
- Style violations → WARN only (unless
enforce_styleis true)
§Errors
Returns crate::Error::Validation if locked settings (edition, rust-version) are
violated. Style violations produce warnings but do not return errors.