How has the scope of Stack Overflow changed?
In the beginning…
No, I'm not actually going to reminisce about "the good ol' days", because I was actually relatively late to the party (at least as far as account creation is concerned).
Over the years things have changed drastically on Stack Overflow for what was considered "on topic".
When I joined there was a different set of "off-topic" close reasons, and closing duplicates took a lot more votes. These things have changed because we as a community have polished the experience.
Stack Overflow aims to be the best, which means figuring out what kinds of questions generate the most noise, and getting rid of them.
Right now you're using the mother of all scope changes on Stack Overflow.
Once upon a time there was no Meta. If you had a question about Stack Overflow, you had to ask on…Stack Overflow. This obviously created a lot of noise because the questions weren't about programming, so they needed to be removed from the system.
So Meta Stack Overflow was created as a home for questions about Stack Overflow, which cleaned things up quite a bit.
Then, as more and more sites were created, and SO became "Stack Exchange", Meta.SO became the "Meta Meta" site when you needed to ask a question about Stack Exchange in general. Meta itself was then spun off into Meta Stack Exchange to again reduce the noise.
Has the scope become narrower or wider?
These changes happened progressively, and they've consistently made the scope of Stack Overflow narrower.
This is A Good Thing™.
Stack Overflow started by trying to be better than other sites which I won't mention, but without any knowledge about what exactly was needed to be "better". Any question that fit the general guidelines of the site was allowed at first. It quickly became apparent that some categories of questions led to poor quality answers.
To separate the wheat from the chaff the scope was narrowed, and then narrowed some more, and then some more.