so it comes down to 2 possibilities I feel
1. Because you are able to spend it during the attack, you can't do an action which would stop you being able to spend it, for example Accuracy Corrector, before you spend the focus.
2. You get to choose the order of operation, so can choose to use Accuracy Corrector first, at which point you are no longer able to spend the focus token.
Yep, and well-summarized.
FWIW, the intent is #1, but (while it's pretty easy to see the intent) the wording does not make that intent iron-clad, so it will need a FAQ. And, intent notwithstanding, I don't know which way a FAQ will come down. If I had to bet on it, I'd bet on #2, because that's the easiest way.