From my question here, it is evident that estimation approaches to linear regression other than ordinary least squares can result in the predictions and residuals lacking orthogonality, despite the model being linear.
What, if any, approaches to estimating the $\beta$ of $y=X\beta+\epsilon$ are there that are not equivalent to ordinary least squares (yield a different answer than $\hat\beta=(X^TX)^{-1}X^Ty$) yet still yield this orthogonality?
Let’s rule out $\hat\beta=\vec 0$. If it happens that $X\hat\beta=X\hat\beta_{ols}$, so be it, but that is not a requirement.