-
Can generate the sound when not moving by pushing down gently on pedals with brakes clamped.
Both brakes? Just front? Just rear?
Are you pushing on the pedals with your hands to generate the noise or are you astride the bike pushing with feet?
If you are astride the bike I don't think you can eliminate it being bar/stem/headset related as you could be weighting or pulling on the bars as you apply pressure to the pedals.
Frame has a threaded bb right? Eliminates the usual creak suspect, a press fit bb.
I see you say you've tried replacing most of the drivetrain, can you chuck another crankset in it and see if you can replicate, or put that crankset on another bike and see if it creaks? Doesn't need to be very functional, just enough to spin round the block and try replicate the creak.
Update: Checked chainring bolts - all good & tight. Greased the thru-axles and tightened them up a lot then took it for a 10 minute spin on the trails. Creak now worse than ever! Can generate the sound when not moving by pushing down gently on pedals with brakes clamped. Seems to be a fair bit of lateral movement in the bb area but not sure if that's just the frame's natural give - tried unsuccessfully to show this in attached clip.
Maddening! I'll check the bb shell thing.