I spend a few months knocking out work that’s fed to me and I use that time to understand the business and the code base and where they’re not playing nicely at a high level.
Once I understand the code and the business, I generate and argue for my own work. If I’m successful with this, the evidence of my contribution is plentiful and I get rewarded.
Pretty soon my code is legacy and my days are filled up mentoring, debugging and reviewing other peoples contributions, which effectively lets me focus on only the tricky bits and identify dev ex rough patches.
My own limited coding time is filled smoothing out the dev ex of my system. This is basically the top of the heap as far as I’m concerned. If you get bored, rinse and repeat with a larger problem space or bigger org.