
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 that in triangle $\triangle ABC$, the sides opposite angles $A$, $B$, and $C$ are $a$, $b$, and $c$ respectively, and $f(x)=4\cos x \sin(x-\frac{\pi}{6})$ attains its maximum value at $f\left(A\right)$.  
$(1)$ Find angle $A$.  
$(2)$ When $a=\sqrt{7}$ and $b=2$, find the area of triangle $\triangle ABC$.

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