If the sum of the squares of the roots of the equation
\[
x^2 - (a-2)x - (a+1) = 0
\]
is least for an appropriate real parameter \( a \), then the value of \( a \) will be:
Show Hint
To minimize root expressions:
\begin{itemize}
\item Convert into quadratic in parameter.
\item Complete the square.
\end{itemize}