My first impression when I saw the pictures was Oblique Dottyback. But you said it is 7" to 8" long. That rules out a lot of dottybacks. The only dottyback that I can think of reaching that size is fire-tail dottyback. Good thing you have something keeping it in check. Dottyback that size can do some damage
