fn should_retry(error: &anyhow::Error) -> bool {
    error
        .downcast_ref::<Error>()
        .is_some_and(|error| matches!(error, Error::Retryable(_)))
}
Determines if an error should trigger a retry attempt.

This function checks if the error is a retryable domain error.
Currently, only `Error::Retryable` errors will trigger retries.
crates/forge_app/src/retry.rs