As a lead/staff eng/architect I find that a lot of my efforts go towards invisible efforts. By this I mean creating safety nets for other developers to shield them better, coaching and pairing, and identifying future issues and proactively dealing with them.

Work like this is often unplanned (in user stories) and doesn't show up under feature development and often goes by unnoticed because the whole point is to avoid issues and well, issues are avoided. So it's easy to think things are smooth sailing. Examples of this might be: enforcing strict typing, requesting changes in PRs, writing better unit tests, putting in E2E tests, surfacing errors through log monitoring or other ways before users report it, refactoring, pair-programming to help another dev complete the task, and many other things.

I guess I'm wondering what to do when all of this invisible work is taken for granted, not attributed to you, and worse, when folks ask what you even do anyway. Assume that this is not a very engineering-oriented company.