
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
The equation of the tangent line to the graph of the function $f(x)=xe^{x}-ax+b$ at $x=0$ is: $y=-x+1$.  
$(1)$ Find the values of $a$ and $b$;  
$(2)$ If $f(x)$ satisfies: when $x > 0$, $f(x) \geqslant x^{2}+m$, find the range of the real number $m$.

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