
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)=xe^{x}-a( \frac{1}{2} x^{2}+x)(a\in R)$.

(1) If $a=0$, find the equation of the tangent line to the curve $y=f(x)$ at the point $(1,f(1))$;

(2) If $x\in (-2,0)$, $f(x)\leqslant 0$ always holds, find the range of values for the real number $a$;

(3) When $a > 0$, discuss the monotonicity of the function $f(x)$.

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