
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
In the Cartesian coordinate system $xOy$, the parametric equation of curve $C$ is $\begin{cases} & x=\sin \alpha +\cos \alpha \\ & y=\sin \alpha -\cos \alpha \end{cases}$ ($\alpha$ is the parameter).

$(1)$ Find the general equation of curve $C$;

$(2)$ In the polar coordinate system with $O$ as the pole and the positive $x$-axis as the polar axis, the equation of line $l$ is $\sqrt{2}\ \rho \ \sin \left(\dfrac{\pi }{4}-\theta \right)+1=0$. Given that line $l$ intersects curve $C$ at points $A$ and $B$, find $|AB|$.

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