Sorry to hear this. I've been through a similar transition. 1 of 2 devs 5 years ago, growing a team to 45+ engineers today. I felt a lot of what you describe. I was somewhat aware of the split (as it was happening) between technical creativity and being the face of the team (but not actually building). I realized that building, being creative was something I didn't want to lose. I hired directors and promoted (eventually) one to VP. He and I work very closely, but the clear distinction is he runs the engineering team, and I am responsible for running the architecture group, facilitating engineering culture and leading research.
Thankfully my CEO was supportive of the split I defined, and it has allowed me to not lose my identity. But for a good 2 years there, I was struggling to find the right fit.
And as for getting yelled at about bugs, that's just part of the job. It's hard not to take personally, but when you realize that CSMs get yelled at so much more about bugs than we do in engineering roles, it helps put the pain into perspective.