
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Given the function $f(x)=\begin{cases}-x^{2}+2x, & x > 0, \\ 0, & x=0, \\ x^{2}+mx, & x < 0\end{cases}$ is an odd function.

(1) Find the value of the real number $m$;

(2) If the function $f(x)$ is monotonically increasing in the interval $[-1,a-2]$, find the range of values for the real number $a$.

Present the answer in LaTex format: \boxed{Your answer}
user