
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)=(2x-1)e^x-a(x^2+x)$, where $a \in \mathbb{R}$.
$(1)$ Discuss the monotonicity of $f(x)$.
$(2)$ Let $g(x)=-ax^2-a$. If for any $x \in \mathbb{R}$, $f(x) \geqslant g(x)$ always holds, find the range of values for $a$.

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