Should a story-based game have a prototype before the demo?

In my first post since I was registered there was a response I liked regarding on what should be the first thing you should do when it comes to game design. I'm going to link the reply for context: Link, click here

The line I'm going to focus specifically is this:

But basically it depends on what kind of game you want to make.
If for example it is a story-based game you should write down the story outline in noteboks before even starting the editor.

I've seen in videos from RPG Maker creators and one of the tips they encourage other creators is releasing a prototype before releasing a demo. I imagine that this way would be better for putting users' feedback better than releasing the demo only when all resources are in place. Correct me if I'm wrong.

My intention with my game is creating a game that focuses on story and visuals. That said, it should be obvious to anyone with experience that combat should be well-taken care of, I'm not going to ignore the combat system and keep it default.

Now I'm asking the question of should a story-based game have a prototype before the demo, or should have just a demo? And the reason I'm asking this is what difference does it make with the demo if the story will remain the same, even if there are corrections to the introduction to the story?
Prototype for dev that have a crew of tester or fan base
that they care to test play unfinished place holder

if you want to go public without that
demo is the only choice
1. Write the story
2. Test
How can you test? If not writing the story first
a demo is a working cut of the finished game, without the whole package of features.
a prototype is a mostly-working cut of an unfinished game, that's still finding it's footing, technology-wise.

writing is given for granted..... but in the case of the demo, the writing is already assumed as being finished, while in the case of the prototype it's assumed to be under development, it can change depending on the tech available, or the reception of the prototype itself.

I released a demo that's just a few minutes of storytelling, and even added a commentary option that explains how each part is done.
many of the games on Steam? they're *prototypes*, as you can tell by their missing assets, buggy gameplay and non-existent narrative.

Original thread: https://forums.rpgmakerweb.com/threads/should-a-story-based-game-have-a-prototype-before-the-demo.121234/