"going through some heavy healing recently"
that process may involve 'recovery' of bits of your essence which have
been removed from the loving light of your conscious awareness.
caution must be taken, since those fragments may perceive your light
as "the authorities", who wish to stifle their joys and who demand
compliance to 'law and order'. (which may have motivated you to adopt
the ninja identity, in order to bring your awareness into the 'dark zones'
without evoking a fearful response.)
the first dream seems to be a retelling of some past events, symbolically.
the partying doesn't have a feeling of being a gathering of joyous individuals,
but more like a 'pity party' where people who've been subject to unrighteous
persecution might join together and commiserate... with a semblance joy.
it was raided by a "special ops" team, which may have belonged to some
portion of your consciousness wanting to enforce order (but with "deniability").
dream two is seeming like a 'deep dive' into your current situation. you weren't
present (though of course you were, since you've witnessed this scene), so the
heroic individual is some portion of your being which is willing to contact your
conscious mind, from within the sphere of influence which has been cut off
from your awareness. he may be that ninja identity. he has the capability of
relaying information between your consciousness, and the parts of you still
in darkness (due to his access through the ventilation system). that one of
the prisoners thought there was a ghost seems akin to the holy ghost,
relaying god's love to mankind (your ninja-you working as a go-between).
your goal is to provide healing to those lost elements of self (free the prisoners).
which is also to bring your conscious awareness into union with those hidden
places [which is tricky, since your consciousness is light, and those places may
have experienced harm from unloving light at some point]. it's important to
note that there was no "fighting" involved in these dreams. i believe that all
of the elements involved are representing some aspect of yourself, and you'll
want to bring peace to all of the elements, without engaging in conflict.