
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 proposition p: The equation $x^2-2x+m=0$ has two distinct real roots; proposition q: The function $y=(m+2)x-1$ is monotonically increasing over $\mathbb{R}$, if “p or q” is true, and “p and q” is false, then the range of the real number m is ______.

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