Re: how do you use magnets to attach cavity covers?
At a local guitar show, one luthier used flat head screws in the body and magnets in the cover.
That way he could adjust the body screw slightly to get the cover flush.
I think he deliberately cut the cavity lip a tad deep or maybe it was his way of solving cutting too deep.
Either way, it looked like it worked well.
Otherwise, I did magnets in the body and the cover.