
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+ \frac {1}{x}-1, & (x>0) \\ -x^{3}+1, & (x\leq0)\end{cases}$,  
(I) Find the minimum value of the function $f(x)$;  
(II) Let $m\in\mathbb{R}$, proposition $p$: The inequality $f(x) \geq m^2+2m-2$ holds for any $x\in\mathbb{R}$; proposition $q$: The exponential function $y=(m^2-1)^x$ is increasing. If "p or q" is true, and "p and q" is false, find the range of the real number $m$.

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